From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D3A3B13832E for ; Fri, 5 Aug 2016 12:14:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D94D7E080C; Fri, 5 Aug 2016 12:14:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 504CBE080C for ; Fri, 5 Aug 2016 12:14:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E6DF7340BEF for ; Fri, 5 Aug 2016 12:14:07 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 975EEE6B for ; Fri, 5 Aug 2016 12:14:05 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1470399231.07e90c3617fe22f12f8a676a03f6b32b8a35f953.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/webmock/webmock-2.1.0.ebuild X-VCS-Directories: dev-ruby/webmock/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 07e90c3617fe22f12f8a676a03f6b32b8a35f953 X-VCS-Branch: master Date: Fri, 5 Aug 2016 12:14:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 81ae839a-4efd-4c78-a3f9-5fb622867ce3 X-Archives-Hash: 49c3cb80fcca9b39f7df9ec151772c58 commit: 07e90c3617fe22f12f8a676a03f6b32b8a35f953 Author: Hans de Graaff gentoo org> AuthorDate: Fri Aug 5 11:35:56 2016 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Fri Aug 5 12:13:51 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07e90c36 dev-ruby/webmock: fix httpclient tests Package-Manager: portage-2.2.28 dev-ruby/webmock/webmock-2.1.0.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dev-ruby/webmock/webmock-2.1.0.ebuild b/dev-ruby/webmock/webmock-2.1.0.ebuild index 3b8049f..564772b 100644 --- a/dev-ruby/webmock/webmock-2.1.0.ebuild +++ b/dev-ruby/webmock/webmock-2.1.0.ebuild @@ -27,7 +27,7 @@ ruby_add_bdepend "test? ( dev-ruby/minitest:5 dev-ruby/rspec:3 dev-ruby/rack - >=dev-ruby/httpclient-2.2.4 + >=dev-ruby/httpclient-2.8.0 >=dev-ruby/patron-0.4.18 >=dev-ruby/http-0.8.0:0.8 )" @@ -41,6 +41,12 @@ all_ruby_prepare() { # version is too old. sed -i -e '/\(curb\|typhoeus\|em-http\)/d' spec/spec_helper.rb || die rm spec/acceptance/{typhoeus,curb,excon,em_http_request}/* || die + + # Avoid httpclient specs that require network access, most likely + # because mocking does not fully work. + sed -i -e '/httpclient streams response/,/^ end/ s:^:#:' \ + -e '/are detected when manually specifying Authorization header/,/^ end/ s:^:#:' \ + spec/acceptance/httpclient/httpclient_spec.rb } each_ruby_test() {