diff options
Diffstat (limited to 'dev-ruby/rack-test')
-rw-r--r-- | dev-ruby/rack-test/rack-test-1.1.0.ebuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/dev-ruby/rack-test/rack-test-1.1.0.ebuild b/dev-ruby/rack-test/rack-test-1.1.0.ebuild index eb442b6dd861..9ddb9c014689 100644 --- a/dev-ruby/rack-test/rack-test-1.1.0.ebuild +++ b/dev-ruby/rack-test/rack-test-1.1.0.ebuild @@ -25,10 +25,14 @@ IUSE="" ruby_add_rdepend ">=dev-ruby/rack-1.0:* <dev-ruby/rack-3:*" ruby_add_bdepend " - test? ( dev-ruby/sinatra:2 dev-ruby/rack:2.0 )" + test? ( dev-ruby/sinatra:2 || ( dev-ruby/rack:2.1 dev-ruby/rack:2.0 ) )" all_ruby_prepare() { rm Gemfile* || die - sed -i -e '/bundler/d' -e '/[Cc]ode[Cc]limate/d' -e '/simplecov/,/^end/ s:^:#:' spec/spec_helper.rb || die + sed -e '/bundler/d' \ + -e '/[Cc]ode[Cc]limate/d' \ + -e '/simplecov/,/^end/ s:^:#:' \ + -e '1igem "rack", "<2.2"' \ + -i spec/spec_helper.rb || die sed -i -e 's/git ls-files --/find/' ${RUBY_FAKEGEM_GEMSPEC} || die } |