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.20.ebuild
Date: Mon, 28 Jan 2013 22:23:37
Message-Id: 20130128222333.D81DC2171D@flycatcher.gentoo.org
1 graaff 13/01/28 22:23:33
2
3 Modified: ChangeLog
4 Added: actionpack-3.0.20.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.234 dev-ruby/actionpack/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionpack/ChangeLog?rev=1.234&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionpack/ChangeLog?rev=1.234&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionpack/ChangeLog?r1=1.233&r2=1.234
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/ChangeLog,v
20 retrieving revision 1.233
21 retrieving revision 1.234
22 diff -u -r1.233 -r1.234
23 --- ChangeLog 28 Jan 2013 21:39:10 -0000 1.233
24 +++ ChangeLog 28 Jan 2013 22:23:33 -0000 1.234
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.233 2013/01/28 21:39:10 graaff Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/ChangeLog,v 1.234 2013/01/28 22:23:33 graaff Exp $
30 +
31 +*actionpack-3.0.20 (28 Jan 2013)
32 +
33 + 28 Jan 2013; Hans de Graaff <graaff@g.o> +actionpack-3.0.20.ebuild:
34 + Version bump for security bug 453844.
35
36 *actionpack-2.3.16 (28 Jan 2013)
37
38
39
40
41 1.1 dev-ruby/actionpack/actionpack-3.0.20.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionpack/actionpack-3.0.20.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionpack/actionpack-3.0.20.ebuild?rev=1.1&content-type=text/plain
45
46 Index: actionpack-3.0.20.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-3.0.20.ebuild,v 1.1 2013/01/28 22:23:33 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 ~ppc ~ppc64 ~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.5: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/mocha-0.13.0
93 ~dev-ruby/activerecord-${PV}
94 ~dev-ruby/actionmailer-${PV}
95 )"
96
97 all_ruby_prepare() {
98 # Remove items from the common Gemfile that we don't need for this
99 # test run. This also requires handling some gemspecs.
100 sed -i -e '/\(system_timer\|horo\|faker\|rbench\|ruby-debug\|pg\|mysql2\)/d' ../Gemfile || die
101 sed -i -e '/thor/d' ../railties/railties.gemspec || die
102 sed -i -e '/mail/d' ../actionmailer/actionmailer.gemspec || die
103
104 # Loosen erubis dependency since this is not slotted.
105 sed -i -e 's/~> 2.6.6/>= 2.6.6/' actionpack.gemspec || die
106
107 # Loosen mocha version restriction
108 sed -i -e 's/0.10.5/>= 0.10.5/' ../Gemfile || die
109
110 # Ignore failure introduced by security measures in 3.0.17.
111 sed -i -e '/test_select_tag_escapes_prompt/,/end/ s:^:#:' test/template/form_tag_helper_test.rb || die
112 }