summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-08-26 07:32:13 +0200
committerHans de Graaff <graaff@gentoo.org>2018-08-26 07:37:00 +0200
commitb3fa42914452f464925404459203cae94aac3e04 (patch)
tree7e23668fdfe4a0bf3d3af4dc36b53ebac183f754 /dev-ruby/webmock
parentapp-emulation/containers-storage: add btrfs dep (bug 664574) (diff)
downloadgentoo-b3fa42914452f464925404459203cae94aac3e04.tar.gz
gentoo-b3fa42914452f464925404459203cae94aac3e04.tar.bz2
gentoo-b3fa42914452f464925404459203cae94aac3e04.zip
dev-ruby/webmock: amd64 stable
Also avoid test that requires network access Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-ruby/webmock')
-rw-r--r--dev-ruby/webmock/webmock-2.3.2.ebuild7
-rw-r--r--dev-ruby/webmock/webmock-3.4.1.ebuild3
2 files changed, 8 insertions, 2 deletions
diff --git a/dev-ruby/webmock/webmock-2.3.2.ebuild b/dev-ruby/webmock/webmock-2.3.2.ebuild
index e8260499166..cef9721304f 100644
--- a/dev-ruby/webmock/webmock-2.3.2.ebuild
+++ b/dev-ruby/webmock/webmock-2.3.2.ebuild
@@ -3,7 +3,7 @@
EAPI=5
-USE_RUBY="ruby22 ruby23 ruby24"
+USE_RUBY="ruby23 ruby24"
RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
@@ -17,7 +17,7 @@ HOMEPAGE="https://github.com/bblimke/webmock"
LICENSE="GPL-2"
SLOT="2"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
IUSE=""
ruby_add_rdepend ">=dev-ruby/addressable-2.3.6 >=dev-ruby/crack-0.3.2 dev-ruby/hashdiff"
@@ -49,6 +49,9 @@ all_ruby_prepare() {
sed -i -e '/httpclient streams response/,/^ end/ s:^:#:' \
-e '/are detected when manually specifying Authorization header/,/^ end/ s:^:#:' \
spec/acceptance/httpclient/httpclient_spec.rb
+
+ # Avoid specs that require network access
+ sed -i -e '/when request is not stubbed/,/^ end/ s:^:#:' spec/acceptance/shared/callbacks.rb
}
each_ruby_test() {
diff --git a/dev-ruby/webmock/webmock-3.4.1.ebuild b/dev-ruby/webmock/webmock-3.4.1.ebuild
index c5652a996a1..4f773cef98d 100644
--- a/dev-ruby/webmock/webmock-3.4.1.ebuild
+++ b/dev-ruby/webmock/webmock-3.4.1.ebuild
@@ -49,6 +49,9 @@ all_ruby_prepare() {
sed -i -e '/httpclient streams response/,/^ end/ s:^:#:' \
-e '/are detected when manually specifying Authorization header/,/^ end/ s:^:#:' \
spec/acceptance/httpclient/httpclient_spec.rb
+
+ # Avoid specs that require network access
+ sed -i -e '/when request is not stubbed/,/^ end/ s:^:#:' spec/acceptance/shared/callbacks.rb
}
each_ruby_test() {