Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/activesupport/
Date: Sun, 05 Jan 2020 09:30:46
Message-Id: 1578216611.0f4a22f0d764d5b65f78b18754427ba6a73c845b.graaff@gentoo
1 commit: 0f4a22f0d764d5b65f78b18754427ba6a73c845b
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 5 09:30:11 2020 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 5 09:30:11 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f4a22f0
7
8 dev-ruby/activesupport: remove vulnerable versions
9
10 Package-Manager: Portage-2.3.79, Repoman-2.3.16
11 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
12
13 dev-ruby/activesupport/Manifest | 5 --
14 dev-ruby/activesupport/activesupport-5.2.3.ebuild | 71 -----------------------
15 dev-ruby/activesupport/activesupport-5.2.4.ebuild | 71 -----------------------
16 dev-ruby/activesupport/activesupport-6.0.0.ebuild | 71 -----------------------
17 dev-ruby/activesupport/activesupport-6.0.1.ebuild | 71 -----------------------
18 dev-ruby/activesupport/activesupport-6.0.2.ebuild | 71 -----------------------
19 6 files changed, 360 deletions(-)
20
21 diff --git a/dev-ruby/activesupport/Manifest b/dev-ruby/activesupport/Manifest
22 index 348dd3df36a..2306b26028e 100644
23 --- a/dev-ruby/activesupport/Manifest
24 +++ b/dev-ruby/activesupport/Manifest
25 @@ -1,8 +1,3 @@
26 DIST rails-4.2.11.1.tgz 4081006 BLAKE2B 7db84961963f529a9b6c06011bb6e32b56f4beb064de31c811a092d27e93156669ade4dcceb7d8abcdba4845d42258d904f8ecaf79198af1c0e2afcb33fe3fe3 SHA512 198fa072f3f09a9893377439ddd1803effdf04a33ae7b609234464e7de9ad960439d1b80ae62e1f9b223b3173839be7233c314a72057933b43672f390d96a8df
27 -DIST rails-5.2.3.tgz 8802794 BLAKE2B 786f94bcd9528ffc664c39caef0e7d2d3c15da95497044504082999a435c2a877d73d40b68b5237dc07ae6cf9b8f6f99f12ae68527c5f4005b1a648038e507c0 SHA512 6a41f7564679263b4a16a245d13271b12e97a55cdd77b5ebe63bd86c3a80e4f447b4c0567a4a40ed8e97a2307522f6dad368b1beeb362136bdf1856f6dffeb60
28 DIST rails-5.2.4.1.tgz 8823310 BLAKE2B 33d863a66c0f5e0554c2beaf5fac235cfa3a5ba0c514aa30f53d9d036656d3710f7c486f3cd23e3b2986ee8621a11782a7a630f74131cce4c99a4ff7539e6b58 SHA512 5b59cd0ede76cedf1fdb50090c434c24fdcd30a2cf6ec4abc5437e62bb2aae410607e812d4e14acdd27b81a51365232f6e768156556ca67ae94b9e10d2eb7655
29 -DIST rails-5.2.4.tgz 8822605 BLAKE2B 541332dab5acd358ba3c3ad660b25cec77050b44fba00f46bb3a6e0846ebede36cf4dc7d13f9269ba14ce4174bb81a342f0407672dc6f9372b7cc0ddd0eb66bd SHA512 bee783a0c8e24441f0fbe011392774684fa1390df837c6f85a17975ae72b8c60bea90998f36742c413eecffe125b6a606b0d920855231f910e8073fe28d44a13
30 -DIST rails-6.0.0.tgz 18543484 BLAKE2B 614e71481a3a5ece629f49d0ef623b5352e165b5d46a736ccb747614d6c1fd56d4aaba2f2f32d48d81772cfd4db671d94a67cd3ffa395f29bf2de1f148fa57ed SHA512 3a2259fe2b3ffd0ddc9128e1aa58af57006b8410120a3629926b95fbe60b8658edab77929e26d9323c61a1855a4379e73f1ddbe875324b068a9e8bdde6ca55e6
31 -DIST rails-6.0.1.tgz 18551750 BLAKE2B 03349639ae114b82573e5e4063600b07b24274a0f5a81021bf347c650214e0f59fbb1676b9ad580de5a2d6e4dc85cc2702511c32d11a088ef663f26d8d55041e SHA512 ad6667a958663a8d260896c6b7fd589b657383f0d4f217c9bc0e993d6eac67c32fa41d54a9edf9b1f4e01ae78826f49a862b0069d59b3c1de2b950522b3ecf10
32 DIST rails-6.0.2.1.tgz 18556085 BLAKE2B 178e2d5319fa71ba9f3f7d7a00c207ed9c8d87973487a253c5f819132743f8cdf1428b1668c6e176c91d45986a2201e52f9016efe5ca28ab93301135e5392dd5 SHA512 b33e82ba9e898f7c467df26b7196c69564bcdd24a4732ae6912d06dd361044e769d87fc3e8872533c97fc8d034cab2fad33082925f98cf2096fb1dd4ff6789d7
33 -DIST rails-6.0.2.tgz 18555652 BLAKE2B 27b775a8e9285d9d8501fd2115b5a4a68ef0df1afe0f237c32158fc3c4fa950916b725ececda2e9cabd199a2cef4f7c0421b4fdd27e5b28952f738ab99d48097 SHA512 f394d272771ae8eeba2878c7d8eace93a7eefae95f12b34704939f3f91201633da8cb8721999eec0c9729dd72841ef026fbdb7d814d5a0f31cd1f0fd6310a872
34
35 diff --git a/dev-ruby/activesupport/activesupport-5.2.3.ebuild b/dev-ruby/activesupport/activesupport-5.2.3.ebuild
36 deleted file mode 100644
37 index bdb4663ae69..00000000000
38 --- a/dev-ruby/activesupport/activesupport-5.2.3.ebuild
39 +++ /dev/null
40 @@ -1,71 +0,0 @@
41 -# Copyright 1999-2019 Gentoo Authors
42 -# Distributed under the terms of the GNU General Public License v2
43 -
44 -EAPI=6
45 -
46 -USE_RUBY="ruby23 ruby24 ruby25 ruby26"
47 -
48 -RUBY_FAKEGEM_TASK_DOC=""
49 -
50 -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
51 -
52 -RUBY_FAKEGEM_GEMSPEC="activesupport.gemspec"
53 -
54 -RUBY_FAKEGEM_BINWRAP=""
55 -
56 -inherit ruby-fakegem eapi7-ver
57 -
58 -DESCRIPTION="Utility Classes and Extension to the Standard Library"
59 -HOMEPAGE="https://github.com/rails/rails"
60 -SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
61 -
62 -LICENSE="MIT"
63 -SLOT="$(ver_cut 1-2)"
64 -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
65 -IUSE=""
66 -
67 -RUBY_S="rails-${PV}/${PN}"
68 -
69 -ruby_add_rdepend "
70 - >=dev-ruby/concurrent-ruby-1.0.2:1
71 - dev-ruby/i18n:1
72 - >=dev-ruby/tzinfo-1.1:1
73 - >=dev-ruby/minitest-5.1:5"
74 -
75 -# memcache-client, nokogiri, and builder are not strictly
76 -# needed, but there are tests using this code.
77 -ruby_add_bdepend "test? (
78 - >=dev-ruby/dalli-2.2.1
79 - >=dev-ruby/nokogiri-1.4.5
80 - >=dev-ruby/builder-3.1.0
81 - >=dev-ruby/listen-3.0.5:3
82 - dev-ruby/rack
83 - dev-ruby/mocha
84 - )"
85 -
86 -all_ruby_prepare() {
87 - # Set the secure permissions that tests expect.
88 - chmod 0755 "${HOME}" || die "Failed to fix permissions on home"
89 -
90 - # Remove items from the common Gemfile that we don't need for this
91 - # test run. This also requires handling some gemspecs.
92 - sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|mysql\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|minitest\|sprockets\|stackprof\|rack-cache\|redis\|sqlite\)/ s:^:#:" \
93 - -e '/:job/,/end/ s:^:#:' \
94 - -e '/group :doc/,/^end/ s:^:#:' \
95 - -e 's/gemspec/gemspec path: "activesupport"/' \
96 - -e '5igem "builder"; gem "rack"' ../Gemfile || die
97 - rm ../Gemfile.lock || die
98 -
99 - # Avoid test that depends on timezone
100 - sed -i -e '/test_implicit_coercion/,/^ end/ s:^:#:' test/core_ext/duration_test.rb || die
101 -
102 - # Avoid tests that seem to trigger race conditions.
103 - rm -f test/evented_file_update_checker_test.rb || die
104 -
105 - # Avoid test that generates filename that is too long
106 - sed -i -e '/test_filename_max_size/askip "gentoo"' test/cache/stores/file_store_test.rb || die
107 -
108 - # Avoid tests requiring a live redis running
109 - rm -f test/cache/stores/redis_cache_store_test.rb || die
110 - sed -i -e '/cache_stores:redis/ s:^:#:' Rakefile || die
111 -}
112
113 diff --git a/dev-ruby/activesupport/activesupport-5.2.4.ebuild b/dev-ruby/activesupport/activesupport-5.2.4.ebuild
114 deleted file mode 100644
115 index de529116b46..00000000000
116 --- a/dev-ruby/activesupport/activesupport-5.2.4.ebuild
117 +++ /dev/null
118 @@ -1,71 +0,0 @@
119 -# Copyright 1999-2019 Gentoo Authors
120 -# Distributed under the terms of the GNU General Public License v2
121 -
122 -EAPI=6
123 -
124 -USE_RUBY="ruby23 ruby24 ruby25 ruby26"
125 -
126 -RUBY_FAKEGEM_TASK_DOC=""
127 -
128 -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
129 -
130 -RUBY_FAKEGEM_GEMSPEC="activesupport.gemspec"
131 -
132 -RUBY_FAKEGEM_BINWRAP=""
133 -
134 -inherit ruby-fakegem eapi7-ver
135 -
136 -DESCRIPTION="Utility Classes and Extension to the Standard Library"
137 -HOMEPAGE="https://github.com/rails/rails"
138 -SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
139 -
140 -LICENSE="MIT"
141 -SLOT="$(ver_cut 1-2)"
142 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
143 -IUSE=""
144 -
145 -RUBY_S="rails-${PV}/${PN}"
146 -
147 -ruby_add_rdepend "
148 - >=dev-ruby/concurrent-ruby-1.0.2:1
149 - dev-ruby/i18n:1
150 - >=dev-ruby/tzinfo-1.1:1
151 - >=dev-ruby/minitest-5.1:5"
152 -
153 -# memcache-client, nokogiri, and builder are not strictly
154 -# needed, but there are tests using this code.
155 -ruby_add_bdepend "test? (
156 - >=dev-ruby/dalli-2.2.1
157 - >=dev-ruby/nokogiri-1.4.5
158 - >=dev-ruby/builder-3.1.0
159 - >=dev-ruby/listen-3.0.5:3
160 - dev-ruby/rack
161 - dev-ruby/mocha
162 - )"
163 -
164 -all_ruby_prepare() {
165 - # Set the secure permissions that tests expect.
166 - chmod 0755 "${HOME}" || die "Failed to fix permissions on home"
167 -
168 - # Remove items from the common Gemfile that we don't need for this
169 - # test run. This also requires handling some gemspecs.
170 - sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|mysql\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|minitest\|sprockets\|stackprof\|rack-cache\|redis\|sqlite\)/ s:^:#:" \
171 - -e '/:job/,/end/ s:^:#:' \
172 - -e '/group :doc/,/^end/ s:^:#:' \
173 - -e 's/gemspec/gemspec path: "activesupport"/' \
174 - -e '5igem "builder"; gem "rack"' ../Gemfile || die
175 - rm ../Gemfile.lock || die
176 -
177 - # Avoid test that depends on timezone
178 - sed -i -e '/test_implicit_coercion/,/^ end/ s:^:#:' test/core_ext/duration_test.rb || die
179 -
180 - # Avoid tests that seem to trigger race conditions.
181 - rm -f test/evented_file_update_checker_test.rb || die
182 -
183 - # Avoid test that generates filename that is too long
184 - sed -i -e '/test_filename_max_size/askip "gentoo"' test/cache/stores/file_store_test.rb || die
185 -
186 - # Avoid tests requiring a live redis running
187 - rm -f test/cache/stores/redis_cache_store_test.rb || die
188 - sed -i -e '/cache_stores:redis/ s:^:#:' Rakefile || die
189 -}
190
191 diff --git a/dev-ruby/activesupport/activesupport-6.0.0.ebuild b/dev-ruby/activesupport/activesupport-6.0.0.ebuild
192 deleted file mode 100644
193 index f79f36b8dc7..00000000000
194 --- a/dev-ruby/activesupport/activesupport-6.0.0.ebuild
195 +++ /dev/null
196 @@ -1,71 +0,0 @@
197 -# Copyright 1999-2019 Gentoo Authors
198 -# Distributed under the terms of the GNU General Public License v2
199 -
200 -EAPI=7
201 -
202 -USE_RUBY="ruby25 ruby26"
203 -
204 -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
205 -
206 -RUBY_FAKEGEM_GEMSPEC="activesupport.gemspec"
207 -
208 -RUBY_FAKEGEM_BINWRAP=""
209 -
210 -inherit ruby-fakegem
211 -
212 -DESCRIPTION="Utility Classes and Extension to the Standard Library"
213 -HOMEPAGE="https://github.com/rails/rails"
214 -SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
215 -
216 -LICENSE="MIT"
217 -SLOT="$(ver_cut 1-2)"
218 -KEYWORDS="~amd64 ~arm ~arm64 ~x86"
219 -IUSE=""
220 -
221 -RUBY_S="rails-${PV}/${PN}"
222 -
223 -ruby_add_rdepend "
224 - >=dev-ruby/concurrent-ruby-1.0.2:1
225 - dev-ruby/i18n:1
226 - >=dev-ruby/tzinfo-1.1:1
227 - >=dev-ruby/minitest-5.1:5
228 - >=dev-ruby/zeitwerk-2.1.8:2
229 -"
230 -
231 -# memcache-client, nokogiri, and builder are not strictly
232 -# needed, but there are tests using this code.
233 -ruby_add_bdepend "test? (
234 - >=dev-ruby/dalli-2.2.1
235 - >=dev-ruby/nokogiri-1.4.5
236 - >=dev-ruby/builder-3.1.0
237 - >=dev-ruby/listen-3.0.5:3
238 - dev-ruby/rack
239 - dev-ruby/mocha
240 - )"
241 -
242 -all_ruby_prepare() {
243 - # Set the secure permissions that tests expect.
244 - chmod 0755 "${HOME}" || die "Failed to fix permissions on home"
245 -
246 - # Remove items from the common Gemfile that we don't need for this
247 - # test run. This also requires handling some gemspecs.
248 - sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|mysql\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|minitest\|sprockets\|stackprof\|rack-cache\|redis\|sqlite\)/ s:^:#:" \
249 - -e '/:job/,/end/ s:^:#:' \
250 - -e '/group :doc/,/^end/ s:^:#:' \
251 - -e 's/gemspec/gemspec path: "activesupport"/' \
252 - -e '5igem "builder"; gem "rack"' ../Gemfile || die
253 - rm ../Gemfile.lock || die
254 -
255 - # Avoid test that depends on timezone
256 - sed -i -e '/test_implicit_coercion/,/^ end/ s:^:#:' test/core_ext/duration_test.rb || die
257 -
258 - # Avoid tests that seem to trigger race conditions.
259 - rm -f test/evented_file_update_checker_test.rb || die
260 -
261 - # Avoid test that generates filename that is too long
262 - sed -i -e '/test_filename_max_size/askip "gentoo"' test/cache/stores/file_store_test.rb || die
263 -
264 - # Avoid tests requiring a live redis running
265 - rm -f test/cache/stores/redis_cache_store_test.rb || die
266 - sed -i -e '/cache_stores:redis/ s:^:#:' Rakefile || die
267 -}
268
269 diff --git a/dev-ruby/activesupport/activesupport-6.0.1.ebuild b/dev-ruby/activesupport/activesupport-6.0.1.ebuild
270 deleted file mode 100644
271 index f79f36b8dc7..00000000000
272 --- a/dev-ruby/activesupport/activesupport-6.0.1.ebuild
273 +++ /dev/null
274 @@ -1,71 +0,0 @@
275 -# Copyright 1999-2019 Gentoo Authors
276 -# Distributed under the terms of the GNU General Public License v2
277 -
278 -EAPI=7
279 -
280 -USE_RUBY="ruby25 ruby26"
281 -
282 -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
283 -
284 -RUBY_FAKEGEM_GEMSPEC="activesupport.gemspec"
285 -
286 -RUBY_FAKEGEM_BINWRAP=""
287 -
288 -inherit ruby-fakegem
289 -
290 -DESCRIPTION="Utility Classes and Extension to the Standard Library"
291 -HOMEPAGE="https://github.com/rails/rails"
292 -SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
293 -
294 -LICENSE="MIT"
295 -SLOT="$(ver_cut 1-2)"
296 -KEYWORDS="~amd64 ~arm ~arm64 ~x86"
297 -IUSE=""
298 -
299 -RUBY_S="rails-${PV}/${PN}"
300 -
301 -ruby_add_rdepend "
302 - >=dev-ruby/concurrent-ruby-1.0.2:1
303 - dev-ruby/i18n:1
304 - >=dev-ruby/tzinfo-1.1:1
305 - >=dev-ruby/minitest-5.1:5
306 - >=dev-ruby/zeitwerk-2.1.8:2
307 -"
308 -
309 -# memcache-client, nokogiri, and builder are not strictly
310 -# needed, but there are tests using this code.
311 -ruby_add_bdepend "test? (
312 - >=dev-ruby/dalli-2.2.1
313 - >=dev-ruby/nokogiri-1.4.5
314 - >=dev-ruby/builder-3.1.0
315 - >=dev-ruby/listen-3.0.5:3
316 - dev-ruby/rack
317 - dev-ruby/mocha
318 - )"
319 -
320 -all_ruby_prepare() {
321 - # Set the secure permissions that tests expect.
322 - chmod 0755 "${HOME}" || die "Failed to fix permissions on home"
323 -
324 - # Remove items from the common Gemfile that we don't need for this
325 - # test run. This also requires handling some gemspecs.
326 - sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|mysql\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|minitest\|sprockets\|stackprof\|rack-cache\|redis\|sqlite\)/ s:^:#:" \
327 - -e '/:job/,/end/ s:^:#:' \
328 - -e '/group :doc/,/^end/ s:^:#:' \
329 - -e 's/gemspec/gemspec path: "activesupport"/' \
330 - -e '5igem "builder"; gem "rack"' ../Gemfile || die
331 - rm ../Gemfile.lock || die
332 -
333 - # Avoid test that depends on timezone
334 - sed -i -e '/test_implicit_coercion/,/^ end/ s:^:#:' test/core_ext/duration_test.rb || die
335 -
336 - # Avoid tests that seem to trigger race conditions.
337 - rm -f test/evented_file_update_checker_test.rb || die
338 -
339 - # Avoid test that generates filename that is too long
340 - sed -i -e '/test_filename_max_size/askip "gentoo"' test/cache/stores/file_store_test.rb || die
341 -
342 - # Avoid tests requiring a live redis running
343 - rm -f test/cache/stores/redis_cache_store_test.rb || die
344 - sed -i -e '/cache_stores:redis/ s:^:#:' Rakefile || die
345 -}
346
347 diff --git a/dev-ruby/activesupport/activesupport-6.0.2.ebuild b/dev-ruby/activesupport/activesupport-6.0.2.ebuild
348 deleted file mode 100644
349 index f79f36b8dc7..00000000000
350 --- a/dev-ruby/activesupport/activesupport-6.0.2.ebuild
351 +++ /dev/null
352 @@ -1,71 +0,0 @@
353 -# Copyright 1999-2019 Gentoo Authors
354 -# Distributed under the terms of the GNU General Public License v2
355 -
356 -EAPI=7
357 -
358 -USE_RUBY="ruby25 ruby26"
359 -
360 -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
361 -
362 -RUBY_FAKEGEM_GEMSPEC="activesupport.gemspec"
363 -
364 -RUBY_FAKEGEM_BINWRAP=""
365 -
366 -inherit ruby-fakegem
367 -
368 -DESCRIPTION="Utility Classes and Extension to the Standard Library"
369 -HOMEPAGE="https://github.com/rails/rails"
370 -SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
371 -
372 -LICENSE="MIT"
373 -SLOT="$(ver_cut 1-2)"
374 -KEYWORDS="~amd64 ~arm ~arm64 ~x86"
375 -IUSE=""
376 -
377 -RUBY_S="rails-${PV}/${PN}"
378 -
379 -ruby_add_rdepend "
380 - >=dev-ruby/concurrent-ruby-1.0.2:1
381 - dev-ruby/i18n:1
382 - >=dev-ruby/tzinfo-1.1:1
383 - >=dev-ruby/minitest-5.1:5
384 - >=dev-ruby/zeitwerk-2.1.8:2
385 -"
386 -
387 -# memcache-client, nokogiri, and builder are not strictly
388 -# needed, but there are tests using this code.
389 -ruby_add_bdepend "test? (
390 - >=dev-ruby/dalli-2.2.1
391 - >=dev-ruby/nokogiri-1.4.5
392 - >=dev-ruby/builder-3.1.0
393 - >=dev-ruby/listen-3.0.5:3
394 - dev-ruby/rack
395 - dev-ruby/mocha
396 - )"
397 -
398 -all_ruby_prepare() {
399 - # Set the secure permissions that tests expect.
400 - chmod 0755 "${HOME}" || die "Failed to fix permissions on home"
401 -
402 - # Remove items from the common Gemfile that we don't need for this
403 - # test run. This also requires handling some gemspecs.
404 - sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|mysql\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|minitest\|sprockets\|stackprof\|rack-cache\|redis\|sqlite\)/ s:^:#:" \
405 - -e '/:job/,/end/ s:^:#:' \
406 - -e '/group :doc/,/^end/ s:^:#:' \
407 - -e 's/gemspec/gemspec path: "activesupport"/' \
408 - -e '5igem "builder"; gem "rack"' ../Gemfile || die
409 - rm ../Gemfile.lock || die
410 -
411 - # Avoid test that depends on timezone
412 - sed -i -e '/test_implicit_coercion/,/^ end/ s:^:#:' test/core_ext/duration_test.rb || die
413 -
414 - # Avoid tests that seem to trigger race conditions.
415 - rm -f test/evented_file_update_checker_test.rb || die
416 -
417 - # Avoid test that generates filename that is too long
418 - sed -i -e '/test_filename_max_size/askip "gentoo"' test/cache/stores/file_store_test.rb || die
419 -
420 - # Avoid tests requiring a live redis running
421 - rm -f test/cache/stores/redis_cache_store_test.rb || die
422 - sed -i -e '/cache_stores:redis/ s:^:#:' Rakefile || die
423 -}