summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-05-07 09:27:48 +0200
committerHans de Graaff <graaff@gentoo.org>2022-05-08 07:43:41 +0200
commit55404224fbe553dc37ddca7e2bb3ce4d01494e5e (patch)
treed311a3c7847345f53ad21bebcf6da223a27fc7d6 /dev-ruby
parentdev-ruby/buftok: enable ruby31 and disable ruby25 (diff)
downloadgentoo-55404224fbe553dc37ddca7e2bb3ce4d01494e5e.tar.gz
gentoo-55404224fbe553dc37ddca7e2bb3ce4d01494e5e.tar.bz2
gentoo-55404224fbe553dc37ddca7e2bb3ce4d01494e5e.zip
dev-ruby/actionpack-action_caching: enable ruby30 and disable ruby25
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/actionpack-action_caching/actionpack-action_caching-1.2.2.ebuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/dev-ruby/actionpack-action_caching/actionpack-action_caching-1.2.2.ebuild b/dev-ruby/actionpack-action_caching/actionpack-action_caching-1.2.2.ebuild
index b3549be733db..a0b93e8ad1d9 100644
--- a/dev-ruby/actionpack-action_caching/actionpack-action_caching-1.2.2.ebuild
+++ b/dev-ruby/actionpack-action_caching/actionpack-action_caching-1.2.2.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-USE_RUBY="ruby25 ruby26 ruby27"
+USE_RUBY="ruby26 ruby27 ruby30"
RUBY_FAKEGEM_TASK_DOC=""
@@ -19,12 +19,13 @@ IUSE=""
ruby_add_rdepend ">=dev-ruby/actionpack-4.0.0:*"
ruby_add_bdepend "test? ( >=dev-ruby/activerecord-4.0.0
+ || ( dev-ruby/railties:6.1 dev-ruby/railties:6.0 dev-ruby/railties:5.2 )
dev-ruby/mocha )"
all_ruby_prepare() {
sed -i -e "/bundler/d" Rakefile test/abstract_unit.rb || die
sed -i -e "/git/d" ${PN}.gemspec || die
- sed -i -e "2irequire 'mocha/setup'" test/caching_test.rb || die
+ sed -i -e '1igem "activerecord", "<7"; gem "railties", "<7"' test/abstract_unit.rb || die
}
each_ruby_test() {