summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-04-07 11:00:32 +0200
committerHans de Graaff <graaff@gentoo.org>2024-04-07 11:01:05 +0200
commitb13bd45d70292c4d8f04ee7f362b3f020ced2603 (patch)
treedeebb438d43efd537967a7e64aa725b074ff44de /dev-ruby
parentgnome-base/gnome-control-center: Stabilize 45.3 arm64, #928802 (diff)
downloadgentoo-b13bd45d70292c4d8f04ee7f362b3f020ced2603.tar.gz
gentoo-b13bd45d70292c4d8f04ee7f362b3f020ced2603.tar.bz2
gentoo-b13bd45d70292c4d8f04ee7f362b3f020ced2603.zip
dev-ruby/instance_storage: enable ruby33
Fix minitest deprecation. Closes: https://bugs.gentoo.org/928769 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/instance_storage/instance_storage-2.0.0-r1.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/dev-ruby/instance_storage/instance_storage-2.0.0-r1.ebuild b/dev-ruby/instance_storage/instance_storage-2.0.0-r1.ebuild
index 342cf1f29123..0c942728ebeb 100644
--- a/dev-ruby/instance_storage/instance_storage-2.0.0-r1.ebuild
+++ b/dev-ruby/instance_storage/instance_storage-2.0.0-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-USE_RUBY="ruby30 ruby31 ruby32"
+USE_RUBY="ruby31 ruby32 ruby33"
RUBY_FAKEGEM_EXTRADOC="README.md"
@@ -14,8 +14,10 @@ HOMEPAGE="https://rubygems.org/gems/instance_storage/"
LICENSE="MIT"
SLOT="$(ver_cut 1)"
KEYWORDS="~amd64 ~riscv ~x86"
-IUSE=""
all_ruby_prepare() {
sed -i -e '/bundler/ s:^:#:' Rakefile test/instance_storage_test.rb || die
+
+ sed -e 's/MiniTest::Unit::TestCase/Minitest::Test/' \
+ -i test/instance_storage_test.rb || die
}