summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-04-17 06:41:30 +0200
committerHans de Graaff <graaff@gentoo.org>2018-04-17 06:41:30 +0200
commit5e91f0244a7eec0c4427a909456d24b391b35c83 (patch)
treeca6d6a4ca1a9b5b63a87fbf6dea5da02ca80a8ea /dev-ruby/webmock
parentwww-apps/nanoc: add ruby24 (diff)
downloadgentoo-5e91f0244a7eec0c4427a909456d24b391b35c83.tar.gz
gentoo-5e91f0244a7eec0c4427a909456d24b391b35c83.tar.bz2
gentoo-5e91f0244a7eec0c4427a909456d24b391b35c83.zip
dev-ruby/webmock: use the correct version of http for tests
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-ruby/webmock')
-rw-r--r--dev-ruby/webmock/webmock-2.3.2.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev-ruby/webmock/webmock-2.3.2.ebuild b/dev-ruby/webmock/webmock-2.3.2.ebuild
index 40aee18ba477..e82604991669 100644
--- a/dev-ruby/webmock/webmock-2.3.2.ebuild
+++ b/dev-ruby/webmock/webmock-2.3.2.ebuild
@@ -35,7 +35,7 @@ all_ruby_prepare() {
# Remove bundler support
rm Gemfile || die
sed -i -e '/[Bb]undler/d' Rakefile || die
- sed -i -e '/simplecov/I s:^:#:' spec/spec_helper.rb || die
+ sed -i -e '/simplecov/I s:^:#:' -e '1i gem "http", "~>0.8"' spec/spec_helper.rb || die
sed -i -e '1igem "test-unit"' test/test_helper.rb || die
# There is now optional support for curb and typhoeus which we don't