From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0397415808B for ; Fri, 4 Oct 2024 09:42:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2FC54E29FF; Fri, 4 Oct 2024 09:42:01 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 16398E29FF for ; Fri, 4 Oct 2024 09:42:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5332F343026 for ; Fri, 4 Oct 2024 09:42:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BA29719CB for ; Fri, 4 Oct 2024 09:41:58 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1728034909.6c6ed2af2e47dc4277c1b514290d1baff5f3c06f.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/globalid/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/globalid/globalid-1.2.1.ebuild X-VCS-Directories: dev-ruby/globalid/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 6c6ed2af2e47dc4277c1b514290d1baff5f3c06f X-VCS-Branch: master Date: Fri, 4 Oct 2024 09:41:58 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 39fc9f9e-8b5b-4e2a-88ba-8fb7253df078 X-Archives-Hash: f789416dea8eb6f05c37c84be3df65be commit: 6c6ed2af2e47dc4277c1b514290d1baff5f3c06f Author: Hans de Graaff gentoo org> AuthorDate: Fri Oct 4 09:40:25 2024 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Fri Oct 4 09:41:49 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c6ed2af dev-ruby/globalid: fix tests with rails 7.2 Closes: https://bugs.gentoo.org/940742 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/globalid/globalid-1.2.1.ebuild | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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/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 }