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.18.ebuild ChangeLog
Date: Sat, 30 Mar 2013 09:33:22
Message-Id: 20130330093318.2F3762171D@flycatcher.gentoo.org
1 graaff 13/03/30 09:33:18
2
3 Modified: ChangeLog
4 Added: activerecord-2.3.18.ebuild
5 Log:
6 Version bump for security bug 462452.
7
8 (Portage version: 2.1.11.55/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
9
10 Revision Changes Path
11 1.234 dev-ruby/activerecord/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activerecord/ChangeLog?rev=1.234&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activerecord/ChangeLog?rev=1.234&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activerecord/ChangeLog?r1=1.233&r2=1.234
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/ChangeLog,v
20 retrieving revision 1.233
21 retrieving revision 1.234
22 diff -u -r1.233 -r1.234
23 --- ChangeLog 27 Mar 2013 13:33:45 -0000 1.233
24 +++ ChangeLog 30 Mar 2013 09:33:18 -0000 1.234
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.233 2013/03/27 13:33:45 moult Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/ChangeLog,v 1.234 2013/03/30 09:33:18 graaff Exp $
30 +
31 +*activerecord-2.3.18 (30 Mar 2013)
32 +
33 + 30 Mar 2013; Hans de Graaff <graaff@g.o> +activerecord-2.3.18.ebuild:
34 + Version bump for security bug 462452.
35
36 27 Mar 2013; Dion Moult <moult@g.o> -activerecord-3.0.20.ebuild:
37 Remove dev-ruby/activerecord:3.0 due to lack of upstream support
38
39
40
41 1.1 dev-ruby/activerecord/activerecord-2.3.18.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activerecord/activerecord-2.3.18.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activerecord/activerecord-2.3.18.ebuild?rev=1.1&content-type=text/plain
45
46 Index: activerecord-2.3.18.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.18.ebuild,v 1.1 2013/03/30 09:33:18 graaff Exp $
51
52 EAPI=2
53 USE_RUBY="ruby18 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 }