mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
dev-ruby/warden: fix tests with rack 3 present
Closes: https://bugs.gentoo.org/892702 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -23,6 +23,10 @@ IUSE=""
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/rack-2.0.9:*"
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/rack:2.2 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die
|
||||
|
||||
sed -i -e '1igem "rack", "<3"' spec/spec_helper.rb || die
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user