mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
dev-ruby/sinatra: fix tests
Use a version of rack-protection that is compatible with rack 2. Closes: https://bugs.gentoo.org/936281 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
@@ -41,7 +41,7 @@ ruby_add_bdepend "doc? ( dev-ruby/yard )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i \
|
||||
-e "/require 'rack'/igem 'rack', '~> 2.2', '>= 2.2.4'" \
|
||||
-e "/require 'rack'/igem 'rack', '~> 2.2', '>= 2.2.4'; gem 'rack-protection', '~> 3.0'" \
|
||||
test/test_helper.rb || die
|
||||
|
||||
# Avoid spec broken by newer rack versions, already removed upstream.
|
||||
|
||||
Reference in New Issue
Block a user