dev-ruby/webmock: fix test failures with dev-ruby/http
authorHans de Graaff <graaff@gentoo.org>
Mon, 21 May 2018 14:12:10 +0000 (16:12 +0200)
committerHans de Graaff <graaff@gentoo.org>
Mon, 21 May 2018 14:14:49 +0000 (16:14 +0200)
Require a new enough version to pass all tests.

Closes: https://bugs.gentoo.org/646860
Package-Manager: Portage-2.3.36, Repoman-2.3.9

dev-ruby/webmock/webmock-3.3.0.ebuild
dev-ruby/webmock/webmock-3.4.0.ebuild
dev-ruby/webmock/webmock-3.4.1.ebuild

index c8012a63170dd71bbea6d377128188e96bff149c..49c52edbb44bca555a66a8abe9f7ded9cac39f58 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-USE_RUBY="ruby21 ruby22 ruby23 ruby24"
+USE_RUBY="ruby23 ruby24"
 
 RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
 
@@ -29,7 +29,7 @@ ruby_add_bdepend "test? (
        dev-ruby/rack
        >=dev-ruby/httpclient-2.8.0
        >=dev-ruby/patron-0.4.18
-       >=dev-ruby/http-0.8.0:0.8 )"
+       || ( dev-ruby/http:3 dev-ruby/http:2.0 ) )"
 
 all_ruby_prepare() {
        # Remove bundler support
index fd96b8784366941f414848aaa1bdf62ae0a23163..49c52edbb44bca555a66a8abe9f7ded9cac39f58 100644 (file)
@@ -29,7 +29,7 @@ ruby_add_bdepend "test? (
        dev-ruby/rack
        >=dev-ruby/httpclient-2.8.0
        >=dev-ruby/patron-0.4.18
-       >=dev-ruby/http-0.8.0:0.8 )"
+       || ( dev-ruby/http:3 dev-ruby/http:2.0 ) )"
 
 all_ruby_prepare() {
        # Remove bundler support
index fd96b8784366941f414848aaa1bdf62ae0a23163..49c52edbb44bca555a66a8abe9f7ded9cac39f58 100644 (file)
@@ -29,7 +29,7 @@ ruby_add_bdepend "test? (
        dev-ruby/rack
        >=dev-ruby/httpclient-2.8.0
        >=dev-ruby/patron-0.4.18
-       >=dev-ruby/http-0.8.0:0.8 )"
+       || ( dev-ruby/http:3 dev-ruby/http:2.0 ) )"
 
 all_ruby_prepare() {
        # Remove bundler support