summaryrefslogtreecommitdiff
path: root/dev-ruby/activesupport
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-04-07 05:29:14 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-04-07 05:29:14 +0100
commitefbb52742172c497c5245486906aade0fb6220e8 (patch)
treed5c0f732886622336af2aef18c532c92eb979ba2 /dev-ruby/activesupport
parent91f19a3f41e80c4ab434a07636edb90912ef7556 (diff)
gentoo auto-resync : 07:04:2023 - 05:29:14
Diffstat (limited to 'dev-ruby/activesupport')
-rw-r--r--dev-ruby/activesupport/Manifest19
-rw-r--r--dev-ruby/activesupport/activesupport-6.0.5.1-r1.ebuild (renamed from dev-ruby/activesupport/activesupport-6.0.5.1.ebuild)7
-rw-r--r--dev-ruby/activesupport/activesupport-6.0.6.1-r1.ebuild (renamed from dev-ruby/activesupport/activesupport-6.0.6.1.ebuild)5
-rw-r--r--dev-ruby/activesupport/activesupport-6.1.6.1-r1.ebuild (renamed from dev-ruby/activesupport/activesupport-6.1.6.1.ebuild)7
-rw-r--r--dev-ruby/activesupport/activesupport-6.1.7-r1.ebuild (renamed from dev-ruby/activesupport/activesupport-6.1.7.3.ebuild)5
-rw-r--r--dev-ruby/activesupport/activesupport-6.1.7.2-r1.ebuild (renamed from dev-ruby/activesupport/activesupport-6.1.7.2.ebuild)5
-rw-r--r--dev-ruby/activesupport/activesupport-6.1.7.3-r1.ebuild (renamed from dev-ruby/activesupport/activesupport-6.1.7.ebuild)13
-rw-r--r--dev-ruby/activesupport/activesupport-7.0.4-r1.ebuild (renamed from dev-ruby/activesupport/activesupport-7.0.4.2.ebuild)5
-rw-r--r--dev-ruby/activesupport/activesupport-7.0.4.2-r1.ebuild (renamed from dev-ruby/activesupport/activesupport-7.0.4.ebuild)7
-rw-r--r--dev-ruby/activesupport/activesupport-7.0.4.3-r1.ebuild (renamed from dev-ruby/activesupport/activesupport-7.0.4.3.ebuild)5
-rw-r--r--dev-ruby/activesupport/files/activesupport-6.1.7.3-ruby-thread-noise.patch41
11 files changed, 87 insertions, 32 deletions
diff --git a/dev-ruby/activesupport/Manifest b/dev-ruby/activesupport/Manifest
index 7c25a86fde57..9f326981367d 100644
--- a/dev-ruby/activesupport/Manifest
+++ b/dev-ruby/activesupport/Manifest
@@ -1,3 +1,4 @@
+AUX activesupport-6.1.7.3-ruby-thread-noise.patch 1689 BLAKE2B 282630ad965b63e6fa2c5ed56043be7bd6f78c3d91a09fe7578973d7a567cb31baa917af6e3ac1d77190345391fd1d5f934d0a4ebbb21192aff15a1aa83e9646 SHA512 caa509d0dba20f8981e426c0ba671e046280dfcd6d49495a2070ce623e5d8424cf5757c4b8c20a3d67037e66c84fdb8af2583026aaa498aba9e67ac043d9029d
AUX activesupport-7.0.4.3-ruby32.patch 813 BLAKE2B f2f0f30b89fb95a248d5b05439014e403ff426207985b2aff5f2c7ca02ba5378840b5a50ee438c3d8a6d82642c5b7d8b394d5adb134d185b4fc0ff709805dbf3 SHA512 d0f4508148e6357110ee9a36311bc85c7ba1910ca9fb1bc0372a12b0a982ce2cb2e97c1223441fcb5087d9d8ad7b4d0fa5047a987bc88deea6995c96c1235641
DIST rails-6.0.5.1.tgz 18607954 BLAKE2B 74f75399a287f1eae199a5764c952b75dd95a02c88899ade69d60acae00a7588b2f3a8ab3b9d2c9224d62f87305c596e16b196a5c32b19731d4415f17a29d38e SHA512 a65c3fab39eadba75e0107486c82a4da212e612ddb2350f77bb00ad887e0b52980edba08d42c02801c4e4fd71d750de3dbd78c820ef050016867737dccc06b36
DIST rails-6.0.6.1.tgz 18608328 BLAKE2B 10e6cb2d23acb75c95c25e2e6cc62de05c9c89f249c6cb9abffdd3a6ed83eb1dca996e6ef56a92cf77dddd3f8f9373ad947690015fb7966ddc599c995cea1121 SHA512 6873354fe2f8b9bf8bc12c7e6affda4300c158ee825f996eea6032a70f9532009d8f626d2736af22a452c8a3b331d1252ff19666e021150bfae2a8d575890c27
@@ -8,13 +9,13 @@ DIST rails-6.1.7.tgz 11038670 BLAKE2B fd25884a6f58f10387f1f89ffd39caad337d7a3af6
DIST rails-7.0.4.2.tgz 11063555 BLAKE2B f8a862ce91a356dad702a44f1e36f8910e91481770118343c13fa00e40d57cd208ebea83e5adc0154927ef62b3f8461ded82c4e5097089fb1d872c2247feba44 SHA512 9fb80e9ec6e9edcf049635eb436c2fdb418cbdea47a6d82fefa7606e9bd14f2785b1c4445f08848692474db7ee3eb309ab26aabc5f3ba6847457d8dfd8802689
DIST rails-7.0.4.3.tgz 11063764 BLAKE2B 389fd3a00bfff4ebda70cf5ec473942883048783b716ede1787a510d3b7b91f4e844dce4dde5ef643cb9611b1b3aa712f1ba5ebefb9e5a84e307a151b2e40bcf SHA512 2c817a0a58ae52f99686d8cd0de84f01e3d7ec05afc95d07910b3b5bf86d8162b06102893b2cbc14859b95a07eca6882a707956c87d437794697df7a18fa3c16
DIST rails-7.0.4.tgz 11061225 BLAKE2B 9c520766f936c82ae9ee943c3db0ad575d7fc59aea947fb2790cf511188fbd33166a62332564c4714372203f5fabdde842334103b48f4115c31f5d0fe18375f1 SHA512 118035226054ad5083d2affde55a812917652491f82a9a578380a790770fdda3a14904f6de10f58651bbbab278aa23920b652aa1b34c71441d465c3b7b4be82c
-EBUILD activesupport-6.0.5.1.ebuild 2627 BLAKE2B 41e6acb1208c70eb0c15ab6f575812f6c30020bdb29fccf8ef8ef1e7789b52ebb3030fa738ca2773dbf20dfa681cf67874337ed808b714347b4ec7be2e408cc8 SHA512 61937e128074d61ea82e8e1f5a05d95f3c583813648786c5d3678148f07b0860723cfca8a627485ecaca2d2c7b9183047c547d57e4c802f6b8a315d95e611f5d
-EBUILD activesupport-6.0.6.1.ebuild 2621 BLAKE2B 8a08a679162f152ddf851d612d007e7c5abb818fdd29c8dc26e63c2521bf00da4527b63491a6fae1133aef886d98ee49246b626ab727c78131c5aa60caf36a68 SHA512 d77bd3372db3f759d45b9d5fa69d2ec5f31600b487c5705a7ce7958584517547b338572440982e6e1194538df88b61b4c74533d9a5df79c087da8df0f64128f9
-EBUILD activesupport-6.1.6.1.ebuild 2718 BLAKE2B 446df7ba590041a230f89eebc5d4d2171a9ae7c8b62177b27c9ef87b81dfe6d1394d87f85166af824fa1f3020da24e8d9d53cf9f3c2055b8aae66823fd99fc8a SHA512 ed45d5464657af5e1082065d07e45aa4ead1d4cb52b74b6171ac3c48ef6379cdb41ffe39aa43f64fd8265f2c74cbbbef37f1da76017e254d3dbba809b6e28917
-EBUILD activesupport-6.1.7.2.ebuild 2723 BLAKE2B 35b8f74652395ac0e69b8526a1900debf52a49dfca2849d00e50951fbe5a5d7bdfab753a8acfcacf8bcd0f5636f278ea0765511119774ac7c3b860a3de064860 SHA512 f5c3bfdbf762e0ae7ccbf52bb9c73c47acd6fb1401b5ed778b25eb40c3e6028ed308b22a36db5ea981173400810ee2bf0748caa0e47cc9f516307616dc52f79f
-EBUILD activesupport-6.1.7.3.ebuild 2724 BLAKE2B 78926ed6ef74d5a04c57ffb3a637d36876017090ba52627b3a17889c9ad4d1f1d657b9e60e0cdb0e0c8aa647ca125dd704a4f757c409a29e1e3c04b9351070b1 SHA512 f42787e46c2104c263dc4a6cc2cb32933661573ab8107868dae3644881634bd42da9203e5990afc4d51d0717bc87e6dd479f1912c4065d881a9d3ba961a06a08
-EBUILD activesupport-6.1.7.ebuild 2724 BLAKE2B cfad7a5105d623d128a230498ecc05fb4bd4defb3cbed0b5895aaccb75d3ae69c950af42ee86c03f2e198e30750d2c62b7ce816ecac7d8dcb7c0584dd156e5d4 SHA512 d19fc60954dc6a06214d7c4b2fb0a859d592e00e26092eff25ac0db20c8fa53abd9a6f0f5c352ed3ec44811e332f71966d1ec2812c053fc91e52e16ab53d4ad8
-EBUILD activesupport-7.0.4.2.ebuild 2707 BLAKE2B b2b4472d0a2f7b10ca5a01c9d980cb4a6145ba27dd412815c77aa28f5f511d8ae74dfd26a7a9b2f839e96e013357a7bbd35a9d7d5a28fa635a864ecbfd8cd96f SHA512 249226805703584d7732fc1963893317076f5f02fa5d9b619f69dc42b4b6866617bdedcc9e0ca3a474835ccd67c6ec7d832c3434004e532bcbfe8ea4fcd86121
-EBUILD activesupport-7.0.4.3.ebuild 2769 BLAKE2B ed644882daf2f51da47a9a69c8b6a56f5ab674ea635f1d412b4e33b682d61be9cddef9f1cc19df0ac02dfcf96cff50d0cbf397c800a89b488ed7509b45038496 SHA512 46bb8724b3f4f6de694b53bb1d8ae028fc5508b8f3bfbf4bbf324cf396777cf9e13bd1fbb18714ed625b9673deda6d3f0e694e6227e6f133881e6afe25c8f591
-EBUILD activesupport-7.0.4.ebuild 2707 BLAKE2B fd6fee9755e32bb11ea1267e1e13af3e789616f2219c3397349ac1cf8d6de39fa5ae4c01982245164e18657a82c761f7236a5ced0615be8c0452203894871acd SHA512 d495958407010a09dd4edffdb004e6aecdefe9b576bfa8eeb3d10ec0999cde57618b91c6a88d8d2ac18895e2372ac587dddc55133b3b0c2d788c71642785220d
+EBUILD activesupport-6.0.5.1-r1.ebuild 2681 BLAKE2B c1a4f4a3d600b4b405b472fb9589ecbffeb37e298abdf644925adda6bc671db064d44d10612aecc48c06339235267b0495e99694d14bf9a4753046b3716250c8 SHA512 92c1bf2a5ea9c6629d322467af90888786f91ec38da5e889c0869f3cc333ccf387bb5894f4efcc22885e5760470b54e66f7dc12cb9e622d96d774952705f6a6c
+EBUILD activesupport-6.0.6.1-r1.ebuild 2675 BLAKE2B 79c93503f43330d098bc34985a03003e74bd5f23a686a557b21e3eebc98e096c3f330681c72df487c7322e7b0e5100ba244316aea106131f2df5fd0f80c16814 SHA512 fca6e375c6f0d13288eeb82b774ceae719b23a98d1e18b30e0763686642379cf8009004fb69ecc9872d95d925e95edf8b05118bf40a56424867d413f3891ef26
+EBUILD activesupport-6.1.6.1-r1.ebuild 2772 BLAKE2B 3e908c2ae81e5e47ddce97b57e6015b05b194a04308ccc09d329327a5449a7062a1f906c20609e8a40bbbb7824ed886d358d97f2277ea0b4e30120bbda42c70f SHA512 0ed3a526c4df26c88874512f316a219baa90ec21513b64131180744e26eda3e09836474a4fbf723b44839e86cc31d63e86f2ab17053b428612db52610d7648f3
+EBUILD activesupport-6.1.7-r1.ebuild 2778 BLAKE2B b85cc9e1280e7f4ca5759fa7a12435c0b4defb58d66d62ca92cae296f7d8256dcac419caeb5f4d51797fb61bba129064a4501691f34643d55e25a5dfdc3e0b6a SHA512 fc9222ae8f81376559e0b63ecfb38af8de5265fe1c1ca1960537b978e0edd10fe1d02fcc19e711ebe4c36cf9afed8f57a6fa5889719e7dec80d2735f6bf3bf2a
+EBUILD activesupport-6.1.7.2-r1.ebuild 2776 BLAKE2B 27711864f274bf457078ae656f56892986581ee3f4fa27a22de162543e2fdea37ffe8c03da49e5d5a103ab7e5be830ecbe8304acc57c14eb31d4696f6f6f98fe SHA512 735f2b7b506f5c43869b6921cd7d1bc58f8c4052a80cacc007ffd3e69c449e1236fbbc5d81ce7a3233c3d386936f5505361fbf2b7cdfca013e9f39f1b3223cec
+EBUILD activesupport-6.1.7.3-r1.ebuild 2851 BLAKE2B 85ccf814786b3084ef629ca4f915a0cd3b9414747f4a0136889110d38c6b192f56bd492e117cf5c7f366e27ad3b7d82e46a86eba99b597e066a0835bfa6c5aac SHA512 ae79febc9220e3ea25dbb032f66f4509c3608f28115d89a1ac3ac835695d85746e75101eddebcfb5896394a761e5b66bcdbf331ee540bfb0be56d4b5835d478f
+EBUILD activesupport-7.0.4-r1.ebuild 2761 BLAKE2B e88e7cd2bc22a9da8bbd43d807fac807cf118b2a13f1648fba8f9ed31e5fcc11a785e520e49dfc3c92af1a200d3a0e2f0c67becaed5f171d4545e02b30dd5a43 SHA512 52c9dae526bdf53e2265c092269c588a10e091e5da196d114fa817a78e09b70df749e850e7f6032da567bf2e692ad48ecdaea6beeb685a522fa602387473076f
+EBUILD activesupport-7.0.4.2-r1.ebuild 2761 BLAKE2B e88e7cd2bc22a9da8bbd43d807fac807cf118b2a13f1648fba8f9ed31e5fcc11a785e520e49dfc3c92af1a200d3a0e2f0c67becaed5f171d4545e02b30dd5a43 SHA512 52c9dae526bdf53e2265c092269c588a10e091e5da196d114fa817a78e09b70df749e850e7f6032da567bf2e692ad48ecdaea6beeb685a522fa602387473076f
+EBUILD activesupport-7.0.4.3-r1.ebuild 2823 BLAKE2B 4709d04d3c8b30b883b40c667cb996640465a95463e3e645d4b40c32c47ccf13660b46b011dd3421785a923d5958be4b08765a180f1222f9c0fb56b334e4dad1 SHA512 bccdf1203c705128b782ebbd8510c68f8ddc61939ed1325e2893c6c056eab3ab3e1fe48cf24f7cca9c3fc99b9092740c17fd055486306f0fbbb31594582ed088
MISC metadata.xml 338 BLAKE2B f32f1ecbd729e4e6162f22cdb9bfe1fbb1284c8b7f021d8207a1a54d2543b0e9866e775d550360dd01ef4f4eb92e96064a8416476c7047853034ea05479eb6e7 SHA512 24fd0d8ea6e3cd5514e5049b7e064b7e3e667ea14978cc7cf620e9c1b020bdc7caf7dbec97ccbf92c2f4c657fff3e9151d6f2af103b3d9c3cc5181cb3a81a295
diff --git a/dev-ruby/activesupport/activesupport-6.0.5.1.ebuild b/dev-ruby/activesupport/activesupport-6.0.5.1-r1.ebuild
index 43548b7c90bd..3308b86b956f 100644
--- a/dev-ruby/activesupport/activesupport-6.0.5.1.ebuild
+++ b/dev-ruby/activesupport/activesupport-6.0.5.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -30,7 +30,7 @@ ruby_add_rdepend "
>=dev-ruby/concurrent-ruby-1.0.2:1
dev-ruby/i18n:1
>=dev-ruby/tzinfo-1.1:1
- >=dev-ruby/minitest-5.1:5
+ <dev-ruby/minitest-5.16:*
>=dev-ruby/zeitwerk-2.2:2
"
@@ -43,7 +43,6 @@ ruby_add_bdepend "test? (
>=dev-ruby/listen-3.0.5:3
dev-ruby/rack
dev-ruby/mocha
- <dev-ruby/minitest-5.16:5
)"
all_ruby_prepare() {
@@ -60,6 +59,8 @@ all_ruby_prepare() {
rm ../Gemfile.lock || die
sed -i -e '1igem "tzinfo", "~> 1.1"; gem "psych", "~> 3.0"' test/abstract_unit.rb || die
+ sed -i -e '/minitest.*~> 5.1/s:.*:&, "< 5.16":' ${RUBY_FAKEGEM_GEMSPEC} || die
+
# Avoid test that depends on timezone
sed -i -e '/test_implicit_coercion/,/^ end/ s:^:#:' test/core_ext/duration_test.rb || die
diff --git a/dev-ruby/activesupport/activesupport-6.0.6.1.ebuild b/dev-ruby/activesupport/activesupport-6.0.6.1-r1.ebuild
index 473970606372..472f44c5a7fe 100644
--- a/dev-ruby/activesupport/activesupport-6.0.6.1.ebuild
+++ b/dev-ruby/activesupport/activesupport-6.0.6.1-r1.ebuild
@@ -29,8 +29,8 @@ RUBY_S="rails-${PV}/${PN}"
ruby_add_rdepend "
>=dev-ruby/concurrent-ruby-1.0.2:1
dev-ruby/i18n:1
+ <dev-ruby/minitest-5.16:*
>=dev-ruby/tzinfo-1.1:1
- >=dev-ruby/minitest-5.1:5
>=dev-ruby/zeitwerk-2.2:2
"
@@ -43,7 +43,6 @@ ruby_add_bdepend "test? (
>=dev-ruby/listen-3.0.5:3
dev-ruby/rack
dev-ruby/mocha
- <dev-ruby/minitest-5.16:5
)"
all_ruby_prepare() {
@@ -60,6 +59,8 @@ all_ruby_prepare() {
rm ../Gemfile.lock || die
sed -i -e '1igem "tzinfo", "~> 1.1"; gem "psych", "~> 3.0"' test/abstract_unit.rb || die
+ sed -i -e '/minitest.*~> 5.1/s:.*:&, "< 5.16":' ${RUBY_FAKEGEM_GEMSPEC} || die
+
# Avoid test that depends on timezone
sed -i -e '/test_implicit_coercion/,/^ end/ s:^:#:' test/core_ext/duration_test.rb || die
diff --git a/dev-ruby/activesupport/activesupport-6.1.6.1.ebuild b/dev-ruby/activesupport/activesupport-6.1.6.1-r1.ebuild
index 613922116101..1842d1c057d8 100644
--- a/dev-ruby/activesupport/activesupport-6.1.6.1.ebuild
+++ b/dev-ruby/activesupport/activesupport-6.1.6.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -28,7 +28,7 @@ ruby_add_rdepend "
>=dev-ruby/concurrent-ruby-1.0.2:1
>=dev-ruby/i18n-1.6:1
dev-ruby/tzinfo:2
- >=dev-ruby/minitest-5.1:5
+ <dev-ruby/minitest-5.16:*
>=dev-ruby/zeitwerk-2.3:2
"
@@ -43,7 +43,6 @@ ruby_add_bdepend "test? (
dev-ruby/rack
dev-ruby/rexml
dev-ruby/mocha
- <dev-ruby/minitest-5.16:5
)"
all_ruby_prepare() {
@@ -59,6 +58,8 @@ all_ruby_prepare() {
rm ../Gemfile.lock || die
# sed -i -e '1igem "tzinfo", "~> 1.1"' test/abstract_unit.rb || die
+ sed -i -e '/minitest.*>= 5.1/s:.*:&, "< 5.16":' ${RUBY_FAKEGEM_GEMSPEC} || die
+
# Avoid test that depends on timezone
sed -i -e '/test_implicit_coercion/,/^ end/ s:^:#:' test/core_ext/duration_test.rb || die
diff --git a/dev-ruby/activesupport/activesupport-6.1.7.3.ebuild b/dev-ruby/activesupport/activesupport-6.1.7-r1.ebuild
index 019a5ee151fb..268c519f718c 100644
--- a/dev-ruby/activesupport/activesupport-6.1.7.3.ebuild
+++ b/dev-ruby/activesupport/activesupport-6.1.7-r1.ebuild
@@ -28,7 +28,7 @@ ruby_add_rdepend "
>=dev-ruby/concurrent-ruby-1.0.2:1
>=dev-ruby/i18n-1.6:1
dev-ruby/tzinfo:2
- >=dev-ruby/minitest-5.1:5
+ <dev-ruby/minitest-5.16:*
>=dev-ruby/zeitwerk-2.3:2
"
@@ -43,7 +43,6 @@ ruby_add_bdepend "test? (
dev-ruby/rack
dev-ruby/rexml
dev-ruby/mocha
- <dev-ruby/minitest-5.16:5
)"
all_ruby_prepare() {
@@ -59,6 +58,8 @@ all_ruby_prepare() {
rm ../Gemfile.lock || die
# sed -i -e '1igem "tzinfo", "~> 1.1"' test/abstract_unit.rb || die
+ sed -i -e '/minitest.*>= 5.1/s:.*:&, "< 5.16":' ${RUBY_FAKEGEM_GEMSPEC} || die
+
# Avoid test that depends on timezone
sed -i -e '/test_implicit_coercion/,/^ end/ s:^:#:' test/core_ext/duration_test.rb || die
diff --git a/dev-ruby/activesupport/activesupport-6.1.7.2.ebuild b/dev-ruby/activesupport/activesupport-6.1.7.2-r1.ebuild
index 99169f856a6d..1611bfb4a059 100644
--- a/dev-ruby/activesupport/activesupport-6.1.7.2.ebuild
+++ b/dev-ruby/activesupport/activesupport-6.1.7.2-r1.ebuild
@@ -28,7 +28,7 @@ ruby_add_rdepend "
>=dev-ruby/concurrent-ruby-1.0.2:1
>=dev-ruby/i18n-1.6:1
dev-ruby/tzinfo:2
- >=dev-ruby/minitest-5.1:5
+<dev-ruby/minitest-5.16:*
>=dev-ruby/zeitwerk-2.3:2
"
@@ -43,7 +43,6 @@ ruby_add_bdepend "test? (
dev-ruby/rack
dev-ruby/rexml
dev-ruby/mocha
- <dev-ruby/minitest-5.16:5
)"
all_ruby_prepare() {
@@ -59,6 +58,8 @@ all_ruby_prepare() {
rm ../Gemfile.lock || die
# sed -i -e '1igem "tzinfo", "~> 1.1"' test/abstract_unit.rb || die
+ sed -i -e '/minitest.*>= 5.1/s:.*:&, "< 5.16":' ${RUBY_FAKEGEM_GEMSPEC} || die
+
# Avoid test that depends on timezone
sed -i -e '/test_implicit_coercion/,/^ end/ s:^:#:' test/core_ext/duration_test.rb || die
diff --git a/dev-ruby/activesupport/activesupport-6.1.7.ebuild b/dev-ruby/activesupport/activesupport-6.1.7.3-r1.ebuild
index 76d366006776..2e4c315427ab 100644
--- a/dev-ruby/activesupport/activesupport-6.1.7.ebuild
+++ b/dev-ruby/activesupport/activesupport-6.1.7.3-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-USE_RUBY="ruby27 ruby30 ruby31"
+USE_RUBY="ruby27 ruby30 ruby31 ruby32"
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
@@ -28,7 +28,7 @@ ruby_add_rdepend "
>=dev-ruby/concurrent-ruby-1.0.2:1
>=dev-ruby/i18n-1.6:1
dev-ruby/tzinfo:2
- >=dev-ruby/minitest-5.1:5
+ <dev-ruby/minitest-5.16:*
>=dev-ruby/zeitwerk-2.3:2
"
@@ -43,9 +43,12 @@ ruby_add_bdepend "test? (
dev-ruby/rack
dev-ruby/rexml
dev-ruby/mocha
- <dev-ruby/minitest-5.16:5
)"
+PATCHES=(
+ "${FILESDIR}"/${PN}-6.1.7.3-ruby-thread-noise.patch
+)
+
all_ruby_prepare() {
# Set the secure permissions that tests expect.
chmod 0755 "${HOME}" || die "Failed to fix permissions on home"
@@ -59,6 +62,8 @@ all_ruby_prepare() {
rm ../Gemfile.lock || die
# sed -i -e '1igem "tzinfo", "~> 1.1"' test/abstract_unit.rb || die
+ sed -i -e '/minitest.*>= 5.1/s:.*:&, "< 5.16":' ${RUBY_FAKEGEM_GEMSPEC} || die
+
# Avoid test that depends on timezone
sed -i -e '/test_implicit_coercion/,/^ end/ s:^:#:' test/core_ext/duration_test.rb || die
diff --git a/dev-ruby/activesupport/activesupport-7.0.4.2.ebuild b/dev-ruby/activesupport/activesupport-7.0.4-r1.ebuild
index f0801876283b..cf215798d810 100644
--- a/dev-ruby/activesupport/activesupport-7.0.4.2.ebuild
+++ b/dev-ruby/activesupport/activesupport-7.0.4-r1.ebuild
@@ -28,7 +28,7 @@ ruby_add_rdepend "
>=dev-ruby/concurrent-ruby-1.0.2:1
>=dev-ruby/i18n-1.6:1
dev-ruby/tzinfo:2
- >=dev-ruby/minitest-5.1:5
+ <dev-ruby/minitest-5.16:*
"
# memcache-client, nokogiri, builder, and redis are not strictly needed,
@@ -42,7 +42,6 @@ ruby_add_bdepend "test? (
dev-ruby/rack
dev-ruby/rexml
dev-ruby/mocha
- <dev-ruby/minitest-5.16:5
)"
all_ruby_prepare() {
@@ -58,6 +57,8 @@ all_ruby_prepare() {
-e '5igem "builder"; gem "rack"' ../Gemfile || die
rm ../Gemfile.lock || die
+ sed -i -e '/minitest.*>= 5.1/s:.*:&, "< 5.16":' ${RUBY_FAKEGEM_GEMSPEC} || die
+
# Avoid test that depends on timezone
sed -i -e '/test_implicit_coercion/,/^ end/ s:^:#:' test/core_ext/duration_test.rb || die
diff --git a/dev-ruby/activesupport/activesupport-7.0.4.ebuild b/dev-ruby/activesupport/activesupport-7.0.4.2-r1.ebuild
index 1ae44774dde0..cf215798d810 100644
--- a/dev-ruby/activesupport/activesupport-7.0.4.ebuild
+++ b/dev-ruby/activesupport/activesupport-7.0.4.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -28,7 +28,7 @@ ruby_add_rdepend "
>=dev-ruby/concurrent-ruby-1.0.2:1
>=dev-ruby/i18n-1.6:1
dev-ruby/tzinfo:2
- >=dev-ruby/minitest-5.1:5
+ <dev-ruby/minitest-5.16:*
"
# memcache-client, nokogiri, builder, and redis are not strictly needed,
@@ -42,7 +42,6 @@ ruby_add_bdepend "test? (
dev-ruby/rack
dev-ruby/rexml
dev-ruby/mocha
- <dev-ruby/minitest-5.16:5
)"
all_ruby_prepare() {
@@ -58,6 +57,8 @@ all_ruby_prepare() {
-e '5igem "builder"; gem "rack"' ../Gemfile || die
rm ../Gemfile.lock || die
+ sed -i -e '/minitest.*>= 5.1/s:.*:&, "< 5.16":' ${RUBY_FAKEGEM_GEMSPEC} || die
+
# Avoid test that depends on timezone
sed -i -e '/test_implicit_coercion/,/^ end/ s:^:#:' test/core_ext/duration_test.rb || die
diff --git a/dev-ruby/activesupport/activesupport-7.0.4.3.ebuild b/dev-ruby/activesupport/activesupport-7.0.4.3-r1.ebuild
index b8a341ae5558..a328f33b0256 100644
--- a/dev-ruby/activesupport/activesupport-7.0.4.3.ebuild
+++ b/dev-ruby/activesupport/activesupport-7.0.4.3-r1.ebuild
@@ -28,7 +28,7 @@ ruby_add_rdepend "
>=dev-ruby/concurrent-ruby-1.0.2:1
>=dev-ruby/i18n-1.6:1
dev-ruby/tzinfo:2
- >=dev-ruby/minitest-5.1:5
+ <dev-ruby/minitest-5.16:*
"
# memcache-client, nokogiri, builder, and redis are not strictly needed,
@@ -42,7 +42,6 @@ ruby_add_bdepend "test? (
dev-ruby/rack
dev-ruby/rexml
dev-ruby/mocha
- <dev-ruby/minitest-5.16:5
)"
PATCHES=(
@@ -62,6 +61,8 @@ all_ruby_prepare() {
-e '5igem "builder"; gem "rack"' ../Gemfile || die
rm ../Gemfile.lock || die
+ sed -i -e '/minitest.*>= 5.1/s:.*:&, "< 5.16":' ${RUBY_FAKEGEM_GEMSPEC} || die
+
# Avoid test that depends on timezone
sed -i -e '/test_implicit_coercion/,/^ end/ s:^:#:' test/core_ext/duration_test.rb || die
diff --git a/dev-ruby/activesupport/files/activesupport-6.1.7.3-ruby-thread-noise.patch b/dev-ruby/activesupport/files/activesupport-6.1.7.3-ruby-thread-noise.patch
new file mode 100644
index 000000000000..dabe1331a307
--- /dev/null
+++ b/dev-ruby/activesupport/files/activesupport-6.1.7.3-ruby-thread-noise.patch
@@ -0,0 +1,41 @@
+https://github.com/rails/rails/commit/60fc40ea58de8b6faf98081d659e7f5b232aa25e
+
+From 60fc40ea58de8b6faf98081d659e7f5b232aa25e Mon Sep 17 00:00:00 2001
+From: Jonathan Hefner <jonathan@hefner.pro>
+Date: Thu, 22 Jul 2021 13:45:57 -0500
+Subject: [PATCH] Isolate descendants garbage collection test
+
+This prevents the test from being affected by Ruby-internal thread
+locals set by other tests.
+
+Example failure: https://buildkite.com/rails/rails/builds/79505#cb261462-8e40-4adc-99fc-81708a473cc6/1076-1085
+
+Co-authored-by: Jean Boussier <jean.boussier@gmail.com>
+--- a/test/descendants_tracker_test_cases.rb
++++ b/test/descendants_tracker_test_cases.rb
+@@ -28,11 +28,23 @@ def test_descendants
+ end
+
+ def test_descendants_with_garbage_collected_classes
+- 1.times do
++ # The Ruby GC (and most other GCs for that matter) are not fully precise.
++ # When GC is run, the whole stack is scanned to mark any object reference
++ # in registers. But some of these references might simply be leftovers from
++ # previous method calls waiting to be overridden, and there's no definite
++ # way to clear them. By executing this code in a distinct thread, we ensure
++ # that such references are on a stack that will be entirely garbage
++ # collected, effectively working around the problem.
++ Thread.new do
+ child_klass = Class.new(Parent)
+ assert_equal_sets [Child1, Grandchild1, Grandchild2, Child2, child_klass], Parent.descendants
++ end.join
++
++ # Calling `GC.start` 4 times should trigger a full GC run
++ 4.times do
++ GC.start
+ end
+- GC.start
++
+ assert_equal_sets [Child1, Grandchild1, Grandchild2, Child2], Parent.descendants
+ end
+