commit: fdcabe021838fa9257b75f9a0fe04b76eee7d312 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Thu Jul 6 18:26:40 2023 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Thu Jul 6 18:26:40 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdcabe02
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 <AT> gentoo.org> dev-ruby/rspec-core/rspec-core-3.12.1.ebuild | 3 +++ dev-ruby/rspec-core/rspec-core-3.12.2.ebuild | 3 +++ 2 files changed, 6 insertions(+) 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() {
