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-4.0.2.ebuild
Date: Wed, 04 Dec 2013 19:23:57
Message-Id: 20131204192351.CCC332004B@flycatcher.gentoo.org
1 graaff 13/12/04 19:23:51
2
3 Modified: ChangeLog
4 Added: actionpack-4.0.2.ebuild
5 Log:
6 Version bump for security bug 493284.
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
9
10 Revision Changes Path
11 1.264 dev-ruby/actionpack/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionpack/ChangeLog?rev=1.264&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionpack/ChangeLog?rev=1.264&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionpack/ChangeLog?r1=1.263&r2=1.264
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/ChangeLog,v
20 retrieving revision 1.263
21 retrieving revision 1.264
22 diff -u -r1.263 -r1.264
23 --- ChangeLog 4 Dec 2013 08:05:27 -0000 1.263
24 +++ ChangeLog 4 Dec 2013 19:23:51 -0000 1.264
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ruby/actionpack
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/ChangeLog,v 1.263 2013/12/04 08:05:27 graaff Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/ChangeLog,v 1.264 2013/12/04 19:23:51 graaff Exp $
30 +
31 +*actionpack-4.0.2 (04 Dec 2013)
32 +
33 + 04 Dec 2013; Hans de Graaff <graaff@g.o> +actionpack-4.0.2.ebuild:
34 + Version bump for security bug 493284.
35
36 *actionpack-3.2.16 (04 Dec 2013)
37
38
39
40
41 1.1 dev-ruby/actionpack/actionpack-4.0.2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionpack/actionpack-4.0.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionpack/actionpack-4.0.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: actionpack-4.0.2.ebuild
47 ===================================================================
48 # Copyright 1999-2013 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/actionpack-4.0.2.ebuild,v 1.1 2013/12/04 19:23:51 graaff Exp $
51
52 EAPI=5
53
54 USE_RUBY="ruby19"
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"
74 IUSE=""
75
76 RUBY_S="rails-${PV}/${PN}"
77
78 ruby_add_rdepend "
79 ~dev-ruby/activesupport-${PV}
80 >=dev-ruby/builder-3.1.0:3.1
81 >=dev-ruby/rack-1.5.2:1.5
82 >=dev-ruby/rack-test-0.6.2:0.6
83 >=dev-ruby/sprockets-2.2.1:2.2
84 >=dev-ruby/erubis-2.7.0"
85
86 ruby_add_bdepend "
87 test? (
88 dev-ruby/mocha:0.13
89 dev-ruby/bundler
90 ~dev-ruby/activemodel-${PV}
91 ~dev-ruby/activerecord-${PV}
92 ~dev-ruby/actionmailer-${PV}
93 dev-ruby/sprockets-rails:2.0
94 >=dev-ruby/tzinfo-0.3.29:0
95 >=dev-ruby/uglifier-1.0.3
96 )"
97
98 all_ruby_prepare() {
99 # Remove items from the common Gemfile that we don't need for this
100 # test run. This also requires handling some gemspecs.
101 sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\|ruby-prof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\)/d" ../Gemfile || die
102
103 sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die
104 sed -i -e '/mail/d' ../actionmailer/actionmailer.gemspec || die
105
106 sed -i -e '/bcrypt/ s/3.0.0/3.0/' ../Gemfile || die
107
108 # Add back json in the Gemfile because we dropped some dependencies
109 # earlier that implicitly required it.
110 sed -i -e '$agem "json"' ../Gemfile || die
111
112 # Avoid fragile tests depending on hash ordering
113 sed -i -e '/cookie_3=chocolate/ s:^:#:' test/controller/integration_test.rb || die
114 sed -i -e '/test_to_s/,/end/ s:^:#:' test/template/html-scanner/tag_node_test.rb || die
115 sed -i -e '/"name":"david"/ s:^:#:' test/controller/mime_responds_test.rb || die
116 sed -i -e '/test_option_html_attributes_with_multiple_element_hash/, / end/ s:^:#:' test/template/form_options_helper_test.rb || die
117 sed -i -e '/test_option_html_attributes_with_multiple_hashes/, / end/ s:^:#:' test/template/form_options_helper_test.rb || die
118
119 # Avoid fragile test that gets more output than it expects.
120 sed -i -e '/test_locals_option_to_assert_template_is_not_supported/,/end/ s:^:#:' test/controller/render_test.rb || die
121 }