summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2020-06-06 09:48:37 +0200
committerHans de Graaff <graaff@gentoo.org>2020-06-06 10:03:53 +0200
commitd13c2e6c19701d56f11ebebea0a46ae3dbdae193 (patch)
tree507b723b67b73d348b73651e3d4ce331c56cffa0 /dev-ruby/warden
parentdev-ruby/travis: add 1.9.1 (diff)
downloadgentoo-d13c2e6c19701d56f11ebebea0a46ae3dbdae193.tar.gz
gentoo-d13c2e6c19701d56f11ebebea0a46ae3dbdae193.tar.bz2
gentoo-d13c2e6c19701d56f11ebebea0a46ae3dbdae193.zip
dev-ruby/warden: limit rack version
Closes: https://bugs.gentoo.org/724052 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/warden')
-rw-r--r--dev-ruby/warden/warden-1.2.8.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/dev-ruby/warden/warden-1.2.8.ebuild b/dev-ruby/warden/warden-1.2.8.ebuild
index 79deefe54f09..5f1869e10980 100644
--- a/dev-ruby/warden/warden-1.2.8.ebuild
+++ b/dev-ruby/warden/warden-1.2.8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -22,8 +22,10 @@ KEYWORDS="~amd64"
SLOT="0"
IUSE=""
-ruby_add_rdepend ">=dev-ruby/rack-2.0.6:*"
+ruby_add_rdepend ">=dev-ruby/rack-2.0.6:2.0"
all_ruby_prepare() {
sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die
+
+ sed -i -e '5igem "rack", "~>2.0.6"' spec/spec_helper.rb || die
}