From: Hans de Graaff Date: Sun, 24 May 2020 08:03:26 +0000 (+0200) Subject: dev-ruby/net-ssh-gateway: fix mocha compatibility X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3fbeadd02b27f73ab1c9823fd1073cdcf9a84185;p=gentoo.git dev-ruby/net-ssh-gateway: fix mocha compatibility Closes: https://bugs.gentoo.org/723888 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Hans de Graaff --- diff --git a/dev-ruby/net-ssh-gateway/net-ssh-gateway-2.0.0.ebuild b/dev-ruby/net-ssh-gateway/net-ssh-gateway-2.0.0.ebuild index 65120c82e5f9..69d50fa2b9fe 100644 --- a/dev-ruby/net-ssh-gateway/net-ssh-gateway-2.0.0.ebuild +++ b/dev-ruby/net-ssh-gateway/net-ssh-gateway-2.0.0.ebuild @@ -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 }