mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-ruby/globalid: fix tests with rails 7.2
Closes: https://bugs.gentoo.org/940742 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
@@ -19,9 +19,17 @@ SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/bundler >=dev-ruby/activemodel-6.1 >=dev-ruby/railties-6.1 )"
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/bundler
|
||||
<dev-ruby/activemodel-7.2
|
||||
<dev-ruby/railties-7.2
|
||||
)"
|
||||
ruby_add_rdepend ">=dev-ruby/activesupport-6.1:*"
|
||||
|
||||
all_ruby_prepare() {
|
||||
rm -f Gemfile.lock || die
|
||||
|
||||
# Ensure a version of rails compatible with the tests.
|
||||
sed -e '/^gem / s/$/, "<7.2"/' \
|
||||
-i Gemfile || die
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user