diff options
author | 2024-10-04 11:40:25 +0200 | |
---|---|---|
committer | 2024-10-04 11:41:49 +0200 | |
commit | 6c6ed2af2e47dc4277c1b514290d1baff5f3c06f (patch) | |
tree | 44ecdb097db9e150f41e847682097813d3ded7fc /dev-ruby/globalid | |
parent | media-gfx/libbgcode: Stabilize 0.0.20240903 amd64, #940749 (diff) | |
download | gentoo-6c6ed2af2e47dc4277c1b514290d1baff5f3c06f.tar.gz gentoo-6c6ed2af2e47dc4277c1b514290d1baff5f3c06f.tar.bz2 gentoo-6c6ed2af2e47dc4277c1b514290d1baff5f3c06f.zip |
dev-ruby/globalid: fix tests with rails 7.2
Closes: https://bugs.gentoo.org/940742
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/globalid')
-rw-r--r-- | dev-ruby/globalid/globalid-1.2.1.ebuild | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/dev-ruby/globalid/globalid-1.2.1.ebuild b/dev-ruby/globalid/globalid-1.2.1.ebuild index e2577102b660..fdb24b55da64 100644 --- a/dev-ruby/globalid/globalid-1.2.1.ebuild +++ b/dev-ruby/globalid/globalid-1.2.1.ebuild @@ -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 } |