summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-07-06 20:26:40 +0200
committerHans de Graaff <graaff@gentoo.org>2023-07-06 20:26:40 +0200
commitfdcabe021838fa9257b75f9a0fe04b76eee7d312 (patch)
tree00cfad9403c04f366dc5b7670ffd13b4502e28b8
parentprofiles/package.mask: mask dev-ruby/deprecated for removal (diff)
downloadgentoo-fdcabe021838fa9257b75f9a0fe04b76eee7d312.tar.gz
gentoo-fdcabe021838fa9257b75f9a0fe04b76eee7d312.tar.bz2
gentoo-fdcabe021838fa9257b75f9a0fe04b76eee7d312.zip
dev-ruby/rspec-core: fix test regression
https://github.com/rspec/rspec-core/pull/3039/commits Thanks to matoro for pointing this out. Signed-off-by: Hans de Graaff <graaff@gentoo.org>
-rw-r--r--dev-ruby/rspec-core/rspec-core-3.12.1.ebuild3
-rw-r--r--dev-ruby/rspec-core/rspec-core-3.12.2.ebuild3
2 files changed, 6 insertions, 0 deletions
diff --git a/dev-ruby/rspec-core/rspec-core-3.12.1.ebuild b/dev-ruby/rspec-core/rspec-core-3.12.1.ebuild
index 760c38373f68..d0d09779cd3d 100644
--- a/dev-ruby/rspec-core/rspec-core-3.12.1.ebuild
+++ b/dev-ruby/rspec-core/rspec-core-3.12.1.ebuild
@@ -77,6 +77,9 @@ all_ruby_prepare() {
# This fails when localhost resolves to ::1 which may be a
# ruby regression in the drb/acl code.
rm -f spec/rspec/core/bisect/server_spec.rb || die
+
+ # Avoid old regression check (already fixed upstream)
+ sed -i -e '/uses only one thread local variable/askip "old safety check"' spec/rspec/core_spec.rb || die
}
each_ruby_prepare() {
diff --git a/dev-ruby/rspec-core/rspec-core-3.12.2.ebuild b/dev-ruby/rspec-core/rspec-core-3.12.2.ebuild
index 00fec35093f5..a27812f4aed8 100644
--- a/dev-ruby/rspec-core/rspec-core-3.12.2.ebuild
+++ b/dev-ruby/rspec-core/rspec-core-3.12.2.ebuild
@@ -77,6 +77,9 @@ all_ruby_prepare() {
# This fails when localhost resolves to ::1 which may be a
# ruby regression in the drb/acl code.
rm -f spec/rspec/core/bisect/server_spec.rb || die
+
+ # Avoid old regression check (already fixed upstream)
+ sed -i -e '/uses only one thread local variable/askip "old safety check"' spec/rspec/core_spec.rb || die
}
each_ruby_prepare() {