commit:     22c1cf3e6e984eae1fd7ae48733e08cde6d993e5
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 16 20:57:45 2026 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Fri Jan 16 21:15:09 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22c1cf3e

dev-ruby/shoulda-context: enable ruby40

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/shoulda-context/shoulda-context-2.0.0-r1.ebuild | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/dev-ruby/shoulda-context/shoulda-context-2.0.0-r1.ebuild 
b/dev-ruby/shoulda-context/shoulda-context-2.0.0-r1.ebuild
index 65d5bf4ba640..fb40520c37f7 100644
--- a/dev-ruby/shoulda-context/shoulda-context-2.0.0-r1.ebuild
+++ b/dev-ruby/shoulda-context/shoulda-context-2.0.0-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-USE_RUBY="ruby31 ruby32 ruby33 ruby34"
+USE_RUBY="ruby32 ruby33 ruby34 ruby40"
 
 RUBY_FAKEGEM_EXTRADOC="CONTRIBUTING.md README.md"
 
@@ -25,7 +25,7 @@ IUSE="doc test"
 
 PATCHES=( "${FILESDIR}/${P}-file-exists.patch" )
 
-ruby_add_bdepend "test? ( dev-ruby/test-unit:2
+ruby_add_bdepend "test? ( dev-ruby/minitest:5
        >=dev-ruby/mocha-1.0 )"
 
 all_ruby_prepare() {
@@ -33,6 +33,7 @@ all_ruby_prepare() {
                -e '/pry-byebug/ s:^:#:' \
                -e '/warnings_logger/ s:^:#: ; /WarningsLogger/,/^)/ s:^:#:' \
                -e '/rails_application_with_shoulda_context/ s:^:#:' \
+               -e '2igem "minitest", "~> 5.0"' \
                -i test/test_helper.rb || die
        rm -f 
test/shoulda/{railtie,rerun_snippet,test_framework_detection}_test.rb || die
 }

Reply via email to