summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-08-13 11:03:10 +0200
committerHans de Graaff <graaff@gentoo.org>2023-08-15 07:45:43 +0200
commitdaa234445b6710e60c9a26bda1f4caf4a9c43119 (patch)
tree8386aa192fb0ac0c84e0ca9fe65b1f4ace996384 /dev-ruby/optimist
parentdev-ruby/ruby-prof: don't strip library (diff)
downloadgentoo-daa234445b6710e60c9a26bda1f4caf4a9c43119.tar.gz
gentoo-daa234445b6710e60c9a26bda1f4caf4a9c43119.tar.bz2
gentoo-daa234445b6710e60c9a26bda1f4caf4a9c43119.zip
dev-ruby/optimist: fix minitest deprecation
Closes: https://bugs.gentoo.org/911964 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/optimist')
-rw-r--r--dev-ruby/optimist/optimist-3.1.0.ebuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/dev-ruby/optimist/optimist-3.1.0.ebuild b/dev-ruby/optimist/optimist-3.1.0.ebuild
index 1abe03c9e1f4..fe87a213ea42 100644
--- a/dev-ruby/optimist/optimist-3.1.0.ebuild
+++ b/dev-ruby/optimist/optimist-3.1.0.ebuild
@@ -21,6 +21,7 @@ ruby_add_bdepend "test? ( dev-ruby/chronic )"
all_ruby_prepare() {
sed -i -e '/bundle/ s:^:#:' Rakefile || die
+ sed -i -e 's/MiniTest/Minitest/' test/*_test.rb test/optimist/*_test.rb || die
}
each_ruby_test() {