commit: 3fb715b5f3377312ab4bd84cc76ebb6672195a02 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Sat Aug 12 08:14:22 2023 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Sat Aug 12 09:10:53 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fb715b5
dev-ruby/net-ssh-gateway: fix minitest deprecation Closes: https://bugs.gentoo.org/911961 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/net-ssh-gateway/net-ssh-gateway-2.0.0-r2.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 }