commit:     664f437263af2d3a3538b7bff2f9438d421aeaf4
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 13 14:03:29 2024 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat Jan 13 14:04:02 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=664f4372

dev-ruby/cri: fix minitest deprecation

Closes: https://bugs.gentoo.org/911903
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/cri/cri-2.15.11-r1.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-ruby/cri/cri-2.15.11-r1.ebuild 
b/dev-ruby/cri/cri-2.15.11-r1.ebuild
index 375a788eac28..edda0c798a2f 100644
--- a/dev-ruby/cri/cri-2.15.11-r1.ebuild
+++ b/dev-ruby/cri/cri-2.15.11-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -25,6 +25,9 @@ all_ruby_prepare() {
        sed -e '/coveralls/I s:^:#:' -i test/helper.rb || die
        sed -i -e '/rubocop/ s:^:#:' \
                -e '/RuboCop/,/end/ s:^:#:' Rakefile || die
+
+       sed -e 's/MiniTest::Unit::TestCase/Minitest::Test/' \
+               -i test/helper.rb || die
 }
 
 each_ruby_test() {

Reply via email to