Gentoo Archives: gentoo-commits

From: "Hans de Graaff (graaff)" <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/rails_autolink: ChangeLog rails_autolink-1.0.9.ebuild
Date: Sun, 03 Mar 2013 12:48:38
Message-Id: 20130303124835.364472171D@flycatcher.gentoo.org
1 graaff 13/03/03 12:48:35
2
3 Modified: ChangeLog rails_autolink-1.0.9.ebuild
4 Log:
5 Add back ruby18 support from my overlay and skip the few tests failing due to hash ordering.
6
7 (Portage version: 2.1.11.52/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
8
9 Revision Changes Path
10 1.2 dev-ruby/rails_autolink/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rails_autolink/ChangeLog?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rails_autolink/ChangeLog?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rails_autolink/ChangeLog?r1=1.1&r2=1.2
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rails_autolink/ChangeLog,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- ChangeLog 25 Jan 2013 20:50:24 -0000 1.1
23 +++ ChangeLog 3 Mar 2013 12:48:35 -0000 1.2
24 @@ -1,6 +1,10 @@
25 # ChangeLog for dev-ruby/rails_autolink
26 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails_autolink/ChangeLog,v 1.1 2013/01/25 20:50:24 flameeyes Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails_autolink/ChangeLog,v 1.2 2013/03/03 12:48:35 graaff Exp $
29 +
30 + 03 Mar 2013; Hans de Graaff <graaff@g.o> rails_autolink-1.0.9.ebuild:
31 + Add back ruby18 support from my overlay and skip the few tests failing due to
32 + hash ordering.
33
34 *rails_autolink-1.0.9 (25 Jan 2013)
35
36
37
38
39 1.2 dev-ruby/rails_autolink/rails_autolink-1.0.9.ebuild
40
41 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rails_autolink/rails_autolink-1.0.9.ebuild?rev=1.2&view=markup
42 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rails_autolink/rails_autolink-1.0.9.ebuild?rev=1.2&content-type=text/plain
43 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rails_autolink/rails_autolink-1.0.9.ebuild?r1=1.1&r2=1.2
44
45 Index: rails_autolink-1.0.9.ebuild
46 ===================================================================
47 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rails_autolink/rails_autolink-1.0.9.ebuild,v
48 retrieving revision 1.1
49 retrieving revision 1.2
50 diff -u -r1.1 -r1.2
51 --- rails_autolink-1.0.9.ebuild 25 Jan 2013 20:50:24 -0000 1.1
52 +++ rails_autolink-1.0.9.ebuild 3 Mar 2013 12:48:35 -0000 1.2
53 @@ -1,9 +1,9 @@
54 # Copyright 1999-2013 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails_autolink/rails_autolink-1.0.9.ebuild,v 1.1 2013/01/25 20:50:24 flameeyes Exp $
57 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails_autolink/rails_autolink-1.0.9.ebuild,v 1.2 2013/03/03 12:48:35 graaff Exp $
58
59 EAPI=5
60 -USE_RUBY="ruby19"
61 +USE_RUBY="ruby18 ruby19"
62
63 RUBY_FAKEGEM_RECIPE_TEST="none"
64 RUBY_FAKEGEM_RECIPE_DOC="rdoc"
65 @@ -24,6 +24,19 @@
66
67 ruby_add_rdepend ">=dev-ruby/rails-3.1"
68
69 +each_ruby_prepare() {
70 + case ${RUBY} in
71 + *ruby18)
72 + sed -e '/auto_link_with_block_with_html/,/^ end/ s:^:#:' \
73 + -e '/auto_link_should_sanitize_input_with_sanitize_options/,/^ end/ s:^:#:' \
74 + -e '/auto_link_already_linked/,/^ end/ s:^:#:' \
75 + -i test/test_rails_autolink.rb || die
76 + ;;
77 + *)
78 + ;;
79 + esac
80 +}
81 +
82 each_ruby_test() {
83 ${RUBY} -Ilib test/test_*.rb || die "tests failed"
84 }