summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-11-25 11:07:46 +0100
committerHans de Graaff <graaff@gentoo.org>2018-11-25 11:09:41 +0100
commitd5bc2dd6aab90372e01ef3b04370387d60f6b343 (patch)
tree465b73f7c03576c23382ab8f66ad221fe72f4692 /dev-ruby
parentdev-ruby/dalli: add 2.7.9 (diff)
downloadgentoo-d5bc2dd6aab90372e01ef3b04370387d60f6b343.tar.gz
gentoo-d5bc2dd6aab90372e01ef3b04370387d60f6b343.tar.bz2
gentoo-d5bc2dd6aab90372e01ef3b04370387d60f6b343.zip
dev-ruby/faraday: avoid live network test
Signed-off-by: Hans de Graaff <graaff@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/faraday/faraday-0.15.3.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-ruby/faraday/faraday-0.15.3.ebuild b/dev-ruby/faraday/faraday-0.15.3.ebuild
index c12dbcec7c0d..c17052d85c42 100644
--- a/dev-ruby/faraday/faraday-0.15.3.ebuild
+++ b/dev-ruby/faraday/faraday-0.15.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -48,6 +48,9 @@ all_ruby_prepare() {
# Remove tests for adapters that are not packaged for Gentoo.
rm test/adapters/em_http_test.rb test/adapters/em_synchrony_test.rb test/adapters/excon_test.rb test/adapters/typhoeus_test.rb || die
+ # Remove tests against live services
+ sed -i -e '/test_dynamic_no_proxy/askip "live network test"' test/connection_test.rb || die
+
# The proxy server is already killed, may be OS X vs Linux issue.
sed -i -e '138 s/^/#/' script/test || die