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-4.0.11.ebuild activerecord-3.2.20.ebuild ChangeLog activerecord-4.1.7.ebuild
Date: Fri, 31 Oct 2014 08:58:18
Message-Id: 20141031085814.A55DD9217@oystercatcher.gentoo.org
1 graaff 14/10/31 08:58:14
2
3 Modified: ChangeLog
4 Added: activerecord-4.0.11.ebuild
5 activerecord-3.2.20.ebuild
6 activerecord-4.1.7.ebuild
7 Log:
8 Version bump for security issue CVE-2014-7818.
9
10 (Portage version: 2.2.8-r2/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
11
12 Revision Changes Path
13 1.280 dev-ruby/activerecord/ChangeLog
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activerecord/ChangeLog?rev=1.280&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activerecord/ChangeLog?rev=1.280&content-type=text/plain
17 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activerecord/ChangeLog?r1=1.279&r2=1.280
18
19 Index: ChangeLog
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/ChangeLog,v
22 retrieving revision 1.279
23 retrieving revision 1.280
24 diff -u -r1.279 -r1.280
25 --- ChangeLog 12 Sep 2014 06:27:45 -0000 1.279
26 +++ ChangeLog 31 Oct 2014 08:58:14 -0000 1.280
27 @@ -1,6 +1,14 @@
28 # ChangeLog for dev-ruby/activerecord
29 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/ChangeLog,v 1.279 2014/09/12 06:27:45 graaff Exp $
31 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/ChangeLog,v 1.280 2014/10/31 08:58:14 graaff Exp $
32 +
33 +*activerecord-4.1.7 (31 Oct 2014)
34 +*activerecord-4.0.11 (31 Oct 2014)
35 +*activerecord-3.2.20 (31 Oct 2014)
36 +
37 + 31 Oct 2014; Hans de Graaff <graaff@g.o> +activerecord-3.2.20.ebuild,
38 + +activerecord-4.0.11.ebuild, +activerecord-4.1.7.ebuild:
39 + Version bump for security issue CVE-2014-7818.
40
41 *activerecord-4.1.6 (12 Sep 2014)
42
43
44
45
46 1.1 dev-ruby/activerecord/activerecord-4.0.11.ebuild
47
48 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activerecord/activerecord-4.0.11.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activerecord/activerecord-4.0.11.ebuild?rev=1.1&content-type=text/plain
50
51 Index: activerecord-4.0.11.ebuild
52 ===================================================================
53 # Copyright 1999-2014 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/activerecord-4.0.11.ebuild,v 1.1 2014/10/31 08:58:14 graaff Exp $
56
57 EAPI=5
58 USE_RUBY="ruby19 ruby20 ruby21"
59
60 # this is not null so that the dependencies will actually be filled
61 RUBY_FAKEGEM_TASK_TEST="test"
62
63 RUBY_FAKEGEM_TASK_DOC=""
64 RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
65
66 RUBY_FAKEGEM_GEMSPEC="activerecord.gemspec"
67
68 inherit ruby-fakegem versionator
69
70 DESCRIPTION="Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM"
71 HOMEPAGE="http://rubyforge.org/projects/activerecord/"
72 SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
73
74 LICENSE="MIT"
75 SLOT="$(get_version_component_range 1-2)"
76 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
77 IUSE="mysql postgres sqlite3"
78
79 RUBY_S="rails-${PV}/${PN}"
80
81 ruby_add_rdepend "~dev-ruby/activesupport-${PV}
82 ~dev-ruby/activemodel-${PV}
83 >=dev-ruby/activerecord-deprecated_finders-1.0.2:1.0
84 >=dev-ruby/arel-4.0.2:4.0
85 sqlite3? ( >=dev-ruby/sqlite3-1.3.5 )
86 mysql? ( >=dev-ruby/mysql2-0.3.10:0.3 )
87 postgres? ( >=dev-ruby/pg-0.11.0 )
88 !<dev-ruby/protected_attributes-1.0.8"
89
90 ruby_add_bdepend "
91 test? (
92 dev-ruby/bundler
93 ~dev-ruby/actionpack-${PV}
94 >=dev-ruby/sqlite3-1.3.5
95 dev-ruby/mocha:0.13
96 )"
97
98 all_ruby_prepare() {
99 # Remove items from the common Gemfile that we don't need for this
100 # test run. This also requires handling some gemspecs.
101 sed -i -e "/\(uglifier\|system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\|ruby-prof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|redcarpet\)/d" ../Gemfile || die
102 sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die
103 sed -i -e '/mail/d' ../actionmailer/actionmailer.gemspec || die
104
105 sed -i -e '/bcrypt/ s/3.0.0/3.0/' ../Gemfile || die
106
107 # Add back json in the Gemfile because we dropped some dependencies
108 # earlier that implicitly required it.
109 sed -i -e '$agem "json"' ../Gemfile || die
110
111 # Avoid test depending on mysql adapter which we don't support for
112 # this Rails version to simplify our dependencies.
113 rm test/cases/connection_specification/resolver_test.rb || die
114
115 # Avoid single test using mysql dependencies.
116 rm test/cases/invalid_connection_test.rb || die
117
118 # Avoid test depending on specific sqlite3 binding or database version.
119 sed -i -e '/test_uniqueness_violations_are_translated/,/^ end/ s:^:#:' test/cases/adapter_test.rb || die
120 }
121
122 each_ruby_test() {
123 case ${RUBY} in
124 *jruby)
125 ;;
126 *)
127 if use sqlite3; then
128 ${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed"
129 fi
130 ;;
131 esac
132 }
133
134
135
136 1.1 dev-ruby/activerecord/activerecord-3.2.20.ebuild
137
138 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activerecord/activerecord-3.2.20.ebuild?rev=1.1&view=markup
139 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activerecord/activerecord-3.2.20.ebuild?rev=1.1&content-type=text/plain
140
141 Index: activerecord-3.2.20.ebuild
142 ===================================================================
143 # Copyright 1999-2014 Gentoo Foundation
144 # Distributed under the terms of the GNU General Public License v2
145 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/activerecord-3.2.20.ebuild,v 1.1 2014/10/31 08:58:14 graaff Exp $
146
147 EAPI=5
148 USE_RUBY="ruby19 ruby20"
149
150 # this is not null so that the dependencies will actually be filled
151 RUBY_FAKEGEM_TASK_TEST="test"
152
153 RUBY_FAKEGEM_TASK_DOC=""
154 RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
155
156 RUBY_FAKEGEM_GEMSPEC="activerecord.gemspec"
157
158 inherit ruby-fakegem versionator
159
160 DESCRIPTION="Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM"
161 HOMEPAGE="http://rubyforge.org/projects/activerecord/"
162 SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
163
164 LICENSE="MIT"
165 SLOT="$(get_version_component_range 1-2)"
166 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
167 IUSE="mysql postgres sqlite3"
168
169 RUBY_S="rails-${PV}/${PN}"
170
171 ruby_add_rdepend "~dev-ruby/activesupport-${PV}
172 ~dev-ruby/activemodel-${PV}
173 >=dev-ruby/arel-3.0.2:3.0
174 >=dev-ruby/tzinfo-0.3.29:0
175 sqlite3? ( >=dev-ruby/sqlite3-1.3.5 )
176 mysql? ( >=dev-ruby/mysql2-0.3.10:0.3 )
177 postgres? ( >=dev-ruby/pg-0.11.0 )"
178
179 ruby_add_bdepend "
180 test? (
181 dev-ruby/bundler
182 ~dev-ruby/actionpack-${PV}
183 >=dev-ruby/sqlite3-1.3.5
184 dev-ruby/mocha:0.13
185 )"
186
187 all_ruby_prepare() {
188 # Remove items from the common Gemfile that we don't need for this
189 # test run. This also requires handling some gemspecs.
190 sed -i -e "/\(uglifier\|system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\|ruby-prof\|benchmark-ips\|nokogiri\)/d" ../Gemfile || die
191 sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die
192 sed -i -e '/mail/d' ../actionmailer/actionmailer.gemspec || die
193 # sed -i -e '/[Bb]undler/d' ../load_paths.rb || die
194 sed -i -e '/bcrypt/ s/3.0.0/3.0/' ../Gemfile || die
195
196 # Avoid tests depending on hash ordering
197 sed -i -e '/test_should_automatically_build_new_associated/,/ end/ s:^:#:' test/cases/nested_attributes_test.rb || die
198
199 # Avoid test depending on mysql adapter which we don't support for
200 # this Rails version to simplify our dependencies.
201 rm test/cases/connection_specification/resolver_test.rb || die
202
203 # Avoid test depending on specific sqlite3 binding or database version.
204 sed -i -e '/test_uniqueness_violations_are_translated/,/^ end/ s:^:#:' test/cases/adapter_test.rb || die
205 }
206
207 each_ruby_test() {
208 case ${RUBY} in
209 *jruby)
210 ;;
211 *)
212 if use sqlite3; then
213 ${RUBY} -I. -S rake test_sqlite3 || die "sqlite3 tests failed"
214 fi
215 ;;
216 esac
217 }
218
219
220
221 1.1 dev-ruby/activerecord/activerecord-4.1.7.ebuild
222
223 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activerecord/activerecord-4.1.7.ebuild?rev=1.1&view=markup
224 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activerecord/activerecord-4.1.7.ebuild?rev=1.1&content-type=text/plain
225
226 Index: activerecord-4.1.7.ebuild
227 ===================================================================
228 # Copyright 1999-2014 Gentoo Foundation
229 # Distributed under the terms of the GNU General Public License v2
230 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/activerecord-4.1.7.ebuild,v 1.1 2014/10/31 08:58:14 graaff Exp $
231
232 EAPI=5
233 USE_RUBY="ruby19 ruby20 ruby21"
234
235 # this is not null so that the dependencies will actually be filled
236 RUBY_FAKEGEM_TASK_TEST="test"
237
238 RUBY_FAKEGEM_TASK_DOC=""
239 RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
240
241 RUBY_FAKEGEM_GEMSPEC="activerecord.gemspec"
242
243 inherit ruby-fakegem versionator
244
245 DESCRIPTION="Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM"
246 HOMEPAGE="http://rubyforge.org/projects/activerecord/"
247 SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
248
249 LICENSE="MIT"
250 SLOT="$(get_version_component_range 1-2)"
251 KEYWORDS="~amd64 ~arm ~ppc ~ppc64"
252 IUSE="mysql postgres sqlite3"
253
254 RUBY_S="rails-${PV}/${PN}"
255
256 ruby_add_rdepend "~dev-ruby/activesupport-${PV}
257 ~dev-ruby/activemodel-${PV}
258 >=dev-ruby/arel-5.0.0:5.0
259 sqlite3? ( >=dev-ruby/sqlite3-1.3.6 )
260 mysql? ( >=dev-ruby/mysql2-0.3.13:0.3 )
261 postgres? ( >=dev-ruby/pg-0.11.0 )"
262
263 ruby_add_bdepend "
264 test? (
265 dev-ruby/bundler
266 ~dev-ruby/actionpack-${PV}
267 >=dev-ruby/sqlite3-1.3.5
268 dev-ruby/mocha:0.13
269 <dev-ruby/minitest-5.3.4:5
270 )"
271
272 all_ruby_prepare() {
273 # Remove items from the common Gemfile that we don't need for this
274 # test run. This also requires handling some gemspecs.
275 sed -i -e "/\(uglifier\|system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\|ruby-prof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|redcarpet\|minitest\)/ s:^:#:" ../Gemfile || die
276 sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die
277 sed -i -e '/mail/d' ../actionmailer/actionmailer.gemspec || die
278
279 sed -i -e '/bcrypt/ s/3.0.0/3.0/' ../Gemfile || die
280
281 # Add back json in the Gemfile because we dropped some dependencies
282 # earlier that implicitly required it.
283 sed -i -e '$agem "json"' ../Gemfile || die
284
285 # Avoid test depending on mysql adapter which we don't support for
286 # this Rails version to simplify our dependencies.
287 rm test/cases/connection_specification/resolver_test.rb || die
288
289 # Avoid single test using mysql dependencies.
290 rm test/cases/invalid_connection_test.rb || die
291 }
292
293 each_ruby_test() {
294 case ${RUBY} in
295 *jruby)
296 ;;
297 *)
298 if use sqlite3; then
299 ${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed"
300 fi
301 ;;
302 esac
303 }