summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-08-12 10:14:22 +0200
committerHans de Graaff <graaff@gentoo.org>2023-08-12 11:10:53 +0200
commit3fb715b5f3377312ab4bd84cc76ebb6672195a02 (patch)
tree2fe288c45d4fa979cec913bc088d778e64adfef2 /dev-ruby
parentdev-lang/spidermonkey: add 115.1.0 (diff)
downloadgentoo-3fb715b5f3377312ab4bd84cc76ebb6672195a02.tar.gz
gentoo-3fb715b5f3377312ab4bd84cc76ebb6672195a02.tar.bz2
gentoo-3fb715b5f3377312ab4bd84cc76ebb6672195a02.zip
dev-ruby/net-ssh-gateway: fix minitest deprecation
Closes: https://bugs.gentoo.org/911961 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/net-ssh-gateway/net-ssh-gateway-2.0.0-r2.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-ruby/net-ssh-gateway/net-ssh-gateway-2.0.0-r2.ebuild b/dev-ruby/net-ssh-gateway/net-ssh-gateway-2.0.0-r2.ebuild
index 750661e9ff57..d868b033bf4f 100644
--- a/dev-ruby/net-ssh-gateway/net-ssh-gateway-2.0.0-r2.ebuild
+++ b/dev-ruby/net-ssh-gateway/net-ssh-gateway-2.0.0-r2.ebuild
@@ -27,5 +27,7 @@ all_ruby_prepare() {
sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die
sed -i -e '/bundler/ s:^:#:' Rakefile test/net/ssh/gateway_test.rb || die
- sed -i -e 's:mocha/mini_test:mocha/minitest:' test/net/ssh/gateway_test.rb || die
+ sed -e 's:mocha/mini_test:mocha/minitest:' \
+ -e 's/MiniTest/Minitest/' \
+ -i test/net/ssh/gateway_test.rb || die
}