summaryrefslogtreecommitdiff
path: root/dev-ruby/globalid
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-05 04:27:10 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-10-05 04:27:10 +0100
commitf3f72d0d5f1ae9ee74acaa63ccb7a247468e73bf (patch)
treee67f56736e141f27487331c26096c4c0a51979a8 /dev-ruby/globalid
parentfa275aeb316ed5e68498ca0057b27a1e9c887e26 (diff)
gentoo auto-resync : 05:10:2024 - 04:27:09
Diffstat (limited to 'dev-ruby/globalid')
-rw-r--r--dev-ruby/globalid/Manifest2
-rw-r--r--dev-ruby/globalid/globalid-1.2.1.ebuild12
2 files changed, 11 insertions, 3 deletions
diff --git a/dev-ruby/globalid/Manifest b/dev-ruby/globalid/Manifest
index 73ff1ef47324..bf7981167530 100644
--- a/dev-ruby/globalid/Manifest
+++ b/dev-ruby/globalid/Manifest
@@ -1,3 +1,3 @@
DIST globalid-1.2.1.tar.gz 24210 BLAKE2B 0cd47d65b6af78b9201ba4300820f94c126e5e69683b87503967a8b7887b9638693d51a9a1d20277dc5678ca925c567d29ed21dc1805825386fe028ddc475074 SHA512 35f3252afd41226a3dd728238be226a1f2ebb62ca853874fdf35e296dd807603319105117d4585df98cdb577efda9166fc5e5733b7af5bea7073d5c44ddec2c1
-EBUILD globalid-1.2.1.ebuild 718 BLAKE2B 7607d66c79e6b25576e6afa5be07126f4826c622251e2ba2925fc6ce038ae4b8c9d2afc84b90aef5f10a5b08dc5c8383bd199e1caac81f6b20575222380c2a36 SHA512 31d22b00e653dde83209c5b2970cffcda5c687897a9230ba116612fb870a1af2653f5393bd2cb8655badaa49319de79bf5947cf4902705e1fcbce1e7c0d00a8b
+EBUILD globalid-1.2.1.ebuild 834 BLAKE2B f5b23cd4bf17caf88d58bf83302270bfb6de956da0607e95c401744f7f4a462593e8fa82b7fff8e2e9ab24f38fd2e6a1b12abee1684abddf0c7f992164f74454 SHA512 08a37f7433b3696be2085d6dc886b69d3187cbf27689570c27a98a2edd26861cf8ed65dbad076cb8d569bfa7993df65786e0dc66e6a00f896fddcdb5993b8987
MISC metadata.xml 341 BLAKE2B e15397f0d2b0ce51ddb3da642f55ca1ed8ce12d69621757ac84ac8649108faa27948164eb1adcd1f5e1aee48b5cb2d01a2c75faf93285bb06c33841f04805600 SHA512 330c1a59a0a77ee5e02a685fb2b6884c16f99028960c308319077b2815a0b86eb4e320bbcae48fc4efadf80931da56ab2163c8b51b544d18c6aab896053c5733
diff --git a/dev-ruby/globalid/globalid-1.2.1.ebuild b/dev-ruby/globalid/globalid-1.2.1.ebuild
index e2577102b660..885898b50d31 100644
--- a/dev-ruby/globalid/globalid-1.2.1.ebuild
+++ b/dev-ruby/globalid/globalid-1.2.1.ebuild
@@ -17,11 +17,19 @@ SRC_URI="https://github.com/rails/globalid/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux"
-IUSE=""
+IUSE="test"
-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
}