From 3fbeadd02b27f73ab1c9823fd1073cdcf9a84185 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Sun, 24 May 2020 10:03:26 +0200 Subject: [PATCH] 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 --- dev-ruby/net-ssh-gateway/net-ssh-gateway-2.0.0.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 } -- 2.26.2