commit:     811af4a3bcadb48b19014d16bac09c9f901d6207
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 13 18:30:56 2023 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Wed Sep 13 19:42:41 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=811af4a3

dev-ruby/chronic: fix minitest deprecation

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

 dev-ruby/chronic/chronic-0.10.2-r1.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dev-ruby/chronic/chronic-0.10.2-r1.ebuild 
b/dev-ruby/chronic/chronic-0.10.2-r1.ebuild
index b5fafb5c4524..1db5828c91fa 100644
--- a/dev-ruby/chronic/chronic-0.10.2-r1.ebuild
+++ b/dev-ruby/chronic/chronic-0.10.2-r1.ebuild
@@ -23,4 +23,6 @@ ruby_add_bdepend "test? ( >=dev-ruby/minitest-5 )"
 
 all_ruby_prepare() {
        sed -i -e '/git ls-files/d' chronic.gemspec || die
+
+       sed -i -e 's/MiniTest/Minitest/' test/helper.rb || die
 }

Reply via email to