commit:     65299d489ded0e0c4837e4d9f7d5c1d208bc8697
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 24 16:03:36 2023 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Fri Aug 25 05:20:24 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65299d48

dev-ruby/rspec-expectations: fix minitest deprecation

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/rspec-expectations/rspec-expectations-3.12.3.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-ruby/rspec-expectations/rspec-expectations-3.12.3.ebuild 
b/dev-ruby/rspec-expectations/rspec-expectations-3.12.3.ebuild
index f350cbe37113..8af717f5741a 100644
--- a/dev-ruby/rspec-expectations/rspec-expectations-3.12.3.ebuild
+++ b/dev-ruby/rspec-expectations/rspec-expectations-3.12.3.ebuild
@@ -36,6 +36,9 @@ all_ruby_prepare() {
        # Don't set up bundler: it doesn't understand our setup.
        sed -i -e '/[Bb]undler/d' Rakefile || die
 
+       # Fix minitest deprecation
+       sed -i -e 's/MiniTest/Minitest/' 
spec/rspec/expectations/minitest_integration_spec.rb || die
+
        # Remove the Gemfile to avoid running through 'bundle exec'
        rm -f Gemfile || die
 

Reply via email to