public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rack-session/
Date: Sun,  1 Sep 2024 09:17:32 +0000 (UTC)	[thread overview]
Message-ID: <1725182240.89da0eed8d8b59a6ce2c6a7c49ac0df2f1b3cf0e.graaff@gentoo> (raw)

commit:     89da0eed8d8b59a6ce2c6a7c49ac0df2f1b3cf0e
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Sep  1 09:16:37 2024 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Sep  1 09:17:20 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89da0eed

dev-ruby/rack-session: fix tests

Use a compatible rack version for tests.

Closes: https://bugs.gentoo.org/937914
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/rack-session/rack-session-2.0.0.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev-ruby/rack-session/rack-session-2.0.0.ebuild b/dev-ruby/rack-session/rack-session-2.0.0.ebuild
index 36fd355742dd..e5fc3e31f80d 100644
--- a/dev-ruby/rack-session/rack-session-2.0.0.ebuild
+++ b/dev-ruby/rack-session/rack-session-2.0.0.ebuild
@@ -16,16 +16,20 @@ SRC_URI="https://github.com/rack/rack-session/archive/v${PV}.tar.gz -> ${P}.tar.
 LICENSE="MIT"
 SLOT="$(ver_cut 1)"
 KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc x86"
-IUSE=""
+IUSE="test"
 
 ruby_add_rdepend ">=dev-ruby/rack-3.0.0"
 
 ruby_add_bdepend "test? (
 	dev-ruby/minitest:5
 	dev-ruby/minitest-global_expectations
+	dev-ruby/rack:3.0
 )"
 
 all_ruby_prepare() {
 	sed -e 's:_relative ": "./:' \
 		-i ${RUBY_FAKEGEM_GEMSPEC} || die
+
+	sed -e '2igem "rack", "~> 3.0.0"' \
+		-i test/helper.rb || die
 }


             reply	other threads:[~2024-09-01  9:17 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-01  9:17 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-05  7:30 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rack-session/ Hans de Graaff
2024-10-06 13:52 Arthur Zamarin
2024-10-06 13:30 Jakov Smolić
2024-10-06 11:21 Sam James
2024-07-10  8:42 Jakov Smolić
2024-07-10  5:09 Sam James
2024-07-10  5:09 Sam James
2024-07-10  0:52 Sam James
2024-07-10  0:52 Sam James
2024-07-10  0:52 Sam James
2023-12-29  7:40 Hans de Graaff
2023-10-12 11:46 Hans de Graaff
2023-10-06  9:37 Hans de Graaff
2023-10-06  8:49 Hans de Graaff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1725182240.89da0eed8d8b59a6ce2c6a7c49ac0df2f1b3cf0e.graaff@gentoo \
    --to=graaff@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox