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.2.18.ebuild
Date: Tue, 06 May 2014 18:52:33
Message-Id: 20140506185229.5ED502004C@flycatcher.gentoo.org
1 graaff 14/05/06 18:52:29
2
3 Modified: ChangeLog
4 Added: actionpack-3.2.18.ebuild
5 Log:
6 Version bump for Rails 3.2.18, security bug 509706.
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
9
10 Revision Changes Path
11 1.276 dev-ruby/actionpack/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionpack/ChangeLog?rev=1.276&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionpack/ChangeLog?rev=1.276&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionpack/ChangeLog?r1=1.275&r2=1.276
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/ChangeLog,v
20 retrieving revision 1.275
21 retrieving revision 1.276
22 diff -u -r1.275 -r1.276
23 --- ChangeLog 4 May 2014 18:05:34 -0000 1.275
24 +++ ChangeLog 6 May 2014 18:52:29 -0000 1.276
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ruby/actionpack
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/ChangeLog,v 1.275 2014/05/04 18:05:34 mrueg Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/ChangeLog,v 1.276 2014/05/06 18:52:29 graaff Exp $
30 +
31 +*actionpack-3.2.18 (06 May 2014)
32 +
33 + 06 May 2014; Hans de Graaff <graaff@g.o> +actionpack-3.2.18.ebuild:
34 + Version bump for Rails 3.2.18, security bug 509706.
35
36 04 May 2014; Manuel RĂ¼ger <mrueg@g.o> actionpack-3.2.17.ebuild:
37 Add ruby20 support.
38
39
40
41 1.1 dev-ruby/actionpack/actionpack-3.2.18.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionpack/actionpack-3.2.18.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionpack/actionpack-3.2.18.ebuild?rev=1.1&content-type=text/plain
45
46 Index: actionpack-3.2.18.ebuild
47 ===================================================================
48 # Copyright 1999-2014 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.2.18.ebuild,v 1.1 2014/05/06 18:52:29 graaff Exp $
51
52 EAPI=5
53
54 USE_RUBY="ruby19 ruby20"
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.md README.rdoc"
62
63 RUBY_FAKEGEM_GEMSPEC="actionpack.gemspec"
64
65 inherit ruby-fakegem versionator
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/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
70
71 LICENSE="MIT"
72 SLOT="$(get_version_component_range 1-2)"
73 KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
74 IUSE=""
75
76 RUBY_S="rails-${PV}/${PN}"
77
78 ruby_add_rdepend "
79 ~dev-ruby/activemodel-${PV}
80 ~dev-ruby/activesupport-${PV}
81 >=dev-ruby/rack-cache-1.2
82 >=dev-ruby/builder-3.0.0:3
83 >=dev-ruby/rack-1.4.5:1.4
84 >=dev-ruby/rack-test-0.6.1:0.6
85 >=dev-ruby/journey-1.0.4:1.0
86 >=dev-ruby/sprockets-2.2.1:2.2
87 >=dev-ruby/erubis-2.7.0"
88
89 ruby_add_bdepend "
90 test? (
91 dev-ruby/mocha:0.13
92 dev-ruby/bundler
93 ~dev-ruby/activerecord-${PV}
94 ~dev-ruby/actionmailer-${PV}
95 >=dev-ruby/tzinfo-0.3.29:0
96 >=dev-ruby/uglifier-1.0.3
97 )"
98
99 all_ruby_prepare() {
100 # Remove items from the common Gemfile that we don't need for this
101 # test run. This also requires handling some gemspecs.
102 sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\|ruby-prof\|benchmark-ips\|nokogiri\)/d" ../Gemfile || die
103
104 sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die
105 sed -i -e '/mail/d' ../actionmailer/actionmailer.gemspec || die
106
107 sed -i -e '/bcrypt/ s/3.0.0/3.0/' ../Gemfile || die
108
109 # Avoid fragile tests depending on hash ordering
110 sed -i -e '/cookie_3=chocolate/ s:^:#:' test/controller/integration_test.rb || die
111 sed -i -e '/test_to_s/,/end/ s:^:#:' test/template/html-scanner/tag_node_test.rb || die
112 sed -i -e '/"name":"david"/ s:^:#:' test/controller/mime_responds_test.rb || die
113 sed -i -e '/test_option_html_attributes_with_multiple_element_hash/, / end/ s:^:#:' test/template/form_options_helper_test.rb || die
114 sed -i -e '/test_option_html_attributes_with_multiple_hashes/, / end/ s:^:#:' test/template/form_options_helper_test.rb || die
115
116 # Avoid fragile test that gets more output than it expects.
117 sed -i -e '/test_locals_option_to_assert_template_is_not_supported/,/end/ s:^:#:' test/controller/render_test.rb || die
118
119 # Avoid test broken by security updates in i18n.
120 sed -i -e '/test_number_to_i18n_currency/,/end/ s:^:#:' test/template/number_helper_i18n_test.rb || die
121 }