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/activerecord: activerecord-2.3.16.ebuild ChangeLog
Date: Mon, 28 Jan 2013 21:40:23
Message-Id: 20130128214020.61E2D2171D@flycatcher.gentoo.org
1 graaff 13/01/28 21:40:20
2
3 Modified: ChangeLog
4 Added: activerecord-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.219 dev-ruby/activerecord/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activerecord/ChangeLog?rev=1.219&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activerecord/ChangeLog?rev=1.219&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activerecord/ChangeLog?r1=1.218&r2=1.219
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/ChangeLog,v
20 retrieving revision 1.218
21 retrieving revision 1.219
22 diff -u -r1.218 -r1.219
23 --- ChangeLog 20 Jan 2013 15:03:35 -0000 1.218
24 +++ ChangeLog 28 Jan 2013 21:40:20 -0000 1.219
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ruby/activerecord
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/ChangeLog,v 1.218 2013/01/20 15:03:35 graaff Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/ChangeLog,v 1.219 2013/01/28 21:40:20 graaff Exp $
30 +
31 +*activerecord-2.3.16 (28 Jan 2013)
32 +
33 + 28 Jan 2013; Hans de Graaff <graaff@g.o> +activerecord-2.3.16.ebuild:
34 + Version bump for security bug 453844.
35
36 20 Jan 2013; Hans de Graaff <graaff@g.o>
37 -activerecord-2.3.14-r1.ebuild, -activerecord-3.0.18.ebuild,
38
39
40
41 1.1 dev-ruby/activerecord/activerecord-2.3.16.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activerecord/activerecord-2.3.16.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activerecord/activerecord-2.3.16.ebuild?rev=1.1&content-type=text/plain
45
46 Index: activerecord-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/activerecord/activerecord-2.3.16.ebuild,v 1.1 2013/01/28 21:40:20 graaff Exp $
51
52 EAPI=2
53 USE_RUBY="ruby18 ree18 jruby"
54
55 # this is not null so that the dependencies will actually be filled
56 RUBY_FAKEGEM_TASK_TEST="none"
57
58 RUBY_FAKEGEM_DOCDIR="doc"
59 RUBY_FAKEGEM_EXTRADOC="CHANGELOG README"
60
61 inherit ruby-fakegem
62
63 DESCRIPTION="Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM"
64 HOMEPAGE="http://rubyforge.org/projects/activerecord/"
65
66 LICENSE="MIT"
67 SLOT="2.3"
68 KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
69 IUSE="mysql postgres sqlite3" #sqlite
70
71 ruby_add_rdepend "~dev-ruby/activesupport-${PV}"
72
73 #ruby_add_rdepend sqlite ">=dev-ruby/sqlite-ruby-2.2.2"
74 USE_RUBY=ruby18 \
75 ruby_add_rdepend "
76 sqlite3? ( dev-ruby/sqlite3 )
77 mysql? ( >=dev-ruby/mysql-ruby-2.7 )
78 postgres? ( dev-ruby/pg )"
79
80 ruby_add_bdepend "
81 test? (
82 dev-ruby/rdoc
83 =dev-ruby/mocha-0.10*
84 )"
85
86 all_ruby_prepare() {
87 # Custom template not found in package
88 sed -i -e '/horo/d' Rakefile || die
89
90 # Remove test cases with hash ordering failures.
91 sed -i -e '/test_bind_enumerable/,/end/ s:^:#:' test/cases/finder_test.rb || die
92 sed -i -e '/test_should_automatically_build_new_associated/,/^ end/ s:^:#:' test/cases/nested_attributes_test.rb || die
93
94 # Make sure we load a compatible version of activesupport for tests.
95 sed -i -e '10igem "activesupport", "~>2.3.15"' test/cases/helper.rb || die
96
97 # Drop test now broken by security fixes.
98 rm test/cases/serialization_test.rb
99 }
100
101 each_ruby_test() {
102 case ${RUBY} in
103 *jruby)
104 ;;
105 *)
106 if use sqlite3; then
107 ${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed"
108 fi
109 ;;
110 esac
111 }