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-2.3.16.ebuild
Date: Mon, 28 Jan 2013 21:39:13
Message-Id: 20130128213910.8B02D2171D@flycatcher.gentoo.org
1 graaff 13/01/28 21:39:10
2
3 Modified: ChangeLog
4 Added: actionpack-2.3.16.ebuild
5 Log:
6 Version bump for security bug 453844.
7
8 (Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
9
10 Revision Changes Path
11 1.233 dev-ruby/actionpack/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionpack/ChangeLog?rev=1.233&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionpack/ChangeLog?rev=1.233&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionpack/ChangeLog?r1=1.232&r2=1.233
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/ChangeLog,v
20 retrieving revision 1.232
21 retrieving revision 1.233
22 diff -u -r1.232 -r1.233
23 --- ChangeLog 20 Jan 2013 15:04:30 -0000 1.232
24 +++ ChangeLog 28 Jan 2013 21:39:10 -0000 1.233
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.232 2013/01/20 15:04:30 graaff Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/ChangeLog,v 1.233 2013/01/28 21:39:10 graaff Exp $
30 +
31 +*actionpack-2.3.16 (28 Jan 2013)
32 +
33 + 28 Jan 2013; Hans de Graaff <graaff@g.o> +actionpack-2.3.16.ebuild:
34 + Version bump for security bug 453844.
35
36 20 Jan 2013; Hans de Graaff <graaff@g.o> -actionpack-2.3.14.ebuild,
37 -actionpack-3.0.18.ebuild, -actionpack-3.1.9.ebuild,
38
39
40
41 1.1 dev-ruby/actionpack/actionpack-2.3.16.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionpack/actionpack-2.3.16.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionpack/actionpack-2.3.16.ebuild?rev=1.1&content-type=text/plain
45
46 Index: actionpack-2.3.16.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-2.3.16.ebuild,v 1.1 2013/01/28 21:39:10 graaff Exp $
51
52 EAPI=2
53
54 USE_RUBY="ruby18 ree18 jruby"
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_DOCDIR="doc"
60 RUBY_FAKEGEM_EXTRADOC="CHANGELOG README"
61
62 inherit ruby-fakegem
63
64 DESCRIPTION="Eases web-request routing, handling, and response."
65 HOMEPAGE="http://rubyforge.org/projects/actionpack/"
66
67 LICENSE="MIT"
68 SLOT="2.3"
69 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
70 IUSE=""
71
72 RUBY_PATCHES=( "${PN}-2.3.11-rails3.patch" "${PN}-2.3.10-i18n-0.4.2.patch" )
73
74 ruby_add_rdepend "~dev-ruby/activesupport-${PV}
75 >=dev-ruby/rack-1.1.0:0"
76
77 ruby_add_bdepend "
78 test? (
79 >=dev-ruby/mocha-0.9.7
80 dev-ruby/activerecord:${SLOT}
81 ~dev-ruby/actionmailer-${PV}
82 )"
83
84 all_ruby_prepare() {
85 # Custom template not found in package
86 sed -i -e '/horo/d' Rakefile || die
87
88 # This tries to load a “vendorized” copy of activerecord that we
89 # will never have. It can now also use a normally installed
90 # version but these tests fail.
91 sed -i -e '/PATH_TO_AR/s:^:#:' -e 's/self.able_to_connect = true/self.able_to_connect = false/' test/active_record_unit.rb || die
92
93 # Fix the testsuite, the symlink is not present in the gem for
94 # some reason
95 ln -s ../../symlink_parent test/fixtures/layout_tests/layouts/symlinked
96
97 # MemCacheStore tests no longer fail gracefully, and it's unlikely for
98 # someone to have them running anyway, so remove them for now.
99 rm test/controller/session/mem_cache_store_test.rb || die
100
101 # Fix tests when run against i18n 0.4.2 which ignores locale
102 # definitions with an empty data section.
103 sed -i -e 's/, {}/, {:test => "test"}/' test/template/render_test.rb || die
104
105 # Test now broken on a whitespace difference.
106 sed -i -e '/test_multiple_cookies/,/end/ s:^:#:' test/controller/cookie_test.rb
107
108 # Test most likely broken due to new security fixes.
109 sed -i -e '/test_post_xml_using_a_disallowed_type_attribute/,/^ end/ s:^:#:' test/controller/webservice_test.rb || die
110 }