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/activesupport: ChangeLog activesupport-3.0.20.ebuild
Date: Mon, 28 Jan 2013 22:22:37
Message-Id: 20130128222234.85C122171D@flycatcher.gentoo.org
1 graaff 13/01/28 22:22:34
2
3 Modified: ChangeLog
4 Added: activesupport-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.206 dev-ruby/activesupport/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activesupport/ChangeLog?rev=1.206&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activesupport/ChangeLog?rev=1.206&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activesupport/ChangeLog?r1=1.205&r2=1.206
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/activesupport/ChangeLog,v
20 retrieving revision 1.205
21 retrieving revision 1.206
22 diff -u -r1.205 -r1.206
23 --- ChangeLog 28 Jan 2013 21:36:58 -0000 1.205
24 +++ ChangeLog 28 Jan 2013 22:22:34 -0000 1.206
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ruby/activesupport
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activesupport/ChangeLog,v 1.205 2013/01/28 21:36:58 graaff Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activesupport/ChangeLog,v 1.206 2013/01/28 22:22:34 graaff Exp $
30 +
31 +*activesupport-3.0.20 (28 Jan 2013)
32 +
33 + 28 Jan 2013; Hans de Graaff <graaff@g.o> +activesupport-3.0.20.ebuild:
34 + Version bump for security bug 453844.
35
36 *activesupport-2.3.16 (28 Jan 2013)
37
38
39
40
41 1.1 dev-ruby/activesupport/activesupport-3.0.20.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activesupport/activesupport-3.0.20.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activesupport/activesupport-3.0.20.ebuild?rev=1.1&content-type=text/plain
45
46 Index: activesupport-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/activesupport/activesupport-3.0.20.ebuild,v 1.1 2013/01/28 22:22:34 graaff Exp $
51
52 EAPI=4
53
54 # jruby fails tests.
55 USE_RUBY="ruby18 ree18"
56
57 RUBY_FAKEGEM_TASK_DOC=""
58
59 RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.rdoc"
60
61 RUBY_FAKEGEM_GEMSPEC="activesupport.gemspec"
62
63 RUBY_FAKEGEM_BINWRAP=""
64
65 inherit ruby-fakegem
66
67 DESCRIPTION="Utility Classes and Extension to the Standard Library"
68 HOMEPAGE="http://rubyforge.org/projects/activesupport/"
69 SRC_URI="https://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 ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
74 IUSE=""
75
76 RUBY_S="rails-rails-*/${PN}"
77
78 ruby_add_rdepend ">=dev-ruby/memcache-client-1.5.8"
79
80 # libxml-ruby and nokogiri are not strictly needed, but there are tests
81 # using this code.
82 ruby_add_bdepend "test? ( >=dev-ruby/libxml-2.0.0 dev-ruby/nokogiri >=dev-ruby/mocha-0.13.0 )"
83
84 all_ruby_prepare() {
85 # don't support older mocha versions as the optional codepath
86 # breaks JRuby
87 # epatch "${FILESDIR}"/${PN}-3.0.20-mocha-0.9.5.patch
88
89 # Set test environment to our hand.
90 rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
91 sed -i -e '/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths"
92
93 # Avoid tests that do not work with newer versions of mocha.
94 rm test/whiny_nil_test.rb || die
95
96 # Avoid tests failing due to slightly different builder semantics.
97 sed -i -e '/test_one_level_with_nils/,/end/ s:^:#:' \
98 -e '/test_one_level_with_skipping_types/,/end/ s:^:#:' \
99 test/core_ext/hash_ext_test.rb || die
100 }