summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-01-13 15:03:29 +0100
committerHans de Graaff <graaff@gentoo.org>2024-01-13 15:04:02 +0100
commit664f437263af2d3a3538b7bff2f9438d421aeaf4 (patch)
treead923aeceefe85d79f74508fee0b38260814f8d9 /dev-ruby
parentapp-backup/bacula: drop versions (diff)
downloadgentoo-664f437263af2d3a3538b7bff2f9438d421aeaf4.tar.gz
gentoo-664f437263af2d3a3538b7bff2f9438d421aeaf4.tar.bz2
gentoo-664f437263af2d3a3538b7bff2f9438d421aeaf4.zip
dev-ruby/cri: fix minitest deprecation
Closes: https://bugs.gentoo.org/911903 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/cri/cri-2.15.11-r1.ebuild5
1 files changed, 4 insertions, 1 deletions
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() {