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/actionpack: ChangeLog actionpack-3.0.12.ebuild
Date: Wed, 04 Apr 2012 09:44:39
Message-Id: 20120404094429.1D4802004B@flycatcher.gentoo.org
1 graaff 12/04/04 09:44:29
2
3 Modified: ChangeLog
4 Added: actionpack-3.0.12.ebuild
5 Log:
6 Version bump for security bug 406547.
7
8 (Portage version: 2.1.10.49/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.200 dev-ruby/actionpack/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionpack/ChangeLog?rev=1.200&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionpack/ChangeLog?rev=1.200&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionpack/ChangeLog?r1=1.199&r2=1.200
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/ChangeLog,v
20 retrieving revision 1.199
21 retrieving revision 1.200
22 diff -u -r1.199 -r1.200
23 --- ChangeLog 11 Mar 2012 14:10:37 -0000 1.199
24 +++ ChangeLog 4 Apr 2012 09:44:29 -0000 1.200
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ruby/actionpack
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/ChangeLog,v 1.199 2012/03/11 14:10:37 ranger Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/ChangeLog,v 1.200 2012/04/04 09:44:29 graaff Exp $
30 +
31 +*actionpack-3.0.12 (04 Apr 2012)
32 +
33 + 04 Apr 2012; Hans de Graaff <graaff@g.o> +actionpack-3.0.12.ebuild:
34 + Version bump for security bug 406547.
35
36 11 Mar 2012; Brent Baude <ranger@g.o> actionpack-3.1.3.ebuild:
37 Marking actionpack-3.1.3 ~ppc64 for bug 396547
38
39
40
41 1.1 dev-ruby/actionpack/actionpack-3.0.12.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionpack/actionpack-3.0.12.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionpack/actionpack-3.0.12.ebuild?rev=1.1&content-type=text/plain
45
46 Index: actionpack-3.0.12.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/actionpack-3.0.12.ebuild,v 1.1 2012/04/04 09:44:29 graaff Exp $
51
52 EAPI=4
53
54 USE_RUBY="ruby18 ree18"
55
56 # The default test task tries to test activerecord with SQLite as well.
57 RUBY_FAKEGEM_TASK_TEST="test_action_pack"
58
59 RUBY_FAKEGEM_TASK_DOC=""
60 RUBY_FAKEGEM_DOCDIR="doc"
61 RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.rdoc"
62
63 RUBY_FAKEGEM_GEMSPEC="actionpack.gemspec"
64
65 inherit ruby-fakegem
66
67 DESCRIPTION="Eases web-request routing, handling, and response."
68 HOMEPAGE="http://rubyforge.org/projects/actionpack/"
69 SRC_URI="http://github.com/rails/rails/tarball/v${PV} -> rails-${PV}.tgz"
70
71 LICENSE="MIT"
72 SLOT="3.0"
73 KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
74 IUSE=""
75
76 RUBY_S="rails-rails-*/actionpack"
77
78 ruby_add_rdepend "
79 ~dev-ruby/activemodel-${PV}
80 ~dev-ruby/activesupport-${PV}
81 >=dev-ruby/builder-2.1.2:0
82 >=dev-ruby/erubis-2.6.6
83 >=dev-ruby/i18n-0.5.0:0.5
84 >=dev-ruby/rack-1.2.1:1.2
85 >=dev-ruby/rack-mount-0.6.14:0.6
86 >=dev-ruby/rack-test-0.5.7:0.5
87 >=dev-ruby/tzinfo-0.3.23"
88
89 ruby_add_bdepend "
90 test? (
91 dev-ruby/bundler
92 ~dev-ruby/activerecord-${PV}
93 ~dev-ruby/actionmailer-${PV}
94 )"
95
96 all_ruby_prepare() {
97 # Remove items from the common Gemfile that we don't need for this
98 # test run. This also requires handling some gemspecs.
99 sed -i -e '/\(system_timer\|horo\|faker\|rbench\|ruby-debug\|pg\)/d' ../Gemfile || die
100
101 # Loosen erubis dependency since this is not slotted.
102 sed -i -e 's/~> 2.6.6/>= 2.6.6/' actionpack.gemspec || die
103
104 # Avoid fragile tests depending on hash ordering
105 sed -i -e '/cookie_3=chocolate/ s:^:#:' test/controller/integration_test.rb || die
106 sed -i -e '/test_to_s/,/end/ s:^:#:' test/template/html-scanner/tag_node_test.rb || die
107 sed -i -e '/"name":"david"/ s:^:#:' test/controller/mime_responds_test.rb || die
108 sed -i -e '/test_option_html_attributes_with_multiple_element_hash/, / end/ s:^:#:' test/template/form_options_helper_test.rb || die
109 sed -i -e '/test_option_html_attributes_with_multiple_hashes/, / end/ s:^:#:' test/template/form_options_helper_test.rb || die
110
111 # Ignore one failure that does not seem to be caused by changes in
112 # this version of Rails and that is unlikely to get upstream
113 # attention due to this version being old.
114 sed -i -e '/rendering a partial in an RJS template should pick the JS template over the HTML one/, / end/ s:^:#:' test/controller/new_base/render_rjs_test.rb || die
115 }