dev-ruby/net-ssh-gateway: fix mocha compatibility
authorHans de Graaff <graaff@gentoo.org>
Sun, 24 May 2020 08:03:26 +0000 (10:03 +0200)
committerHans de Graaff <graaff@gentoo.org>
Sun, 24 May 2020 08:03:35 +0000 (10:03 +0200)
Closes: https://bugs.gentoo.org/723888
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
dev-ruby/net-ssh-gateway/net-ssh-gateway-2.0.0.ebuild

index 65120c82e5f96c1bd8805dbc3999a88e8dd4d739..69d50fa2b9fe475d7f51b98fc96583164ac0a1bd 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -26,4 +26,5 @@ ruby_add_rdepend ">=dev-ruby/net-ssh-4.0.0:*"
 
 all_ruby_prepare() {
        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
 }