diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-04-07 10:30:09 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-04-07 10:30:59 +0200 |
commit | 2e1e4b38a2f403574ea5bb0e3b1a2c5ec8f3fe07 (patch) | |
tree | eaa30f4b563454bde2dcba23c77763e281302b24 /dev-ruby | |
parent | dev-java/stringprep: add missing remote-id (diff) | |
download | gentoo-2e1e4b38a2f403574ea5bb0e3b1a2c5ec8f3fe07.tar.gz gentoo-2e1e4b38a2f403574ea5bb0e3b1a2c5ec8f3fe07.tar.bz2 gentoo-2e1e4b38a2f403574ea5bb0e3b1a2c5ec8f3fe07.zip |
dev-ruby/net-http-pipeline: enable ruby33
Fix minitest deprecation.
Closes: https://bugs.gentoo.org/928870
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/net-http-pipeline/net-http-pipeline-1.0.1-r1.ebuild | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/dev-ruby/net-http-pipeline/net-http-pipeline-1.0.1-r1.ebuild b/dev-ruby/net-http-pipeline/net-http-pipeline-1.0.1-r1.ebuild index 513ac728e47d..97042d4f6d06 100644 --- a/dev-ruby/net-http-pipeline/net-http-pipeline-1.0.1-r1.ebuild +++ b/dev-ruby/net-http-pipeline/net-http-pipeline-1.0.1-r1.ebuild @@ -1,8 +1,8 @@ -# 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" inherit ruby-fakegem @@ -12,7 +12,7 @@ HOMEPAGE="https://docs.seattlerb.org/net-http-pipeline/" LICENSE="MIT" SLOT="1" KEYWORDS="~amd64" -IUSE="" +IUSE="test" ruby_add_bdepend " test? ( dev-ruby/minitest ) @@ -20,6 +20,9 @@ ruby_add_bdepend " all_ruby_prepare() { eapply -p0 "${FILESDIR}/${PN}-accept-encoding.patch" + + sed -e 's/MiniTest::Unit::TestCase/Minitest::Test/' \ + -i test/test_net_http_pipeline.rb || die } each_ruby_test() { |