diff options
author | Hans de Graaff <graaff@gentoo.org> | 2020-12-29 13:28:40 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2020-12-29 13:29:14 +0100 |
commit | 7fd963ad309ec334c65080127d5437929cfa1904 (patch) | |
tree | 0e395bbde3a77f817a0eed73ee43b579dfb95832 /dev-ruby | |
parent | sci-libs/rtree: updated PYTHON_COMPAT (diff) | |
download | gentoo-7fd963ad309ec334c65080127d5437929cfa1904.tar.gz gentoo-7fd963ad309ec334c65080127d5437929cfa1904.tar.bz2 gentoo-7fd963ad309ec334c65080127d5437929cfa1904.zip |
dev-ruby/rack-test: avoid test broken with rack 2.2
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/rack-test/rack-test-1.1.0.ebuild | 4 |
1 files changed, 3 insertions, 1 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 c9eabc6c882c..8f490c6c6e47 100644 --- a/dev-ruby/rack-test/rack-test-1.1.0.ebuild +++ b/dev-ruby/rack-test/rack-test-1.1.0.ebuild @@ -32,7 +32,9 @@ all_ruby_prepare() { 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 + + # Avoid test broken with rack 2.2 + sed -i -e '/closes response.s body/askip "rack 2.2 compatibility"' spec/rack/test_spec.rb || die } |