summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-11-17 10:17:14 +0100
committerHans de Graaff <graaff@gentoo.org>2024-11-17 10:17:14 +0100
commit8ad8ada1d8fa63b0d5acfbd3142332946f9be2ce (patch)
tree7a71d3fd8adee78d694705f189875484a44891c5 /dev-ruby
parentdev-ruby/shoulda-matchers: destabilize for ~x86 (diff)
downloadgentoo-8ad8ada1d8fa63b0d5acfbd3142332946f9be2ce.tar.gz
gentoo-8ad8ada1d8fa63b0d5acfbd3142332946f9be2ce.tar.bz2
gentoo-8ad8ada1d8fa63b0d5acfbd3142332946f9be2ce.zip
dev-ruby/oauth: use Rails 7.0 for tests
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/oauth/oauth-0.6.2-r2.ebuild8
1 files 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