commit:     8ad8ada1d8fa63b0d5acfbd3142332946f9be2ce
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 17 09:17:14 2024 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Nov 17 09:17:14 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ad8ada1

dev-ruby/oauth: use Rails 7.0 for tests

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

 dev-ruby/oauth/oauth-0.6.2-r2.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-ruby/oauth/oauth-0.6.2-r2.ebuild 
b/dev-ruby/oauth/oauth-0.6.2-r2.ebuild
index 442cf9782b21..6e06f298fdc9 100644
--- a/dev-ruby/oauth/oauth-0.6.2-r2.ebuild
+++ b/dev-ruby/oauth/oauth-0.6.2-r2.ebuild
@@ -19,7 +19,7 @@ RUBY_S="${PN}-ruby-${PV}"
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~riscv ~x86"
-IUSE=""
+IUSE="test"
 
 ruby_add_rdepend "
        dev-ruby/snaky_hash:1
@@ -33,15 +33,15 @@ ruby_add_bdepend "test? (
        dev-ruby/webmock
        dev-ruby/rack
        dev-ruby/rest-client
-       dev-ruby/actionpack:6.1
-       dev-ruby/railties:6.1
+       dev-ruby/actionpack:7.0
+       dev-ruby/railties:7.0
 )"
 
 all_ruby_prepare() {
        sed -i -e 's:_relative ": "./:' ${RUBY_FAKEGEM_GEMSPEC} || die
 
        # Require compatible versions of dependencies
-       sed -i -e '1igem "railties", "~>6.1.0" ; gem "actionpack", "~>6.1.0"; 
require "action_dispatch"' \
+       sed -i -e '1igem "railties", "~>7.0.0" ; gem "actionpack", "~>7.0.0"; 
require "action_dispatch"' \
                -e '/mocha/ s/mini_test/minitest/' \
                -e 's/if RUN_COVERAGE/if false/' test/test_helper.rb || die
 

Reply via email to