[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2024-11-03 Thread Hans de Graaff
commit: 17610ec4cf326566c0597e0d554f15dd875f6537
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Nov  3 07:07:01 2024 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Nov  3 07:07:01 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17610ec4

dev-ruby/webmock: drop 3.18.1, 3.19.1

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/webmock/Manifest  |  2 -
 dev-ruby/webmock/webmock-3.18.1.ebuild | 64 
 dev-ruby/webmock/webmock-3.19.1.ebuild | 67 --
 3 files changed, 133 deletions(-)

diff --git a/dev-ruby/webmock/Manifest b/dev-ruby/webmock/Manifest
index 698d1de0c127..380f6fb6df13 100644
--- a/dev-ruby/webmock/Manifest
+++ b/dev-ruby/webmock/Manifest
@@ -1,5 +1,3 @@
-DIST webmock-3.18.1.gem 128000 BLAKE2B 
792622ef256e5b106e480f40fbec06bfb970b41d5745dc50be125143b925f5ba1fb7c28173d39268550076d6bd5803a0150740ecdcc31537415af3fb1da9e7d6
 SHA512 
109f1ced28c4c273f75378e193b772314854fdb5ceea2ef1926d8b790169d07cdb30fdbe1c12e3461a9307f3fea073aa90cfe7421379bf36fa0d550d4bb93c5a
-DIST webmock-3.19.1.tar.gz 127208 BLAKE2B 
0753201f8584159a01d73aecc0670bafaaad059c9b08befa51d482916cfeec50d272f6772de11b76f9b209b960021c2d92042094aa853fb4f7e082340c0807f8
 SHA512 
40fb5587221693662e8c970aab52b4e73114c45f26850f05799b8cc0ae5f18a2b2941ab4c5d595dbd40501b93d421c9cb3158e911a8c9b31b97966cfcebe4b14
 DIST webmock-3.23.0.tar.gz 129686 BLAKE2B 
28210f5836af9b3ad66edf84380c318b055817602ee03001929613678fcad799f1a5efb79e09ec78a4aae74e162d14f8efe80b8917869392c99e590ac9cfac9f
 SHA512 
39e8f85e0bb5ee2a497e3ae88ba8aadbbc72bee304f095c82502662cdb676cf5d00732eb89dcb75ba31ca5ab4fd87011687250df081071f43ea3486214b395ab
 DIST webmock-3.23.1.tar.gz 129740 BLAKE2B 
4caa29d6bba6e5f608ecf6d84e16f2cfe0565158a3f26bf98dd78a2706ec4b64e87f4a8774c586e8cbd5772ccfdd545af526e4a9dde5fb849b2090f76a87
 SHA512 
db6c551f52dc81feb212d1e5690106d93794feedc8cf716d6e9b8780b53950260999b32e17430ebf4312ab8b2051c034bff718bfada35c176ab3f1bfb521d2e4
 DIST webmock-3.24.0.tar.gz 130722 BLAKE2B 
ced1cc29e472a2f0f35012c5ebabb7ec2b1bbf7711c394a25433325d98e97abcafb4eb94b7a013bc6e7b7ca9bff80981ea3538693d451264f5444f6156dcef7d
 SHA512 
4fd6e02c4ea4f7031a82f15c2cf222959d6040981440d335f4e186dc8af0b413a14652126c104c384277d78cef718bc05a97dc397dd7d2166ddaafc030efc486

diff --git a/dev-ruby/webmock/webmock-3.18.1.ebuild 
b/dev-ruby/webmock/webmock-3.18.1.ebuild
deleted file mode 100644
index 8a522532d527..
--- a/dev-ruby/webmock/webmock-3.18.1.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-USE_RUBY="ruby30 ruby31 ruby32"
-
-RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
-
-RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
-
-inherit ruby-fakegem
-
-DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP 
requests"
-HOMEPAGE="https://github.com/bblimke/webmock";
-
-LICENSE="GPL-2"
-SLOT="3"
-KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
-IUSE=""
-
-ruby_add_rdepend "
-   >=dev-ruby/addressable-2.8.0
-   >=dev-ruby/crack-0.3.2
-   >=dev-ruby/hashdiff-0.4.0:0
-"
-
-ruby_add_bdepend "test? (
-   dev-ruby/minitest:5
-   dev-ruby/rspec:3
-   >=dev-ruby/test-unit-3.0.0
-   dev-ruby/rack
-   dev-ruby/webrick
-)"
-
-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 '1igem "test-unit"' test/test_helper.rb || die
-
-   # There is now optional support for curb and typhoeus which we don't
-   # have in Gentoo yet. em_http_request is available in Gentoo but its
-   # version is too old. patron's latest version is not compatible.
-   # httpclient is no longer maintained and has various test failures.
-   sed -i -e '/\(curb\|typhoeus\|em-http\|patron\|httpclient\)/ s:^:#:' 
spec/spec_helper.rb || die
-   rm -f 
spec/acceptance/{typhoeus,curb,excon,em_http_request,patron,async_http_client,httpclient}/*
 || die
-
-   # Drop tests for dev-ruby/http for now since this package only works 
with ruby26
-   sed -i -e '/http_rb/ s:^:#:' spec/spec_helper.rb || die
-   rm -f spec/acceptance/http_rb/* || die
-
-   # Avoid specs that require network access
-   sed -i -e '/when request is not stubbed/,/^  end/ s:^:#:' 
spec/acceptance/shared/callbacks.rb
-}
-
-each_ruby_test() {
-   ${RUBY} -S rake test NO_CONNECTION=true || die
-   ${RUBY} -S rspec-3 spec || die
-
-   einfo "Delay to allow the test server to stop"
-   sleep 10
-}

diff --git a/dev-ruby/webmock/webmock-3.19.1.ebuild 
b/dev-ruby/webmock/webmock-3.19.1.ebuild
deleted file mode 100644
index a49326e4f027..
--- a/dev-ruby/webmoc

[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2024-10-06 Thread Sam James
commit: ea6a83147fd4fe0da060badfac5eb9d6a342fbd6
Author: Sam James  gentoo  org>
AuthorDate: Sun Oct  6 10:48:31 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct  6 10:48:31 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea6a8314

dev-ruby/webmock: Stabilize 3.23.0 x86, #936853

Signed-off-by: Sam James  gentoo.org>

 dev-ruby/webmock/webmock-3.23.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/webmock/webmock-3.23.0.ebuild 
b/dev-ruby/webmock/webmock-3.23.0.ebuild
index 4dd4cbf1d9c1..fcbdaa990459 100644
--- a/dev-ruby/webmock/webmock-3.23.0.ebuild
+++ b/dev-ruby/webmock/webmock-3.23.0.ebuild
@@ -18,7 +18,7 @@ 
SRC_URI="https://github.com/bblimke/webmock/archive/refs/tags/v${PV}.tar.gz -> $
 
 LICENSE="GPL-2"
 SLOT="3"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc 
~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86"
 IUSE="test"
 
 ruby_add_rdepend "



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2024-10-06 Thread Sam James
commit: 295e2fadfd9c09554bf61a95716b649fa1cb37ff
Author: Sam James  gentoo  org>
AuthorDate: Sun Oct  6 10:48:28 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct  6 10:48:28 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=295e2fad

dev-ruby/webmock: Stabilize 3.23.0 sparc, #936853

Signed-off-by: Sam James  gentoo.org>

 dev-ruby/webmock/webmock-3.23.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/webmock/webmock-3.23.0.ebuild 
b/dev-ruby/webmock/webmock-3.23.0.ebuild
index 7b9d9c02deb8..4dd4cbf1d9c1 100644
--- a/dev-ruby/webmock/webmock-3.23.0.ebuild
+++ b/dev-ruby/webmock/webmock-3.23.0.ebuild
@@ -18,7 +18,7 @@ 
SRC_URI="https://github.com/bblimke/webmock/archive/refs/tags/v${PV}.tar.gz -> $
 
 LICENSE="GPL-2"
 SLOT="3"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc 
~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc 
~x86"
 IUSE="test"
 
 ruby_add_rdepend "



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2024-10-06 Thread Sam James
commit: cf0b2f7423329e8373c13c2589036808ff4a6e42
Author: Sam James  gentoo  org>
AuthorDate: Sun Oct  6 10:48:24 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct  6 10:48:24 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf0b2f74

dev-ruby/webmock: Stabilize 3.23.0 ppc, #936853

Signed-off-by: Sam James  gentoo.org>

 dev-ruby/webmock/webmock-3.23.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/webmock/webmock-3.23.0.ebuild 
b/dev-ruby/webmock/webmock-3.23.0.ebuild
index adae99cc814f..7b9d9c02deb8 100644
--- a/dev-ruby/webmock/webmock-3.23.0.ebuild
+++ b/dev-ruby/webmock/webmock-3.23.0.ebuild
@@ -18,7 +18,7 @@ 
SRC_URI="https://github.com/bblimke/webmock/archive/refs/tags/v${PV}.tar.gz -> $
 
 LICENSE="GPL-2"
 SLOT="3"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~s390 ~sparc 
~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc 
~x86"
 IUSE="test"
 
 ruby_add_rdepend "



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2024-10-06 Thread Sam James
commit: 3f68a6787f5ffc63dd232bd2eb0a6459c72f5817
Author: Sam James  gentoo  org>
AuthorDate: Sun Oct  6 10:48:20 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct  6 10:48:20 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f68a678

dev-ruby/webmock: Stabilize 3.23.0 arm, #936853

Signed-off-by: Sam James  gentoo.org>

 dev-ruby/webmock/webmock-3.23.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/webmock/webmock-3.23.0.ebuild 
b/dev-ruby/webmock/webmock-3.23.0.ebuild
index 2a30bf62ce2f..adae99cc814f 100644
--- a/dev-ruby/webmock/webmock-3.23.0.ebuild
+++ b/dev-ruby/webmock/webmock-3.23.0.ebuild
@@ -18,7 +18,7 @@ 
SRC_URI="https://github.com/bblimke/webmock/archive/refs/tags/v${PV}.tar.gz -> $
 
 LICENSE="GPL-2"
 SLOT="3"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~s390 ~sparc 
~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~s390 ~sparc 
~x86"
 IUSE="test"
 
 ruby_add_rdepend "



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2024-10-06 Thread Sam James
commit: f31a795a7206d9a0ea22d2fd518127c84238be87
Author: Sam James  gentoo  org>
AuthorDate: Sun Oct  6 10:48:12 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct  6 10:48:12 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f31a795a

dev-ruby/webmock: Stabilize 3.23.0 amd64, #936853

Signed-off-by: Sam James  gentoo.org>

 dev-ruby/webmock/webmock-3.23.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/webmock/webmock-3.23.0.ebuild 
b/dev-ruby/webmock/webmock-3.23.0.ebuild
index 44334c44fef0..0a66a616ca54 100644
--- a/dev-ruby/webmock/webmock-3.23.0.ebuild
+++ b/dev-ruby/webmock/webmock-3.23.0.ebuild
@@ -18,7 +18,7 @@ 
SRC_URI="https://github.com/bblimke/webmock/archive/refs/tags/v${PV}.tar.gz -> $
 
 LICENSE="GPL-2"
 SLOT="3"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~s390 
~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~s390 ~sparc 
~x86"
 IUSE="test"
 
 ruby_add_rdepend "



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2024-10-06 Thread Sam James
commit: 1672bf13771981a4539815f4f8a6bf1a5e9b5549
Author: Sam James  gentoo  org>
AuthorDate: Sun Oct  6 10:48:16 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct  6 10:48:16 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1672bf13

dev-ruby/webmock: Stabilize 3.23.0 arm64, #936853

Signed-off-by: Sam James  gentoo.org>

 dev-ruby/webmock/webmock-3.23.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/webmock/webmock-3.23.0.ebuild 
b/dev-ruby/webmock/webmock-3.23.0.ebuild
index 0a66a616ca54..2a30bf62ce2f 100644
--- a/dev-ruby/webmock/webmock-3.23.0.ebuild
+++ b/dev-ruby/webmock/webmock-3.23.0.ebuild
@@ -18,7 +18,7 @@ 
SRC_URI="https://github.com/bblimke/webmock/archive/refs/tags/v${PV}.tar.gz -> $
 
 LICENSE="GPL-2"
 SLOT="3"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~s390 ~sparc 
~x86"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~s390 ~sparc 
~x86"
 IUSE="test"
 
 ruby_add_rdepend "



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2024-09-30 Thread Hans de Graaff
commit: 5dac8ea94c88ed0395310d4811ff3aad78992a2f
Author: Hans de Graaff  gentoo  org>
AuthorDate: Tue Oct  1 05:32:44 2024 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Oct  1 05:32:44 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5dac8ea9

dev-ruby/webmock: add 3.24.0

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/webmock/Manifest  |  1 +
 dev-ruby/webmock/webmock-3.24.0.ebuild | 67 ++
 2 files changed, 68 insertions(+)

diff --git a/dev-ruby/webmock/Manifest b/dev-ruby/webmock/Manifest
index 97f0f4ed1a09..698d1de0c127 100644
--- a/dev-ruby/webmock/Manifest
+++ b/dev-ruby/webmock/Manifest
@@ -2,3 +2,4 @@ DIST webmock-3.18.1.gem 128000 BLAKE2B 
792622ef256e5b106e480f40fbec06bfb970b41d5
 DIST webmock-3.19.1.tar.gz 127208 BLAKE2B 
0753201f8584159a01d73aecc0670bafaaad059c9b08befa51d482916cfeec50d272f6772de11b76f9b209b960021c2d92042094aa853fb4f7e082340c0807f8
 SHA512 
40fb5587221693662e8c970aab52b4e73114c45f26850f05799b8cc0ae5f18a2b2941ab4c5d595dbd40501b93d421c9cb3158e911a8c9b31b97966cfcebe4b14
 DIST webmock-3.23.0.tar.gz 129686 BLAKE2B 
28210f5836af9b3ad66edf84380c318b055817602ee03001929613678fcad799f1a5efb79e09ec78a4aae74e162d14f8efe80b8917869392c99e590ac9cfac9f
 SHA512 
39e8f85e0bb5ee2a497e3ae88ba8aadbbc72bee304f095c82502662cdb676cf5d00732eb89dcb75ba31ca5ab4fd87011687250df081071f43ea3486214b395ab
 DIST webmock-3.23.1.tar.gz 129740 BLAKE2B 
4caa29d6bba6e5f608ecf6d84e16f2cfe0565158a3f26bf98dd78a2706ec4b64e87f4a8774c586e8cbd5772ccfdd545af526e4a9dde5fb849b2090f76a87
 SHA512 
db6c551f52dc81feb212d1e5690106d93794feedc8cf716d6e9b8780b53950260999b32e17430ebf4312ab8b2051c034bff718bfada35c176ab3f1bfb521d2e4
+DIST webmock-3.24.0.tar.gz 130722 BLAKE2B 
ced1cc29e472a2f0f35012c5ebabb7ec2b1bbf7711c394a25433325d98e97abcafb4eb94b7a013bc6e7b7ca9bff80981ea3538693d451264f5444f6156dcef7d
 SHA512 
4fd6e02c4ea4f7031a82f15c2cf222959d6040981440d335f4e186dc8af0b413a14652126c104c384277d78cef718bc05a97dc397dd7d2166ddaafc030efc486

diff --git a/dev-ruby/webmock/webmock-3.24.0.ebuild 
b/dev-ruby/webmock/webmock-3.24.0.ebuild
new file mode 100644
index ..475a1b5900b6
--- /dev/null
+++ b/dev-ruby/webmock/webmock-3.24.0.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32 ruby33"
+
+RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+RUBY_FAKEGEM_GEMSPEC="webmock.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP 
requests"
+HOMEPAGE="https://github.com/bblimke/webmock";
+SRC_URI="https://github.com/bblimke/webmock/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="3"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+IUSE="test"
+
+ruby_add_rdepend "
+   >=dev-ruby/addressable-2.8.0
+   >=dev-ruby/crack-0.3.2
+   >=dev-ruby/hashdiff-0.4.0:0
+"
+
+ruby_add_bdepend "test? (
+   dev-ruby/minitest:5
+   dev-ruby/rspec:3
+   dev-ruby/rspec-retry
+   >=dev-ruby/test-unit-3.0.0
+   dev-ruby/rack
+   dev-ruby/webrick
+)"
+
+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 '1igem "test-unit"' test/test_helper.rb || die
+
+   # There is now optional support for curb and typhoeus which we don't
+   # have in Gentoo yet. em_http_request is available in Gentoo but its
+   # version is too old. patron's latest version is not compatible.
+   # httpclient is no longer maintained and has various test failures.
+   sed -i -e '/\(curb\|typhoeus\|em-http\|patron\|httpclient\)/ s:^:#:' 
spec/spec_helper.rb || die
+   rm -f 
spec/acceptance/{typhoeus,curb,excon,em_http_request,patron,async_http_client,httpclient}/*
 || die
+
+   # Drop tests for dev-ruby/http for now since this package only works 
with ruby26
+   sed -i -e '/http_rb/ s:^:#:' spec/spec_helper.rb || die
+   rm -f spec/acceptance/http_rb/* || die
+
+   # Avoid specs that require network access
+   sed -i -e '/when request is not stubbed/,/^  end/ s:^:#:' 
spec/acceptance/shared/callbacks.rb
+}
+
+each_ruby_test() {
+   ${RUBY} -S rake test NO_CONNECTION=true || die
+   ${RUBY} -S rspec-3 spec || die
+
+   einfo "Delay to allow the test server to stop"
+   sleep 10
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2024-09-11 Thread Arthur Zamarin
commit: de1c2f5368ed1ff55d3bf2b49695d15744f7be68
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Sep 11 18:11:28 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Sep 11 18:11:28 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de1c2f53

dev-ruby/webmock: Stabilize 3.23.0 ppc64, #936853

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-ruby/webmock/webmock-3.23.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/webmock/webmock-3.23.0.ebuild 
b/dev-ruby/webmock/webmock-3.23.0.ebuild
index 475a1b5900b6..44334c44fef0 100644
--- a/dev-ruby/webmock/webmock-3.23.0.ebuild
+++ b/dev-ruby/webmock/webmock-3.23.0.ebuild
@@ -18,7 +18,7 @@ 
SRC_URI="https://github.com/bblimke/webmock/archive/refs/tags/v${PV}.tar.gz -> $
 
 LICENSE="GPL-2"
 SLOT="3"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~s390 
~sparc ~x86"
 IUSE="test"
 
 ruby_add_rdepend "



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2024-07-14 Thread Hans de Graaff
commit: 87ccc035edf585a99dac6d3cf44ba92859542170
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Jul 14 07:00:52 2024 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Jul 14 07:48:06 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87ccc035

dev-ruby/webmock: add 3.23.1

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/webmock/Manifest  |  1 +
 dev-ruby/webmock/webmock-3.23.1.ebuild | 67 ++
 2 files changed, 68 insertions(+)

diff --git a/dev-ruby/webmock/Manifest b/dev-ruby/webmock/Manifest
index 2a6816d91bbe..97f0f4ed1a09 100644
--- a/dev-ruby/webmock/Manifest
+++ b/dev-ruby/webmock/Manifest
@@ -1,3 +1,4 @@
 DIST webmock-3.18.1.gem 128000 BLAKE2B 
792622ef256e5b106e480f40fbec06bfb970b41d5745dc50be125143b925f5ba1fb7c28173d39268550076d6bd5803a0150740ecdcc31537415af3fb1da9e7d6
 SHA512 
109f1ced28c4c273f75378e193b772314854fdb5ceea2ef1926d8b790169d07cdb30fdbe1c12e3461a9307f3fea073aa90cfe7421379bf36fa0d550d4bb93c5a
 DIST webmock-3.19.1.tar.gz 127208 BLAKE2B 
0753201f8584159a01d73aecc0670bafaaad059c9b08befa51d482916cfeec50d272f6772de11b76f9b209b960021c2d92042094aa853fb4f7e082340c0807f8
 SHA512 
40fb5587221693662e8c970aab52b4e73114c45f26850f05799b8cc0ae5f18a2b2941ab4c5d595dbd40501b93d421c9cb3158e911a8c9b31b97966cfcebe4b14
 DIST webmock-3.23.0.tar.gz 129686 BLAKE2B 
28210f5836af9b3ad66edf84380c318b055817602ee03001929613678fcad799f1a5efb79e09ec78a4aae74e162d14f8efe80b8917869392c99e590ac9cfac9f
 SHA512 
39e8f85e0bb5ee2a497e3ae88ba8aadbbc72bee304f095c82502662cdb676cf5d00732eb89dcb75ba31ca5ab4fd87011687250df081071f43ea3486214b395ab
+DIST webmock-3.23.1.tar.gz 129740 BLAKE2B 
4caa29d6bba6e5f608ecf6d84e16f2cfe0565158a3f26bf98dd78a2706ec4b64e87f4a8774c586e8cbd5772ccfdd545af526e4a9dde5fb849b2090f76a87
 SHA512 
db6c551f52dc81feb212d1e5690106d93794feedc8cf716d6e9b8780b53950260999b32e17430ebf4312ab8b2051c034bff718bfada35c176ab3f1bfb521d2e4

diff --git a/dev-ruby/webmock/webmock-3.23.1.ebuild 
b/dev-ruby/webmock/webmock-3.23.1.ebuild
new file mode 100644
index ..475a1b5900b6
--- /dev/null
+++ b/dev-ruby/webmock/webmock-3.23.1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32 ruby33"
+
+RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+RUBY_FAKEGEM_GEMSPEC="webmock.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP 
requests"
+HOMEPAGE="https://github.com/bblimke/webmock";
+SRC_URI="https://github.com/bblimke/webmock/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="3"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+IUSE="test"
+
+ruby_add_rdepend "
+   >=dev-ruby/addressable-2.8.0
+   >=dev-ruby/crack-0.3.2
+   >=dev-ruby/hashdiff-0.4.0:0
+"
+
+ruby_add_bdepend "test? (
+   dev-ruby/minitest:5
+   dev-ruby/rspec:3
+   dev-ruby/rspec-retry
+   >=dev-ruby/test-unit-3.0.0
+   dev-ruby/rack
+   dev-ruby/webrick
+)"
+
+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 '1igem "test-unit"' test/test_helper.rb || die
+
+   # There is now optional support for curb and typhoeus which we don't
+   # have in Gentoo yet. em_http_request is available in Gentoo but its
+   # version is too old. patron's latest version is not compatible.
+   # httpclient is no longer maintained and has various test failures.
+   sed -i -e '/\(curb\|typhoeus\|em-http\|patron\|httpclient\)/ s:^:#:' 
spec/spec_helper.rb || die
+   rm -f 
spec/acceptance/{typhoeus,curb,excon,em_http_request,patron,async_http_client,httpclient}/*
 || die
+
+   # Drop tests for dev-ruby/http for now since this package only works 
with ruby26
+   sed -i -e '/http_rb/ s:^:#:' spec/spec_helper.rb || die
+   rm -f spec/acceptance/http_rb/* || die
+
+   # Avoid specs that require network access
+   sed -i -e '/when request is not stubbed/,/^  end/ s:^:#:' 
spec/acceptance/shared/callbacks.rb
+}
+
+each_ruby_test() {
+   ${RUBY} -S rake test NO_CONNECTION=true || die
+   ${RUBY} -S rspec-3 spec || die
+
+   einfo "Delay to allow the test server to stop"
+   sleep 10
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2024-04-13 Thread Hans de Graaff
commit: 5af413d1afa673d6d7be4044d2f3e9e523d6afc3
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Apr 14 06:04:59 2024 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Apr 14 06:04:59 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5af413d1

dev-ruby/webmock: add 3.23.0

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/webmock/Manifest  |  1 +
 dev-ruby/webmock/webmock-3.23.0.ebuild | 67 ++
 2 files changed, 68 insertions(+)

diff --git a/dev-ruby/webmock/Manifest b/dev-ruby/webmock/Manifest
index 81532dbf5199..2a6816d91bbe 100644
--- a/dev-ruby/webmock/Manifest
+++ b/dev-ruby/webmock/Manifest
@@ -1,2 +1,3 @@
 DIST webmock-3.18.1.gem 128000 BLAKE2B 
792622ef256e5b106e480f40fbec06bfb970b41d5745dc50be125143b925f5ba1fb7c28173d39268550076d6bd5803a0150740ecdcc31537415af3fb1da9e7d6
 SHA512 
109f1ced28c4c273f75378e193b772314854fdb5ceea2ef1926d8b790169d07cdb30fdbe1c12e3461a9307f3fea073aa90cfe7421379bf36fa0d550d4bb93c5a
 DIST webmock-3.19.1.tar.gz 127208 BLAKE2B 
0753201f8584159a01d73aecc0670bafaaad059c9b08befa51d482916cfeec50d272f6772de11b76f9b209b960021c2d92042094aa853fb4f7e082340c0807f8
 SHA512 
40fb5587221693662e8c970aab52b4e73114c45f26850f05799b8cc0ae5f18a2b2941ab4c5d595dbd40501b93d421c9cb3158e911a8c9b31b97966cfcebe4b14
+DIST webmock-3.23.0.tar.gz 129686 BLAKE2B 
28210f5836af9b3ad66edf84380c318b055817602ee03001929613678fcad799f1a5efb79e09ec78a4aae74e162d14f8efe80b8917869392c99e590ac9cfac9f
 SHA512 
39e8f85e0bb5ee2a497e3ae88ba8aadbbc72bee304f095c82502662cdb676cf5d00732eb89dcb75ba31ca5ab4fd87011687250df081071f43ea3486214b395ab

diff --git a/dev-ruby/webmock/webmock-3.23.0.ebuild 
b/dev-ruby/webmock/webmock-3.23.0.ebuild
new file mode 100644
index ..475a1b5900b6
--- /dev/null
+++ b/dev-ruby/webmock/webmock-3.23.0.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32 ruby33"
+
+RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+RUBY_FAKEGEM_GEMSPEC="webmock.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP 
requests"
+HOMEPAGE="https://github.com/bblimke/webmock";
+SRC_URI="https://github.com/bblimke/webmock/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="3"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+IUSE="test"
+
+ruby_add_rdepend "
+   >=dev-ruby/addressable-2.8.0
+   >=dev-ruby/crack-0.3.2
+   >=dev-ruby/hashdiff-0.4.0:0
+"
+
+ruby_add_bdepend "test? (
+   dev-ruby/minitest:5
+   dev-ruby/rspec:3
+   dev-ruby/rspec-retry
+   >=dev-ruby/test-unit-3.0.0
+   dev-ruby/rack
+   dev-ruby/webrick
+)"
+
+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 '1igem "test-unit"' test/test_helper.rb || die
+
+   # There is now optional support for curb and typhoeus which we don't
+   # have in Gentoo yet. em_http_request is available in Gentoo but its
+   # version is too old. patron's latest version is not compatible.
+   # httpclient is no longer maintained and has various test failures.
+   sed -i -e '/\(curb\|typhoeus\|em-http\|patron\|httpclient\)/ s:^:#:' 
spec/spec_helper.rb || die
+   rm -f 
spec/acceptance/{typhoeus,curb,excon,em_http_request,patron,async_http_client,httpclient}/*
 || die
+
+   # Drop tests for dev-ruby/http for now since this package only works 
with ruby26
+   sed -i -e '/http_rb/ s:^:#:' spec/spec_helper.rb || die
+   rm -f spec/acceptance/http_rb/* || die
+
+   # Avoid specs that require network access
+   sed -i -e '/when request is not stubbed/,/^  end/ s:^:#:' 
spec/acceptance/shared/callbacks.rb
+}
+
+each_ruby_test() {
+   ${RUBY} -S rake test NO_CONNECTION=true || die
+   ${RUBY} -S rspec-3 spec || die
+
+   einfo "Delay to allow the test server to stop"
+   sleep 10
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2024-01-14 Thread Hans de Graaff
commit: 84fa4c6269b97f64fe1501e7a38c125e4c2c709a
Author: Hans de Graaff  gentoo  org>
AuthorDate: Mon Jan 15 07:31:00 2024 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Mon Jan 15 07:40:50 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84fa4c62

dev-ruby/webmock: enable ruby33

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/webmock/webmock-3.19.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/webmock/webmock-3.19.1.ebuild 
b/dev-ruby/webmock/webmock-3.19.1.ebuild
index eb29328c502a..a49326e4f027 100644
--- a/dev-ruby/webmock/webmock-3.19.1.ebuild
+++ b/dev-ruby/webmock/webmock-3.19.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-USE_RUBY="ruby31 ruby32"
+USE_RUBY="ruby31 ruby32 ruby33"
 
 RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
 



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2023-12-08 Thread Arthur Zamarin
commit: 4cfd2bd82106ae582e2c6e7c8f32d61239e0ea23
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Dec  8 14:24:04 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Dec  8 14:24:04 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cfd2bd8

dev-ruby/webmock: Keyword 3.19.1 s390, #913913

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-ruby/webmock/webmock-3.19.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/webmock/webmock-3.19.1.ebuild 
b/dev-ruby/webmock/webmock-3.19.1.ebuild
index ea981500a36c..ce58db1c8d2a 100644
--- a/dev-ruby/webmock/webmock-3.19.1.ebuild
+++ b/dev-ruby/webmock/webmock-3.19.1.ebuild
@@ -18,7 +18,7 @@ 
SRC_URI="https://github.com/bblimke/webmock/archive/refs/tags/v${PV}.tar.gz -> $
 
 LICENSE="GPL-2"
 SLOT="3"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~riscv ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~riscv ~s390 ~sparc ~x86"
 IUSE=""
 
 ruby_add_rdepend "



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2023-12-01 Thread Arthur Zamarin
commit: 5000132cb58871e4a219901b937fe33ca4763825
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Dec  1 20:25:56 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Dec  1 20:25:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5000132c

dev-ruby/webmock: Keyword 3.19.1 ppc, #913913

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-ruby/webmock/webmock-3.19.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/webmock/webmock-3.19.1.ebuild 
b/dev-ruby/webmock/webmock-3.19.1.ebuild
index 9a7327ebd2d9..f7fbf904a916 100644
--- a/dev-ruby/webmock/webmock-3.19.1.ebuild
+++ b/dev-ruby/webmock/webmock-3.19.1.ebuild
@@ -18,7 +18,7 @@ 
SRC_URI="https://github.com/bblimke/webmock/archive/refs/tags/v${PV}.tar.gz -> $
 
 LICENSE="GPL-2"
 SLOT="3"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~riscv ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~riscv ~sparc ~x86"
 IUSE=""
 
 ruby_add_rdepend "



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2023-09-18 Thread WANG Xuerui
commit: bfc1068effc130a3257e2c529bbe0499a92fe707
Author: WANG Xuerui  gentoo  org>
AuthorDate: Mon Sep 18 18:08:21 2023 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Mon Sep 18 18:08:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfc1068e

dev-ruby/webmock: keyword 3.19.1 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 dev-ruby/webmock/webmock-3.19.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/webmock/webmock-3.19.1.ebuild 
b/dev-ruby/webmock/webmock-3.19.1.ebuild
index 6e664d69659d..9a7327ebd2d9 100644
--- a/dev-ruby/webmock/webmock-3.19.1.ebuild
+++ b/dev-ruby/webmock/webmock-3.19.1.ebuild
@@ -18,7 +18,7 @@ 
SRC_URI="https://github.com/bblimke/webmock/archive/refs/tags/v${PV}.tar.gz -> $
 
 LICENSE="GPL-2"
 SLOT="3"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~riscv ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~riscv ~sparc ~x86"
 IUSE=""
 
 ruby_add_rdepend "



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2023-09-18 Thread Sam James
commit: 3c85f9a9ab4a53dccde6d3c701968ae240276933
Author: Sam James  gentoo  org>
AuthorDate: Mon Sep 18 10:56:45 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Sep 18 10:56:45 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c85f9a9

dev-ruby/webmock: Keyword 3.19.1 hppa, #913913

Signed-off-by: Sam James  gentoo.org>

 dev-ruby/webmock/webmock-3.19.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/webmock/webmock-3.19.1.ebuild 
b/dev-ruby/webmock/webmock-3.19.1.ebuild
index 5641cb493ae3..6e664d69659d 100644
--- a/dev-ruby/webmock/webmock-3.19.1.ebuild
+++ b/dev-ruby/webmock/webmock-3.19.1.ebuild
@@ -18,7 +18,7 @@ 
SRC_URI="https://github.com/bblimke/webmock/archive/refs/tags/v${PV}.tar.gz -> $
 
 LICENSE="GPL-2"
 SLOT="3"
-KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~riscv ~sparc ~x86"
 IUSE=""
 
 ruby_add_rdepend "



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2023-09-11 Thread Arthur Zamarin
commit: db30f89774c99afdb51f90ed753385cad532a755
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Sep 11 11:40:55 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Sep 11 11:40:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db30f897

dev-ruby/webmock: Keyword 3.19.1 x86, #913913

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-ruby/webmock/webmock-3.19.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/webmock/webmock-3.19.1.ebuild 
b/dev-ruby/webmock/webmock-3.19.1.ebuild
index 636bb87d44e1..5641cb493ae3 100644
--- a/dev-ruby/webmock/webmock-3.19.1.ebuild
+++ b/dev-ruby/webmock/webmock-3.19.1.ebuild
@@ -18,7 +18,7 @@ 
SRC_URI="https://github.com/bblimke/webmock/archive/refs/tags/v${PV}.tar.gz -> $
 
 LICENSE="GPL-2"
 SLOT="3"
-KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~sparc"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~sparc ~x86"
 IUSE=""
 
 ruby_add_rdepend "



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2023-09-10 Thread Jakov Smolić
commit: ba52987ab98bd32f1cc566948a5c05d7bc4267d7
Author: Jakov Smolić  gentoo  org>
AuthorDate: Mon Sep 11 06:47:46 2023 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Mon Sep 11 06:47:46 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba52987a

dev-ruby/webmock: Keyword 3.19.1 riscv, #913913

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-ruby/webmock/webmock-3.19.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/webmock/webmock-3.19.1.ebuild 
b/dev-ruby/webmock/webmock-3.19.1.ebuild
index 77d877bae033..636bb87d44e1 100644
--- a/dev-ruby/webmock/webmock-3.19.1.ebuild
+++ b/dev-ruby/webmock/webmock-3.19.1.ebuild
@@ -18,7 +18,7 @@ 
SRC_URI="https://github.com/bblimke/webmock/archive/refs/tags/v${PV}.tar.gz -> $
 
 LICENSE="GPL-2"
 SLOT="3"
-KEYWORDS="~amd64 ~arm ~arm64 ~sparc"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~sparc"
 IUSE=""
 
 ruby_add_rdepend "



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2023-09-10 Thread Sam James
commit: ccdde44bac279ef3dee05975a4592fc7f9050470
Author: Sam James  gentoo  org>
AuthorDate: Sun Sep 10 12:25:16 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Sep 10 12:25:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccdde44b

dev-ruby/webmock: Keyword 3.19.1 sparc, #913913

Signed-off-by: Sam James  gentoo.org>

 dev-ruby/webmock/webmock-3.19.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/webmock/webmock-3.19.1.ebuild 
b/dev-ruby/webmock/webmock-3.19.1.ebuild
index 4b2b50113de4..53c3e4c07e19 100644
--- a/dev-ruby/webmock/webmock-3.19.1.ebuild
+++ b/dev-ruby/webmock/webmock-3.19.1.ebuild
@@ -18,7 +18,7 @@ 
SRC_URI="https://github.com/bblimke/webmock/archive/refs/tags/v${PV}.tar.gz -> $
 
 LICENSE="GPL-2"
 SLOT="3"
-KEYWORDS="~amd64 ~arm64"
+KEYWORDS="~amd64 ~arm64 ~sparc"
 IUSE=""
 
 ruby_add_rdepend "



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2023-09-10 Thread Sam James
commit: 6c627ccdb844c1e308b4bdc20f579c5af2fd63f1
Author: Sam James  gentoo  org>
AuthorDate: Sun Sep 10 12:25:17 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Sep 10 12:25:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c627ccd

dev-ruby/webmock: Keyword 3.19.1 arm, #913913

Signed-off-by: Sam James  gentoo.org>

 dev-ruby/webmock/webmock-3.19.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/webmock/webmock-3.19.1.ebuild 
b/dev-ruby/webmock/webmock-3.19.1.ebuild
index 53c3e4c07e19..77d877bae033 100644
--- a/dev-ruby/webmock/webmock-3.19.1.ebuild
+++ b/dev-ruby/webmock/webmock-3.19.1.ebuild
@@ -18,7 +18,7 @@ 
SRC_URI="https://github.com/bblimke/webmock/archive/refs/tags/v${PV}.tar.gz -> $
 
 LICENSE="GPL-2"
 SLOT="3"
-KEYWORDS="~amd64 ~arm64 ~sparc"
+KEYWORDS="~amd64 ~arm ~arm64 ~sparc"
 IUSE=""
 
 ruby_add_rdepend "



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2023-09-10 Thread Sam James
commit: 99b8093a550be9233999731f80e613577e969ae7
Author: Sam James  gentoo  org>
AuthorDate: Sun Sep 10 12:25:14 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Sep 10 12:25:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99b8093a

dev-ruby/webmock: Keyword 3.19.1 arm64, #913913

Signed-off-by: Sam James  gentoo.org>

 dev-ruby/webmock/webmock-3.19.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/webmock/webmock-3.19.1.ebuild 
b/dev-ruby/webmock/webmock-3.19.1.ebuild
index a5a814f45f2e..4b2b50113de4 100644
--- a/dev-ruby/webmock/webmock-3.19.1.ebuild
+++ b/dev-ruby/webmock/webmock-3.19.1.ebuild
@@ -18,7 +18,7 @@ 
SRC_URI="https://github.com/bblimke/webmock/archive/refs/tags/v${PV}.tar.gz -> $
 
 LICENSE="GPL-2"
 SLOT="3"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~arm64"
 IUSE=""
 
 ruby_add_rdepend "



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2023-09-09 Thread Hans de Graaff
commit: c7b86f995da00788db318afe187767b21302ced4
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Sep 10 05:56:58 2023 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Sep 10 05:57:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7b86f99

dev-ruby/webmock: add 3.19.1

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/webmock/Manifest  |  1 +
 dev-ruby/webmock/webmock-3.19.1.ebuild | 67 ++
 2 files changed, 68 insertions(+)

diff --git a/dev-ruby/webmock/Manifest b/dev-ruby/webmock/Manifest
index b53da88ebad4..81532dbf5199 100644
--- a/dev-ruby/webmock/Manifest
+++ b/dev-ruby/webmock/Manifest
@@ -1 +1,2 @@
 DIST webmock-3.18.1.gem 128000 BLAKE2B 
792622ef256e5b106e480f40fbec06bfb970b41d5745dc50be125143b925f5ba1fb7c28173d39268550076d6bd5803a0150740ecdcc31537415af3fb1da9e7d6
 SHA512 
109f1ced28c4c273f75378e193b772314854fdb5ceea2ef1926d8b790169d07cdb30fdbe1c12e3461a9307f3fea073aa90cfe7421379bf36fa0d550d4bb93c5a
+DIST webmock-3.19.1.tar.gz 127208 BLAKE2B 
0753201f8584159a01d73aecc0670bafaaad059c9b08befa51d482916cfeec50d272f6772de11b76f9b209b960021c2d92042094aa853fb4f7e082340c0807f8
 SHA512 
40fb5587221693662e8c970aab52b4e73114c45f26850f05799b8cc0ae5f18a2b2941ab4c5d595dbd40501b93d421c9cb3158e911a8c9b31b97966cfcebe4b14

diff --git a/dev-ruby/webmock/webmock-3.19.1.ebuild 
b/dev-ruby/webmock/webmock-3.19.1.ebuild
new file mode 100644
index ..a5a814f45f2e
--- /dev/null
+++ b/dev-ruby/webmock/webmock-3.19.1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32"
+
+RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+RUBY_FAKEGEM_GEMSPEC="webmock.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP 
requests"
+HOMEPAGE="https://github.com/bblimke/webmock";
+SRC_URI="https://github.com/bblimke/webmock/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="3"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend "
+   >=dev-ruby/addressable-2.8.0
+   >=dev-ruby/crack-0.3.2
+   >=dev-ruby/hashdiff-0.4.0:0
+"
+
+ruby_add_bdepend "test? (
+   dev-ruby/minitest:5
+   dev-ruby/rspec:3
+   dev-ruby/rspec-retry
+   >=dev-ruby/test-unit-3.0.0
+   dev-ruby/rack
+   dev-ruby/webrick
+)"
+
+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 '1igem "test-unit"' test/test_helper.rb || die
+
+   # There is now optional support for curb and typhoeus which we don't
+   # have in Gentoo yet. em_http_request is available in Gentoo but its
+   # version is too old. patron's latest version is not compatible.
+   # httpclient is no longer maintained and has various test failures.
+   sed -i -e '/\(curb\|typhoeus\|em-http\|patron\|httpclient\)/ s:^:#:' 
spec/spec_helper.rb || die
+   rm -f 
spec/acceptance/{typhoeus,curb,excon,em_http_request,patron,async_http_client,httpclient}/*
 || die
+
+   # Drop tests for dev-ruby/http for now since this package only works 
with ruby26
+   sed -i -e '/http_rb/ s:^:#:' spec/spec_helper.rb || die
+   rm -f spec/acceptance/http_rb/* || die
+
+   # Avoid specs that require network access
+   sed -i -e '/when request is not stubbed/,/^  end/ s:^:#:' 
spec/acceptance/shared/callbacks.rb
+}
+
+each_ruby_test() {
+   ${RUBY} -S rake test NO_CONNECTION=true || die
+   ${RUBY} -S rspec-3 spec || die
+
+   einfo "Delay to allow the test server to stop"
+   sleep 10
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2023-08-12 Thread Hans de Graaff
commit: 2133a7c9ab29a992059b9e9d25dba460c44c7341
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sat Aug 12 11:52:41 2023 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Aug 13 05:22:42 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2133a7c9

dev-ruby/webmock: add missing test dependency

Closes: https://bugs.gentoo.org/912064
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/webmock/webmock-3.18.1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-ruby/webmock/webmock-3.18.1.ebuild 
b/dev-ruby/webmock/webmock-3.18.1.ebuild
index 5443a860dfa3..77159821c0b0 100644
--- a/dev-ruby/webmock/webmock-3.18.1.ebuild
+++ b/dev-ruby/webmock/webmock-3.18.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-USE_RUBY="ruby27 ruby30 ruby31 ruby32"
+USE_RUBY="ruby30 ruby31 ruby32"
 
 RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
 
@@ -30,6 +30,7 @@ ruby_add_bdepend "test? (
dev-ruby/rspec:3
>=dev-ruby/test-unit-3.0.0
dev-ruby/rack
+   dev-ruby/webrick
 )"
 
 all_ruby_prepare() {



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2023-03-28 Thread Sam James
commit: a3396181a4fceb969b8b1e56788dfca58e648674
Author: Sam James  gentoo  org>
AuthorDate: Tue Mar 28 19:24:03 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar 28 19:24:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3396181

dev-ruby/webmock: Stabilize 3.18.1 arm, #903399

Signed-off-by: Sam James  gentoo.org>

 dev-ruby/webmock/webmock-3.18.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/webmock/webmock-3.18.1.ebuild 
b/dev-ruby/webmock/webmock-3.18.1.ebuild
index 9a355c9f3b4c..66ca71ffe25d 100644
--- a/dev-ruby/webmock/webmock-3.18.1.ebuild
+++ b/dev-ruby/webmock/webmock-3.18.1.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="https://github.com/bblimke/webmock";
 
 LICENSE="GPL-2"
 SLOT="3"
-KEYWORDS="amd64 ~arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
+KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
 IUSE=""
 
 ruby_add_rdepend "



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2023-03-28 Thread Sam James
commit: e03693c10970bbb1db6f15cdb3bcb4de7b26dc67
Author: Sam James  gentoo  org>
AuthorDate: Tue Mar 28 19:24:02 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar 28 19:24:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e03693c1

dev-ruby/webmock: Stabilize 3.18.1 x86, #903399

Signed-off-by: Sam James  gentoo.org>

 dev-ruby/webmock/webmock-3.18.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/webmock/webmock-3.18.1.ebuild 
b/dev-ruby/webmock/webmock-3.18.1.ebuild
index e9cc883982c2..9a355c9f3b4c 100644
--- a/dev-ruby/webmock/webmock-3.18.1.ebuild
+++ b/dev-ruby/webmock/webmock-3.18.1.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="https://github.com/bblimke/webmock";
 
 LICENSE="GPL-2"
 SLOT="3"
-KEYWORDS="amd64 ~arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
 IUSE=""
 
 ruby_add_rdepend "



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2023-03-28 Thread Sam James
commit: 029911477f8b06bc1ae1bd1943298da0abf28e26
Author: Sam James  gentoo  org>
AuthorDate: Tue Mar 28 19:24:01 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar 28 19:24:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02991147

dev-ruby/webmock: Stabilize 3.18.1 amd64, #903399

Signed-off-by: Sam James  gentoo.org>

 dev-ruby/webmock/webmock-3.18.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/webmock/webmock-3.18.1.ebuild 
b/dev-ruby/webmock/webmock-3.18.1.ebuild
index 6c4ce6f516ff..e9cc883982c2 100644
--- a/dev-ruby/webmock/webmock-3.18.1.ebuild
+++ b/dev-ruby/webmock/webmock-3.18.1.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="https://github.com/bblimke/webmock";
 
 LICENSE="GPL-2"
 SLOT="3"
-KEYWORDS="~amd64 ~arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
 IUSE=""
 
 ruby_add_rdepend "



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2023-03-28 Thread Sam James
commit: 9b45decb7803595edc11e8255a18e7e2805437b6
Author: Sam James  gentoo  org>
AuthorDate: Tue Mar 28 19:14:56 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar 28 19:15:22 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b45decb

dev-ruby/webmock: Stabilize 3.18.1 ppc64, #903399

Signed-off-by: Sam James  gentoo.org>

 dev-ruby/webmock/webmock-3.18.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/webmock/webmock-3.18.1.ebuild 
b/dev-ruby/webmock/webmock-3.18.1.ebuild
index d93b1df1ba35..6c4ce6f516ff 100644
--- a/dev-ruby/webmock/webmock-3.18.1.ebuild
+++ b/dev-ruby/webmock/webmock-3.18.1.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="https://github.com/bblimke/webmock";
 
 LICENSE="GPL-2"
 SLOT="3"
-KEYWORDS="~amd64 ~arm arm64 ~hppa ~loong ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
+KEYWORDS="~amd64 ~arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
 IUSE=""
 
 ruby_add_rdepend "



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2023-03-28 Thread Arthur Zamarin
commit: cb40e4c209c005a91a12e8db6b89724bc36597a9
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Mar 28 19:05:36 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Mar 28 19:05:36 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb40e4c2

dev-ruby/webmock: Stabilize 3.18.1 ppc, #903399

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-ruby/webmock/webmock-3.18.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/webmock/webmock-3.18.1.ebuild 
b/dev-ruby/webmock/webmock-3.18.1.ebuild
index 397d1c908ce0..d93b1df1ba35 100644
--- a/dev-ruby/webmock/webmock-3.18.1.ebuild
+++ b/dev-ruby/webmock/webmock-3.18.1.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="https://github.com/bblimke/webmock";
 
 LICENSE="GPL-2"
 SLOT="3"
-KEYWORDS="~amd64 ~arm arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
+KEYWORDS="~amd64 ~arm arm64 ~hppa ~loong ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
 IUSE=""
 
 ruby_add_rdepend "



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2023-03-28 Thread Sam James
commit: c7a04c29839dcd52d3776e3fe5c14c0fd08fadbe
Author: Sam James  gentoo  org>
AuthorDate: Tue Mar 28 19:04:26 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar 28 19:04:26 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7a04c29

dev-ruby/webmock: Stabilize 3.18.1 arm64, #903399

Signed-off-by: Sam James  gentoo.org>

 dev-ruby/webmock/webmock-3.18.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/webmock/webmock-3.18.1.ebuild 
b/dev-ruby/webmock/webmock-3.18.1.ebuild
index 9ea2b1c6e9bf..397d1c908ce0 100644
--- a/dev-ruby/webmock/webmock-3.18.1.ebuild
+++ b/dev-ruby/webmock/webmock-3.18.1.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="https://github.com/bblimke/webmock";
 
 LICENSE="GPL-2"
 SLOT="3"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
+KEYWORDS="~amd64 ~arm arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
 IUSE=""
 
 ruby_add_rdepend "



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2023-03-17 Thread Sam James
commit: da12034aa913549c7965c2e04e225582af9480b5
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar 15 07:31:56 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Mar 18 00:02:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da12034a

dev-ruby/webmock: enable ruby32

```
Finished in 1.03 seconds (files took 0.38547 seconds to load)
777 examples, 0 failures
```

Signed-off-by: Sam James  gentoo.org>

 dev-ruby/webmock/webmock-3.18.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/webmock/webmock-3.18.1.ebuild 
b/dev-ruby/webmock/webmock-3.18.1.ebuild
index ff18bc5ed6e0..9ea2b1c6e9bf 100644
--- a/dev-ruby/webmock/webmock-3.18.1.ebuild
+++ b/dev-ruby/webmock/webmock-3.18.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-USE_RUBY="ruby27 ruby30 ruby31"
+USE_RUBY="ruby27 ruby30 ruby31 ruby32"
 
 RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
 



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2022-08-20 Thread Hans de Graaff
commit: 33852dbda1d8b9af48ea02ba8736379a5fcbc6f9
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sat Aug 20 06:50:35 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sat Aug 20 06:50:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33852dbd

dev-ruby/webmock: add 3.18.1

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/webmock/Manifest  |  1 +
 dev-ruby/webmock/webmock-3.18.1.ebuild | 63 ++
 2 files changed, 64 insertions(+)

diff --git a/dev-ruby/webmock/Manifest b/dev-ruby/webmock/Manifest
index f6db3618e62a..06b4a78d5e8c 100644
--- a/dev-ruby/webmock/Manifest
+++ b/dev-ruby/webmock/Manifest
@@ -1,3 +1,4 @@
 DIST webmock-3.14.0.gem 126976 BLAKE2B 
20dd463c8b784869d4379aeabf892a6b4602091a4cc01a4002161d88f24781bb2bae1e50bd0ce8077c40aab73a2243835d99551bd04d808ffdf019df071c2b01
 SHA512 
0c9ea5b29446de7619c45d0fb72ab305bf68150c9d657ddc223d0d258a400dc730e3fe401b46c994a5c8eb450db5ee8f7021fe8d2d6c85bc4723c657799c5ccc
 DIST webmock-3.15.0.gem 128000 BLAKE2B 
10587fd127fe61076d34a36f71e6e61f43d6019a01d1906e1fa501697791deeb89a8a2cdc5fa92dee1b001cdd22055db913ae20414342faf0ae11cc301bf0e6e
 SHA512 
9f2e6404b617cc1aa67dcaef941046f82e4602eaeef77084714a451be513fdbd6e6c54c090842c5519009d2ca0533b30ad17d225d3738cde526d037d3fe3335b
 DIST webmock-3.17.1.gem 128512 BLAKE2B 
176eefbf9523ac7c22e66d6aebc669d91c5545bd5889cd69f5543eac22d06a92e53ec9544f21bc883776ef712d410b0602db81a1e21929d0e02ce826f758aae9
 SHA512 
3814e8d6d65cea330618fde7ade54e83eee71466354fd295b2acfd8a1a637daad193073d21ec832edf6864fc3019c24501882aab4fba48dddeb9ff2d57cdc9f2
+DIST webmock-3.18.1.gem 128000 BLAKE2B 
792622ef256e5b106e480f40fbec06bfb970b41d5745dc50be125143b925f5ba1fb7c28173d39268550076d6bd5803a0150740ecdcc31537415af3fb1da9e7d6
 SHA512 
109f1ced28c4c273f75378e193b772314854fdb5ceea2ef1926d8b790169d07cdb30fdbe1c12e3461a9307f3fea073aa90cfe7421379bf36fa0d550d4bb93c5a

diff --git a/dev-ruby/webmock/webmock-3.18.1.ebuild 
b/dev-ruby/webmock/webmock-3.18.1.ebuild
new file mode 100644
index ..ff18bc5ed6e0
--- /dev/null
+++ b/dev-ruby/webmock/webmock-3.18.1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby27 ruby30 ruby31"
+
+RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP 
requests"
+HOMEPAGE="https://github.com/bblimke/webmock";
+
+LICENSE="GPL-2"
+SLOT="3"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
+IUSE=""
+
+ruby_add_rdepend "
+   >=dev-ruby/addressable-2.8.0
+   >=dev-ruby/crack-0.3.2
+   >=dev-ruby/hashdiff-0.4.0:0
+"
+
+ruby_add_bdepend "test? (
+   dev-ruby/minitest:5
+   dev-ruby/rspec:3
+   >=dev-ruby/test-unit-3.0.0
+   dev-ruby/rack
+)"
+
+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 '1igem "test-unit"' test/test_helper.rb || die
+
+   # There is now optional support for curb and typhoeus which we don't
+   # have in Gentoo yet. em_http_request is available in Gentoo but its
+   # version is too old. patron's latest version is not compatible.
+   # httpclient is no longer maintained and has various test failures.
+   sed -i -e '/\(curb\|typhoeus\|em-http\|patron\|httpclient\)/ s:^:#:' 
spec/spec_helper.rb || die
+   rm -f 
spec/acceptance/{typhoeus,curb,excon,em_http_request,patron,async_http_client,httpclient}/*
 || die
+
+   # Drop tests for dev-ruby/http for now since this package only works 
with ruby26
+   sed -i -e '/http_rb/ s:^:#:' spec/spec_helper.rb || die
+   rm -f spec/acceptance/http_rb/* || die
+
+   # Avoid specs that require network access
+   sed -i -e '/when request is not stubbed/,/^  end/ s:^:#:' 
spec/acceptance/shared/callbacks.rb
+}
+
+each_ruby_test() {
+   ${RUBY} -S rake test NO_CONNECTION=true || die
+   ${RUBY} -S rspec-3 spec || die
+
+   einfo "Delay to allow the test server to stop"
+   sleep 10
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2022-08-10 Thread Hans de Graaff
commit: ab45b2fb31f6779959369a241f360eaa9d9b6a8f
Author: Hans de Graaff  gentoo  org>
AuthorDate: Wed Aug 10 07:02:54 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Thu Aug 11 04:09:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab45b2fb

dev-ruby/webmock: add 3.17.1

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/webmock/Manifest  |  1 +
 dev-ruby/webmock/webmock-3.17.1.ebuild | 63 ++
 2 files changed, 64 insertions(+)

diff --git a/dev-ruby/webmock/Manifest b/dev-ruby/webmock/Manifest
index bf745f871ca9..f6db3618e62a 100644
--- a/dev-ruby/webmock/Manifest
+++ b/dev-ruby/webmock/Manifest
@@ -1,2 +1,3 @@
 DIST webmock-3.14.0.gem 126976 BLAKE2B 
20dd463c8b784869d4379aeabf892a6b4602091a4cc01a4002161d88f24781bb2bae1e50bd0ce8077c40aab73a2243835d99551bd04d808ffdf019df071c2b01
 SHA512 
0c9ea5b29446de7619c45d0fb72ab305bf68150c9d657ddc223d0d258a400dc730e3fe401b46c994a5c8eb450db5ee8f7021fe8d2d6c85bc4723c657799c5ccc
 DIST webmock-3.15.0.gem 128000 BLAKE2B 
10587fd127fe61076d34a36f71e6e61f43d6019a01d1906e1fa501697791deeb89a8a2cdc5fa92dee1b001cdd22055db913ae20414342faf0ae11cc301bf0e6e
 SHA512 
9f2e6404b617cc1aa67dcaef941046f82e4602eaeef77084714a451be513fdbd6e6c54c090842c5519009d2ca0533b30ad17d225d3738cde526d037d3fe3335b
+DIST webmock-3.17.1.gem 128512 BLAKE2B 
176eefbf9523ac7c22e66d6aebc669d91c5545bd5889cd69f5543eac22d06a92e53ec9544f21bc883776ef712d410b0602db81a1e21929d0e02ce826f758aae9
 SHA512 
3814e8d6d65cea330618fde7ade54e83eee71466354fd295b2acfd8a1a637daad193073d21ec832edf6864fc3019c24501882aab4fba48dddeb9ff2d57cdc9f2

diff --git a/dev-ruby/webmock/webmock-3.17.1.ebuild 
b/dev-ruby/webmock/webmock-3.17.1.ebuild
new file mode 100644
index ..ff18bc5ed6e0
--- /dev/null
+++ b/dev-ruby/webmock/webmock-3.17.1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby27 ruby30 ruby31"
+
+RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP 
requests"
+HOMEPAGE="https://github.com/bblimke/webmock";
+
+LICENSE="GPL-2"
+SLOT="3"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
+IUSE=""
+
+ruby_add_rdepend "
+   >=dev-ruby/addressable-2.8.0
+   >=dev-ruby/crack-0.3.2
+   >=dev-ruby/hashdiff-0.4.0:0
+"
+
+ruby_add_bdepend "test? (
+   dev-ruby/minitest:5
+   dev-ruby/rspec:3
+   >=dev-ruby/test-unit-3.0.0
+   dev-ruby/rack
+)"
+
+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 '1igem "test-unit"' test/test_helper.rb || die
+
+   # There is now optional support for curb and typhoeus which we don't
+   # have in Gentoo yet. em_http_request is available in Gentoo but its
+   # version is too old. patron's latest version is not compatible.
+   # httpclient is no longer maintained and has various test failures.
+   sed -i -e '/\(curb\|typhoeus\|em-http\|patron\|httpclient\)/ s:^:#:' 
spec/spec_helper.rb || die
+   rm -f 
spec/acceptance/{typhoeus,curb,excon,em_http_request,patron,async_http_client,httpclient}/*
 || die
+
+   # Drop tests for dev-ruby/http for now since this package only works 
with ruby26
+   sed -i -e '/http_rb/ s:^:#:' spec/spec_helper.rb || die
+   rm -f spec/acceptance/http_rb/* || die
+
+   # Avoid specs that require network access
+   sed -i -e '/when request is not stubbed/,/^  end/ s:^:#:' 
spec/acceptance/shared/callbacks.rb
+}
+
+each_ruby_test() {
+   ${RUBY} -S rake test NO_CONNECTION=true || die
+   ${RUBY} -S rspec-3 spec || die
+
+   einfo "Delay to allow the test server to stop"
+   sleep 10
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2022-08-01 Thread Hans de Graaff
commit: e2859c3577723dc7e118539e59a7465b84cc984b
Author: Hans de Graaff  gentoo  org>
AuthorDate: Tue Aug  2 04:40:30 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Aug  2 04:41:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2859c35

dev-ruby/webmock: add 3.15.0

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/webmock/Manifest  |  1 +
 dev-ruby/webmock/webmock-3.15.0.ebuild | 63 ++
 2 files changed, 64 insertions(+)

diff --git a/dev-ruby/webmock/Manifest b/dev-ruby/webmock/Manifest
index 11009279069d..bf745f871ca9 100644
--- a/dev-ruby/webmock/Manifest
+++ b/dev-ruby/webmock/Manifest
@@ -1 +1,2 @@
 DIST webmock-3.14.0.gem 126976 BLAKE2B 
20dd463c8b784869d4379aeabf892a6b4602091a4cc01a4002161d88f24781bb2bae1e50bd0ce8077c40aab73a2243835d99551bd04d808ffdf019df071c2b01
 SHA512 
0c9ea5b29446de7619c45d0fb72ab305bf68150c9d657ddc223d0d258a400dc730e3fe401b46c994a5c8eb450db5ee8f7021fe8d2d6c85bc4723c657799c5ccc
+DIST webmock-3.15.0.gem 128000 BLAKE2B 
10587fd127fe61076d34a36f71e6e61f43d6019a01d1906e1fa501697791deeb89a8a2cdc5fa92dee1b001cdd22055db913ae20414342faf0ae11cc301bf0e6e
 SHA512 
9f2e6404b617cc1aa67dcaef941046f82e4602eaeef77084714a451be513fdbd6e6c54c090842c5519009d2ca0533b30ad17d225d3738cde526d037d3fe3335b

diff --git a/dev-ruby/webmock/webmock-3.15.0.ebuild 
b/dev-ruby/webmock/webmock-3.15.0.ebuild
new file mode 100644
index ..ff18bc5ed6e0
--- /dev/null
+++ b/dev-ruby/webmock/webmock-3.15.0.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby27 ruby30 ruby31"
+
+RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP 
requests"
+HOMEPAGE="https://github.com/bblimke/webmock";
+
+LICENSE="GPL-2"
+SLOT="3"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
+IUSE=""
+
+ruby_add_rdepend "
+   >=dev-ruby/addressable-2.8.0
+   >=dev-ruby/crack-0.3.2
+   >=dev-ruby/hashdiff-0.4.0:0
+"
+
+ruby_add_bdepend "test? (
+   dev-ruby/minitest:5
+   dev-ruby/rspec:3
+   >=dev-ruby/test-unit-3.0.0
+   dev-ruby/rack
+)"
+
+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 '1igem "test-unit"' test/test_helper.rb || die
+
+   # There is now optional support for curb and typhoeus which we don't
+   # have in Gentoo yet. em_http_request is available in Gentoo but its
+   # version is too old. patron's latest version is not compatible.
+   # httpclient is no longer maintained and has various test failures.
+   sed -i -e '/\(curb\|typhoeus\|em-http\|patron\|httpclient\)/ s:^:#:' 
spec/spec_helper.rb || die
+   rm -f 
spec/acceptance/{typhoeus,curb,excon,em_http_request,patron,async_http_client,httpclient}/*
 || die
+
+   # Drop tests for dev-ruby/http for now since this package only works 
with ruby26
+   sed -i -e '/http_rb/ s:^:#:' spec/spec_helper.rb || die
+   rm -f spec/acceptance/http_rb/* || die
+
+   # Avoid specs that require network access
+   sed -i -e '/when request is not stubbed/,/^  end/ s:^:#:' 
spec/acceptance/shared/callbacks.rb
+}
+
+each_ruby_test() {
+   ${RUBY} -S rake test NO_CONNECTION=true || die
+   ${RUBY} -S rspec-3 spec || die
+
+   einfo "Delay to allow the test server to stop"
+   sleep 10
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2022-07-28 Thread Hans de Graaff
commit: 4260f5385cec4ff15d0d1685c20ed4ec09a42efb
Author: Hans de Graaff  gentoo  org>
AuthorDate: Thu Jul 28 08:50:04 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Fri Jul 29 04:48:44 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4260f538

dev-ruby/webmock: enable ruby31

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/webmock/webmock-3.14.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/webmock/webmock-3.14.0-r1.ebuild 
b/dev-ruby/webmock/webmock-3.14.0-r1.ebuild
index d5b431fb5dd2..88ea1f1c3ef3 100644
--- a/dev-ruby/webmock/webmock-3.14.0-r1.ebuild
+++ b/dev-ruby/webmock/webmock-3.14.0-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-USE_RUBY="ruby27 ruby30"
+USE_RUBY="ruby27 ruby30 ruby31"
 
 RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
 



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2022-07-28 Thread Hans de Graaff
commit: 7790a24b65251491d8b782b0035b13ca49c75ad6
Author: Hans de Graaff  gentoo  org>
AuthorDate: Thu Jul 28 07:43:40 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Thu Jul 28 08:28:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7790a24b

dev-ruby/webmock: fix tests

Fix tests that now fail due to fixed for kwargs handling in ruby30.

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/webmock/webmock-3.14.0-r1.ebuild | 67 +++
 1 file changed, 67 insertions(+)

diff --git a/dev-ruby/webmock/webmock-3.14.0-r1.ebuild 
b/dev-ruby/webmock/webmock-3.14.0-r1.ebuild
new file mode 100644
index ..d5b431fb5dd2
--- /dev/null
+++ b/dev-ruby/webmock/webmock-3.14.0-r1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby27 ruby30"
+
+RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP 
requests"
+HOMEPAGE="https://github.com/bblimke/webmock";
+
+LICENSE="GPL-2"
+SLOT="3"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
+IUSE=""
+
+ruby_add_rdepend "
+   >=dev-ruby/addressable-2.8.0
+   >=dev-ruby/crack-0.3.2
+   >=dev-ruby/hashdiff-0.4.0:0
+"
+
+ruby_add_bdepend "test? (
+   dev-ruby/minitest:5
+   dev-ruby/rspec:3
+   >=dev-ruby/test-unit-3.0.0
+   dev-ruby/rack
+)"
+
+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 '1igem "test-unit"' test/test_helper.rb || die
+
+   # There is now optional support for curb and typhoeus which we don't
+   # have in Gentoo yet. em_http_request is available in Gentoo but its
+   # version is too old. patron's latest version is not compatible.
+   # httpclient is no longer maintained and has various test failures.
+   sed -i -e '/\(curb\|typhoeus\|em-http\|patron\|httpclient\)/ s:^:#:' 
spec/spec_helper.rb || die
+   rm -f 
spec/acceptance/{typhoeus,curb,excon,em_http_request,patron,async_http_client,httpclient}/*
 || die
+
+   # Drop tests for dev-ruby/http for now since this package only works 
with ruby26
+   sed -i -e '/http_rb/ s:^:#:' spec/spec_helper.rb || die
+   rm -f spec/acceptance/http_rb/* || die
+
+   # Avoid specs that require network access
+   sed -i -e '/when request is not stubbed/,/^  end/ s:^:#:' 
spec/acceptance/shared/callbacks.rb
+
+   # Fix specs with kwargs confusion on ruby30
+   sed -i -e "21 s/'A' => 'a'/{'A' => 'a'}/" 
spec/unit/request_signature_spec.rb || die
+   sed -i -e "34 s/'A' => 'a'/{'A' => 'a'}/" spec/unit/response_spec.rb || 
die
+}
+
+each_ruby_test() {
+   ${RUBY} -S rake test NO_CONNECTION=true || die
+   ${RUBY} -S rspec-3 spec || die
+
+   einfo "Delay to allow the test server to stop"
+   sleep 10
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2022-06-28 Thread Arthur Zamarin
commit: cbb7dc540f4bc8041f81fd3d5ecce168d6189175
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Jun 28 16:58:47 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Jun 28 16:58:47 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbb7dc54

dev-ruby/webmock: Stabilize 3.14.0 arm64, #836161

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-ruby/webmock/webmock-3.14.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/webmock/webmock-3.14.0.ebuild 
b/dev-ruby/webmock/webmock-3.14.0.ebuild
index 8b3c19ea49b0..5414fe1d25de 100644
--- a/dev-ruby/webmock/webmock-3.14.0.ebuild
+++ b/dev-ruby/webmock/webmock-3.14.0.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="https://github.com/bblimke/webmock";
 
 LICENSE="GPL-2"
 SLOT="3"
-KEYWORDS="amd64 arm ~arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
+KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
 IUSE=""
 
 ruby_add_rdepend "



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2022-06-28 Thread Arthur Zamarin
commit: b01cf0ff31a80961d9af84038a1b0b2563232cd4
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Jun 28 16:47:22 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Jun 28 16:47:22 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b01cf0ff

dev-ruby/webmock: Stabilize 3.14.0 arm, #836161

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-ruby/webmock/webmock-3.14.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/webmock/webmock-3.14.0.ebuild 
b/dev-ruby/webmock/webmock-3.14.0.ebuild
index 01c54fdd73ab..8b3c19ea49b0 100644
--- a/dev-ruby/webmock/webmock-3.14.0.ebuild
+++ b/dev-ruby/webmock/webmock-3.14.0.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="https://github.com/bblimke/webmock";
 
 LICENSE="GPL-2"
 SLOT="3"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
+KEYWORDS="amd64 arm ~arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
 IUSE=""
 
 ruby_add_rdepend "



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2022-05-22 Thread Hans de Graaff
commit: bc345797a61d2532e1f383f5c6a7de35fa6bde58
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun May 22 08:47:32 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Mon May 23 05:04:46 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc345797

dev-ruby/webmock: drop httpclient test dependency

dev-ruby/httpclient is no longer maintained and has various test
failures. Drop the tests for it in webmock to make removal easier.

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/webmock/webmock-3.14.0.ebuild | 12 +++-
 1 file changed, 3 insertions(+), 9 deletions(-)

diff --git a/dev-ruby/webmock/webmock-3.14.0.ebuild 
b/dev-ruby/webmock/webmock-3.14.0.ebuild
index 14e65474461e..01c54fdd73ab 100644
--- a/dev-ruby/webmock/webmock-3.14.0.ebuild
+++ b/dev-ruby/webmock/webmock-3.14.0.ebuild
@@ -30,7 +30,6 @@ ruby_add_bdepend "test? (
dev-ruby/rspec:3
>=dev-ruby/test-unit-3.0.0
dev-ruby/rack
-   >=dev-ruby/httpclient-2.8.0
 )"
 
 all_ruby_prepare() {
@@ -43,19 +42,14 @@ all_ruby_prepare() {
# There is now optional support for curb and typhoeus which we don't
# have in Gentoo yet. em_http_request is available in Gentoo but its
# version is too old. patron's latest version is not compatible.
-   sed -i -e '/\(curb\|typhoeus\|em-http\|patron\)/ s:^:#:' 
spec/spec_helper.rb || die
-   rm -f 
spec/acceptance/{typhoeus,curb,excon,em_http_request,patron,async_http_client}/*
 || die
+   # httpclient is no longer maintained and has various test failures.
+   sed -i -e '/\(curb\|typhoeus\|em-http\|patron\|httpclient\)/ s:^:#:' 
spec/spec_helper.rb || die
+   rm -f 
spec/acceptance/{typhoeus,curb,excon,em_http_request,patron,async_http_client,httpclient}/*
 || die
 
# Drop tests for dev-ruby/http for now since this package only works 
with ruby26
sed -i -e '/http_rb/ s:^:#:' spec/spec_helper.rb || die
rm -f spec/acceptance/http_rb/* || 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
-
# Avoid specs that require network access
sed -i -e '/when request is not stubbed/,/^  end/ s:^:#:' 
spec/acceptance/shared/callbacks.rb
 }



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2022-05-08 Thread WANG Xuerui
commit: f06e423d3d71cbfb4516b7bf1d7b208016587ac6
Author: WANG Xuerui  gentoo  org>
AuthorDate: Sun May  8 14:51:26 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Sun May  8 14:59:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f06e423d

dev-ruby/webmock: keyword 3.14.0 for ~loong

Tests passed on real hardware.

Signed-off-by: WANG Xuerui  gentoo.org>

 dev-ruby/webmock/webmock-3.14.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/webmock/webmock-3.14.0.ebuild 
b/dev-ruby/webmock/webmock-3.14.0.ebuild
index 8774917de52c..14e65474461e 100644
--- a/dev-ruby/webmock/webmock-3.14.0.ebuild
+++ b/dev-ruby/webmock/webmock-3.14.0.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="https://github.com/bblimke/webmock";
 
 LICENSE="GPL-2"
 SLOT="3"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 ~riscv ~s390 ~sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
 IUSE=""
 
 ruby_add_rdepend "



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2022-04-26 Thread Arthur Zamarin
commit: 768e2c67226f4eb84aa34fa2d78d7055e7fcdb4b
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Apr 27 04:33:52 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Apr 27 04:33:52 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=768e2c67

dev-ruby/webmock: Stabilize 3.14.0 ppc, #836161

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-ruby/webmock/webmock-3.14.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/webmock/webmock-3.14.0.ebuild 
b/dev-ruby/webmock/webmock-3.14.0.ebuild
index b31e31fe7d7e..8774917de52c 100644
--- a/dev-ruby/webmock/webmock-3.14.0.ebuild
+++ b/dev-ruby/webmock/webmock-3.14.0.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="https://github.com/bblimke/webmock";
 
 LICENSE="GPL-2"
 SLOT="3"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ppc64 ~riscv ~s390 ~sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 ~riscv ~s390 ~sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
 IUSE=""
 
 ruby_add_rdepend "



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2022-04-26 Thread Sam James
commit: fdebda68543cbf82c01bac3ee4fbce9e87cf
Author: Sam James  gentoo  org>
AuthorDate: Tue Apr 26 13:44:46 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Apr 26 13:44:46 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdebda68

dev-ruby/webmock: Keyword 3.14.0 s390, #840930

Signed-off-by: Sam James  gentoo.org>

 dev-ruby/webmock/webmock-3.14.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/webmock/webmock-3.14.0.ebuild 
b/dev-ruby/webmock/webmock-3.14.0.ebuild
index dfaa9b33e9e3..b31e31fe7d7e 100644
--- a/dev-ruby/webmock/webmock-3.14.0.ebuild
+++ b/dev-ruby/webmock/webmock-3.14.0.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="https://github.com/bblimke/webmock";
 
 LICENSE="GPL-2"
 SLOT="3"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ppc64 ~riscv ~sparc x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ppc64 ~riscv ~s390 ~sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
 IUSE=""
 
 ruby_add_rdepend "



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2022-03-31 Thread Arthur Zamarin
commit: 281972cb2e1e46ab3a46cc40337a487abced4336
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Apr  1 05:14:28 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Apr  1 05:14:28 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=281972cb

dev-ruby/webmock: Stabilize 3.14.0 ppc64, #836161

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-ruby/webmock/webmock-3.14.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/webmock/webmock-3.14.0.ebuild 
b/dev-ruby/webmock/webmock-3.14.0.ebuild
index 4d2540f5d07d..dfaa9b33e9e3 100644
--- a/dev-ruby/webmock/webmock-3.14.0.ebuild
+++ b/dev-ruby/webmock/webmock-3.14.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -16,7 +16,7 @@ HOMEPAGE="https://github.com/bblimke/webmock";
 
 LICENSE="GPL-2"
 SLOT="3"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ppc64 ~riscv ~sparc x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
 IUSE=""
 
 ruby_add_rdepend "



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2021-10-09 Thread Naohiro Aota
commit: 9f76c3e99115903d316756cd1867e63d3d746263
Author: Naohiro Aota  gentoo  org>
AuthorDate: Fri Oct  8 14:57:11 2021 +
Commit: Naohiro Aota  gentoo  org>
CommitDate: Sat Oct  9 15:23:26 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f76c3e9

dev-ruby/webmock: enable ruby30

Signed-off-by: Naohiro Aota  gentoo.org>

 dev-ruby/webmock/webmock-3.14.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/webmock/webmock-3.14.0.ebuild 
b/dev-ruby/webmock/webmock-3.14.0.ebuild
index 13090d6562f..4d2540f5d07 100644
--- a/dev-ruby/webmock/webmock-3.14.0.ebuild
+++ b/dev-ruby/webmock/webmock-3.14.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-USE_RUBY="ruby26 ruby27"
+USE_RUBY="ruby26 ruby27 ruby30"
 
 RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
 



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2021-10-02 Thread Hans de Graaff
commit: 931ce0de945d36c8b17651c6d2e2db6c4153ba9f
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Oct  3 06:21:28 2021 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Oct  3 06:30:41 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=931ce0de

dev-ruby/webmock: cleanup

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/webmock/Manifest  |  2 -
 dev-ruby/webmock/webmock-3.11.3.ebuild | 69 --
 dev-ruby/webmock/webmock-3.13.0.ebuild | 69 --
 3 files changed, 140 deletions(-)

diff --git a/dev-ruby/webmock/Manifest b/dev-ruby/webmock/Manifest
index 6b288f4a6b2..11009279069 100644
--- a/dev-ruby/webmock/Manifest
+++ b/dev-ruby/webmock/Manifest
@@ -1,3 +1 @@
-DIST webmock-3.11.3.gem 125952 BLAKE2B 
664253079457cdf400be869b9e61092b12872282057540e42e6fb73a5fbaa38666757f7f8bd336e4f5c45ea1ec52f9af4b444ba67ae24db62a75b5c18636ae08
 SHA512 
80fd2139126e1e9d6907dfe93021d77179ae6c31cc2a63eb3ee47c011c2a48f18bb84ac08322da8def014f2293564f5669eb41037edbe72ffccfefb7ea281739
-DIST webmock-3.13.0.gem 127488 BLAKE2B 
d92deda505469fc7fc5adbf0f7a90a462b03999c0affb79bf67523667af30f582b44b10f554c93a1c98e224edf1f8a5a700fc17c3624a962a68d8e61df84127f
 SHA512 
de7c3d8e079f409db53b316238ce37a80db8eeb257e00c8b3f162e5b4f98c4a383108e6cb21be8b71db34295fdb2354502e9b7457741a935572d9afcb75b30c3
 DIST webmock-3.14.0.gem 126976 BLAKE2B 
20dd463c8b784869d4379aeabf892a6b4602091a4cc01a4002161d88f24781bb2bae1e50bd0ce8077c40aab73a2243835d99551bd04d808ffdf019df071c2b01
 SHA512 
0c9ea5b29446de7619c45d0fb72ab305bf68150c9d657ddc223d0d258a400dc730e3fe401b46c994a5c8eb450db5ee8f7021fe8d2d6c85bc4723c657799c5ccc

diff --git a/dev-ruby/webmock/webmock-3.11.3.ebuild 
b/dev-ruby/webmock/webmock-3.11.3.ebuild
deleted file mode 100644
index 66f1095e9dc..000
--- a/dev-ruby/webmock/webmock-3.11.3.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-USE_RUBY="ruby25 ruby26 ruby27"
-
-RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
-
-RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
-
-inherit ruby-fakegem
-
-DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP 
requests"
-HOMEPAGE="https://github.com/bblimke/webmock";
-
-LICENSE="GPL-2"
-SLOT="3"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
-IUSE=""
-
-ruby_add_rdepend "
-   >=dev-ruby/addressable-2.3.6
-   >=dev-ruby/crack-0.3.2
-   >=dev-ruby/hashdiff-0.4.0:0
-"
-
-ruby_add_bdepend "test? (
-   dev-ruby/minitest:5
-   dev-ruby/rspec:3
-   >=dev-ruby/test-unit-3.0.0
-   dev-ruby/rack
-   >=dev-ruby/httpclient-2.8.0
-)"
-
-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 '1igem "test-unit"' test/test_helper.rb || die
-
-   # There is now optional support for curb and typhoeus which we don't
-   # have in Gentoo yet. em_http_request is available in Gentoo but its
-   # version is too old. patron's latest version is not compatible.
-   sed -i -e '/\(curb\|typhoeus\|em-http\|patron\)/ s:^:#:' 
spec/spec_helper.rb || die
-   rm -f 
spec/acceptance/{typhoeus,curb,excon,em_http_request,patron,async_http_client}/*
 || die
-
-   # Drop tests for dev-ruby/http for now since this package only works 
with ruby26
-   sed -i -e '/http_rb/ s:^:#:' spec/spec_helper.rb || die
-   rm -f spec/acceptance/http_rb/* || 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
-
-   # Avoid specs that require network access
-   sed -i -e '/when request is not stubbed/,/^  end/ s:^:#:' 
spec/acceptance/shared/callbacks.rb
-}
-
-each_ruby_test() {
-   ${RUBY} -S rake test NO_CONNECTION=true || die
-   ${RUBY} -S rspec-3 spec || die
-
-   einfo "Delay to allow the test server to stop"
-   sleep 10
-}

diff --git a/dev-ruby/webmock/webmock-3.13.0.ebuild 
b/dev-ruby/webmock/webmock-3.13.0.ebuild
deleted file mode 100644
index 37392b1c43d..000
--- a/dev-ruby/webmock/webmock-3.13.0.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-USE_RUBY="ruby25 ruby26 ruby27"
-
-RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
-
-RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
-
-inherit ruby-fak

[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2021-10-02 Thread Sam James
commit: f1f4c05b021fe027105447be8250928def19d55e
Author: Sam James  gentoo  org>
AuthorDate: Sat Oct  2 20:39:55 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Oct  2 20:39:55 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1f4c05b

dev-ruby/webmock: Stabilize 3.14.0 x86, #807082

Signed-off-by: Sam James  gentoo.org>

 dev-ruby/webmock/webmock-3.14.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/webmock/webmock-3.14.0.ebuild 
b/dev-ruby/webmock/webmock-3.14.0.ebuild
index 52f9393bb36..13090d6562f 100644
--- a/dev-ruby/webmock/webmock-3.14.0.ebuild
+++ b/dev-ruby/webmock/webmock-3.14.0.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="https://github.com/bblimke/webmock";
 
 LICENSE="GPL-2"
 SLOT="3"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
 IUSE=""
 
 ruby_add_rdepend "



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2021-10-02 Thread Sam James
commit: 754004931392e57ecc3e9491b74837a6148f
Author: Sam James  gentoo  org>
AuthorDate: Sat Oct  2 19:06:21 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Oct  2 19:06:21 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75400455

dev-ruby/webmock: Stabilize 3.14.0 amd64, #807082

Signed-off-by: Sam James  gentoo.org>

 dev-ruby/webmock/webmock-3.14.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/webmock/webmock-3.14.0.ebuild 
b/dev-ruby/webmock/webmock-3.14.0.ebuild
index 2753db5ef78..52f9393bb36 100644
--- a/dev-ruby/webmock/webmock-3.14.0.ebuild
+++ b/dev-ruby/webmock/webmock-3.14.0.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="https://github.com/bblimke/webmock";
 
 LICENSE="GPL-2"
 SLOT="3"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
 IUSE=""
 
 ruby_add_rdepend "



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2021-08-12 Thread Hans de Graaff
commit: 05506c8661b363e0360d7b228b9d56d0cb319e01
Author: Hans de Graaff  gentoo  org>
AuthorDate: Fri Aug 13 06:56:06 2021 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Fri Aug 13 06:56:32 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05506c86

dev-ruby/webmock: add 3.14.0

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/webmock/Manifest  |  1 +
 dev-ruby/webmock/webmock-3.14.0.ebuild | 69 ++
 2 files changed, 70 insertions(+)

diff --git a/dev-ruby/webmock/Manifest b/dev-ruby/webmock/Manifest
index e0f86cf0134..6b288f4a6b2 100644
--- a/dev-ruby/webmock/Manifest
+++ b/dev-ruby/webmock/Manifest
@@ -1,2 +1,3 @@
 DIST webmock-3.11.3.gem 125952 BLAKE2B 
664253079457cdf400be869b9e61092b12872282057540e42e6fb73a5fbaa38666757f7f8bd336e4f5c45ea1ec52f9af4b444ba67ae24db62a75b5c18636ae08
 SHA512 
80fd2139126e1e9d6907dfe93021d77179ae6c31cc2a63eb3ee47c011c2a48f18bb84ac08322da8def014f2293564f5669eb41037edbe72ffccfefb7ea281739
 DIST webmock-3.13.0.gem 127488 BLAKE2B 
d92deda505469fc7fc5adbf0f7a90a462b03999c0affb79bf67523667af30f582b44b10f554c93a1c98e224edf1f8a5a700fc17c3624a962a68d8e61df84127f
 SHA512 
de7c3d8e079f409db53b316238ce37a80db8eeb257e00c8b3f162e5b4f98c4a383108e6cb21be8b71db34295fdb2354502e9b7457741a935572d9afcb75b30c3
+DIST webmock-3.14.0.gem 126976 BLAKE2B 
20dd463c8b784869d4379aeabf892a6b4602091a4cc01a4002161d88f24781bb2bae1e50bd0ce8077c40aab73a2243835d99551bd04d808ffdf019df071c2b01
 SHA512 
0c9ea5b29446de7619c45d0fb72ab305bf68150c9d657ddc223d0d258a400dc730e3fe401b46c994a5c8eb450db5ee8f7021fe8d2d6c85bc4723c657799c5ccc

diff --git a/dev-ruby/webmock/webmock-3.14.0.ebuild 
b/dev-ruby/webmock/webmock-3.14.0.ebuild
new file mode 100644
index 000..2753db5ef78
--- /dev/null
+++ b/dev-ruby/webmock/webmock-3.14.0.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby26 ruby27"
+
+RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP 
requests"
+HOMEPAGE="https://github.com/bblimke/webmock";
+
+LICENSE="GPL-2"
+SLOT="3"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
+IUSE=""
+
+ruby_add_rdepend "
+   >=dev-ruby/addressable-2.8.0
+   >=dev-ruby/crack-0.3.2
+   >=dev-ruby/hashdiff-0.4.0:0
+"
+
+ruby_add_bdepend "test? (
+   dev-ruby/minitest:5
+   dev-ruby/rspec:3
+   >=dev-ruby/test-unit-3.0.0
+   dev-ruby/rack
+   >=dev-ruby/httpclient-2.8.0
+)"
+
+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 '1igem "test-unit"' test/test_helper.rb || die
+
+   # There is now optional support for curb and typhoeus which we don't
+   # have in Gentoo yet. em_http_request is available in Gentoo but its
+   # version is too old. patron's latest version is not compatible.
+   sed -i -e '/\(curb\|typhoeus\|em-http\|patron\)/ s:^:#:' 
spec/spec_helper.rb || die
+   rm -f 
spec/acceptance/{typhoeus,curb,excon,em_http_request,patron,async_http_client}/*
 || die
+
+   # Drop tests for dev-ruby/http for now since this package only works 
with ruby26
+   sed -i -e '/http_rb/ s:^:#:' spec/spec_helper.rb || die
+   rm -f spec/acceptance/http_rb/* || 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
+
+   # Avoid specs that require network access
+   sed -i -e '/when request is not stubbed/,/^  end/ s:^:#:' 
spec/acceptance/shared/callbacks.rb
+}
+
+each_ruby_test() {
+   ${RUBY} -S rake test NO_CONNECTION=true || die
+   ${RUBY} -S rspec-3 spec || die
+
+   einfo "Delay to allow the test server to stop"
+   sleep 10
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/, profiles/arch/riscv/

2021-08-11 Thread Marek Szuba
commit: 8c86f24f28fa0bc6498638939b71429400e8388a
Author: Marek Szuba  gentoo  org>
AuthorDate: Wed Aug 11 15:16:34 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Wed Aug 11 15:20:13 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c86f24f

dev-ruby/webmock: keyword 3.13.0 for ~riscv

Signed-off-by: Marek Szuba  gentoo.org>

 dev-ruby/webmock/webmock-3.13.0.ebuild | 2 +-
 profiles/arch/riscv/package.use.mask   | 6 ++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/dev-ruby/webmock/webmock-3.13.0.ebuild 
b/dev-ruby/webmock/webmock-3.13.0.ebuild
index 0b2512f21df..37392b1c43d 100644
--- a/dev-ruby/webmock/webmock-3.13.0.ebuild
+++ b/dev-ruby/webmock/webmock-3.13.0.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="https://github.com/bblimke/webmock";
 
 LICENSE="GPL-2"
 SLOT="3"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
 IUSE=""
 
 ruby_add_rdepend "

diff --git a/profiles/arch/riscv/package.use.mask 
b/profiles/arch/riscv/package.use.mask
index 7dddb627be1..6f446e9398d 100644
--- a/profiles/arch/riscv/package.use.mask
+++ b/profiles/arch/riscv/package.use.mask
@@ -6,6 +6,12 @@
 # some exhibiting problems in tests.
 app-text/htmltidy test
 
+# Marek Szuba  (2021-08-11)
+# dev-ruby/httpclient not keyworded here due to failing tests
+# (Bug #807727). That said, with httpclient-2.8.3 installed manually
+# (and without testing) all webmock-3.13.0 tests passed.
+dev-ruby/webmock test
+
 # Alex Fan  (2021-08-09)
 # ipython[qt5] depends on qtconsole, which depends on QtPy.
 # QtPy cannot be tested atm because QtPy[test] has a hard



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2021-07-17 Thread Hans de Graaff
commit: f44be385872319937cdd779383ec26993ec3786d
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sat Jul 17 07:06:48 2021 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Jul 18 04:48:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f44be385

dev-ruby/webmock: cleanup

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/webmock/Manifest |  1 -
 dev-ruby/webmock/webmock-3.8.3.ebuild | 61 ---
 2 files changed, 62 deletions(-)

diff --git a/dev-ruby/webmock/Manifest b/dev-ruby/webmock/Manifest
index ff10cef4036..e0f86cf0134 100644
--- a/dev-ruby/webmock/Manifest
+++ b/dev-ruby/webmock/Manifest
@@ -1,3 +1,2 @@
 DIST webmock-3.11.3.gem 125952 BLAKE2B 
664253079457cdf400be869b9e61092b12872282057540e42e6fb73a5fbaa38666757f7f8bd336e4f5c45ea1ec52f9af4b444ba67ae24db62a75b5c18636ae08
 SHA512 
80fd2139126e1e9d6907dfe93021d77179ae6c31cc2a63eb3ee47c011c2a48f18bb84ac08322da8def014f2293564f5669eb41037edbe72ffccfefb7ea281739
 DIST webmock-3.13.0.gem 127488 BLAKE2B 
d92deda505469fc7fc5adbf0f7a90a462b03999c0affb79bf67523667af30f582b44b10f554c93a1c98e224edf1f8a5a700fc17c3624a962a68d8e61df84127f
 SHA512 
de7c3d8e079f409db53b316238ce37a80db8eeb257e00c8b3f162e5b4f98c4a383108e6cb21be8b71db34295fdb2354502e9b7457741a935572d9afcb75b30c3
-DIST webmock-3.8.3.gem 122880 BLAKE2B 
66371028294f3b15172d718e0fa9402ad6ed1bf7beedb0c62621ad31758d25e401af9cd982a6f29cd1161a7e4d7954f6f9df22ab2e0c44c970a0edca3c0f1304
 SHA512 
6c845c4ed0c82ba4bb1f32d0d87a87eb945c54e159317aa14e2238b497d38282b7e81542e78c0d68d4b8d4a08e46137de84503829b7381e6d945e45474ebb507

diff --git a/dev-ruby/webmock/webmock-3.8.3.ebuild 
b/dev-ruby/webmock/webmock-3.8.3.ebuild
deleted file mode 100644
index 282df894927..000
--- a/dev-ruby/webmock/webmock-3.8.3.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-USE_RUBY="ruby24 ruby25 ruby26"
-
-RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
-
-RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
-
-inherit ruby-fakegem
-
-DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP 
requests"
-HOMEPAGE="https://github.com/bblimke/webmock";
-
-LICENSE="GPL-2"
-SLOT="3"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
-IUSE=""
-
-ruby_add_rdepend ">=dev-ruby/addressable-2.3.6 >=dev-ruby/crack-0.3.2 
>=dev-ruby/hashdiff-0.4.0:0"
-
-ruby_add_bdepend "test? (
-   dev-ruby/minitest:5
-   dev-ruby/rspec:3
-   >=dev-ruby/test-unit-3.0.0
-   dev-ruby/rack
-   >=dev-ruby/httpclient-2.8.0
-   || ( dev-ruby/http:4 dev-ruby/http:3 ) )"
-
-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 '1igem "test-unit"' test/test_helper.rb || die
-
-   # There is now optional support for curb and typhoeus which we don't
-   # have in Gentoo yet. em_http_request is available in Gentoo but its
-   # version is too old. patron's latest version is not compatible.
-   sed -i -e '/\(curb\|typhoeus\|em-http\|patron\)/d' spec/spec_helper.rb 
|| die
-   rm 
spec/acceptance/{typhoeus,curb,excon,em_http_request,patron,async_http_client}/*
 || 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
-
-   # Avoid specs that require network access
-   sed -i -e '/when request is not stubbed/,/^  end/ s:^:#:' 
spec/acceptance/shared/callbacks.rb
-}
-
-each_ruby_test() {
-   ${RUBY} -S rake test NO_CONNECTION=true || die
-   ${RUBY} -S rspec-3 spec || die
-
-   einfo "Delay to allow the test server to stop"
-   sleep 10
-}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2021-07-06 Thread Hans de Graaff
commit: 5a2d9db092d60d3601628cee5a736cc2f15031a4
Author: Hans de Graaff  gentoo  org>
AuthorDate: Tue Jul  6 08:59:31 2021 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Jul  6 10:26:06 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a2d9db0

dev-ruby/webmock: cleanup

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/webmock/Manifest |  1 -
 dev-ruby/webmock/webmock-3.7.6.ebuild | 61 ---
 2 files changed, 62 deletions(-)

diff --git a/dev-ruby/webmock/Manifest b/dev-ruby/webmock/Manifest
index 4de43d064cf..ff10cef4036 100644
--- a/dev-ruby/webmock/Manifest
+++ b/dev-ruby/webmock/Manifest
@@ -1,4 +1,3 @@
 DIST webmock-3.11.3.gem 125952 BLAKE2B 
664253079457cdf400be869b9e61092b12872282057540e42e6fb73a5fbaa38666757f7f8bd336e4f5c45ea1ec52f9af4b444ba67ae24db62a75b5c18636ae08
 SHA512 
80fd2139126e1e9d6907dfe93021d77179ae6c31cc2a63eb3ee47c011c2a48f18bb84ac08322da8def014f2293564f5669eb41037edbe72ffccfefb7ea281739
 DIST webmock-3.13.0.gem 127488 BLAKE2B 
d92deda505469fc7fc5adbf0f7a90a462b03999c0affb79bf67523667af30f582b44b10f554c93a1c98e224edf1f8a5a700fc17c3624a962a68d8e61df84127f
 SHA512 
de7c3d8e079f409db53b316238ce37a80db8eeb257e00c8b3f162e5b4f98c4a383108e6cb21be8b71db34295fdb2354502e9b7457741a935572d9afcb75b30c3
-DIST webmock-3.7.6.gem 122368 BLAKE2B 
9bc40971f1eec96d88217544acc67b7abfe6c0815a0696119e12fc5629b4f51e1164ecc982525d2c02fa50c7b1b09548c4831c1d597f06acde04a83227ba0dc9
 SHA512 
85455495476b22d94b23e34a92db3f0f8cf1aa5bb52ea6a8eb71f5f0bcbdad1edc13dff778c62806ec27850320e9f4e17f12525bbac552e5e105ee1ecd771efd
 DIST webmock-3.8.3.gem 122880 BLAKE2B 
66371028294f3b15172d718e0fa9402ad6ed1bf7beedb0c62621ad31758d25e401af9cd982a6f29cd1161a7e4d7954f6f9df22ab2e0c44c970a0edca3c0f1304
 SHA512 
6c845c4ed0c82ba4bb1f32d0d87a87eb945c54e159317aa14e2238b497d38282b7e81542e78c0d68d4b8d4a08e46137de84503829b7381e6d945e45474ebb507

diff --git a/dev-ruby/webmock/webmock-3.7.6.ebuild 
b/dev-ruby/webmock/webmock-3.7.6.ebuild
deleted file mode 100644
index 9b5de91f5c6..000
--- a/dev-ruby/webmock/webmock-3.7.6.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-USE_RUBY="ruby24 ruby25 ruby26"
-
-RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
-
-RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
-
-inherit ruby-fakegem
-
-DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP 
requests"
-HOMEPAGE="https://github.com/bblimke/webmock";
-
-LICENSE="GPL-2"
-SLOT="3"
-KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
-IUSE=""
-
-ruby_add_rdepend ">=dev-ruby/addressable-2.3.6 >=dev-ruby/crack-0.3.2 
>=dev-ruby/hashdiff-0.4.0:0"
-
-ruby_add_bdepend "test? (
-   dev-ruby/minitest:5
-   dev-ruby/rspec:3
-   >=dev-ruby/test-unit-3.0.0
-   dev-ruby/rack
-   >=dev-ruby/httpclient-2.8.0
-   || ( dev-ruby/http:4 dev-ruby/http:3 ) )"
-
-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 '1igem "test-unit"' test/test_helper.rb || die
-
-   # There is now optional support for curb and typhoeus which we don't
-   # have in Gentoo yet. em_http_request is available in Gentoo but its
-   # version is too old. patron's latest version is not compatible.
-   sed -i -e '/\(curb\|typhoeus\|em-http\|patron\)/d' spec/spec_helper.rb 
|| die
-   rm 
spec/acceptance/{typhoeus,curb,excon,em_http_request,patron,async_http_client}/*
 || 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
-
-   # Avoid specs that require network access
-   sed -i -e '/when request is not stubbed/,/^  end/ s:^:#:' 
spec/acceptance/shared/callbacks.rb
-}
-
-each_ruby_test() {
-   ${RUBY} -S rake test NO_CONNECTION=true || die
-   ${RUBY} -S rspec-3 spec || die
-
-   einfo "Delay to allow the test server to stop"
-   sleep 10
-}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2021-06-21 Thread Hans de Graaff
commit: 05baa99d7062c791b34c266c53a650bc36fc8d37
Author: Hans de Graaff  gentoo  org>
AuthorDate: Tue Jun 22 05:19:34 2021 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Jun 22 05:21:06 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05baa99d

dev-ruby/webmock: add 3.13.0

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/webmock/Manifest  |  1 +
 dev-ruby/webmock/webmock-3.13.0.ebuild | 69 ++
 2 files changed, 70 insertions(+)

diff --git a/dev-ruby/webmock/Manifest b/dev-ruby/webmock/Manifest
index a9c2250ae69..4de43d064cf 100644
--- a/dev-ruby/webmock/Manifest
+++ b/dev-ruby/webmock/Manifest
@@ -1,3 +1,4 @@
 DIST webmock-3.11.3.gem 125952 BLAKE2B 
664253079457cdf400be869b9e61092b12872282057540e42e6fb73a5fbaa38666757f7f8bd336e4f5c45ea1ec52f9af4b444ba67ae24db62a75b5c18636ae08
 SHA512 
80fd2139126e1e9d6907dfe93021d77179ae6c31cc2a63eb3ee47c011c2a48f18bb84ac08322da8def014f2293564f5669eb41037edbe72ffccfefb7ea281739
+DIST webmock-3.13.0.gem 127488 BLAKE2B 
d92deda505469fc7fc5adbf0f7a90a462b03999c0affb79bf67523667af30f582b44b10f554c93a1c98e224edf1f8a5a700fc17c3624a962a68d8e61df84127f
 SHA512 
de7c3d8e079f409db53b316238ce37a80db8eeb257e00c8b3f162e5b4f98c4a383108e6cb21be8b71db34295fdb2354502e9b7457741a935572d9afcb75b30c3
 DIST webmock-3.7.6.gem 122368 BLAKE2B 
9bc40971f1eec96d88217544acc67b7abfe6c0815a0696119e12fc5629b4f51e1164ecc982525d2c02fa50c7b1b09548c4831c1d597f06acde04a83227ba0dc9
 SHA512 
85455495476b22d94b23e34a92db3f0f8cf1aa5bb52ea6a8eb71f5f0bcbdad1edc13dff778c62806ec27850320e9f4e17f12525bbac552e5e105ee1ecd771efd
 DIST webmock-3.8.3.gem 122880 BLAKE2B 
66371028294f3b15172d718e0fa9402ad6ed1bf7beedb0c62621ad31758d25e401af9cd982a6f29cd1161a7e4d7954f6f9df22ab2e0c44c970a0edca3c0f1304
 SHA512 
6c845c4ed0c82ba4bb1f32d0d87a87eb945c54e159317aa14e2238b497d38282b7e81542e78c0d68d4b8d4a08e46137de84503829b7381e6d945e45474ebb507

diff --git a/dev-ruby/webmock/webmock-3.13.0.ebuild 
b/dev-ruby/webmock/webmock-3.13.0.ebuild
new file mode 100644
index 000..0b2512f21df
--- /dev/null
+++ b/dev-ruby/webmock/webmock-3.13.0.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby25 ruby26 ruby27"
+
+RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP 
requests"
+HOMEPAGE="https://github.com/bblimke/webmock";
+
+LICENSE="GPL-2"
+SLOT="3"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
+IUSE=""
+
+ruby_add_rdepend "
+   >=dev-ruby/addressable-2.3.6
+   >=dev-ruby/crack-0.3.2
+   >=dev-ruby/hashdiff-0.4.0:0
+"
+
+ruby_add_bdepend "test? (
+   dev-ruby/minitest:5
+   dev-ruby/rspec:3
+   >=dev-ruby/test-unit-3.0.0
+   dev-ruby/rack
+   >=dev-ruby/httpclient-2.8.0
+)"
+
+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 '1igem "test-unit"' test/test_helper.rb || die
+
+   # There is now optional support for curb and typhoeus which we don't
+   # have in Gentoo yet. em_http_request is available in Gentoo but its
+   # version is too old. patron's latest version is not compatible.
+   sed -i -e '/\(curb\|typhoeus\|em-http\|patron\)/ s:^:#:' 
spec/spec_helper.rb || die
+   rm -f 
spec/acceptance/{typhoeus,curb,excon,em_http_request,patron,async_http_client}/*
 || die
+
+   # Drop tests for dev-ruby/http for now since this package only works 
with ruby26
+   sed -i -e '/http_rb/ s:^:#:' spec/spec_helper.rb || die
+   rm -f spec/acceptance/http_rb/* || 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
+
+   # Avoid specs that require network access
+   sed -i -e '/when request is not stubbed/,/^  end/ s:^:#:' 
spec/acceptance/shared/callbacks.rb
+}
+
+each_ruby_test() {
+   ${RUBY} -S rake test NO_CONNECTION=true || die
+   ${RUBY} -S rspec-3 spec || die
+
+   einfo "Delay to allow the test server to stop"
+   sleep 10
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2021-06-21 Thread Hans de Graaff
commit: f53097500a722f1cd822a0c512bc6b01cf5967a7
Author: Hans de Graaff  gentoo  org>
AuthorDate: Tue Jun 22 05:20:58 2021 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Jun 22 05:21:06 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5309750

dev-ruby/webmock: amd64 stable

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/webmock/webmock-3.11.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/webmock/webmock-3.11.3.ebuild 
b/dev-ruby/webmock/webmock-3.11.3.ebuild
index 0b2512f21df..66f1095e9dc 100644
--- a/dev-ruby/webmock/webmock-3.11.3.ebuild
+++ b/dev-ruby/webmock/webmock-3.11.3.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="https://github.com/bblimke/webmock";
 
 LICENSE="GPL-2"
 SLOT="3"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
 IUSE=""
 
 ruby_add_rdepend "



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2021-04-29 Thread Hans de Graaff
commit: 3987c4285d7e497d1b9f484ae470db10df7ce6ec
Author: Hans de Graaff  gentoo  org>
AuthorDate: Thu Apr 29 05:27:31 2021 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Fri Apr 30 05:52:07 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3987c428

dev-ruby/webmock: cleanup

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/webmock/Manifest  |  2 -
 dev-ruby/webmock/webmock-3.11.0.ebuild | 65 
 dev-ruby/webmock/webmock-3.11.2.ebuild | 69 --
 3 files changed, 136 deletions(-)

diff --git a/dev-ruby/webmock/Manifest b/dev-ruby/webmock/Manifest
index d27b7732897..a9c2250ae69 100644
--- a/dev-ruby/webmock/Manifest
+++ b/dev-ruby/webmock/Manifest
@@ -1,5 +1,3 @@
-DIST webmock-3.11.0.gem 125440 BLAKE2B 
8c57ca5b49922a61590595cdeeb5d3306edb3be616fd8e5c68617838831537f2106664201580f645de58322f11e684dfc8404d91139eaead5810c0cb40d5dc1f
 SHA512 
dda7318d32dd88dcd4bc1fee9d1f4644f272348b532cbb59afde2e6a1fc42f359125b28d605ff1a18edac4ed71c00aceb1c67a364c15cfa56092e226588b449c
-DIST webmock-3.11.2.gem 125440 BLAKE2B 
a0a3bd2294ccfd5a360736edbd70fcb3a2734048dca933798502f07583f8b08a0d5aa5e25d4b0e262ada82e0bf9d1fccc28b932e0648180922db402a84f6f101
 SHA512 
757e2c19853b7e7a934cc308970ec4a2174df3592ed1eb1e1b7e1fce9cfb99720d826bad069f821d8271a7b5b04ec4f30009d124ae86b2a93604c1bc24f9f65d
 DIST webmock-3.11.3.gem 125952 BLAKE2B 
664253079457cdf400be869b9e61092b12872282057540e42e6fb73a5fbaa38666757f7f8bd336e4f5c45ea1ec52f9af4b444ba67ae24db62a75b5c18636ae08
 SHA512 
80fd2139126e1e9d6907dfe93021d77179ae6c31cc2a63eb3ee47c011c2a48f18bb84ac08322da8def014f2293564f5669eb41037edbe72ffccfefb7ea281739
 DIST webmock-3.7.6.gem 122368 BLAKE2B 
9bc40971f1eec96d88217544acc67b7abfe6c0815a0696119e12fc5629b4f51e1164ecc982525d2c02fa50c7b1b09548c4831c1d597f06acde04a83227ba0dc9
 SHA512 
85455495476b22d94b23e34a92db3f0f8cf1aa5bb52ea6a8eb71f5f0bcbdad1edc13dff778c62806ec27850320e9f4e17f12525bbac552e5e105ee1ecd771efd
 DIST webmock-3.8.3.gem 122880 BLAKE2B 
66371028294f3b15172d718e0fa9402ad6ed1bf7beedb0c62621ad31758d25e401af9cd982a6f29cd1161a7e4d7954f6f9df22ab2e0c44c970a0edca3c0f1304
 SHA512 
6c845c4ed0c82ba4bb1f32d0d87a87eb945c54e159317aa14e2238b497d38282b7e81542e78c0d68d4b8d4a08e46137de84503829b7381e6d945e45474ebb507

diff --git a/dev-ruby/webmock/webmock-3.11.0.ebuild 
b/dev-ruby/webmock/webmock-3.11.0.ebuild
deleted file mode 100644
index d220117eb5c..000
--- a/dev-ruby/webmock/webmock-3.11.0.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-USE_RUBY="ruby25 ruby26"
-
-RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
-
-RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
-
-inherit ruby-fakegem
-
-DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP 
requests"
-HOMEPAGE="https://github.com/bblimke/webmock";
-
-LICENSE="GPL-2"
-SLOT="3"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
-IUSE=""
-
-ruby_add_rdepend "
-   >=dev-ruby/addressable-2.3.6
-   >=dev-ruby/crack-0.3.2
-   >=dev-ruby/hashdiff-0.4.0:0
-"
-
-ruby_add_bdepend "test? (
-   dev-ruby/minitest:5
-   dev-ruby/rspec:3
-   >=dev-ruby/test-unit-3.0.0
-   dev-ruby/rack
-   >=dev-ruby/httpclient-2.8.0
-   || ( dev-ruby/http:4 dev-ruby/http:3 ) )"
-
-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 '1igem "test-unit"' test/test_helper.rb || die
-
-   # There is now optional support for curb and typhoeus which we don't
-   # have in Gentoo yet. em_http_request is available in Gentoo but its
-   # version is too old. patron's latest version is not compatible.
-   sed -i -e '/\(curb\|typhoeus\|em-http\|patron\)/d' spec/spec_helper.rb 
|| die
-   rm 
spec/acceptance/{typhoeus,curb,excon,em_http_request,patron,async_http_client}/*
 || 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
-
-   # Avoid specs that require network access
-   sed -i -e '/when request is not stubbed/,/^  end/ s:^:#:' 
spec/acceptance/shared/callbacks.rb
-}
-
-each_ruby_test() {
-   ${RUBY} -S rake test NO_CONNECTION=true || die
-   ${RUBY} -S rspec-3 spec || die
-
-   einfo "Delay to allow the test server to stop"
-   sleep 10
-}

diff --git a/dev-ruby/webmock/webmock-3.11.2.ebuild 
b/dev-ru

[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2021-02-25 Thread Hans de Graaff
commit: c7b0434a86a65506f037e1fd39dcac3edd8051c2
Author: Hans de Graaff  gentoo  org>
AuthorDate: Fri Feb 26 05:54:20 2021 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Fri Feb 26 05:54:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7b0434a

dev-ruby/webmock: add 3.11.3

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/webmock/Manifest  |  1 +
 dev-ruby/webmock/webmock-3.11.3.ebuild | 69 ++
 2 files changed, 70 insertions(+)

diff --git a/dev-ruby/webmock/Manifest b/dev-ruby/webmock/Manifest
index 4739365f000..d27b7732897 100644
--- a/dev-ruby/webmock/Manifest
+++ b/dev-ruby/webmock/Manifest
@@ -1,4 +1,5 @@
 DIST webmock-3.11.0.gem 125440 BLAKE2B 
8c57ca5b49922a61590595cdeeb5d3306edb3be616fd8e5c68617838831537f2106664201580f645de58322f11e684dfc8404d91139eaead5810c0cb40d5dc1f
 SHA512 
dda7318d32dd88dcd4bc1fee9d1f4644f272348b532cbb59afde2e6a1fc42f359125b28d605ff1a18edac4ed71c00aceb1c67a364c15cfa56092e226588b449c
 DIST webmock-3.11.2.gem 125440 BLAKE2B 
a0a3bd2294ccfd5a360736edbd70fcb3a2734048dca933798502f07583f8b08a0d5aa5e25d4b0e262ada82e0bf9d1fccc28b932e0648180922db402a84f6f101
 SHA512 
757e2c19853b7e7a934cc308970ec4a2174df3592ed1eb1e1b7e1fce9cfb99720d826bad069f821d8271a7b5b04ec4f30009d124ae86b2a93604c1bc24f9f65d
+DIST webmock-3.11.3.gem 125952 BLAKE2B 
664253079457cdf400be869b9e61092b12872282057540e42e6fb73a5fbaa38666757f7f8bd336e4f5c45ea1ec52f9af4b444ba67ae24db62a75b5c18636ae08
 SHA512 
80fd2139126e1e9d6907dfe93021d77179ae6c31cc2a63eb3ee47c011c2a48f18bb84ac08322da8def014f2293564f5669eb41037edbe72ffccfefb7ea281739
 DIST webmock-3.7.6.gem 122368 BLAKE2B 
9bc40971f1eec96d88217544acc67b7abfe6c0815a0696119e12fc5629b4f51e1164ecc982525d2c02fa50c7b1b09548c4831c1d597f06acde04a83227ba0dc9
 SHA512 
85455495476b22d94b23e34a92db3f0f8cf1aa5bb52ea6a8eb71f5f0bcbdad1edc13dff778c62806ec27850320e9f4e17f12525bbac552e5e105ee1ecd771efd
 DIST webmock-3.8.3.gem 122880 BLAKE2B 
66371028294f3b15172d718e0fa9402ad6ed1bf7beedb0c62621ad31758d25e401af9cd982a6f29cd1161a7e4d7954f6f9df22ab2e0c44c970a0edca3c0f1304
 SHA512 
6c845c4ed0c82ba4bb1f32d0d87a87eb945c54e159317aa14e2238b497d38282b7e81542e78c0d68d4b8d4a08e46137de84503829b7381e6d945e45474ebb507

diff --git a/dev-ruby/webmock/webmock-3.11.3.ebuild 
b/dev-ruby/webmock/webmock-3.11.3.ebuild
new file mode 100644
index 000..0b2512f21df
--- /dev/null
+++ b/dev-ruby/webmock/webmock-3.11.3.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby25 ruby26 ruby27"
+
+RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP 
requests"
+HOMEPAGE="https://github.com/bblimke/webmock";
+
+LICENSE="GPL-2"
+SLOT="3"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
+IUSE=""
+
+ruby_add_rdepend "
+   >=dev-ruby/addressable-2.3.6
+   >=dev-ruby/crack-0.3.2
+   >=dev-ruby/hashdiff-0.4.0:0
+"
+
+ruby_add_bdepend "test? (
+   dev-ruby/minitest:5
+   dev-ruby/rspec:3
+   >=dev-ruby/test-unit-3.0.0
+   dev-ruby/rack
+   >=dev-ruby/httpclient-2.8.0
+)"
+
+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 '1igem "test-unit"' test/test_helper.rb || die
+
+   # There is now optional support for curb and typhoeus which we don't
+   # have in Gentoo yet. em_http_request is available in Gentoo but its
+   # version is too old. patron's latest version is not compatible.
+   sed -i -e '/\(curb\|typhoeus\|em-http\|patron\)/ s:^:#:' 
spec/spec_helper.rb || die
+   rm -f 
spec/acceptance/{typhoeus,curb,excon,em_http_request,patron,async_http_client}/*
 || die
+
+   # Drop tests for dev-ruby/http for now since this package only works 
with ruby26
+   sed -i -e '/http_rb/ s:^:#:' spec/spec_helper.rb || die
+   rm -f spec/acceptance/http_rb/* || 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
+
+   # Avoid specs that require network access
+   sed -i -e '/when request is not stubbed/,/^  end/ s:^:#:' 
spec/acceptance/shared/callbacks.rb
+}
+
+each_ruby_test() {
+   ${RUBY} -S rake test NO_CONNECTION=true || die
+   ${RUBY} -S rspec-3 spec || die
+
+   einfo "Delay to allow the test serv

[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2021-02-15 Thread Hans de Graaff
commit: a6c9f2e6dc228b71ed44f3e19d70537255ff10b2
Author: Hans de Graaff  gentoo  org>
AuthorDate: Tue Feb 16 05:54:26 2021 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Feb 16 05:54:26 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6c9f2e6

dev-ruby/webmock: add 3.11.2

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/webmock/Manifest  |  1 +
 dev-ruby/webmock/webmock-3.11.2.ebuild | 69 ++
 2 files changed, 70 insertions(+)

diff --git a/dev-ruby/webmock/Manifest b/dev-ruby/webmock/Manifest
index 820b5133358..4739365f000 100644
--- a/dev-ruby/webmock/Manifest
+++ b/dev-ruby/webmock/Manifest
@@ -1,3 +1,4 @@
 DIST webmock-3.11.0.gem 125440 BLAKE2B 
8c57ca5b49922a61590595cdeeb5d3306edb3be616fd8e5c68617838831537f2106664201580f645de58322f11e684dfc8404d91139eaead5810c0cb40d5dc1f
 SHA512 
dda7318d32dd88dcd4bc1fee9d1f4644f272348b532cbb59afde2e6a1fc42f359125b28d605ff1a18edac4ed71c00aceb1c67a364c15cfa56092e226588b449c
+DIST webmock-3.11.2.gem 125440 BLAKE2B 
a0a3bd2294ccfd5a360736edbd70fcb3a2734048dca933798502f07583f8b08a0d5aa5e25d4b0e262ada82e0bf9d1fccc28b932e0648180922db402a84f6f101
 SHA512 
757e2c19853b7e7a934cc308970ec4a2174df3592ed1eb1e1b7e1fce9cfb99720d826bad069f821d8271a7b5b04ec4f30009d124ae86b2a93604c1bc24f9f65d
 DIST webmock-3.7.6.gem 122368 BLAKE2B 
9bc40971f1eec96d88217544acc67b7abfe6c0815a0696119e12fc5629b4f51e1164ecc982525d2c02fa50c7b1b09548c4831c1d597f06acde04a83227ba0dc9
 SHA512 
85455495476b22d94b23e34a92db3f0f8cf1aa5bb52ea6a8eb71f5f0bcbdad1edc13dff778c62806ec27850320e9f4e17f12525bbac552e5e105ee1ecd771efd
 DIST webmock-3.8.3.gem 122880 BLAKE2B 
66371028294f3b15172d718e0fa9402ad6ed1bf7beedb0c62621ad31758d25e401af9cd982a6f29cd1161a7e4d7954f6f9df22ab2e0c44c970a0edca3c0f1304
 SHA512 
6c845c4ed0c82ba4bb1f32d0d87a87eb945c54e159317aa14e2238b497d38282b7e81542e78c0d68d4b8d4a08e46137de84503829b7381e6d945e45474ebb507

diff --git a/dev-ruby/webmock/webmock-3.11.2.ebuild 
b/dev-ruby/webmock/webmock-3.11.2.ebuild
new file mode 100644
index 000..0b2512f21df
--- /dev/null
+++ b/dev-ruby/webmock/webmock-3.11.2.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby25 ruby26 ruby27"
+
+RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP 
requests"
+HOMEPAGE="https://github.com/bblimke/webmock";
+
+LICENSE="GPL-2"
+SLOT="3"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
+IUSE=""
+
+ruby_add_rdepend "
+   >=dev-ruby/addressable-2.3.6
+   >=dev-ruby/crack-0.3.2
+   >=dev-ruby/hashdiff-0.4.0:0
+"
+
+ruby_add_bdepend "test? (
+   dev-ruby/minitest:5
+   dev-ruby/rspec:3
+   >=dev-ruby/test-unit-3.0.0
+   dev-ruby/rack
+   >=dev-ruby/httpclient-2.8.0
+)"
+
+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 '1igem "test-unit"' test/test_helper.rb || die
+
+   # There is now optional support for curb and typhoeus which we don't
+   # have in Gentoo yet. em_http_request is available in Gentoo but its
+   # version is too old. patron's latest version is not compatible.
+   sed -i -e '/\(curb\|typhoeus\|em-http\|patron\)/ s:^:#:' 
spec/spec_helper.rb || die
+   rm -f 
spec/acceptance/{typhoeus,curb,excon,em_http_request,patron,async_http_client}/*
 || die
+
+   # Drop tests for dev-ruby/http for now since this package only works 
with ruby26
+   sed -i -e '/http_rb/ s:^:#:' spec/spec_helper.rb || die
+   rm -f spec/acceptance/http_rb/* || 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
+
+   # Avoid specs that require network access
+   sed -i -e '/when request is not stubbed/,/^  end/ s:^:#:' 
spec/acceptance/shared/callbacks.rb
+}
+
+each_ruby_test() {
+   ${RUBY} -S rake test NO_CONNECTION=true || die
+   ${RUBY} -S rspec-3 spec || die
+
+   einfo "Delay to allow the test server to stop"
+   sleep 10
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2021-01-19 Thread Hans de Graaff
commit: 3a6ae8bebd4d2fe8f274f9e1ae4cdbe4e9cf8830
Author: Hans de Graaff  gentoo  org>
AuthorDate: Tue Jan 19 06:41:04 2021 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Jan 19 17:24:25 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a6ae8be

dev-ruby/webmock: cleanup

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/webmock/Manifest |  2 --
 dev-ruby/webmock/webmock-3.8.1.ebuild | 61 ---
 dev-ruby/webmock/webmock-3.8.2.ebuild | 61 ---
 3 files changed, 124 deletions(-)

diff --git a/dev-ruby/webmock/Manifest b/dev-ruby/webmock/Manifest
index a93538b330c..820b5133358 100644
--- a/dev-ruby/webmock/Manifest
+++ b/dev-ruby/webmock/Manifest
@@ -1,5 +1,3 @@
 DIST webmock-3.11.0.gem 125440 BLAKE2B 
8c57ca5b49922a61590595cdeeb5d3306edb3be616fd8e5c68617838831537f2106664201580f645de58322f11e684dfc8404d91139eaead5810c0cb40d5dc1f
 SHA512 
dda7318d32dd88dcd4bc1fee9d1f4644f272348b532cbb59afde2e6a1fc42f359125b28d605ff1a18edac4ed71c00aceb1c67a364c15cfa56092e226588b449c
 DIST webmock-3.7.6.gem 122368 BLAKE2B 
9bc40971f1eec96d88217544acc67b7abfe6c0815a0696119e12fc5629b4f51e1164ecc982525d2c02fa50c7b1b09548c4831c1d597f06acde04a83227ba0dc9
 SHA512 
85455495476b22d94b23e34a92db3f0f8cf1aa5bb52ea6a8eb71f5f0bcbdad1edc13dff778c62806ec27850320e9f4e17f12525bbac552e5e105ee1ecd771efd
-DIST webmock-3.8.1.gem 122368 BLAKE2B 
ba956c72f20e2c21cea90b107ef445e42a6995fdb31f9af65c3b561e9e1fbb9fbd299db009a1d83ddfdb473ce030d40aadf6633e23afbd072ee3b4debf7e0be2
 SHA512 
b1137fabb000469ee88fdd5521756f368463ee49988d5d89b51fa8352362ff249a4849159504834933e5e1248ed9b6791d254528b3cdea461fc9e8e5d92a334c
-DIST webmock-3.8.2.gem 122880 BLAKE2B 
0cd10f391377749c6420d08434c8e66230612c50bdff86b4dfd098690c006426e241c32bf716e2f8b9ee6c0ce6488d1975b54f3e4cd85cc14d6c7f0880f65701
 SHA512 
ae6bdda341bea804257d9f9b57d17a65a25d030ee2f5a9b7fff125a5f7881a34584c6b5d26a1e6dd5a49bba56ad5b6e731defecd109e19a5144df4caf90561d4
 DIST webmock-3.8.3.gem 122880 BLAKE2B 
66371028294f3b15172d718e0fa9402ad6ed1bf7beedb0c62621ad31758d25e401af9cd982a6f29cd1161a7e4d7954f6f9df22ab2e0c44c970a0edca3c0f1304
 SHA512 
6c845c4ed0c82ba4bb1f32d0d87a87eb945c54e159317aa14e2238b497d38282b7e81542e78c0d68d4b8d4a08e46137de84503829b7381e6d945e45474ebb507

diff --git a/dev-ruby/webmock/webmock-3.8.1.ebuild 
b/dev-ruby/webmock/webmock-3.8.1.ebuild
deleted file mode 100644
index 7b97e611140..000
--- a/dev-ruby/webmock/webmock-3.8.1.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-USE_RUBY="ruby24 ruby25 ruby26"
-
-RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
-
-RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
-
-inherit ruby-fakegem
-
-DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP 
requests"
-HOMEPAGE="https://github.com/bblimke/webmock";
-
-LICENSE="GPL-2"
-SLOT="3"
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
-IUSE=""
-
-ruby_add_rdepend ">=dev-ruby/addressable-2.3.6 >=dev-ruby/crack-0.3.2 
>=dev-ruby/hashdiff-0.4.0:0"
-
-ruby_add_bdepend "test? (
-   dev-ruby/minitest:5
-   dev-ruby/rspec:3
-   >=dev-ruby/test-unit-3.0.0
-   dev-ruby/rack
-   >=dev-ruby/httpclient-2.8.0
-   || ( dev-ruby/http:4 dev-ruby/http:3 ) )"
-
-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 '1igem "test-unit"' test/test_helper.rb || die
-
-   # There is now optional support for curb and typhoeus which we don't
-   # have in Gentoo yet. em_http_request is available in Gentoo but its
-   # version is too old. patron's latest version is not compatible.
-   sed -i -e '/\(curb\|typhoeus\|em-http\|patron\)/d' spec/spec_helper.rb 
|| die
-   rm 
spec/acceptance/{typhoeus,curb,excon,em_http_request,patron,async_http_client}/*
 || 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
-
-   # Avoid specs that require network access
-   sed -i -e '/when request is not stubbed/,/^  end/ s:^:#:' 
spec/acceptance/shared/callbacks.rb
-}
-
-each_ruby_test() {
-   ${RUBY} -S rake test NO_CONNECTION=true || die
-   ${RUBY} -S rspec-3 spec || die
-
-   einfo "Delay to allow the test server to stop"
-   sleep 10
-}

diff --git a/dev-ruby/webmock/webmock-3.8.2.ebuild 
b/dev-ruby/webmock/webmock-3.8.2.ebuil

[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2021-01-06 Thread Fabian Groffen
commit: f32ca4cab32921aafe309288f5c17871478d7d40
Author: Fabian Groffen  gentoo  org>
AuthorDate: Wed Jan  6 18:29:53 2021 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Wed Jan  6 18:32:17 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f32ca4ca

dev-ruby/webmock: drop x86-macos

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Fabian Groffen  gentoo.org>

 dev-ruby/webmock/webmock-3.11.0.ebuild | 4 ++--
 dev-ruby/webmock/webmock-3.7.6.ebuild  | 4 ++--
 dev-ruby/webmock/webmock-3.8.1.ebuild  | 4 ++--
 dev-ruby/webmock/webmock-3.8.2.ebuild  | 4 ++--
 dev-ruby/webmock/webmock-3.8.3.ebuild  | 4 ++--
 5 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/dev-ruby/webmock/webmock-3.11.0.ebuild 
b/dev-ruby/webmock/webmock-3.11.0.ebuild
index b19c68e8024..d220117eb5c 100644
--- a/dev-ruby/webmock/webmock-3.11.0.ebuild
+++ b/dev-ruby/webmock/webmock-3.11.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -16,7 +16,7 @@ HOMEPAGE="https://github.com/bblimke/webmock";
 
 LICENSE="GPL-2"
 SLOT="3"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
 IUSE=""
 
 ruby_add_rdepend "

diff --git a/dev-ruby/webmock/webmock-3.7.6.ebuild 
b/dev-ruby/webmock/webmock-3.7.6.ebuild
index 21a23c1b14e..9b5de91f5c6 100644
--- a/dev-ruby/webmock/webmock-3.7.6.ebuild
+++ b/dev-ruby/webmock/webmock-3.7.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -16,7 +16,7 @@ HOMEPAGE="https://github.com/bblimke/webmock";
 
 LICENSE="GPL-2"
 SLOT="3"
-KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
 IUSE=""
 
 ruby_add_rdepend ">=dev-ruby/addressable-2.3.6 >=dev-ruby/crack-0.3.2 
>=dev-ruby/hashdiff-0.4.0:0"

diff --git a/dev-ruby/webmock/webmock-3.8.1.ebuild 
b/dev-ruby/webmock/webmock-3.8.1.ebuild
index 0273386c2d4..7b97e611140 100644
--- a/dev-ruby/webmock/webmock-3.8.1.ebuild
+++ b/dev-ruby/webmock/webmock-3.8.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -16,7 +16,7 @@ HOMEPAGE="https://github.com/bblimke/webmock";
 
 LICENSE="GPL-2"
 SLOT="3"
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
 IUSE=""
 
 ruby_add_rdepend ">=dev-ruby/addressable-2.3.6 >=dev-ruby/crack-0.3.2 
>=dev-ruby/hashdiff-0.4.0:0"

diff --git a/dev-ruby/webmock/webmock-3.8.2.ebuild 
b/dev-ruby/webmock/webmock-3.8.2.ebuild
index 0273386c2d4..7b97e611140 100644
--- a/dev-ruby/webmock/webmock-3.8.2.ebuild
+++ b/dev-ruby/webmock/webmock-3.8.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -16,7 +16,7 @@ HOMEPAGE="https://github.com/bblimke/webmock";
 
 LICENSE="GPL-2"
 SLOT="3"
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
 IUSE=""
 
 ruby_add_rdepend ">=dev-ruby/addressable-2.3.6 >=dev-ruby/crack-0.3.2 
>=dev-ruby/hashdiff-0.4.0:0"

diff --git a/dev-ruby/webmock/webmock-3.8.3.ebuild 
b/dev-ruby/webmock/webmock-3.8.3.ebuild
index 76e4e7d8508..282df894927 100644
--- a/dev-ruby/webmock/webmock-3.8.3.ebuild
+++ b/dev-ruby/webmock/webmock-3.8.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -16,7 +16,7 @@ HOMEPAGE="https://github.com/bblimke/webmock";
 
 LICENSE="GPL-2"
 SLOT="3"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
 IUSE=""
 
 ruby_add_rdepend ">=dev-ruby/addressable-2.3.6 >=dev-ruby/crack-0.3.2 
>=dev-ruby/hashdiff-0.4.0:0"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2020-12-24 Thread Hans de Graaff
commit: 9e4dbd0de38707c2d39f0f98562c8fd23b6e0d2d
Author: Hans de Graaff  gentoo  org>
AuthorDate: Fri Dec 25 07:55:31 2020 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Fri Dec 25 07:56:12 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e4dbd0d

dev-ruby/webmock: amd64 stable

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/webmock/webmock-3.8.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/webmock/webmock-3.8.3.ebuild 
b/dev-ruby/webmock/webmock-3.8.3.ebuild
index 8fe9b0d7a90..76e4e7d8508 100644
--- a/dev-ruby/webmock/webmock-3.8.3.ebuild
+++ b/dev-ruby/webmock/webmock-3.8.3.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="https://github.com/bblimke/webmock";
 
 LICENSE="GPL-2"
 SLOT="3"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~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-0.4.0:0"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2020-12-24 Thread Hans de Graaff
commit: 723222890cdf6469850a14195a2d73e7a684052d
Author: Hans de Graaff  gentoo  org>
AuthorDate: Thu Dec 24 08:35:12 2020 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Thu Dec 24 08:35:53 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72322289

dev-ruby/webmock: add 3.11.0

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/webmock/Manifest  |  1 +
 dev-ruby/webmock/webmock-3.11.0.ebuild | 65 ++
 2 files changed, 66 insertions(+)

diff --git a/dev-ruby/webmock/Manifest b/dev-ruby/webmock/Manifest
index 71c55a952e1..a93538b330c 100644
--- a/dev-ruby/webmock/Manifest
+++ b/dev-ruby/webmock/Manifest
@@ -1,3 +1,4 @@
+DIST webmock-3.11.0.gem 125440 BLAKE2B 
8c57ca5b49922a61590595cdeeb5d3306edb3be616fd8e5c68617838831537f2106664201580f645de58322f11e684dfc8404d91139eaead5810c0cb40d5dc1f
 SHA512 
dda7318d32dd88dcd4bc1fee9d1f4644f272348b532cbb59afde2e6a1fc42f359125b28d605ff1a18edac4ed71c00aceb1c67a364c15cfa56092e226588b449c
 DIST webmock-3.7.6.gem 122368 BLAKE2B 
9bc40971f1eec96d88217544acc67b7abfe6c0815a0696119e12fc5629b4f51e1164ecc982525d2c02fa50c7b1b09548c4831c1d597f06acde04a83227ba0dc9
 SHA512 
85455495476b22d94b23e34a92db3f0f8cf1aa5bb52ea6a8eb71f5f0bcbdad1edc13dff778c62806ec27850320e9f4e17f12525bbac552e5e105ee1ecd771efd
 DIST webmock-3.8.1.gem 122368 BLAKE2B 
ba956c72f20e2c21cea90b107ef445e42a6995fdb31f9af65c3b561e9e1fbb9fbd299db009a1d83ddfdb473ce030d40aadf6633e23afbd072ee3b4debf7e0be2
 SHA512 
b1137fabb000469ee88fdd5521756f368463ee49988d5d89b51fa8352362ff249a4849159504834933e5e1248ed9b6791d254528b3cdea461fc9e8e5d92a334c
 DIST webmock-3.8.2.gem 122880 BLAKE2B 
0cd10f391377749c6420d08434c8e66230612c50bdff86b4dfd098690c006426e241c32bf716e2f8b9ee6c0ce6488d1975b54f3e4cd85cc14d6c7f0880f65701
 SHA512 
ae6bdda341bea804257d9f9b57d17a65a25d030ee2f5a9b7fff125a5f7881a34584c6b5d26a1e6dd5a49bba56ad5b6e731defecd109e19a5144df4caf90561d4

diff --git a/dev-ruby/webmock/webmock-3.11.0.ebuild 
b/dev-ruby/webmock/webmock-3.11.0.ebuild
new file mode 100644
index 000..b19c68e8024
--- /dev/null
+++ b/dev-ruby/webmock/webmock-3.11.0.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby25 ruby26"
+
+RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP 
requests"
+HOMEPAGE="https://github.com/bblimke/webmock";
+
+LICENSE="GPL-2"
+SLOT="3"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~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-0.4.0:0
+"
+
+ruby_add_bdepend "test? (
+   dev-ruby/minitest:5
+   dev-ruby/rspec:3
+   >=dev-ruby/test-unit-3.0.0
+   dev-ruby/rack
+   >=dev-ruby/httpclient-2.8.0
+   || ( dev-ruby/http:4 dev-ruby/http:3 ) )"
+
+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 '1igem "test-unit"' test/test_helper.rb || die
+
+   # There is now optional support for curb and typhoeus which we don't
+   # have in Gentoo yet. em_http_request is available in Gentoo but its
+   # version is too old. patron's latest version is not compatible.
+   sed -i -e '/\(curb\|typhoeus\|em-http\|patron\)/d' spec/spec_helper.rb 
|| die
+   rm 
spec/acceptance/{typhoeus,curb,excon,em_http_request,patron,async_http_client}/*
 || 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
+
+   # Avoid specs that require network access
+   sed -i -e '/when request is not stubbed/,/^  end/ s:^:#:' 
spec/acceptance/shared/callbacks.rb
+}
+
+each_ruby_test() {
+   ${RUBY} -S rake test NO_CONNECTION=true || die
+   ${RUBY} -S rspec-3 spec || die
+
+   einfo "Delay to allow the test server to stop"
+   sleep 10
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2020-09-30 Thread Sam James
commit: a7a76a0a51aa1f81d5c1c2192d349011f8268b24
Author: Sam James  gentoo  org>
AuthorDate: Thu Oct  1 00:24:25 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Oct  1 00:24:25 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7a76a0a

dev-ruby/webmock: Keyword 3.8.3 arm64, #741891

Signed-off-by: Sam James  gentoo.org>

 dev-ruby/webmock/webmock-3.8.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/webmock/webmock-3.8.3.ebuild 
b/dev-ruby/webmock/webmock-3.8.3.ebuild
index 0273386c2d4..8fe9b0d7a90 100644
--- a/dev-ruby/webmock/webmock-3.8.3.ebuild
+++ b/dev-ruby/webmock/webmock-3.8.3.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="https://github.com/bblimke/webmock";
 
 LICENSE="GPL-2"
 SLOT="3"
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~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-0.4.0:0"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2020-05-12 Thread Hans de Graaff
commit: 9af9d540f5505877bdfe6c682f69d107a3b5556f
Author: Hans de Graaff  gentoo  org>
AuthorDate: Wed May 13 05:03:20 2020 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Wed May 13 05:03:20 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9af9d540

dev-ruby/webmock: cleanup

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/webmock/Manifest |  1 -
 dev-ruby/webmock/webmock-2.3.2.ebuild | 63 ---
 2 files changed, 64 deletions(-)

diff --git a/dev-ruby/webmock/Manifest b/dev-ruby/webmock/Manifest
index 076591ad736..71c55a952e1 100644
--- a/dev-ruby/webmock/Manifest
+++ b/dev-ruby/webmock/Manifest
@@ -1,4 +1,3 @@
-DIST webmock-2.3.2.gem 112128 BLAKE2B 
ef0a722374057d7c5392924f68de8520f08cb0aa038fc0b8511e00bbd9dc13f6535955f77611e414a33dbf0ed7a519e9c18caf8517d10be7438e7360c3037a1e
 SHA512 
bb61b645b287d15690aa81db4d4c937d3456e1911d394ef1fb31e8ff3530d47b865aa039c8aaa4d4b6a72132dfcdd06be66adf1b53793384dc27ac1c9f9c01e6
 DIST webmock-3.7.6.gem 122368 BLAKE2B 
9bc40971f1eec96d88217544acc67b7abfe6c0815a0696119e12fc5629b4f51e1164ecc982525d2c02fa50c7b1b09548c4831c1d597f06acde04a83227ba0dc9
 SHA512 
85455495476b22d94b23e34a92db3f0f8cf1aa5bb52ea6a8eb71f5f0bcbdad1edc13dff778c62806ec27850320e9f4e17f12525bbac552e5e105ee1ecd771efd
 DIST webmock-3.8.1.gem 122368 BLAKE2B 
ba956c72f20e2c21cea90b107ef445e42a6995fdb31f9af65c3b561e9e1fbb9fbd299db009a1d83ddfdb473ce030d40aadf6633e23afbd072ee3b4debf7e0be2
 SHA512 
b1137fabb000469ee88fdd5521756f368463ee49988d5d89b51fa8352362ff249a4849159504834933e5e1248ed9b6791d254528b3cdea461fc9e8e5d92a334c
 DIST webmock-3.8.2.gem 122880 BLAKE2B 
0cd10f391377749c6420d08434c8e66230612c50bdff86b4dfd098690c006426e241c32bf716e2f8b9ee6c0ce6488d1975b54f3e4cd85cc14d6c7f0880f65701
 SHA512 
ae6bdda341bea804257d9f9b57d17a65a25d030ee2f5a9b7fff125a5f7881a34584c6b5d26a1e6dd5a49bba56ad5b6e731defecd109e19a5144df4caf90561d4

diff --git a/dev-ruby/webmock/webmock-2.3.2.ebuild 
b/dev-ruby/webmock/webmock-2.3.2.ebuild
deleted file mode 100644
index cef9721304f..000
--- a/dev-ruby/webmock/webmock-2.3.2.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-USE_RUBY="ruby23 ruby24"
-
-RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
-
-RUBY_FAKEGEM_RECIPE_DOC="rdoc"
-RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
-
-inherit ruby-fakegem
-
-DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP 
requests"
-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"
-IUSE=""
-
-ruby_add_rdepend ">=dev-ruby/addressable-2.3.6 >=dev-ruby/crack-0.3.2 
dev-ruby/hashdiff"
-
-ruby_add_bdepend "test? (
-   dev-ruby/minitest:5
-   dev-ruby/rspec:3
-   >=dev-ruby/test-unit-3.0.0
-   dev-ruby/rack
-   >=dev-ruby/httpclient-2.8.0
-   >=dev-ruby/patron-0.4.18
-   >=dev-ruby/http-0.8.0:0.8 )"
-
-all_ruby_prepare() {
-   # Remove bundler support
-   rm Gemfile || die
-   sed -i -e '/[Bb]undler/d' Rakefile || 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
-   # have in Gentoo yet. em_http_request is available in Gentoo but its
-   # 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
-
-   # Avoid specs that require network access
-   sed -i -e '/when request is not stubbed/,/^  end/ s:^:#:' 
spec/acceptance/shared/callbacks.rb
-}
-
-each_ruby_test() {
-   ${RUBY} -S rake test NO_CONNECTION=true || die
-   ${RUBY} -S rspec-3 spec || die
-
-   einfo "Delay to allow the test server to stop"
-   sleep 10
-}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2020-04-19 Thread Sergei Trofimovich
commit: 610ef8ccc891d67df3cdd920fb51deb34fcea9d1
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Sun Apr 19 23:38:55 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Apr 19 23:55:22 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=610ef8cc

dev-ruby/webmock: keyworded 3.7.6 for sparc

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-ruby/webmock/webmock-3.7.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/webmock/webmock-3.7.6.ebuild 
b/dev-ruby/webmock/webmock-3.7.6.ebuild
index ac9f574bd03..21a23c1b14e 100644
--- a/dev-ruby/webmock/webmock-3.7.6.ebuild
+++ b/dev-ruby/webmock/webmock-3.7.6.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="https://github.com/bblimke/webmock";
 
 LICENSE="GPL-2"
 SLOT="3"
-KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~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-0.4.0:0"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2020-04-19 Thread Sergei Trofimovich
commit: eb435659861aa20e1f414533902d0f13e60fa3e2
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Sun Apr 19 23:41:14 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Apr 19 23:55:23 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb435659

dev-ruby/webmock: keyworded 3.8.3 for sparc

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-ruby/webmock/webmock-3.8.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/webmock/webmock-3.8.3.ebuild 
b/dev-ruby/webmock/webmock-3.8.3.ebuild
index 04f3e54f793..0273386c2d4 100644
--- a/dev-ruby/webmock/webmock-3.8.3.ebuild
+++ b/dev-ruby/webmock/webmock-3.8.3.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="https://github.com/bblimke/webmock";
 
 LICENSE="GPL-2"
 SLOT="3"
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~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-0.4.0:0"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2020-04-19 Thread Sergei Trofimovich
commit: caf3469c4a5bb52f5c4f87557e0c80f83fa41219
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Sun Apr 19 23:40:27 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Apr 19 23:55:23 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=caf3469c

dev-ruby/webmock: keyworded 3.8.2 for sparc

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-ruby/webmock/webmock-3.8.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/webmock/webmock-3.8.2.ebuild 
b/dev-ruby/webmock/webmock-3.8.2.ebuild
index 04f3e54f793..0273386c2d4 100644
--- a/dev-ruby/webmock/webmock-3.8.2.ebuild
+++ b/dev-ruby/webmock/webmock-3.8.2.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="https://github.com/bblimke/webmock";
 
 LICENSE="GPL-2"
 SLOT="3"
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~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-0.4.0:0"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2020-04-19 Thread Sergei Trofimovich
commit: fb36dafe34014c255d8ad05f668c87051b87a254
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Sun Apr 19 23:39:37 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Apr 19 23:55:22 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb36dafe

dev-ruby/webmock: keyworded 3.8.1 for sparc

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-ruby/webmock/webmock-3.8.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/webmock/webmock-3.8.1.ebuild 
b/dev-ruby/webmock/webmock-3.8.1.ebuild
index 04f3e54f793..0273386c2d4 100644
--- a/dev-ruby/webmock/webmock-3.8.1.ebuild
+++ b/dev-ruby/webmock/webmock-3.8.1.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="https://github.com/bblimke/webmock";
 
 LICENSE="GPL-2"
 SLOT="3"
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~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-0.4.0:0"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2020-03-11 Thread Hans de Graaff
commit: d0ca09581345924c33fd3a7c8ca4cb453caeb477
Author: Hans de Graaff  gentoo  org>
AuthorDate: Wed Mar 11 09:04:14 2020 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Wed Mar 11 09:04:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0ca0958

dev-ruby/webmock: add 3.8.3

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/webmock/Manifest |  1 +
 dev-ruby/webmock/webmock-3.8.3.ebuild | 61 +++
 2 files changed, 62 insertions(+)

diff --git a/dev-ruby/webmock/Manifest b/dev-ruby/webmock/Manifest
index cec67bc697d..076591ad736 100644
--- a/dev-ruby/webmock/Manifest
+++ b/dev-ruby/webmock/Manifest
@@ -2,3 +2,4 @@ DIST webmock-2.3.2.gem 112128 BLAKE2B 
ef0a722374057d7c5392924f68de8520f08cb0aa03
 DIST webmock-3.7.6.gem 122368 BLAKE2B 
9bc40971f1eec96d88217544acc67b7abfe6c0815a0696119e12fc5629b4f51e1164ecc982525d2c02fa50c7b1b09548c4831c1d597f06acde04a83227ba0dc9
 SHA512 
85455495476b22d94b23e34a92db3f0f8cf1aa5bb52ea6a8eb71f5f0bcbdad1edc13dff778c62806ec27850320e9f4e17f12525bbac552e5e105ee1ecd771efd
 DIST webmock-3.8.1.gem 122368 BLAKE2B 
ba956c72f20e2c21cea90b107ef445e42a6995fdb31f9af65c3b561e9e1fbb9fbd299db009a1d83ddfdb473ce030d40aadf6633e23afbd072ee3b4debf7e0be2
 SHA512 
b1137fabb000469ee88fdd5521756f368463ee49988d5d89b51fa8352362ff249a4849159504834933e5e1248ed9b6791d254528b3cdea461fc9e8e5d92a334c
 DIST webmock-3.8.2.gem 122880 BLAKE2B 
0cd10f391377749c6420d08434c8e66230612c50bdff86b4dfd098690c006426e241c32bf716e2f8b9ee6c0ce6488d1975b54f3e4cd85cc14d6c7f0880f65701
 SHA512 
ae6bdda341bea804257d9f9b57d17a65a25d030ee2f5a9b7fff125a5f7881a34584c6b5d26a1e6dd5a49bba56ad5b6e731defecd109e19a5144df4caf90561d4
+DIST webmock-3.8.3.gem 122880 BLAKE2B 
66371028294f3b15172d718e0fa9402ad6ed1bf7beedb0c62621ad31758d25e401af9cd982a6f29cd1161a7e4d7954f6f9df22ab2e0c44c970a0edca3c0f1304
 SHA512 
6c845c4ed0c82ba4bb1f32d0d87a87eb945c54e159317aa14e2238b497d38282b7e81542e78c0d68d4b8d4a08e46137de84503829b7381e6d945e45474ebb507

diff --git a/dev-ruby/webmock/webmock-3.8.3.ebuild 
b/dev-ruby/webmock/webmock-3.8.3.ebuild
new file mode 100644
index 000..04f3e54f793
--- /dev/null
+++ b/dev-ruby/webmock/webmock-3.8.3.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP 
requests"
+HOMEPAGE="https://github.com/bblimke/webmock";
+
+LICENSE="GPL-2"
+SLOT="3"
+KEYWORDS="~amd64 ~arm ~hppa ~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-0.4.0:0"
+
+ruby_add_bdepend "test? (
+   dev-ruby/minitest:5
+   dev-ruby/rspec:3
+   >=dev-ruby/test-unit-3.0.0
+   dev-ruby/rack
+   >=dev-ruby/httpclient-2.8.0
+   || ( dev-ruby/http:4 dev-ruby/http:3 ) )"
+
+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 '1igem "test-unit"' test/test_helper.rb || die
+
+   # There is now optional support for curb and typhoeus which we don't
+   # have in Gentoo yet. em_http_request is available in Gentoo but its
+   # version is too old. patron's latest version is not compatible.
+   sed -i -e '/\(curb\|typhoeus\|em-http\|patron\)/d' spec/spec_helper.rb 
|| die
+   rm 
spec/acceptance/{typhoeus,curb,excon,em_http_request,patron,async_http_client}/*
 || 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
+
+   # Avoid specs that require network access
+   sed -i -e '/when request is not stubbed/,/^  end/ s:^:#:' 
spec/acceptance/shared/callbacks.rb
+}
+
+each_ruby_test() {
+   ${RUBY} -S rake test NO_CONNECTION=true || die
+   ${RUBY} -S rspec-3 spec || die
+
+   einfo "Delay to allow the test server to stop"
+   sleep 10
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2020-03-11 Thread Hans de Graaff
commit: de75c5847092911e69887d62a35a2f638a88c340
Author: Hans de Graaff  gentoo  org>
AuthorDate: Wed Mar 11 08:55:51 2020 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Wed Mar 11 09:04:56 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de75c584

dev-ruby/webmock: cleanup

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/webmock/Manifest |  2 --
 dev-ruby/webmock/webmock-3.6.2.ebuild | 61 ---
 dev-ruby/webmock/webmock-3.8.0.ebuild | 61 ---
 3 files changed, 124 deletions(-)

diff --git a/dev-ruby/webmock/Manifest b/dev-ruby/webmock/Manifest
index 107b353e7a1..cec67bc697d 100644
--- a/dev-ruby/webmock/Manifest
+++ b/dev-ruby/webmock/Manifest
@@ -1,6 +1,4 @@
 DIST webmock-2.3.2.gem 112128 BLAKE2B 
ef0a722374057d7c5392924f68de8520f08cb0aa038fc0b8511e00bbd9dc13f6535955f77611e414a33dbf0ed7a519e9c18caf8517d10be7438e7360c3037a1e
 SHA512 
bb61b645b287d15690aa81db4d4c937d3456e1911d394ef1fb31e8ff3530d47b865aa039c8aaa4d4b6a72132dfcdd06be66adf1b53793384dc27ac1c9f9c01e6
-DIST webmock-3.6.2.gem 117760 BLAKE2B 
132b700323cbc4e753406ccfcc69375107c1d8546fd71bacf13db614d1818926321e2cd27dfc08670f908e0ac5946b06892138c2701fb1f27cfcf9fb6dd56c3d
 SHA512 
1d6141be90840d01e3d7b8e925e0a981ac715fbca1219dd35edd7cf3bcea1c1da3442aaa131e3586f0827a7b06207314119c1f47e6ae64f11f154c70ba6fc5c2
 DIST webmock-3.7.6.gem 122368 BLAKE2B 
9bc40971f1eec96d88217544acc67b7abfe6c0815a0696119e12fc5629b4f51e1164ecc982525d2c02fa50c7b1b09548c4831c1d597f06acde04a83227ba0dc9
 SHA512 
85455495476b22d94b23e34a92db3f0f8cf1aa5bb52ea6a8eb71f5f0bcbdad1edc13dff778c62806ec27850320e9f4e17f12525bbac552e5e105ee1ecd771efd
-DIST webmock-3.8.0.gem 122368 BLAKE2B 
17533e0ba297e2caed6de736f7e0b740d33ac8d08d743ef0ac543e443c990fe2a22b14519c599c2d5e36a0bab67d9d72e3aac99ec2ca2dc3f25643b90a75943a
 SHA512 
3c0bb83abafaf1c25f8129fe1017acc323385de0ecf00229f4ebdc1ce60bf83c8d8a05372cfb6e80c2382324854dd985b06ecf3e2003ca4697a65c57c5788d1e
 DIST webmock-3.8.1.gem 122368 BLAKE2B 
ba956c72f20e2c21cea90b107ef445e42a6995fdb31f9af65c3b561e9e1fbb9fbd299db009a1d83ddfdb473ce030d40aadf6633e23afbd072ee3b4debf7e0be2
 SHA512 
b1137fabb000469ee88fdd5521756f368463ee49988d5d89b51fa8352362ff249a4849159504834933e5e1248ed9b6791d254528b3cdea461fc9e8e5d92a334c
 DIST webmock-3.8.2.gem 122880 BLAKE2B 
0cd10f391377749c6420d08434c8e66230612c50bdff86b4dfd098690c006426e241c32bf716e2f8b9ee6c0ce6488d1975b54f3e4cd85cc14d6c7f0880f65701
 SHA512 
ae6bdda341bea804257d9f9b57d17a65a25d030ee2f5a9b7fff125a5f7881a34584c6b5d26a1e6dd5a49bba56ad5b6e731defecd109e19a5144df4caf90561d4

diff --git a/dev-ruby/webmock/webmock-3.6.2.ebuild 
b/dev-ruby/webmock/webmock-3.6.2.ebuild
deleted file mode 100644
index 79c8d404ebb..000
--- a/dev-ruby/webmock/webmock-3.6.2.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-USE_RUBY="ruby24 ruby25 ruby26"
-
-RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
-
-RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
-
-inherit ruby-fakegem
-
-DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP 
requests"
-HOMEPAGE="https://github.com/bblimke/webmock";
-
-LICENSE="GPL-2"
-SLOT="3"
-KEYWORDS="amd64 ~arm ~hppa ~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-0.4.0:0"
-
-ruby_add_bdepend "test? (
-   dev-ruby/minitest:5
-   dev-ruby/rspec:3
-   >=dev-ruby/test-unit-3.0.0
-   dev-ruby/rack
-   >=dev-ruby/httpclient-2.8.0
-   || ( dev-ruby/http:4 dev-ruby/http:3 ) )"
-
-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 '1igem "test-unit"' test/test_helper.rb || die
-
-   # There is now optional support for curb and typhoeus which we don't
-   # have in Gentoo yet. em_http_request is available in Gentoo but its
-   # version is too old. patron's latest version is not compatible.
-   sed -i -e '/\(curb\|typhoeus\|em-http\|patron\)/d' spec/spec_helper.rb 
|| die
-   rm spec/acceptance/{typhoeus,curb,excon,em_http_request,patron}/* || 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
-
-   # Avoid specs that require network access
-   sed -i -e '/when request is not stubbed/,/^  end/ s:^:#:' 
spec/acceptance/shared/callbacks.

[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2020-02-19 Thread Hans de Graaff
commit: 0bb0e5840967aeb03d6c43ffc1d3396f2a5ec33e
Author: Hans de Graaff  gentoo  org>
AuthorDate: Wed Feb 19 19:17:19 2020 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Wed Feb 19 19:20:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bb0e584

dev-ruby/webmock: amd64 stable

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/webmock/webmock-3.7.6.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/webmock/webmock-3.7.6.ebuild 
b/dev-ruby/webmock/webmock-3.7.6.ebuild
index 377168ac604..ac9f574bd03 100644
--- a/dev-ruby/webmock/webmock-3.7.6.ebuild
+++ b/dev-ruby/webmock/webmock-3.7.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -16,7 +16,7 @@ HOMEPAGE="https://github.com/bblimke/webmock";
 
 LICENSE="GPL-2"
 SLOT="3"
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+KEYWORDS="amd64 ~arm ~hppa ~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-0.4.0:0"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2020-02-14 Thread Hans de Graaff
commit: 7eabba0202059add53769939ac3410ee6e0634ee
Author: Hans de Graaff  gentoo  org>
AuthorDate: Fri Feb 14 08:49:26 2020 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sat Feb 15 06:43:52 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7eabba02

dev-ruby/webmock: add 3.8.2

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/webmock/Manifest |  1 +
 dev-ruby/webmock/webmock-3.8.2.ebuild | 61 +++
 2 files changed, 62 insertions(+)

diff --git a/dev-ruby/webmock/Manifest b/dev-ruby/webmock/Manifest
index a302071ef51..107b353e7a1 100644
--- a/dev-ruby/webmock/Manifest
+++ b/dev-ruby/webmock/Manifest
@@ -3,3 +3,4 @@ DIST webmock-3.6.2.gem 117760 BLAKE2B 
132b700323cbc4e753406ccfcc69375107c1d8546f
 DIST webmock-3.7.6.gem 122368 BLAKE2B 
9bc40971f1eec96d88217544acc67b7abfe6c0815a0696119e12fc5629b4f51e1164ecc982525d2c02fa50c7b1b09548c4831c1d597f06acde04a83227ba0dc9
 SHA512 
85455495476b22d94b23e34a92db3f0f8cf1aa5bb52ea6a8eb71f5f0bcbdad1edc13dff778c62806ec27850320e9f4e17f12525bbac552e5e105ee1ecd771efd
 DIST webmock-3.8.0.gem 122368 BLAKE2B 
17533e0ba297e2caed6de736f7e0b740d33ac8d08d743ef0ac543e443c990fe2a22b14519c599c2d5e36a0bab67d9d72e3aac99ec2ca2dc3f25643b90a75943a
 SHA512 
3c0bb83abafaf1c25f8129fe1017acc323385de0ecf00229f4ebdc1ce60bf83c8d8a05372cfb6e80c2382324854dd985b06ecf3e2003ca4697a65c57c5788d1e
 DIST webmock-3.8.1.gem 122368 BLAKE2B 
ba956c72f20e2c21cea90b107ef445e42a6995fdb31f9af65c3b561e9e1fbb9fbd299db009a1d83ddfdb473ce030d40aadf6633e23afbd072ee3b4debf7e0be2
 SHA512 
b1137fabb000469ee88fdd5521756f368463ee49988d5d89b51fa8352362ff249a4849159504834933e5e1248ed9b6791d254528b3cdea461fc9e8e5d92a334c
+DIST webmock-3.8.2.gem 122880 BLAKE2B 
0cd10f391377749c6420d08434c8e66230612c50bdff86b4dfd098690c006426e241c32bf716e2f8b9ee6c0ce6488d1975b54f3e4cd85cc14d6c7f0880f65701
 SHA512 
ae6bdda341bea804257d9f9b57d17a65a25d030ee2f5a9b7fff125a5f7881a34584c6b5d26a1e6dd5a49bba56ad5b6e731defecd109e19a5144df4caf90561d4

diff --git a/dev-ruby/webmock/webmock-3.8.2.ebuild 
b/dev-ruby/webmock/webmock-3.8.2.ebuild
new file mode 100644
index 000..04f3e54f793
--- /dev/null
+++ b/dev-ruby/webmock/webmock-3.8.2.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP 
requests"
+HOMEPAGE="https://github.com/bblimke/webmock";
+
+LICENSE="GPL-2"
+SLOT="3"
+KEYWORDS="~amd64 ~arm ~hppa ~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-0.4.0:0"
+
+ruby_add_bdepend "test? (
+   dev-ruby/minitest:5
+   dev-ruby/rspec:3
+   >=dev-ruby/test-unit-3.0.0
+   dev-ruby/rack
+   >=dev-ruby/httpclient-2.8.0
+   || ( dev-ruby/http:4 dev-ruby/http:3 ) )"
+
+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 '1igem "test-unit"' test/test_helper.rb || die
+
+   # There is now optional support for curb and typhoeus which we don't
+   # have in Gentoo yet. em_http_request is available in Gentoo but its
+   # version is too old. patron's latest version is not compatible.
+   sed -i -e '/\(curb\|typhoeus\|em-http\|patron\)/d' spec/spec_helper.rb 
|| die
+   rm 
spec/acceptance/{typhoeus,curb,excon,em_http_request,patron,async_http_client}/*
 || 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
+
+   # Avoid specs that require network access
+   sed -i -e '/when request is not stubbed/,/^  end/ s:^:#:' 
spec/acceptance/shared/callbacks.rb
+}
+
+each_ruby_test() {
+   ${RUBY} -S rake test NO_CONNECTION=true || die
+   ${RUBY} -S rspec-3 spec || die
+
+   einfo "Delay to allow the test server to stop"
+   sleep 10
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2020-02-07 Thread Hans de Graaff
commit: 8730078764a4c8c0d71e48de2f1500c6d4a45c93
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sat Feb  8 07:51:44 2020 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sat Feb  8 07:51:58 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87300787

dev-ruby/webmock: add 3.8.1

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/webmock/Manifest |  1 +
 dev-ruby/webmock/webmock-3.8.1.ebuild | 61 +++
 2 files changed, 62 insertions(+)

diff --git a/dev-ruby/webmock/Manifest b/dev-ruby/webmock/Manifest
index 9a556b9c42c..a302071ef51 100644
--- a/dev-ruby/webmock/Manifest
+++ b/dev-ruby/webmock/Manifest
@@ -2,3 +2,4 @@ DIST webmock-2.3.2.gem 112128 BLAKE2B 
ef0a722374057d7c5392924f68de8520f08cb0aa03
 DIST webmock-3.6.2.gem 117760 BLAKE2B 
132b700323cbc4e753406ccfcc69375107c1d8546fd71bacf13db614d1818926321e2cd27dfc08670f908e0ac5946b06892138c2701fb1f27cfcf9fb6dd56c3d
 SHA512 
1d6141be90840d01e3d7b8e925e0a981ac715fbca1219dd35edd7cf3bcea1c1da3442aaa131e3586f0827a7b06207314119c1f47e6ae64f11f154c70ba6fc5c2
 DIST webmock-3.7.6.gem 122368 BLAKE2B 
9bc40971f1eec96d88217544acc67b7abfe6c0815a0696119e12fc5629b4f51e1164ecc982525d2c02fa50c7b1b09548c4831c1d597f06acde04a83227ba0dc9
 SHA512 
85455495476b22d94b23e34a92db3f0f8cf1aa5bb52ea6a8eb71f5f0bcbdad1edc13dff778c62806ec27850320e9f4e17f12525bbac552e5e105ee1ecd771efd
 DIST webmock-3.8.0.gem 122368 BLAKE2B 
17533e0ba297e2caed6de736f7e0b740d33ac8d08d743ef0ac543e443c990fe2a22b14519c599c2d5e36a0bab67d9d72e3aac99ec2ca2dc3f25643b90a75943a
 SHA512 
3c0bb83abafaf1c25f8129fe1017acc323385de0ecf00229f4ebdc1ce60bf83c8d8a05372cfb6e80c2382324854dd985b06ecf3e2003ca4697a65c57c5788d1e
+DIST webmock-3.8.1.gem 122368 BLAKE2B 
ba956c72f20e2c21cea90b107ef445e42a6995fdb31f9af65c3b561e9e1fbb9fbd299db009a1d83ddfdb473ce030d40aadf6633e23afbd072ee3b4debf7e0be2
 SHA512 
b1137fabb000469ee88fdd5521756f368463ee49988d5d89b51fa8352362ff249a4849159504834933e5e1248ed9b6791d254528b3cdea461fc9e8e5d92a334c

diff --git a/dev-ruby/webmock/webmock-3.8.1.ebuild 
b/dev-ruby/webmock/webmock-3.8.1.ebuild
new file mode 100644
index 000..04f3e54f793
--- /dev/null
+++ b/dev-ruby/webmock/webmock-3.8.1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP 
requests"
+HOMEPAGE="https://github.com/bblimke/webmock";
+
+LICENSE="GPL-2"
+SLOT="3"
+KEYWORDS="~amd64 ~arm ~hppa ~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-0.4.0:0"
+
+ruby_add_bdepend "test? (
+   dev-ruby/minitest:5
+   dev-ruby/rspec:3
+   >=dev-ruby/test-unit-3.0.0
+   dev-ruby/rack
+   >=dev-ruby/httpclient-2.8.0
+   || ( dev-ruby/http:4 dev-ruby/http:3 ) )"
+
+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 '1igem "test-unit"' test/test_helper.rb || die
+
+   # There is now optional support for curb and typhoeus which we don't
+   # have in Gentoo yet. em_http_request is available in Gentoo but its
+   # version is too old. patron's latest version is not compatible.
+   sed -i -e '/\(curb\|typhoeus\|em-http\|patron\)/d' spec/spec_helper.rb 
|| die
+   rm 
spec/acceptance/{typhoeus,curb,excon,em_http_request,patron,async_http_client}/*
 || 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
+
+   # Avoid specs that require network access
+   sed -i -e '/when request is not stubbed/,/^  end/ s:^:#:' 
spec/acceptance/shared/callbacks.rb
+}
+
+each_ruby_test() {
+   ${RUBY} -S rake test NO_CONNECTION=true || die
+   ${RUBY} -S rspec-3 spec || die
+
+   einfo "Delay to allow the test server to stop"
+   sleep 10
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2020-01-19 Thread Hans de Graaff
commit: 010b97d6b42635cdfebbeb854e7f27800d42abfe
Author: Hans de Graaff  gentoo  org>
AuthorDate: Mon Jan 20 06:12:17 2020 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Mon Jan 20 06:29:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=010b97d6

dev-ruby/webmock: cleanup

Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/webmock/Manifest |  3 --
 dev-ruby/webmock/webmock-3.7.2.ebuild | 61 ---
 dev-ruby/webmock/webmock-3.7.3.ebuild | 61 ---
 dev-ruby/webmock/webmock-3.7.5.ebuild | 61 ---
 4 files changed, 186 deletions(-)

diff --git a/dev-ruby/webmock/Manifest b/dev-ruby/webmock/Manifest
index 2d6bc538354..9b50fe60453 100644
--- a/dev-ruby/webmock/Manifest
+++ b/dev-ruby/webmock/Manifest
@@ -1,6 +1,3 @@
 DIST webmock-2.3.2.gem 112128 BLAKE2B 
ef0a722374057d7c5392924f68de8520f08cb0aa038fc0b8511e00bbd9dc13f6535955f77611e414a33dbf0ed7a519e9c18caf8517d10be7438e7360c3037a1e
 SHA512 
bb61b645b287d15690aa81db4d4c937d3456e1911d394ef1fb31e8ff3530d47b865aa039c8aaa4d4b6a72132dfcdd06be66adf1b53793384dc27ac1c9f9c01e6
 DIST webmock-3.6.2.gem 117760 BLAKE2B 
132b700323cbc4e753406ccfcc69375107c1d8546fd71bacf13db614d1818926321e2cd27dfc08670f908e0ac5946b06892138c2701fb1f27cfcf9fb6dd56c3d
 SHA512 
1d6141be90840d01e3d7b8e925e0a981ac715fbca1219dd35edd7cf3bcea1c1da3442aaa131e3586f0827a7b06207314119c1f47e6ae64f11f154c70ba6fc5c2
-DIST webmock-3.7.2.gem 121344 BLAKE2B 
616ff870ddb78cdfbf37a94222679c3ce9fcebc9c84b8f92d0aaaefa92a028dde932d3fd51cb5f87f70f9698f4c19fac629aef29c2e3e440a4a1cc9334abcb60
 SHA512 
aa665ea771fbcd077f959abbfac69408726271700aed67f522a098c263bc237c741f4bc8271e053d77aa6df5156afbb21785621f7497f2fb169d9ae36ea306f3
-DIST webmock-3.7.3.gem 121856 BLAKE2B 
b271f3df74fcc181f05d0a5a148bfc6607c7f11a409122d64e6432a7e376e8f72ff83f885e4147d04abd033936dc4b9ef344ab6b3056de2300b54074b8ff0a40
 SHA512 
fc4b35b1cbd4aa9dd323a20c686ebb7af0dacc0a5b1a9d9ea916dbc93380b772da6cdb1b8193f60b785ba2bf97b8f3f525db174a4d7bb626197c00244ddb2b2c
-DIST webmock-3.7.5.gem 121856 BLAKE2B 
dd15fcf2276f1e1e2fb3cf2a0bd43f151dd0f3105889c2c617ba8e782f5c83aeee7478cb0bb6a936939a0bbf32d571627b58b35293336a0f428411be7277
 SHA512 
3f4a9b8e6167559f9bf7690e91d8d336dfb4d811c5c04cb0ff3fbc26fcc58b76f6cb456718b30619216c5f53ccfff599dce2cc73294c023e6a45e91db02469d7
 DIST webmock-3.7.6.gem 122368 BLAKE2B 
9bc40971f1eec96d88217544acc67b7abfe6c0815a0696119e12fc5629b4f51e1164ecc982525d2c02fa50c7b1b09548c4831c1d597f06acde04a83227ba0dc9
 SHA512 
85455495476b22d94b23e34a92db3f0f8cf1aa5bb52ea6a8eb71f5f0bcbdad1edc13dff778c62806ec27850320e9f4e17f12525bbac552e5e105ee1ecd771efd

diff --git a/dev-ruby/webmock/webmock-3.7.2.ebuild 
b/dev-ruby/webmock/webmock-3.7.2.ebuild
deleted file mode 100644
index 377168ac604..000
--- a/dev-ruby/webmock/webmock-3.7.2.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-USE_RUBY="ruby24 ruby25 ruby26"
-
-RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
-
-RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
-
-inherit ruby-fakegem
-
-DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP 
requests"
-HOMEPAGE="https://github.com/bblimke/webmock";
-
-LICENSE="GPL-2"
-SLOT="3"
-KEYWORDS="~amd64 ~arm ~hppa ~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-0.4.0:0"
-
-ruby_add_bdepend "test? (
-   dev-ruby/minitest:5
-   dev-ruby/rspec:3
-   >=dev-ruby/test-unit-3.0.0
-   dev-ruby/rack
-   >=dev-ruby/httpclient-2.8.0
-   || ( dev-ruby/http:4 dev-ruby/http:3 ) )"
-
-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 '1igem "test-unit"' test/test_helper.rb || die
-
-   # There is now optional support for curb and typhoeus which we don't
-   # have in Gentoo yet. em_http_request is available in Gentoo but its
-   # version is too old. patron's latest version is not compatible.
-   sed -i -e '/\(curb\|typhoeus\|em-http\|patron\)/d' spec/spec_helper.rb 
|| die
-   rm 
spec/acceptance/{typhoeus,curb,excon,em_http_request,patron,async_http_client}/*
 || 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
-
-   # Avoid specs that require network access
-  

[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2020-01-19 Thread Hans de Graaff
commit: 05c2cac7489a3ae002f8df80b8b1aa6725b3bd35
Author: Hans de Graaff  gentoo  org>
AuthorDate: Mon Jan 20 06:29:40 2020 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Mon Jan 20 06:29:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05c2cac7

dev-ruby/webmock: add 3.8.0

Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/webmock/Manifest |  1 +
 dev-ruby/webmock/webmock-3.8.0.ebuild | 61 +++
 2 files changed, 62 insertions(+)

diff --git a/dev-ruby/webmock/Manifest b/dev-ruby/webmock/Manifest
index 9b50fe60453..9a556b9c42c 100644
--- a/dev-ruby/webmock/Manifest
+++ b/dev-ruby/webmock/Manifest
@@ -1,3 +1,4 @@
 DIST webmock-2.3.2.gem 112128 BLAKE2B 
ef0a722374057d7c5392924f68de8520f08cb0aa038fc0b8511e00bbd9dc13f6535955f77611e414a33dbf0ed7a519e9c18caf8517d10be7438e7360c3037a1e
 SHA512 
bb61b645b287d15690aa81db4d4c937d3456e1911d394ef1fb31e8ff3530d47b865aa039c8aaa4d4b6a72132dfcdd06be66adf1b53793384dc27ac1c9f9c01e6
 DIST webmock-3.6.2.gem 117760 BLAKE2B 
132b700323cbc4e753406ccfcc69375107c1d8546fd71bacf13db614d1818926321e2cd27dfc08670f908e0ac5946b06892138c2701fb1f27cfcf9fb6dd56c3d
 SHA512 
1d6141be90840d01e3d7b8e925e0a981ac715fbca1219dd35edd7cf3bcea1c1da3442aaa131e3586f0827a7b06207314119c1f47e6ae64f11f154c70ba6fc5c2
 DIST webmock-3.7.6.gem 122368 BLAKE2B 
9bc40971f1eec96d88217544acc67b7abfe6c0815a0696119e12fc5629b4f51e1164ecc982525d2c02fa50c7b1b09548c4831c1d597f06acde04a83227ba0dc9
 SHA512 
85455495476b22d94b23e34a92db3f0f8cf1aa5bb52ea6a8eb71f5f0bcbdad1edc13dff778c62806ec27850320e9f4e17f12525bbac552e5e105ee1ecd771efd
+DIST webmock-3.8.0.gem 122368 BLAKE2B 
17533e0ba297e2caed6de736f7e0b740d33ac8d08d743ef0ac543e443c990fe2a22b14519c599c2d5e36a0bab67d9d72e3aac99ec2ca2dc3f25643b90a75943a
 SHA512 
3c0bb83abafaf1c25f8129fe1017acc323385de0ecf00229f4ebdc1ce60bf83c8d8a05372cfb6e80c2382324854dd985b06ecf3e2003ca4697a65c57c5788d1e

diff --git a/dev-ruby/webmock/webmock-3.8.0.ebuild 
b/dev-ruby/webmock/webmock-3.8.0.ebuild
new file mode 100644
index 000..04f3e54f793
--- /dev/null
+++ b/dev-ruby/webmock/webmock-3.8.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP 
requests"
+HOMEPAGE="https://github.com/bblimke/webmock";
+
+LICENSE="GPL-2"
+SLOT="3"
+KEYWORDS="~amd64 ~arm ~hppa ~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-0.4.0:0"
+
+ruby_add_bdepend "test? (
+   dev-ruby/minitest:5
+   dev-ruby/rspec:3
+   >=dev-ruby/test-unit-3.0.0
+   dev-ruby/rack
+   >=dev-ruby/httpclient-2.8.0
+   || ( dev-ruby/http:4 dev-ruby/http:3 ) )"
+
+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 '1igem "test-unit"' test/test_helper.rb || die
+
+   # There is now optional support for curb and typhoeus which we don't
+   # have in Gentoo yet. em_http_request is available in Gentoo but its
+   # version is too old. patron's latest version is not compatible.
+   sed -i -e '/\(curb\|typhoeus\|em-http\|patron\)/d' spec/spec_helper.rb 
|| die
+   rm 
spec/acceptance/{typhoeus,curb,excon,em_http_request,patron,async_http_client}/*
 || 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
+
+   # Avoid specs that require network access
+   sed -i -e '/when request is not stubbed/,/^  end/ s:^:#:' 
spec/acceptance/shared/callbacks.rb
+}
+
+each_ruby_test() {
+   ${RUBY} -S rake test NO_CONNECTION=true || die
+   ${RUBY} -S rspec-3 spec || die
+
+   einfo "Delay to allow the test server to stop"
+   sleep 10
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2019-10-01 Thread Hans de Graaff
commit: f9498678ae657a5aa3ea5e3a2bf8b775c7f0316e
Author: Hans de Graaff  gentoo  org>
AuthorDate: Tue Oct  1 17:53:50 2019 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Oct  1 18:05:44 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9498678

dev-ruby/webmock: add 3.7.6

Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/webmock/Manifest |  1 +
 dev-ruby/webmock/webmock-3.7.6.ebuild | 61 +++
 2 files changed, 62 insertions(+)

diff --git a/dev-ruby/webmock/Manifest b/dev-ruby/webmock/Manifest
index 523e56c3735..2d6bc538354 100644
--- a/dev-ruby/webmock/Manifest
+++ b/dev-ruby/webmock/Manifest
@@ -3,3 +3,4 @@ DIST webmock-3.6.2.gem 117760 BLAKE2B 
132b700323cbc4e753406ccfcc69375107c1d8546f
 DIST webmock-3.7.2.gem 121344 BLAKE2B 
616ff870ddb78cdfbf37a94222679c3ce9fcebc9c84b8f92d0aaaefa92a028dde932d3fd51cb5f87f70f9698f4c19fac629aef29c2e3e440a4a1cc9334abcb60
 SHA512 
aa665ea771fbcd077f959abbfac69408726271700aed67f522a098c263bc237c741f4bc8271e053d77aa6df5156afbb21785621f7497f2fb169d9ae36ea306f3
 DIST webmock-3.7.3.gem 121856 BLAKE2B 
b271f3df74fcc181f05d0a5a148bfc6607c7f11a409122d64e6432a7e376e8f72ff83f885e4147d04abd033936dc4b9ef344ab6b3056de2300b54074b8ff0a40
 SHA512 
fc4b35b1cbd4aa9dd323a20c686ebb7af0dacc0a5b1a9d9ea916dbc93380b772da6cdb1b8193f60b785ba2bf97b8f3f525db174a4d7bb626197c00244ddb2b2c
 DIST webmock-3.7.5.gem 121856 BLAKE2B 
dd15fcf2276f1e1e2fb3cf2a0bd43f151dd0f3105889c2c617ba8e782f5c83aeee7478cb0bb6a936939a0bbf32d571627b58b35293336a0f428411be7277
 SHA512 
3f4a9b8e6167559f9bf7690e91d8d336dfb4d811c5c04cb0ff3fbc26fcc58b76f6cb456718b30619216c5f53ccfff599dce2cc73294c023e6a45e91db02469d7
+DIST webmock-3.7.6.gem 122368 BLAKE2B 
9bc40971f1eec96d88217544acc67b7abfe6c0815a0696119e12fc5629b4f51e1164ecc982525d2c02fa50c7b1b09548c4831c1d597f06acde04a83227ba0dc9
 SHA512 
85455495476b22d94b23e34a92db3f0f8cf1aa5bb52ea6a8eb71f5f0bcbdad1edc13dff778c62806ec27850320e9f4e17f12525bbac552e5e105ee1ecd771efd

diff --git a/dev-ruby/webmock/webmock-3.7.6.ebuild 
b/dev-ruby/webmock/webmock-3.7.6.ebuild
new file mode 100644
index 000..377168ac604
--- /dev/null
+++ b/dev-ruby/webmock/webmock-3.7.6.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP 
requests"
+HOMEPAGE="https://github.com/bblimke/webmock";
+
+LICENSE="GPL-2"
+SLOT="3"
+KEYWORDS="~amd64 ~arm ~hppa ~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-0.4.0:0"
+
+ruby_add_bdepend "test? (
+   dev-ruby/minitest:5
+   dev-ruby/rspec:3
+   >=dev-ruby/test-unit-3.0.0
+   dev-ruby/rack
+   >=dev-ruby/httpclient-2.8.0
+   || ( dev-ruby/http:4 dev-ruby/http:3 ) )"
+
+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 '1igem "test-unit"' test/test_helper.rb || die
+
+   # There is now optional support for curb and typhoeus which we don't
+   # have in Gentoo yet. em_http_request is available in Gentoo but its
+   # version is too old. patron's latest version is not compatible.
+   sed -i -e '/\(curb\|typhoeus\|em-http\|patron\)/d' spec/spec_helper.rb 
|| die
+   rm 
spec/acceptance/{typhoeus,curb,excon,em_http_request,patron,async_http_client}/*
 || 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
+
+   # Avoid specs that require network access
+   sed -i -e '/when request is not stubbed/,/^  end/ s:^:#:' 
spec/acceptance/shared/callbacks.rb
+}
+
+each_ruby_test() {
+   ${RUBY} -S rake test NO_CONNECTION=true || die
+   ${RUBY} -S rspec-3 spec || die
+
+   einfo "Delay to allow the test server to stop"
+   sleep 10
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2019-09-29 Thread Hans de Graaff
commit: d538689071e21d7fd801f32299d4cc614664a99d
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Sep 29 06:15:42 2019 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Sep 29 09:06:53 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5386890

dev-ruby/webmock: add 3.7.5

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/webmock/Manifest |  1 +
 dev-ruby/webmock/webmock-3.7.5.ebuild | 61 +++
 2 files changed, 62 insertions(+)

diff --git a/dev-ruby/webmock/Manifest b/dev-ruby/webmock/Manifest
index 177b32e352c..523e56c3735 100644
--- a/dev-ruby/webmock/Manifest
+++ b/dev-ruby/webmock/Manifest
@@ -2,3 +2,4 @@ DIST webmock-2.3.2.gem 112128 BLAKE2B 
ef0a722374057d7c5392924f68de8520f08cb0aa03
 DIST webmock-3.6.2.gem 117760 BLAKE2B 
132b700323cbc4e753406ccfcc69375107c1d8546fd71bacf13db614d1818926321e2cd27dfc08670f908e0ac5946b06892138c2701fb1f27cfcf9fb6dd56c3d
 SHA512 
1d6141be90840d01e3d7b8e925e0a981ac715fbca1219dd35edd7cf3bcea1c1da3442aaa131e3586f0827a7b06207314119c1f47e6ae64f11f154c70ba6fc5c2
 DIST webmock-3.7.2.gem 121344 BLAKE2B 
616ff870ddb78cdfbf37a94222679c3ce9fcebc9c84b8f92d0aaaefa92a028dde932d3fd51cb5f87f70f9698f4c19fac629aef29c2e3e440a4a1cc9334abcb60
 SHA512 
aa665ea771fbcd077f959abbfac69408726271700aed67f522a098c263bc237c741f4bc8271e053d77aa6df5156afbb21785621f7497f2fb169d9ae36ea306f3
 DIST webmock-3.7.3.gem 121856 BLAKE2B 
b271f3df74fcc181f05d0a5a148bfc6607c7f11a409122d64e6432a7e376e8f72ff83f885e4147d04abd033936dc4b9ef344ab6b3056de2300b54074b8ff0a40
 SHA512 
fc4b35b1cbd4aa9dd323a20c686ebb7af0dacc0a5b1a9d9ea916dbc93380b772da6cdb1b8193f60b785ba2bf97b8f3f525db174a4d7bb626197c00244ddb2b2c
+DIST webmock-3.7.5.gem 121856 BLAKE2B 
dd15fcf2276f1e1e2fb3cf2a0bd43f151dd0f3105889c2c617ba8e782f5c83aeee7478cb0bb6a936939a0bbf32d571627b58b35293336a0f428411be7277
 SHA512 
3f4a9b8e6167559f9bf7690e91d8d336dfb4d811c5c04cb0ff3fbc26fcc58b76f6cb456718b30619216c5f53ccfff599dce2cc73294c023e6a45e91db02469d7

diff --git a/dev-ruby/webmock/webmock-3.7.5.ebuild 
b/dev-ruby/webmock/webmock-3.7.5.ebuild
new file mode 100644
index 000..377168ac604
--- /dev/null
+++ b/dev-ruby/webmock/webmock-3.7.5.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP 
requests"
+HOMEPAGE="https://github.com/bblimke/webmock";
+
+LICENSE="GPL-2"
+SLOT="3"
+KEYWORDS="~amd64 ~arm ~hppa ~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-0.4.0:0"
+
+ruby_add_bdepend "test? (
+   dev-ruby/minitest:5
+   dev-ruby/rspec:3
+   >=dev-ruby/test-unit-3.0.0
+   dev-ruby/rack
+   >=dev-ruby/httpclient-2.8.0
+   || ( dev-ruby/http:4 dev-ruby/http:3 ) )"
+
+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 '1igem "test-unit"' test/test_helper.rb || die
+
+   # There is now optional support for curb and typhoeus which we don't
+   # have in Gentoo yet. em_http_request is available in Gentoo but its
+   # version is too old. patron's latest version is not compatible.
+   sed -i -e '/\(curb\|typhoeus\|em-http\|patron\)/d' spec/spec_helper.rb 
|| die
+   rm 
spec/acceptance/{typhoeus,curb,excon,em_http_request,patron,async_http_client}/*
 || 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
+
+   # Avoid specs that require network access
+   sed -i -e '/when request is not stubbed/,/^  end/ s:^:#:' 
spec/acceptance/shared/callbacks.rb
+}
+
+each_ruby_test() {
+   ${RUBY} -S rake test NO_CONNECTION=true || die
+   ${RUBY} -S rspec-3 spec || die
+
+   einfo "Delay to allow the test server to stop"
+   sleep 10
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2019-09-14 Thread Hans de Graaff
commit: 52b455d1be19e4d7aafe88964dcc0c24f9d5e125
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Sep 15 05:44:55 2019 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Sep 15 05:45:54 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52b455d1

dev-ruby/webmock: add 3.7.3

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/webmock/Manifest |  1 +
 dev-ruby/webmock/webmock-3.7.3.ebuild | 61 +++
 2 files changed, 62 insertions(+)

diff --git a/dev-ruby/webmock/Manifest b/dev-ruby/webmock/Manifest
index 2b715791f9e..3e4467c032c 100644
--- a/dev-ruby/webmock/Manifest
+++ b/dev-ruby/webmock/Manifest
@@ -3,3 +3,4 @@ DIST webmock-3.5.1.gem 116736 BLAKE2B 
eb6531dd481588419932a93d091bf2c2802d98a9ab
 DIST webmock-3.6.2.gem 117760 BLAKE2B 
132b700323cbc4e753406ccfcc69375107c1d8546fd71bacf13db614d1818926321e2cd27dfc08670f908e0ac5946b06892138c2701fb1f27cfcf9fb6dd56c3d
 SHA512 
1d6141be90840d01e3d7b8e925e0a981ac715fbca1219dd35edd7cf3bcea1c1da3442aaa131e3586f0827a7b06207314119c1f47e6ae64f11f154c70ba6fc5c2
 DIST webmock-3.7.1.gem 120832 BLAKE2B 
b661e0238904c42486f721e86d0c06a77ca9eb45d1ef3d975630344e1ad503d379518f0453a63fceb784f9aceeb10860e65c78b13ab02a3dd9d23d836948401d
 SHA512 
ccee64bb2a63e7099639cdc55c04862a0cab9b19fe01c7957c3b2a0d90b1e93c79f6fdce23d1827554377666228344475125acf26bc5f98ad2f9be02f4644245
 DIST webmock-3.7.2.gem 121344 BLAKE2B 
616ff870ddb78cdfbf37a94222679c3ce9fcebc9c84b8f92d0aaaefa92a028dde932d3fd51cb5f87f70f9698f4c19fac629aef29c2e3e440a4a1cc9334abcb60
 SHA512 
aa665ea771fbcd077f959abbfac69408726271700aed67f522a098c263bc237c741f4bc8271e053d77aa6df5156afbb21785621f7497f2fb169d9ae36ea306f3
+DIST webmock-3.7.3.gem 121856 BLAKE2B 
b271f3df74fcc181f05d0a5a148bfc6607c7f11a409122d64e6432a7e376e8f72ff83f885e4147d04abd033936dc4b9ef344ab6b3056de2300b54074b8ff0a40
 SHA512 
fc4b35b1cbd4aa9dd323a20c686ebb7af0dacc0a5b1a9d9ea916dbc93380b772da6cdb1b8193f60b785ba2bf97b8f3f525db174a4d7bb626197c00244ddb2b2c

diff --git a/dev-ruby/webmock/webmock-3.7.3.ebuild 
b/dev-ruby/webmock/webmock-3.7.3.ebuild
new file mode 100644
index 000..377168ac604
--- /dev/null
+++ b/dev-ruby/webmock/webmock-3.7.3.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP 
requests"
+HOMEPAGE="https://github.com/bblimke/webmock";
+
+LICENSE="GPL-2"
+SLOT="3"
+KEYWORDS="~amd64 ~arm ~hppa ~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-0.4.0:0"
+
+ruby_add_bdepend "test? (
+   dev-ruby/minitest:5
+   dev-ruby/rspec:3
+   >=dev-ruby/test-unit-3.0.0
+   dev-ruby/rack
+   >=dev-ruby/httpclient-2.8.0
+   || ( dev-ruby/http:4 dev-ruby/http:3 ) )"
+
+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 '1igem "test-unit"' test/test_helper.rb || die
+
+   # There is now optional support for curb and typhoeus which we don't
+   # have in Gentoo yet. em_http_request is available in Gentoo but its
+   # version is too old. patron's latest version is not compatible.
+   sed -i -e '/\(curb\|typhoeus\|em-http\|patron\)/d' spec/spec_helper.rb 
|| die
+   rm 
spec/acceptance/{typhoeus,curb,excon,em_http_request,patron,async_http_client}/*
 || 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
+
+   # Avoid specs that require network access
+   sed -i -e '/when request is not stubbed/,/^  end/ s:^:#:' 
spec/acceptance/shared/callbacks.rb
+}
+
+each_ruby_test() {
+   ${RUBY} -S rake test NO_CONNECTION=true || die
+   ${RUBY} -S rspec-3 spec || die
+
+   einfo "Delay to allow the test server to stop"
+   sleep 10
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2019-09-14 Thread Hans de Graaff
commit: 052697a91b7f3b0d511606f132ca396b61d1db08
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Sep 15 05:45:34 2019 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Sep 15 05:45:55 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=052697a9

dev-ruby/webmock: cleanup

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/webmock/Manifest |  2 --
 dev-ruby/webmock/webmock-3.5.1.ebuild | 62 ---
 dev-ruby/webmock/webmock-3.7.1.ebuild | 61 --
 3 files changed, 125 deletions(-)

diff --git a/dev-ruby/webmock/Manifest b/dev-ruby/webmock/Manifest
index 3e4467c032c..177b32e352c 100644
--- a/dev-ruby/webmock/Manifest
+++ b/dev-ruby/webmock/Manifest
@@ -1,6 +1,4 @@
 DIST webmock-2.3.2.gem 112128 BLAKE2B 
ef0a722374057d7c5392924f68de8520f08cb0aa038fc0b8511e00bbd9dc13f6535955f77611e414a33dbf0ed7a519e9c18caf8517d10be7438e7360c3037a1e
 SHA512 
bb61b645b287d15690aa81db4d4c937d3456e1911d394ef1fb31e8ff3530d47b865aa039c8aaa4d4b6a72132dfcdd06be66adf1b53793384dc27ac1c9f9c01e6
-DIST webmock-3.5.1.gem 116736 BLAKE2B 
eb6531dd481588419932a93d091bf2c2802d98a9abe650e892e568f13a642c61ccbf395e293fb0b24b2e96f464902f8311d03a7afe84e917c4780d2da6000a78
 SHA512 
6096ebe84140e7385ac941c2f63951d19523b2f7e3330fb38181f19c423b4c4d47828d200d8921e02850374b048902191f96f8d693746bcdf284cf0c5eacd924
 DIST webmock-3.6.2.gem 117760 BLAKE2B 
132b700323cbc4e753406ccfcc69375107c1d8546fd71bacf13db614d1818926321e2cd27dfc08670f908e0ac5946b06892138c2701fb1f27cfcf9fb6dd56c3d
 SHA512 
1d6141be90840d01e3d7b8e925e0a981ac715fbca1219dd35edd7cf3bcea1c1da3442aaa131e3586f0827a7b06207314119c1f47e6ae64f11f154c70ba6fc5c2
-DIST webmock-3.7.1.gem 120832 BLAKE2B 
b661e0238904c42486f721e86d0c06a77ca9eb45d1ef3d975630344e1ad503d379518f0453a63fceb784f9aceeb10860e65c78b13ab02a3dd9d23d836948401d
 SHA512 
ccee64bb2a63e7099639cdc55c04862a0cab9b19fe01c7957c3b2a0d90b1e93c79f6fdce23d1827554377666228344475125acf26bc5f98ad2f9be02f4644245
 DIST webmock-3.7.2.gem 121344 BLAKE2B 
616ff870ddb78cdfbf37a94222679c3ce9fcebc9c84b8f92d0aaaefa92a028dde932d3fd51cb5f87f70f9698f4c19fac629aef29c2e3e440a4a1cc9334abcb60
 SHA512 
aa665ea771fbcd077f959abbfac69408726271700aed67f522a098c263bc237c741f4bc8271e053d77aa6df5156afbb21785621f7497f2fb169d9ae36ea306f3
 DIST webmock-3.7.3.gem 121856 BLAKE2B 
b271f3df74fcc181f05d0a5a148bfc6607c7f11a409122d64e6432a7e376e8f72ff83f885e4147d04abd033936dc4b9ef344ab6b3056de2300b54074b8ff0a40
 SHA512 
fc4b35b1cbd4aa9dd323a20c686ebb7af0dacc0a5b1a9d9ea916dbc93380b772da6cdb1b8193f60b785ba2bf97b8f3f525db174a4d7bb626197c00244ddb2b2c

diff --git a/dev-ruby/webmock/webmock-3.5.1.ebuild 
b/dev-ruby/webmock/webmock-3.5.1.ebuild
deleted file mode 100644
index ae5c4de7fff..000
--- a/dev-ruby/webmock/webmock-3.5.1.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-USE_RUBY="ruby23 ruby24 ruby25 ruby26"
-
-RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
-
-RUBY_FAKEGEM_RECIPE_DOC="rdoc"
-RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
-
-inherit ruby-fakegem
-
-DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP 
requests"
-HOMEPAGE="https://github.com/bblimke/webmock";
-
-LICENSE="GPL-2"
-SLOT="3"
-KEYWORDS="amd64 ~arm ~hppa ~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"
-
-ruby_add_bdepend "test? (
-   dev-ruby/minitest:5
-   dev-ruby/rspec:3
-   >=dev-ruby/test-unit-3.0.0
-   dev-ruby/rack
-   >=dev-ruby/httpclient-2.8.0
-   || ( dev-ruby/http:4 dev-ruby/http:3 ) )"
-
-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 '1igem "test-unit"' test/test_helper.rb || die
-
-   # There is now optional support for curb and typhoeus which we don't
-   # have in Gentoo yet. em_http_request is available in Gentoo but its
-   # version is too old. patron's latest version is not compatible.
-   sed -i -e '/\(curb\|typhoeus\|em-http\|patron\)/d' spec/spec_helper.rb 
|| die
-   rm spec/acceptance/{typhoeus,curb,excon,em_http_request,patron}/* || 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
-
-   # Avoid specs that require network access
-   sed -i -e '/when request is not stubbed/,/^  end/ s:^:#:' 
spec/

[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2019-09-06 Thread Hans de Graaff
commit: 0a4dec8f9c5748c9fe51e22c37a4bece1f56f3af
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sat Sep  7 05:39:18 2019 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sat Sep  7 05:39:18 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a4dec8f

dev-ruby/webmock: amd64 stable

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/webmock/webmock-3.6.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/webmock/webmock-3.6.2.ebuild 
b/dev-ruby/webmock/webmock-3.6.2.ebuild
index ae657834d2f..79c8d404ebb 100644
--- a/dev-ruby/webmock/webmock-3.6.2.ebuild
+++ b/dev-ruby/webmock/webmock-3.6.2.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="https://github.com/bblimke/webmock";
 
 LICENSE="GPL-2"
 SLOT="3"
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+KEYWORDS="amd64 ~arm ~hppa ~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-0.4.0:0"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2019-09-06 Thread Hans de Graaff
commit: 81822af5c5a91fbdc6e467f0b3a91668aecba934
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sat Sep  7 05:36:20 2019 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sat Sep  7 05:36:20 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81822af5

dev-ruby/webmock: cleanup

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/webmock/Manifest |  2 --
 dev-ruby/webmock/webmock-3.6.0.ebuild | 62 ---
 dev-ruby/webmock/webmock-3.7.0.ebuild | 61 --
 3 files changed, 125 deletions(-)

diff --git a/dev-ruby/webmock/Manifest b/dev-ruby/webmock/Manifest
index 7f5df1063c9..3dcabb2c4ee 100644
--- a/dev-ruby/webmock/Manifest
+++ b/dev-ruby/webmock/Manifest
@@ -1,6 +1,4 @@
 DIST webmock-2.3.2.gem 112128 BLAKE2B 
ef0a722374057d7c5392924f68de8520f08cb0aa038fc0b8511e00bbd9dc13f6535955f77611e414a33dbf0ed7a519e9c18caf8517d10be7438e7360c3037a1e
 SHA512 
bb61b645b287d15690aa81db4d4c937d3456e1911d394ef1fb31e8ff3530d47b865aa039c8aaa4d4b6a72132dfcdd06be66adf1b53793384dc27ac1c9f9c01e6
 DIST webmock-3.5.1.gem 116736 BLAKE2B 
eb6531dd481588419932a93d091bf2c2802d98a9abe650e892e568f13a642c61ccbf395e293fb0b24b2e96f464902f8311d03a7afe84e917c4780d2da6000a78
 SHA512 
6096ebe84140e7385ac941c2f63951d19523b2f7e3330fb38181f19c423b4c4d47828d200d8921e02850374b048902191f96f8d693746bcdf284cf0c5eacd924
-DIST webmock-3.6.0.gem 117248 BLAKE2B 
251f80c90777deacc24588a947426252522c3b4ec1670e77801391e9ed495cc7790b2f7211abc728ac357b2876fbb16b654fffe410c5aa3e837c46e927f031f7
 SHA512 
4bb3ed9cf7e67c1560c1835e26275657b28b40e3f95dbe50156ce1960e418519020675b6ed07e80521d85ea0b0e53c22d674b7b17b4c9349ef62c089e6bc7891
 DIST webmock-3.6.2.gem 117760 BLAKE2B 
132b700323cbc4e753406ccfcc69375107c1d8546fd71bacf13db614d1818926321e2cd27dfc08670f908e0ac5946b06892138c2701fb1f27cfcf9fb6dd56c3d
 SHA512 
1d6141be90840d01e3d7b8e925e0a981ac715fbca1219dd35edd7cf3bcea1c1da3442aaa131e3586f0827a7b06207314119c1f47e6ae64f11f154c70ba6fc5c2
-DIST webmock-3.7.0.gem 120832 BLAKE2B 
24936bbbd1e0451759acba1fe3dd1760929535210d5e66ebfcfadb4d160a3b52c594e1b842a723503ea1857b515c27c9840f16243bb3446c41e7024027e7cdef
 SHA512 
4d14fc2a5b5cb8ced0b60c65049d2db448add34a53aaa87cd79ad9beca8414a80db7673bff883cb4f8f65592ba17b195e1823c8837f9ae81f73ac185cd59d803
 DIST webmock-3.7.1.gem 120832 BLAKE2B 
b661e0238904c42486f721e86d0c06a77ca9eb45d1ef3d975630344e1ad503d379518f0453a63fceb784f9aceeb10860e65c78b13ab02a3dd9d23d836948401d
 SHA512 
ccee64bb2a63e7099639cdc55c04862a0cab9b19fe01c7957c3b2a0d90b1e93c79f6fdce23d1827554377666228344475125acf26bc5f98ad2f9be02f4644245

diff --git a/dev-ruby/webmock/webmock-3.6.0.ebuild 
b/dev-ruby/webmock/webmock-3.6.0.ebuild
deleted file mode 100644
index 2e45dbdb6dd..000
--- a/dev-ruby/webmock/webmock-3.6.0.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-USE_RUBY="ruby24 ruby25 ruby26"
-
-RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
-
-RUBY_FAKEGEM_RECIPE_DOC="rdoc"
-RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
-
-inherit ruby-fakegem
-
-DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP 
requests"
-HOMEPAGE="https://github.com/bblimke/webmock";
-
-LICENSE="GPL-2"
-SLOT="3"
-KEYWORDS="~amd64 ~arm ~hppa ~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-0.4.0"
-
-ruby_add_bdepend "test? (
-   dev-ruby/minitest:5
-   dev-ruby/rspec:3
-   >=dev-ruby/test-unit-3.0.0
-   dev-ruby/rack
-   >=dev-ruby/httpclient-2.8.0
-   || ( dev-ruby/http:4 dev-ruby/http:3 ) )"
-
-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 '1igem "test-unit"' test/test_helper.rb || die
-
-   # There is now optional support for curb and typhoeus which we don't
-   # have in Gentoo yet. em_http_request is available in Gentoo but its
-   # version is too old. patron's latest version is not compatible.
-   sed -i -e '/\(curb\|typhoeus\|em-http\|patron\)/d' spec/spec_helper.rb 
|| die
-   rm spec/acceptance/{typhoeus,curb,excon,em_http_request,patron}/* || 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
-
-   # Avoid specs that require network access
-   sed -i -e '/when request is not stubbed/,/^  end/ s:^:#:' 
spe

[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2019-09-06 Thread Hans de Graaff
commit: 2a54cf82be0b36ae169d275e6a342c469864d227
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sat Sep  7 05:47:09 2019 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sat Sep  7 05:47:09 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a54cf82

dev-ruby/webmock: add 3.7.2

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/webmock/Manifest |  1 +
 dev-ruby/webmock/webmock-3.7.2.ebuild | 61 +++
 2 files changed, 62 insertions(+)

diff --git a/dev-ruby/webmock/Manifest b/dev-ruby/webmock/Manifest
index 3dcabb2c4ee..2b715791f9e 100644
--- a/dev-ruby/webmock/Manifest
+++ b/dev-ruby/webmock/Manifest
@@ -2,3 +2,4 @@ DIST webmock-2.3.2.gem 112128 BLAKE2B 
ef0a722374057d7c5392924f68de8520f08cb0aa03
 DIST webmock-3.5.1.gem 116736 BLAKE2B 
eb6531dd481588419932a93d091bf2c2802d98a9abe650e892e568f13a642c61ccbf395e293fb0b24b2e96f464902f8311d03a7afe84e917c4780d2da6000a78
 SHA512 
6096ebe84140e7385ac941c2f63951d19523b2f7e3330fb38181f19c423b4c4d47828d200d8921e02850374b048902191f96f8d693746bcdf284cf0c5eacd924
 DIST webmock-3.6.2.gem 117760 BLAKE2B 
132b700323cbc4e753406ccfcc69375107c1d8546fd71bacf13db614d1818926321e2cd27dfc08670f908e0ac5946b06892138c2701fb1f27cfcf9fb6dd56c3d
 SHA512 
1d6141be90840d01e3d7b8e925e0a981ac715fbca1219dd35edd7cf3bcea1c1da3442aaa131e3586f0827a7b06207314119c1f47e6ae64f11f154c70ba6fc5c2
 DIST webmock-3.7.1.gem 120832 BLAKE2B 
b661e0238904c42486f721e86d0c06a77ca9eb45d1ef3d975630344e1ad503d379518f0453a63fceb784f9aceeb10860e65c78b13ab02a3dd9d23d836948401d
 SHA512 
ccee64bb2a63e7099639cdc55c04862a0cab9b19fe01c7957c3b2a0d90b1e93c79f6fdce23d1827554377666228344475125acf26bc5f98ad2f9be02f4644245
+DIST webmock-3.7.2.gem 121344 BLAKE2B 
616ff870ddb78cdfbf37a94222679c3ce9fcebc9c84b8f92d0aaaefa92a028dde932d3fd51cb5f87f70f9698f4c19fac629aef29c2e3e440a4a1cc9334abcb60
 SHA512 
aa665ea771fbcd077f959abbfac69408726271700aed67f522a098c263bc237c741f4bc8271e053d77aa6df5156afbb21785621f7497f2fb169d9ae36ea306f3

diff --git a/dev-ruby/webmock/webmock-3.7.2.ebuild 
b/dev-ruby/webmock/webmock-3.7.2.ebuild
new file mode 100644
index 000..377168ac604
--- /dev/null
+++ b/dev-ruby/webmock/webmock-3.7.2.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP 
requests"
+HOMEPAGE="https://github.com/bblimke/webmock";
+
+LICENSE="GPL-2"
+SLOT="3"
+KEYWORDS="~amd64 ~arm ~hppa ~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-0.4.0:0"
+
+ruby_add_bdepend "test? (
+   dev-ruby/minitest:5
+   dev-ruby/rspec:3
+   >=dev-ruby/test-unit-3.0.0
+   dev-ruby/rack
+   >=dev-ruby/httpclient-2.8.0
+   || ( dev-ruby/http:4 dev-ruby/http:3 ) )"
+
+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 '1igem "test-unit"' test/test_helper.rb || die
+
+   # There is now optional support for curb and typhoeus which we don't
+   # have in Gentoo yet. em_http_request is available in Gentoo but its
+   # version is too old. patron's latest version is not compatible.
+   sed -i -e '/\(curb\|typhoeus\|em-http\|patron\)/d' spec/spec_helper.rb 
|| die
+   rm 
spec/acceptance/{typhoeus,curb,excon,em_http_request,patron,async_http_client}/*
 || 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
+
+   # Avoid specs that require network access
+   sed -i -e '/when request is not stubbed/,/^  end/ s:^:#:' 
spec/acceptance/shared/callbacks.rb
+}
+
+each_ruby_test() {
+   ${RUBY} -S rake test NO_CONNECTION=true || die
+   ${RUBY} -S rspec-3 spec || die
+
+   einfo "Delay to allow the test server to stop"
+   sleep 10
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2019-09-03 Thread Hans de Graaff
commit: 4cadefcc1aa2809b52304bb81f1bede3bea8aaf7
Author: Hans de Graaff  gentoo  org>
AuthorDate: Wed Sep  4 05:12:11 2019 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Wed Sep  4 05:34:14 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cadefcc

dev-ruby/webmock: add 3.7.1

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/webmock/Manifest |  1 +
 dev-ruby/webmock/webmock-3.7.1.ebuild | 61 +++
 2 files changed, 62 insertions(+)

diff --git a/dev-ruby/webmock/Manifest b/dev-ruby/webmock/Manifest
index f8163b0c1cc..7f5df1063c9 100644
--- a/dev-ruby/webmock/Manifest
+++ b/dev-ruby/webmock/Manifest
@@ -3,3 +3,4 @@ DIST webmock-3.5.1.gem 116736 BLAKE2B 
eb6531dd481588419932a93d091bf2c2802d98a9ab
 DIST webmock-3.6.0.gem 117248 BLAKE2B 
251f80c90777deacc24588a947426252522c3b4ec1670e77801391e9ed495cc7790b2f7211abc728ac357b2876fbb16b654fffe410c5aa3e837c46e927f031f7
 SHA512 
4bb3ed9cf7e67c1560c1835e26275657b28b40e3f95dbe50156ce1960e418519020675b6ed07e80521d85ea0b0e53c22d674b7b17b4c9349ef62c089e6bc7891
 DIST webmock-3.6.2.gem 117760 BLAKE2B 
132b700323cbc4e753406ccfcc69375107c1d8546fd71bacf13db614d1818926321e2cd27dfc08670f908e0ac5946b06892138c2701fb1f27cfcf9fb6dd56c3d
 SHA512 
1d6141be90840d01e3d7b8e925e0a981ac715fbca1219dd35edd7cf3bcea1c1da3442aaa131e3586f0827a7b06207314119c1f47e6ae64f11f154c70ba6fc5c2
 DIST webmock-3.7.0.gem 120832 BLAKE2B 
24936bbbd1e0451759acba1fe3dd1760929535210d5e66ebfcfadb4d160a3b52c594e1b842a723503ea1857b515c27c9840f16243bb3446c41e7024027e7cdef
 SHA512 
4d14fc2a5b5cb8ced0b60c65049d2db448add34a53aaa87cd79ad9beca8414a80db7673bff883cb4f8f65592ba17b195e1823c8837f9ae81f73ac185cd59d803
+DIST webmock-3.7.1.gem 120832 BLAKE2B 
b661e0238904c42486f721e86d0c06a77ca9eb45d1ef3d975630344e1ad503d379518f0453a63fceb784f9aceeb10860e65c78b13ab02a3dd9d23d836948401d
 SHA512 
ccee64bb2a63e7099639cdc55c04862a0cab9b19fe01c7957c3b2a0d90b1e93c79f6fdce23d1827554377666228344475125acf26bc5f98ad2f9be02f4644245

diff --git a/dev-ruby/webmock/webmock-3.7.1.ebuild 
b/dev-ruby/webmock/webmock-3.7.1.ebuild
new file mode 100644
index 000..377168ac604
--- /dev/null
+++ b/dev-ruby/webmock/webmock-3.7.1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP 
requests"
+HOMEPAGE="https://github.com/bblimke/webmock";
+
+LICENSE="GPL-2"
+SLOT="3"
+KEYWORDS="~amd64 ~arm ~hppa ~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-0.4.0:0"
+
+ruby_add_bdepend "test? (
+   dev-ruby/minitest:5
+   dev-ruby/rspec:3
+   >=dev-ruby/test-unit-3.0.0
+   dev-ruby/rack
+   >=dev-ruby/httpclient-2.8.0
+   || ( dev-ruby/http:4 dev-ruby/http:3 ) )"
+
+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 '1igem "test-unit"' test/test_helper.rb || die
+
+   # There is now optional support for curb and typhoeus which we don't
+   # have in Gentoo yet. em_http_request is available in Gentoo but its
+   # version is too old. patron's latest version is not compatible.
+   sed -i -e '/\(curb\|typhoeus\|em-http\|patron\)/d' spec/spec_helper.rb 
|| die
+   rm 
spec/acceptance/{typhoeus,curb,excon,em_http_request,patron,async_http_client}/*
 || 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
+
+   # Avoid specs that require network access
+   sed -i -e '/when request is not stubbed/,/^  end/ s:^:#:' 
spec/acceptance/shared/callbacks.rb
+}
+
+each_ruby_test() {
+   ${RUBY} -S rake test NO_CONNECTION=true || die
+   ${RUBY} -S rspec-3 spec || die
+
+   einfo "Delay to allow the test server to stop"
+   sleep 10
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2019-08-27 Thread Hans de Graaff
commit: d4e553dafd1c1fe016882a5cc648633581385648
Author: Hans de Graaff  gentoo  org>
AuthorDate: Wed Aug 28 04:48:59 2019 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Wed Aug 28 05:15:14 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4e553da

dev-ruby/webmock: add 3.7.0

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/webmock/Manifest |  1 +
 dev-ruby/webmock/webmock-3.7.0.ebuild | 61 +++
 2 files changed, 62 insertions(+)

diff --git a/dev-ruby/webmock/Manifest b/dev-ruby/webmock/Manifest
index ec8fd364f8e..f8163b0c1cc 100644
--- a/dev-ruby/webmock/Manifest
+++ b/dev-ruby/webmock/Manifest
@@ -2,3 +2,4 @@ DIST webmock-2.3.2.gem 112128 BLAKE2B 
ef0a722374057d7c5392924f68de8520f08cb0aa03
 DIST webmock-3.5.1.gem 116736 BLAKE2B 
eb6531dd481588419932a93d091bf2c2802d98a9abe650e892e568f13a642c61ccbf395e293fb0b24b2e96f464902f8311d03a7afe84e917c4780d2da6000a78
 SHA512 
6096ebe84140e7385ac941c2f63951d19523b2f7e3330fb38181f19c423b4c4d47828d200d8921e02850374b048902191f96f8d693746bcdf284cf0c5eacd924
 DIST webmock-3.6.0.gem 117248 BLAKE2B 
251f80c90777deacc24588a947426252522c3b4ec1670e77801391e9ed495cc7790b2f7211abc728ac357b2876fbb16b654fffe410c5aa3e837c46e927f031f7
 SHA512 
4bb3ed9cf7e67c1560c1835e26275657b28b40e3f95dbe50156ce1960e418519020675b6ed07e80521d85ea0b0e53c22d674b7b17b4c9349ef62c089e6bc7891
 DIST webmock-3.6.2.gem 117760 BLAKE2B 
132b700323cbc4e753406ccfcc69375107c1d8546fd71bacf13db614d1818926321e2cd27dfc08670f908e0ac5946b06892138c2701fb1f27cfcf9fb6dd56c3d
 SHA512 
1d6141be90840d01e3d7b8e925e0a981ac715fbca1219dd35edd7cf3bcea1c1da3442aaa131e3586f0827a7b06207314119c1f47e6ae64f11f154c70ba6fc5c2
+DIST webmock-3.7.0.gem 120832 BLAKE2B 
24936bbbd1e0451759acba1fe3dd1760929535210d5e66ebfcfadb4d160a3b52c594e1b842a723503ea1857b515c27c9840f16243bb3446c41e7024027e7cdef
 SHA512 
4d14fc2a5b5cb8ced0b60c65049d2db448add34a53aaa87cd79ad9beca8414a80db7673bff883cb4f8f65592ba17b195e1823c8837f9ae81f73ac185cd59d803

diff --git a/dev-ruby/webmock/webmock-3.7.0.ebuild 
b/dev-ruby/webmock/webmock-3.7.0.ebuild
new file mode 100644
index 000..377168ac604
--- /dev/null
+++ b/dev-ruby/webmock/webmock-3.7.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP 
requests"
+HOMEPAGE="https://github.com/bblimke/webmock";
+
+LICENSE="GPL-2"
+SLOT="3"
+KEYWORDS="~amd64 ~arm ~hppa ~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-0.4.0:0"
+
+ruby_add_bdepend "test? (
+   dev-ruby/minitest:5
+   dev-ruby/rspec:3
+   >=dev-ruby/test-unit-3.0.0
+   dev-ruby/rack
+   >=dev-ruby/httpclient-2.8.0
+   || ( dev-ruby/http:4 dev-ruby/http:3 ) )"
+
+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 '1igem "test-unit"' test/test_helper.rb || die
+
+   # There is now optional support for curb and typhoeus which we don't
+   # have in Gentoo yet. em_http_request is available in Gentoo but its
+   # version is too old. patron's latest version is not compatible.
+   sed -i -e '/\(curb\|typhoeus\|em-http\|patron\)/d' spec/spec_helper.rb 
|| die
+   rm 
spec/acceptance/{typhoeus,curb,excon,em_http_request,patron,async_http_client}/*
 || 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
+
+   # Avoid specs that require network access
+   sed -i -e '/when request is not stubbed/,/^  end/ s:^:#:' 
spec/acceptance/shared/callbacks.rb
+}
+
+each_ruby_test() {
+   ${RUBY} -S rake test NO_CONNECTION=true || die
+   ${RUBY} -S rspec-3 spec || die
+
+   einfo "Delay to allow the test server to stop"
+   sleep 10
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2019-08-01 Thread Hans de Graaff
commit: 880dfbfeb1deeb3f168aae0a5edbb5f8a1cc46f3
Author: Hans de Graaff  gentoo  org>
AuthorDate: Fri Aug  2 05:07:39 2019 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Fri Aug  2 05:07:39 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=880dfbfe

dev-ruby/webmock: cleanup

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/webmock/Manifest |  1 -
 dev-ruby/webmock/webmock-3.4.1.ebuild | 63 ---
 2 files changed, 64 deletions(-)

diff --git a/dev-ruby/webmock/Manifest b/dev-ruby/webmock/Manifest
index c0da86ebc06..a32044c8cd7 100644
--- a/dev-ruby/webmock/Manifest
+++ b/dev-ruby/webmock/Manifest
@@ -1,4 +1,3 @@
 DIST webmock-2.3.2.gem 112128 BLAKE2B 
ef0a722374057d7c5392924f68de8520f08cb0aa038fc0b8511e00bbd9dc13f6535955f77611e414a33dbf0ed7a519e9c18caf8517d10be7438e7360c3037a1e
 SHA512 
bb61b645b287d15690aa81db4d4c937d3456e1911d394ef1fb31e8ff3530d47b865aa039c8aaa4d4b6a72132dfcdd06be66adf1b53793384dc27ac1c9f9c01e6
-DIST webmock-3.4.1.gem 115712 BLAKE2B 
d2a1c9c6984bdc2b47ce67b20496128e387e10d67d54405649610b0062548bb3fb6422a87d867eebdec22add8242997f654d2c70fdbbf70b11e70451583cc610
 SHA512 
26cc9376a66730a73059c3a8d496f5d7dd82ac18e7a95172d965ef431c8edd1b4698acd76ba12051a5dc0df3399488920280b669c4ae1d28d3d6cc5e1f7dce0e
 DIST webmock-3.5.1.gem 116736 BLAKE2B 
eb6531dd481588419932a93d091bf2c2802d98a9abe650e892e568f13a642c61ccbf395e293fb0b24b2e96f464902f8311d03a7afe84e917c4780d2da6000a78
 SHA512 
6096ebe84140e7385ac941c2f63951d19523b2f7e3330fb38181f19c423b4c4d47828d200d8921e02850374b048902191f96f8d693746bcdf284cf0c5eacd924
 DIST webmock-3.6.0.gem 117248 BLAKE2B 
251f80c90777deacc24588a947426252522c3b4ec1670e77801391e9ed495cc7790b2f7211abc728ac357b2876fbb16b654fffe410c5aa3e837c46e927f031f7
 SHA512 
4bb3ed9cf7e67c1560c1835e26275657b28b40e3f95dbe50156ce1960e418519020675b6ed07e80521d85ea0b0e53c22d674b7b17b4c9349ef62c089e6bc7891

diff --git a/dev-ruby/webmock/webmock-3.4.1.ebuild 
b/dev-ruby/webmock/webmock-3.4.1.ebuild
deleted file mode 100644
index aa577637add..000
--- a/dev-ruby/webmock/webmock-3.4.1.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-USE_RUBY="ruby23 ruby24 ruby25"
-
-RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
-
-RUBY_FAKEGEM_RECIPE_DOC="rdoc"
-RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
-
-inherit ruby-fakegem
-
-DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP 
requests"
-HOMEPAGE="https://github.com/bblimke/webmock";
-
-LICENSE="GPL-2"
-SLOT="3"
-KEYWORDS="amd64 ~arm ~hppa ~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"
-
-ruby_add_bdepend "test? (
-   dev-ruby/minitest:5
-   dev-ruby/rspec:3
-   >=dev-ruby/test-unit-3.0.0
-   dev-ruby/rack
-   >=dev-ruby/httpclient-2.8.0
-   >=dev-ruby/patron-0.4.18
-   dev-ruby/http:3 )"
-
-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 '1igem "test-unit"' test/test_helper.rb || die
-
-   # There is now optional support for curb and typhoeus which we don't
-   # have in Gentoo yet. em_http_request is available in Gentoo but its
-   # 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
-
-   # Avoid specs that require network access
-   sed -i -e '/when request is not stubbed/,/^  end/ s:^:#:' 
spec/acceptance/shared/callbacks.rb
-}
-
-each_ruby_test() {
-   ${RUBY} -S rake test NO_CONNECTION=true || die
-   ${RUBY} -S rspec-3 spec || die
-
-   einfo "Delay to allow the test server to stop"
-   sleep 10
-}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2019-08-01 Thread Hans de Graaff
commit: 050273b86adf3079fb939755650c4a718033ed20
Author: Hans de Graaff  gentoo  org>
AuthorDate: Fri Aug  2 05:15:05 2019 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Fri Aug  2 05:15:05 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=050273b8

dev-ruby/webmock: add 3.6.2

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/webmock/Manifest |  1 +
 dev-ruby/webmock/webmock-3.6.2.ebuild | 61 +++
 2 files changed, 62 insertions(+)

diff --git a/dev-ruby/webmock/Manifest b/dev-ruby/webmock/Manifest
index a32044c8cd7..ec8fd364f8e 100644
--- a/dev-ruby/webmock/Manifest
+++ b/dev-ruby/webmock/Manifest
@@ -1,3 +1,4 @@
 DIST webmock-2.3.2.gem 112128 BLAKE2B 
ef0a722374057d7c5392924f68de8520f08cb0aa038fc0b8511e00bbd9dc13f6535955f77611e414a33dbf0ed7a519e9c18caf8517d10be7438e7360c3037a1e
 SHA512 
bb61b645b287d15690aa81db4d4c937d3456e1911d394ef1fb31e8ff3530d47b865aa039c8aaa4d4b6a72132dfcdd06be66adf1b53793384dc27ac1c9f9c01e6
 DIST webmock-3.5.1.gem 116736 BLAKE2B 
eb6531dd481588419932a93d091bf2c2802d98a9abe650e892e568f13a642c61ccbf395e293fb0b24b2e96f464902f8311d03a7afe84e917c4780d2da6000a78
 SHA512 
6096ebe84140e7385ac941c2f63951d19523b2f7e3330fb38181f19c423b4c4d47828d200d8921e02850374b048902191f96f8d693746bcdf284cf0c5eacd924
 DIST webmock-3.6.0.gem 117248 BLAKE2B 
251f80c90777deacc24588a947426252522c3b4ec1670e77801391e9ed495cc7790b2f7211abc728ac357b2876fbb16b654fffe410c5aa3e837c46e927f031f7
 SHA512 
4bb3ed9cf7e67c1560c1835e26275657b28b40e3f95dbe50156ce1960e418519020675b6ed07e80521d85ea0b0e53c22d674b7b17b4c9349ef62c089e6bc7891
+DIST webmock-3.6.2.gem 117760 BLAKE2B 
132b700323cbc4e753406ccfcc69375107c1d8546fd71bacf13db614d1818926321e2cd27dfc08670f908e0ac5946b06892138c2701fb1f27cfcf9fb6dd56c3d
 SHA512 
1d6141be90840d01e3d7b8e925e0a981ac715fbca1219dd35edd7cf3bcea1c1da3442aaa131e3586f0827a7b06207314119c1f47e6ae64f11f154c70ba6fc5c2

diff --git a/dev-ruby/webmock/webmock-3.6.2.ebuild 
b/dev-ruby/webmock/webmock-3.6.2.ebuild
new file mode 100644
index 000..ae657834d2f
--- /dev/null
+++ b/dev-ruby/webmock/webmock-3.6.2.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP 
requests"
+HOMEPAGE="https://github.com/bblimke/webmock";
+
+LICENSE="GPL-2"
+SLOT="3"
+KEYWORDS="~amd64 ~arm ~hppa ~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-0.4.0:0"
+
+ruby_add_bdepend "test? (
+   dev-ruby/minitest:5
+   dev-ruby/rspec:3
+   >=dev-ruby/test-unit-3.0.0
+   dev-ruby/rack
+   >=dev-ruby/httpclient-2.8.0
+   || ( dev-ruby/http:4 dev-ruby/http:3 ) )"
+
+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 '1igem "test-unit"' test/test_helper.rb || die
+
+   # There is now optional support for curb and typhoeus which we don't
+   # have in Gentoo yet. em_http_request is available in Gentoo but its
+   # version is too old. patron's latest version is not compatible.
+   sed -i -e '/\(curb\|typhoeus\|em-http\|patron\)/d' spec/spec_helper.rb 
|| die
+   rm spec/acceptance/{typhoeus,curb,excon,em_http_request,patron}/* || 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
+
+   # Avoid specs that require network access
+   sed -i -e '/when request is not stubbed/,/^  end/ s:^:#:' 
spec/acceptance/shared/callbacks.rb
+}
+
+each_ruby_test() {
+   ${RUBY} -S rake test NO_CONNECTION=true || die
+   ${RUBY} -S rspec-3 spec || die
+
+   einfo "Delay to allow the test server to stop"
+   sleep 10
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2019-07-17 Thread Hans de Graaff
commit: b3079096fad351b7436b42cb9de0def875839290
Author: Hans de Graaff  gentoo  org>
AuthorDate: Wed Jul 17 07:47:07 2019 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Wed Jul 17 08:00:27 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3079096

dev-ruby/webmock: amd64 stable

Signed-off-by: Hans de Graaff  gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11

 dev-ruby/webmock/webmock-3.5.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/webmock/webmock-3.5.1.ebuild 
b/dev-ruby/webmock/webmock-3.5.1.ebuild
index f283fd983bf..ae5c4de7fff 100644
--- a/dev-ruby/webmock/webmock-3.5.1.ebuild
+++ b/dev-ruby/webmock/webmock-3.5.1.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="https://github.com/bblimke/webmock";
 
 LICENSE="GPL-2"
 SLOT="3"
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+KEYWORDS="amd64 ~arm ~hppa ~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"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2019-06-04 Thread Hans de Graaff
commit: f7df409c72f1783bcbe5eee14c140f9bb8d9ccc6
Author: Hans de Graaff  gentoo  org>
AuthorDate: Wed Jun  5 06:05:00 2019 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Wed Jun  5 06:05:00 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7df409c

dev-ruby/webmock: add 3.6.0

Signed-off-by: Hans de Graaff  gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11

 dev-ruby/webmock/Manifest |  1 +
 dev-ruby/webmock/webmock-3.6.0.ebuild | 62 +++
 2 files changed, 63 insertions(+)

diff --git a/dev-ruby/webmock/Manifest b/dev-ruby/webmock/Manifest
index c6829d158a4..c0da86ebc06 100644
--- a/dev-ruby/webmock/Manifest
+++ b/dev-ruby/webmock/Manifest
@@ -1,3 +1,4 @@
 DIST webmock-2.3.2.gem 112128 BLAKE2B 
ef0a722374057d7c5392924f68de8520f08cb0aa038fc0b8511e00bbd9dc13f6535955f77611e414a33dbf0ed7a519e9c18caf8517d10be7438e7360c3037a1e
 SHA512 
bb61b645b287d15690aa81db4d4c937d3456e1911d394ef1fb31e8ff3530d47b865aa039c8aaa4d4b6a72132dfcdd06be66adf1b53793384dc27ac1c9f9c01e6
 DIST webmock-3.4.1.gem 115712 BLAKE2B 
d2a1c9c6984bdc2b47ce67b20496128e387e10d67d54405649610b0062548bb3fb6422a87d867eebdec22add8242997f654d2c70fdbbf70b11e70451583cc610
 SHA512 
26cc9376a66730a73059c3a8d496f5d7dd82ac18e7a95172d965ef431c8edd1b4698acd76ba12051a5dc0df3399488920280b669c4ae1d28d3d6cc5e1f7dce0e
 DIST webmock-3.5.1.gem 116736 BLAKE2B 
eb6531dd481588419932a93d091bf2c2802d98a9abe650e892e568f13a642c61ccbf395e293fb0b24b2e96f464902f8311d03a7afe84e917c4780d2da6000a78
 SHA512 
6096ebe84140e7385ac941c2f63951d19523b2f7e3330fb38181f19c423b4c4d47828d200d8921e02850374b048902191f96f8d693746bcdf284cf0c5eacd924
+DIST webmock-3.6.0.gem 117248 BLAKE2B 
251f80c90777deacc24588a947426252522c3b4ec1670e77801391e9ed495cc7790b2f7211abc728ac357b2876fbb16b654fffe410c5aa3e837c46e927f031f7
 SHA512 
4bb3ed9cf7e67c1560c1835e26275657b28b40e3f95dbe50156ce1960e418519020675b6ed07e80521d85ea0b0e53c22d674b7b17b4c9349ef62c089e6bc7891

diff --git a/dev-ruby/webmock/webmock-3.6.0.ebuild 
b/dev-ruby/webmock/webmock-3.6.0.ebuild
new file mode 100644
index 000..2e45dbdb6dd
--- /dev/null
+++ b/dev-ruby/webmock/webmock-3.6.0.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP 
requests"
+HOMEPAGE="https://github.com/bblimke/webmock";
+
+LICENSE="GPL-2"
+SLOT="3"
+KEYWORDS="~amd64 ~arm ~hppa ~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-0.4.0"
+
+ruby_add_bdepend "test? (
+   dev-ruby/minitest:5
+   dev-ruby/rspec:3
+   >=dev-ruby/test-unit-3.0.0
+   dev-ruby/rack
+   >=dev-ruby/httpclient-2.8.0
+   || ( dev-ruby/http:4 dev-ruby/http:3 ) )"
+
+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 '1igem "test-unit"' test/test_helper.rb || die
+
+   # There is now optional support for curb and typhoeus which we don't
+   # have in Gentoo yet. em_http_request is available in Gentoo but its
+   # version is too old. patron's latest version is not compatible.
+   sed -i -e '/\(curb\|typhoeus\|em-http\|patron\)/d' spec/spec_helper.rb 
|| die
+   rm spec/acceptance/{typhoeus,curb,excon,em_http_request,patron}/* || 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
+
+   # Avoid specs that require network access
+   sed -i -e '/when request is not stubbed/,/^  end/ s:^:#:' 
spec/acceptance/shared/callbacks.rb
+}
+
+each_ruby_test() {
+   ${RUBY} -S rake test NO_CONNECTION=true || die
+   ${RUBY} -S rspec-3 spec || die
+
+   einfo "Delay to allow the test server to stop"
+   sleep 10
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2019-05-17 Thread Hans de Graaff
commit: 7999264cd2b87c9482c9097185b1443c15e17a4d
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sat May 18 06:04:11 2019 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sat May 18 06:04:11 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7999264c

dev-ruby/webmock: remove obsolete http slot

Signed-off-by: Hans de Graaff  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

 dev-ruby/webmock/webmock-3.4.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/webmock/webmock-3.4.1.ebuild 
b/dev-ruby/webmock/webmock-3.4.1.ebuild
index 0903f6f5853..aa577637add 100644
--- a/dev-ruby/webmock/webmock-3.4.1.ebuild
+++ b/dev-ruby/webmock/webmock-3.4.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -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:3 dev-ruby/http:2.0 ) )"
+   dev-ruby/http:3 )"
 
 all_ruby_prepare() {
# Remove bundler support



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2019-05-04 Thread Hans de Graaff
commit: 9f5c39324124ca848aa8c4cf554da87d6aebf83b
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sat May  4 18:46:13 2019 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sat May  4 19:14:44 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f5c3932

dev-ruby/webmock: add ruby26

Signed-off-by: Hans de Graaff  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

 dev-ruby/webmock/webmock-3.5.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/webmock/webmock-3.5.1.ebuild 
b/dev-ruby/webmock/webmock-3.5.1.ebuild
index e37abf593ec..f283fd983bf 100644
--- a/dev-ruby/webmock/webmock-3.5.1.ebuild
+++ b/dev-ruby/webmock/webmock-3.5.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-USE_RUBY="ruby23 ruby24 ruby25"
+USE_RUBY="ruby23 ruby24 ruby25 ruby26"
 
 RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
 



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2019-05-02 Thread Hans de Graaff
commit: 85dc6d61f79bd4bc0dea9764b0b5b99387f84c1d
Author: Hans de Graaff  gentoo  org>
AuthorDate: Fri May  3 04:49:29 2019 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Fri May  3 04:51:29 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85dc6d61

dev-ruby/webmock: remove obsolete dev-ruby/http slot

Signed-off-by: Hans de Graaff  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

 dev-ruby/webmock/webmock-3.5.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/webmock/webmock-3.5.1.ebuild 
b/dev-ruby/webmock/webmock-3.5.1.ebuild
index 829137e486f..e37abf593ec 100644
--- a/dev-ruby/webmock/webmock-3.5.1.ebuild
+++ b/dev-ruby/webmock/webmock-3.5.1.ebuild
@@ -28,7 +28,7 @@ ruby_add_bdepend "test? (
>=dev-ruby/test-unit-3.0.0
dev-ruby/rack
>=dev-ruby/httpclient-2.8.0
-   || ( dev-ruby/http:4 dev-ruby/http:3 dev-ruby/http:2.0 ) )"
+   || ( dev-ruby/http:4 dev-ruby/http:3 ) )"
 
 all_ruby_prepare() {
# Remove bundler support



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2019-05-01 Thread Hans de Graaff
commit: 2ee8393032fe78e633ebd3533748b4569d83761c
Author: Hans de Graaff  gentoo  org>
AuthorDate: Wed May  1 19:35:39 2019 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Wed May  1 19:36:26 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ee83930

dev-ruby/webmock: add 3.5.1

Signed-off-by: Hans de Graaff  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

 dev-ruby/webmock/Manifest |  1 +
 dev-ruby/webmock/webmock-3.5.1.ebuild | 62 +++
 2 files changed, 63 insertions(+)

diff --git a/dev-ruby/webmock/Manifest b/dev-ruby/webmock/Manifest
index fa159799947..c6829d158a4 100644
--- a/dev-ruby/webmock/Manifest
+++ b/dev-ruby/webmock/Manifest
@@ -1,2 +1,3 @@
 DIST webmock-2.3.2.gem 112128 BLAKE2B 
ef0a722374057d7c5392924f68de8520f08cb0aa038fc0b8511e00bbd9dc13f6535955f77611e414a33dbf0ed7a519e9c18caf8517d10be7438e7360c3037a1e
 SHA512 
bb61b645b287d15690aa81db4d4c937d3456e1911d394ef1fb31e8ff3530d47b865aa039c8aaa4d4b6a72132dfcdd06be66adf1b53793384dc27ac1c9f9c01e6
 DIST webmock-3.4.1.gem 115712 BLAKE2B 
d2a1c9c6984bdc2b47ce67b20496128e387e10d67d54405649610b0062548bb3fb6422a87d867eebdec22add8242997f654d2c70fdbbf70b11e70451583cc610
 SHA512 
26cc9376a66730a73059c3a8d496f5d7dd82ac18e7a95172d965ef431c8edd1b4698acd76ba12051a5dc0df3399488920280b669c4ae1d28d3d6cc5e1f7dce0e
+DIST webmock-3.5.1.gem 116736 BLAKE2B 
eb6531dd481588419932a93d091bf2c2802d98a9abe650e892e568f13a642c61ccbf395e293fb0b24b2e96f464902f8311d03a7afe84e917c4780d2da6000a78
 SHA512 
6096ebe84140e7385ac941c2f63951d19523b2f7e3330fb38181f19c423b4c4d47828d200d8921e02850374b048902191f96f8d693746bcdf284cf0c5eacd924

diff --git a/dev-ruby/webmock/webmock-3.5.1.ebuild 
b/dev-ruby/webmock/webmock-3.5.1.ebuild
new file mode 100644
index 000..829137e486f
--- /dev/null
+++ b/dev-ruby/webmock/webmock-3.5.1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby23 ruby24 ruby25"
+
+RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP 
requests"
+HOMEPAGE="https://github.com/bblimke/webmock";
+
+LICENSE="GPL-2"
+SLOT="3"
+KEYWORDS="~amd64 ~arm ~hppa ~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"
+
+ruby_add_bdepend "test? (
+   dev-ruby/minitest:5
+   dev-ruby/rspec:3
+   >=dev-ruby/test-unit-3.0.0
+   dev-ruby/rack
+   >=dev-ruby/httpclient-2.8.0
+   || ( dev-ruby/http:4 dev-ruby/http:3 dev-ruby/http:2.0 ) )"
+
+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 '1igem "test-unit"' test/test_helper.rb || die
+
+   # There is now optional support for curb and typhoeus which we don't
+   # have in Gentoo yet. em_http_request is available in Gentoo but its
+   # version is too old. patron's latest version is not compatible.
+   sed -i -e '/\(curb\|typhoeus\|em-http\|patron\)/d' spec/spec_helper.rb 
|| die
+   rm spec/acceptance/{typhoeus,curb,excon,em_http_request,patron}/* || 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
+
+   # Avoid specs that require network access
+   sed -i -e '/when request is not stubbed/,/^  end/ s:^:#:' 
spec/acceptance/shared/callbacks.rb
+}
+
+each_ruby_test() {
+   ${RUBY} -S rake test NO_CONNECTION=true || die
+   ${RUBY} -S rspec-3 spec || die
+
+   einfo "Delay to allow the test server to stop"
+   sleep 10
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/, profiles/

2018-12-16 Thread Michał Górny
commit: 4815db7b5a264b6a2190fc95872b2a9f71ba0fcc
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Dec 16 15:37:20 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Dec 16 15:40:17 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4815db7b

dev-ruby/webmock: Remove last-rited slot :0

Bug: https://bugs.gentoo.org/661262
Signed-off-by: Michał Górny  gentoo.org>

 dev-ruby/webmock/Manifest  |  1 -
 dev-ruby/webmock/webmock-1.24.6.ebuild | 52 --
 profiles/package.mask  |  1 -
 3 files changed, 54 deletions(-)

diff --git a/dev-ruby/webmock/Manifest b/dev-ruby/webmock/Manifest
index 7533ac41619..fa159799947 100644
--- a/dev-ruby/webmock/Manifest
+++ b/dev-ruby/webmock/Manifest
@@ -1,3 +1,2 @@
-DIST webmock-1.24.6.gem 04 BLAKE2B 
6574d398579dcafe6100d948b0c70fc8a1ca813339e2edb02177dfa0ad11472444d8aeb48b235caa4f85fb4cf4fe746aa77c3b64732ec861ae0d626bda78b8d3
 SHA512 
9319dcb3c29189403c79870dc8f91f27e099627a9fe5136a98193ee387a6dbcdf72eecb57ec4080faca9575461dfbf4ddecaaf5e1c75cfa60b08732a1d7248cc
 DIST webmock-2.3.2.gem 112128 BLAKE2B 
ef0a722374057d7c5392924f68de8520f08cb0aa038fc0b8511e00bbd9dc13f6535955f77611e414a33dbf0ed7a519e9c18caf8517d10be7438e7360c3037a1e
 SHA512 
bb61b645b287d15690aa81db4d4c937d3456e1911d394ef1fb31e8ff3530d47b865aa039c8aaa4d4b6a72132dfcdd06be66adf1b53793384dc27ac1c9f9c01e6
 DIST webmock-3.4.1.gem 115712 BLAKE2B 
d2a1c9c6984bdc2b47ce67b20496128e387e10d67d54405649610b0062548bb3fb6422a87d867eebdec22add8242997f654d2c70fdbbf70b11e70451583cc610
 SHA512 
26cc9376a66730a73059c3a8d496f5d7dd82ac18e7a95172d965ef431c8edd1b4698acd76ba12051a5dc0df3399488920280b669c4ae1d28d3d6cc5e1f7dce0e

diff --git a/dev-ruby/webmock/webmock-1.24.6.ebuild 
b/dev-ruby/webmock/webmock-1.24.6.ebuild
deleted file mode 100644
index c2fe27c55b6..000
--- a/dev-ruby/webmock/webmock-1.24.6.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-# ruby24 -> code is not compatible
-USE_RUBY="ruby21 ruby22 ruby23"
-
-RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
-
-RUBY_FAKEGEM_RECIPE_DOC="rdoc"
-RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
-
-inherit ruby-fakegem
-
-DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP 
requests"
-HOMEPAGE="https://github.com/bblimke/webmock";
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~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"
-
-ruby_add_bdepend "test? (
-   dev-ruby/minitest:5
-   dev-ruby/rspec:3
-   dev-ruby/rack
-   >=dev-ruby/httpclient-2.2.4
-   >=dev-ruby/patron-0.4.18
-   >=dev-ruby/http-0.8.0:0.8 )"
-
-all_ruby_prepare() {
-   # Remove bundler support
-   rm Gemfile || die
-   sed -i -e '/[Bb]undler/d' Rakefile || die
-
-   # There is now optional support for curb and typhoeus which we don't
-   # have in Gentoo yet. em_http_request is available in Gentoo but its
-   # 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
-}
-
-each_ruby_test() {
-   ${RUBY} -S rake test NO_CONNECTION=true || die
-   ${RUBY} -S rspec-3 spec || die
-
-   einfo "Delay to allow the test server to stop"
-   sleep 10
-}

diff --git a/profiles/package.mask b/profiles/package.mask
index 40e1ccf773c..179814c746c 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -162,7 +162,6 @@ dev-python/django-standard-form
 # compatible with ruby24+ or they are old slots that are ruby23-only
 # in Gentoo. Removal in 30 days. Bug #661262
 dev-ruby/jira-ruby
-dev-ruby/webmock:0
 
 # Mike Gilbert  (10 Nov 2018)
 # Open bugs and no Gentoo maintainer.



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2018-11-23 Thread Hans de Graaff
commit: dd1eda31bc134f0337ac00e465241f902fe979ff
Author: Hans de Graaff  gentoo  org>
AuthorDate: Fri Nov 23 10:44:12 2018 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Fri Nov 23 10:45:53 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd1eda31

dev-ruby/webmock: amd64 stable

Signed-off-by: Hans de Graaff  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-ruby/webmock/webmock-3.4.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/webmock/webmock-3.4.1.ebuild 
b/dev-ruby/webmock/webmock-3.4.1.ebuild
index 4f773cef98d..0903f6f5853 100644
--- a/dev-ruby/webmock/webmock-3.4.1.ebuild
+++ b/dev-ruby/webmock/webmock-3.4.1.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
@@ -17,7 +17,7 @@ HOMEPAGE="https://github.com/bblimke/webmock";
 
 LICENSE="GPL-2"
 SLOT="3"
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+KEYWORDS="amd64 ~arm ~hppa ~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"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2018-08-25 Thread Hans de Graaff
commit: b3fa42914452f464925404459203cae94aac3e04
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Aug 26 05:32:13 2018 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Aug 26 05:37:00 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3fa4291

dev-ruby/webmock: amd64 stable

Also avoid test that requires network access

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-ruby/webmock/webmock-2.3.2.ebuild | 7 +--
 dev-ruby/webmock/webmock-3.4.1.ebuild | 3 +++
 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() {



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2018-08-25 Thread Hans de Graaff
commit: c84109c9cd19094cf7abeea2c1e89addb791b8f0
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sat Aug 25 06:46:05 2018 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sat Aug 25 07:31:54 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c84109c9

dev-ruby/webmock: cleanup

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-ruby/webmock/Manifest |  2 --
 dev-ruby/webmock/webmock-3.3.0.ebuild | 60 ---
 dev-ruby/webmock/webmock-3.4.0.ebuild | 60 ---
 3 files changed, 122 deletions(-)

diff --git a/dev-ruby/webmock/Manifest b/dev-ruby/webmock/Manifest
index 16c4a397587..7533ac41619 100644
--- a/dev-ruby/webmock/Manifest
+++ b/dev-ruby/webmock/Manifest
@@ -1,5 +1,3 @@
 DIST webmock-1.24.6.gem 04 BLAKE2B 
6574d398579dcafe6100d948b0c70fc8a1ca813339e2edb02177dfa0ad11472444d8aeb48b235caa4f85fb4cf4fe746aa77c3b64732ec861ae0d626bda78b8d3
 SHA512 
9319dcb3c29189403c79870dc8f91f27e099627a9fe5136a98193ee387a6dbcdf72eecb57ec4080faca9575461dfbf4ddecaaf5e1c75cfa60b08732a1d7248cc
 DIST webmock-2.3.2.gem 112128 BLAKE2B 
ef0a722374057d7c5392924f68de8520f08cb0aa038fc0b8511e00bbd9dc13f6535955f77611e414a33dbf0ed7a519e9c18caf8517d10be7438e7360c3037a1e
 SHA512 
bb61b645b287d15690aa81db4d4c937d3456e1911d394ef1fb31e8ff3530d47b865aa039c8aaa4d4b6a72132dfcdd06be66adf1b53793384dc27ac1c9f9c01e6
-DIST webmock-3.3.0.gem 114688 BLAKE2B 
8306e96cfccbee598f275534effd119e75e3e1729b85936f29b4d4dc118f58c5ed39aa61553cb4c4a7389d704f57e55347d1f54f3cd392610a84683df993cd3b
 SHA512 
589d96c21c1afd05e11f4adc6325d277bbc9a2d25f1ed6176a7b7db88cf94413f470b75fd245faa73ef0a9cb037f52751826b5047f77b41bd03ac72860277902
-DIST webmock-3.4.0.gem 115712 BLAKE2B 
85098da0f41f364ca4b329995d6ff6dc2a3a57eca898f030d6a8b316781a13bb1bdd4bfef8649391c80ea2c24a27ae6a05f13b9c725c30a0891c15e06f4b5041
 SHA512 
fb2472bf018f602436a49ed649302c39d888178a8023e3af0c7b35ae95aaff1c1d0b0d82671ac07bf7d71ee9ec0ab944567ac1640b06fb9505c262b0c3b90558
 DIST webmock-3.4.1.gem 115712 BLAKE2B 
d2a1c9c6984bdc2b47ce67b20496128e387e10d67d54405649610b0062548bb3fb6422a87d867eebdec22add8242997f654d2c70fdbbf70b11e70451583cc610
 SHA512 
26cc9376a66730a73059c3a8d496f5d7dd82ac18e7a95172d965ef431c8edd1b4698acd76ba12051a5dc0df3399488920280b669c4ae1d28d3d6cc5e1f7dce0e

diff --git a/dev-ruby/webmock/webmock-3.3.0.ebuild 
b/dev-ruby/webmock/webmock-3.3.0.ebuild
deleted file mode 100644
index 49c52edbb44..000
--- a/dev-ruby/webmock/webmock-3.3.0.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-USE_RUBY="ruby23 ruby24"
-
-RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
-
-RUBY_FAKEGEM_RECIPE_DOC="rdoc"
-RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
-
-inherit ruby-fakegem
-
-DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP 
requests"
-HOMEPAGE="https://github.com/bblimke/webmock";
-
-LICENSE="GPL-2"
-SLOT="3"
-KEYWORDS="~amd64 ~arm ~hppa ~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"
-
-ruby_add_bdepend "test? (
-   dev-ruby/minitest:5
-   dev-ruby/rspec:3
-   >=dev-ruby/test-unit-3.0.0
-   dev-ruby/rack
-   >=dev-ruby/httpclient-2.8.0
-   >=dev-ruby/patron-0.4.18
-   || ( dev-ruby/http:3 dev-ruby/http:2.0 ) )"
-
-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 '1igem "test-unit"' test/test_helper.rb || die
-
-   # There is now optional support for curb and typhoeus which we don't
-   # have in Gentoo yet. em_http_request is available in Gentoo but its
-   # 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() {
-   ${RUBY} -S rake test NO_CONNECTION=true || die
-   ${RUBY} -S rspec-3 spec || die
-
-   einfo "Delay to allow the test server to stop"
-   sleep 10
-}

diff --git a/dev-ruby/webmock/webmock-3.4.0.ebuild 
b/dev-ruby/webmock/webmock-3.4.0.ebuild
deleted file mode 100644
index 49c52edbb44..000
--- a/dev-ruby/webmock/webmock-3.4.0.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General 

[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2018-06-01 Thread Hans de Graaff
commit: c5275f194c1676ada49f2a9823fccdd981225c6a
Author: Hans de Graaff  gentoo  org>
AuthorDate: Fri Jun  1 17:10:44 2018 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Fri Jun  1 17:11:12 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5275f19

dev-ruby/webmock: add ruby25

Package-Manager: Portage-2.3.36, Repoman-2.3.9

 dev-ruby/webmock/webmock-3.4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/webmock/webmock-3.4.1.ebuild 
b/dev-ruby/webmock/webmock-3.4.1.ebuild
index 49c52edbb44..c5652a996a1 100644
--- a/dev-ruby/webmock/webmock-3.4.1.ebuild
+++ b/dev-ruby/webmock/webmock-3.4.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-USE_RUBY="ruby23 ruby24"
+USE_RUBY="ruby23 ruby24 ruby25"
 
 RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
 



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2018-05-21 Thread Hans de Graaff
commit: 516be86acc69c837fd79bcf20d1ecee6e1dad866
Author: Hans de Graaff  gentoo  org>
AuthorDate: Mon May 21 14:12:10 2018 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Mon May 21 14:14:49 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=516be86a

dev-ruby/webmock: fix test failures with dev-ruby/http

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 | 4 ++--
 dev-ruby/webmock/webmock-3.4.0.ebuild | 2 +-
 dev-ruby/webmock/webmock-3.4.1.ebuild | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-ruby/webmock/webmock-3.3.0.ebuild 
b/dev-ruby/webmock/webmock-3.3.0.ebuild
index c8012a63170..49c52edbb44 100644
--- a/dev-ruby/webmock/webmock-3.3.0.ebuild
+++ b/dev-ruby/webmock/webmock-3.3.0.ebuild
@@ -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

diff --git a/dev-ruby/webmock/webmock-3.4.0.ebuild 
b/dev-ruby/webmock/webmock-3.4.0.ebuild
index fd96b878436..49c52edbb44 100644
--- a/dev-ruby/webmock/webmock-3.4.0.ebuild
+++ b/dev-ruby/webmock/webmock-3.4.0.ebuild
@@ -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

diff --git a/dev-ruby/webmock/webmock-3.4.1.ebuild 
b/dev-ruby/webmock/webmock-3.4.1.ebuild
index fd96b878436..49c52edbb44 100644
--- a/dev-ruby/webmock/webmock-3.4.1.ebuild
+++ b/dev-ruby/webmock/webmock-3.4.1.ebuild
@@ -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



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2018-05-21 Thread Hans de Graaff
commit: 176104eed2a0c3672fdeeb731aae2bdb079c5b1c
Author: Hans de Graaff  gentoo  org>
AuthorDate: Mon May 21 12:34:43 2018 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Mon May 21 14:14:47 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=176104ee

dev-ruby/webmock: cleanup

Package-Manager: Portage-2.3.36, Repoman-2.3.9

 dev-ruby/webmock/Manifest |  1 -
 dev-ruby/webmock/webmock-3.0.1.ebuild | 60 ---
 2 files changed, 61 deletions(-)

diff --git a/dev-ruby/webmock/Manifest b/dev-ruby/webmock/Manifest
index 9e2f8342240..16c4a397587 100644
--- a/dev-ruby/webmock/Manifest
+++ b/dev-ruby/webmock/Manifest
@@ -1,6 +1,5 @@
 DIST webmock-1.24.6.gem 04 BLAKE2B 
6574d398579dcafe6100d948b0c70fc8a1ca813339e2edb02177dfa0ad11472444d8aeb48b235caa4f85fb4cf4fe746aa77c3b64732ec861ae0d626bda78b8d3
 SHA512 
9319dcb3c29189403c79870dc8f91f27e099627a9fe5136a98193ee387a6dbcdf72eecb57ec4080faca9575461dfbf4ddecaaf5e1c75cfa60b08732a1d7248cc
 DIST webmock-2.3.2.gem 112128 BLAKE2B 
ef0a722374057d7c5392924f68de8520f08cb0aa038fc0b8511e00bbd9dc13f6535955f77611e414a33dbf0ed7a519e9c18caf8517d10be7438e7360c3037a1e
 SHA512 
bb61b645b287d15690aa81db4d4c937d3456e1911d394ef1fb31e8ff3530d47b865aa039c8aaa4d4b6a72132dfcdd06be66adf1b53793384dc27ac1c9f9c01e6
-DIST webmock-3.0.1.gem 112640 BLAKE2B 
61d74bbc099bdec25e919c07a12824a3bc0761c2b4eaf1180c90bef64856882a69503f10ffc25f153b7d96d6fb2c1699eb0bde8fb94ce41ee0c25f5b47e68dda
 SHA512 
a5924105744a0b09e38501f242f3c19a6c483acdea5792bbe4805d046a4748b9ce8390745837bbf8c8101b1713e62940bda1f9e6b3d63d37b007521c46c521d5
 DIST webmock-3.3.0.gem 114688 BLAKE2B 
8306e96cfccbee598f275534effd119e75e3e1729b85936f29b4d4dc118f58c5ed39aa61553cb4c4a7389d704f57e55347d1f54f3cd392610a84683df993cd3b
 SHA512 
589d96c21c1afd05e11f4adc6325d277bbc9a2d25f1ed6176a7b7db88cf94413f470b75fd245faa73ef0a9cb037f52751826b5047f77b41bd03ac72860277902
 DIST webmock-3.4.0.gem 115712 BLAKE2B 
85098da0f41f364ca4b329995d6ff6dc2a3a57eca898f030d6a8b316781a13bb1bdd4bfef8649391c80ea2c24a27ae6a05f13b9c725c30a0891c15e06f4b5041
 SHA512 
fb2472bf018f602436a49ed649302c39d888178a8023e3af0c7b35ae95aaff1c1d0b0d82671ac07bf7d71ee9ec0ab944567ac1640b06fb9505c262b0c3b90558
 DIST webmock-3.4.1.gem 115712 BLAKE2B 
d2a1c9c6984bdc2b47ce67b20496128e387e10d67d54405649610b0062548bb3fb6422a87d867eebdec22add8242997f654d2c70fdbbf70b11e70451583cc610
 SHA512 
26cc9376a66730a73059c3a8d496f5d7dd82ac18e7a95172d965ef431c8edd1b4698acd76ba12051a5dc0df3399488920280b669c4ae1d28d3d6cc5e1f7dce0e

diff --git a/dev-ruby/webmock/webmock-3.0.1.ebuild 
b/dev-ruby/webmock/webmock-3.0.1.ebuild
deleted file mode 100644
index c23cf85ffc3..000
--- a/dev-ruby/webmock/webmock-3.0.1.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-USE_RUBY="ruby21 ruby22 ruby23 ruby24"
-
-RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
-
-RUBY_FAKEGEM_RECIPE_DOC="rdoc"
-RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
-
-inherit ruby-fakegem
-
-DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP 
requests"
-HOMEPAGE="https://github.com/bblimke/webmock";
-
-LICENSE="GPL-2"
-SLOT="3"
-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"
-
-ruby_add_bdepend "test? (
-   dev-ruby/minitest:5
-   dev-ruby/rspec:3
-   >=dev-ruby/test-unit-3.0.0
-   dev-ruby/rack
-   >=dev-ruby/httpclient-2.8.0
-   >=dev-ruby/patron-0.4.18
-   >=dev-ruby/http-0.8.0:0.8 )"
-
-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 '1igem "test-unit"' test/test_helper.rb || die
-
-   # There is now optional support for curb and typhoeus which we don't
-   # have in Gentoo yet. em_http_request is available in Gentoo but its
-   # 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() {
-   ${RUBY} -S rake test NO_CONNECTION=true || die
-   ${RUBY} -S rspec-3 spec || die
-
-   einfo "Delay to allow the test server to stop"
-   sleep 10
-}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2018-05-02 Thread Hans de Graaff
commit: 684bb32546d7799017cd51bc7293b70d25125f6b
Author: Hans de Graaff  gentoo  org>
AuthorDate: Thu May  3 04:42:26 2018 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Thu May  3 04:42:26 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=684bb325

dev-ruby/webmock: add 3.4.1

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-ruby/webmock/Manifest |  1 +
 dev-ruby/webmock/webmock-3.4.1.ebuild | 60 +++
 2 files changed, 61 insertions(+)

diff --git a/dev-ruby/webmock/Manifest b/dev-ruby/webmock/Manifest
index cfaac2f10f6..9e2f8342240 100644
--- a/dev-ruby/webmock/Manifest
+++ b/dev-ruby/webmock/Manifest
@@ -3,3 +3,4 @@ DIST webmock-2.3.2.gem 112128 BLAKE2B 
ef0a722374057d7c5392924f68de8520f08cb0aa03
 DIST webmock-3.0.1.gem 112640 BLAKE2B 
61d74bbc099bdec25e919c07a12824a3bc0761c2b4eaf1180c90bef64856882a69503f10ffc25f153b7d96d6fb2c1699eb0bde8fb94ce41ee0c25f5b47e68dda
 SHA512 
a5924105744a0b09e38501f242f3c19a6c483acdea5792bbe4805d046a4748b9ce8390745837bbf8c8101b1713e62940bda1f9e6b3d63d37b007521c46c521d5
 DIST webmock-3.3.0.gem 114688 BLAKE2B 
8306e96cfccbee598f275534effd119e75e3e1729b85936f29b4d4dc118f58c5ed39aa61553cb4c4a7389d704f57e55347d1f54f3cd392610a84683df993cd3b
 SHA512 
589d96c21c1afd05e11f4adc6325d277bbc9a2d25f1ed6176a7b7db88cf94413f470b75fd245faa73ef0a9cb037f52751826b5047f77b41bd03ac72860277902
 DIST webmock-3.4.0.gem 115712 BLAKE2B 
85098da0f41f364ca4b329995d6ff6dc2a3a57eca898f030d6a8b316781a13bb1bdd4bfef8649391c80ea2c24a27ae6a05f13b9c725c30a0891c15e06f4b5041
 SHA512 
fb2472bf018f602436a49ed649302c39d888178a8023e3af0c7b35ae95aaff1c1d0b0d82671ac07bf7d71ee9ec0ab944567ac1640b06fb9505c262b0c3b90558
+DIST webmock-3.4.1.gem 115712 BLAKE2B 
d2a1c9c6984bdc2b47ce67b20496128e387e10d67d54405649610b0062548bb3fb6422a87d867eebdec22add8242997f654d2c70fdbbf70b11e70451583cc610
 SHA512 
26cc9376a66730a73059c3a8d496f5d7dd82ac18e7a95172d965ef431c8edd1b4698acd76ba12051a5dc0df3399488920280b669c4ae1d28d3d6cc5e1f7dce0e

diff --git a/dev-ruby/webmock/webmock-3.4.1.ebuild 
b/dev-ruby/webmock/webmock-3.4.1.ebuild
new file mode 100644
index 000..fd96b878436
--- /dev/null
+++ b/dev-ruby/webmock/webmock-3.4.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby23 ruby24"
+
+RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP 
requests"
+HOMEPAGE="https://github.com/bblimke/webmock";
+
+LICENSE="GPL-2"
+SLOT="3"
+KEYWORDS="~amd64 ~arm ~hppa ~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"
+
+ruby_add_bdepend "test? (
+   dev-ruby/minitest:5
+   dev-ruby/rspec:3
+   >=dev-ruby/test-unit-3.0.0
+   dev-ruby/rack
+   >=dev-ruby/httpclient-2.8.0
+   >=dev-ruby/patron-0.4.18
+   >=dev-ruby/http-0.8.0:0.8 )"
+
+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 '1igem "test-unit"' test/test_helper.rb || die
+
+   # There is now optional support for curb and typhoeus which we don't
+   # have in Gentoo yet. em_http_request is available in Gentoo but its
+   # 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() {
+   ${RUBY} -S rake test NO_CONNECTION=true || die
+   ${RUBY} -S rspec-3 spec || die
+
+   einfo "Delay to allow the test server to stop"
+   sleep 10
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2018-04-29 Thread Hans de Graaff
commit: 98ac311add05e5b70d5f67cb3f86708c73081cd3
Author: Hans de Graaff  gentoo  org>
AuthorDate: Mon Apr 30 05:08:41 2018 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Mon Apr 30 05:08:41 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98ac311a

dev-ruby/webmock: add 3.4.0

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-ruby/webmock/Manifest |  1 +
 dev-ruby/webmock/webmock-3.4.0.ebuild | 60 +++
 2 files changed, 61 insertions(+)

diff --git a/dev-ruby/webmock/Manifest b/dev-ruby/webmock/Manifest
index e2cf161c544..cfaac2f10f6 100644
--- a/dev-ruby/webmock/Manifest
+++ b/dev-ruby/webmock/Manifest
@@ -2,3 +2,4 @@ DIST webmock-1.24.6.gem 04 BLAKE2B 
6574d398579dcafe6100d948b0c70fc8a1ca81333
 DIST webmock-2.3.2.gem 112128 BLAKE2B 
ef0a722374057d7c5392924f68de8520f08cb0aa038fc0b8511e00bbd9dc13f6535955f77611e414a33dbf0ed7a519e9c18caf8517d10be7438e7360c3037a1e
 SHA512 
bb61b645b287d15690aa81db4d4c937d3456e1911d394ef1fb31e8ff3530d47b865aa039c8aaa4d4b6a72132dfcdd06be66adf1b53793384dc27ac1c9f9c01e6
 DIST webmock-3.0.1.gem 112640 BLAKE2B 
61d74bbc099bdec25e919c07a12824a3bc0761c2b4eaf1180c90bef64856882a69503f10ffc25f153b7d96d6fb2c1699eb0bde8fb94ce41ee0c25f5b47e68dda
 SHA512 
a5924105744a0b09e38501f242f3c19a6c483acdea5792bbe4805d046a4748b9ce8390745837bbf8c8101b1713e62940bda1f9e6b3d63d37b007521c46c521d5
 DIST webmock-3.3.0.gem 114688 BLAKE2B 
8306e96cfccbee598f275534effd119e75e3e1729b85936f29b4d4dc118f58c5ed39aa61553cb4c4a7389d704f57e55347d1f54f3cd392610a84683df993cd3b
 SHA512 
589d96c21c1afd05e11f4adc6325d277bbc9a2d25f1ed6176a7b7db88cf94413f470b75fd245faa73ef0a9cb037f52751826b5047f77b41bd03ac72860277902
+DIST webmock-3.4.0.gem 115712 BLAKE2B 
85098da0f41f364ca4b329995d6ff6dc2a3a57eca898f030d6a8b316781a13bb1bdd4bfef8649391c80ea2c24a27ae6a05f13b9c725c30a0891c15e06f4b5041
 SHA512 
fb2472bf018f602436a49ed649302c39d888178a8023e3af0c7b35ae95aaff1c1d0b0d82671ac07bf7d71ee9ec0ab944567ac1640b06fb9505c262b0c3b90558

diff --git a/dev-ruby/webmock/webmock-3.4.0.ebuild 
b/dev-ruby/webmock/webmock-3.4.0.ebuild
new file mode 100644
index 000..fd96b878436
--- /dev/null
+++ b/dev-ruby/webmock/webmock-3.4.0.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby23 ruby24"
+
+RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP 
requests"
+HOMEPAGE="https://github.com/bblimke/webmock";
+
+LICENSE="GPL-2"
+SLOT="3"
+KEYWORDS="~amd64 ~arm ~hppa ~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"
+
+ruby_add_bdepend "test? (
+   dev-ruby/minitest:5
+   dev-ruby/rspec:3
+   >=dev-ruby/test-unit-3.0.0
+   dev-ruby/rack
+   >=dev-ruby/httpclient-2.8.0
+   >=dev-ruby/patron-0.4.18
+   >=dev-ruby/http-0.8.0:0.8 )"
+
+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 '1igem "test-unit"' test/test_helper.rb || die
+
+   # There is now optional support for curb and typhoeus which we don't
+   # have in Gentoo yet. em_http_request is available in Gentoo but its
+   # 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() {
+   ${RUBY} -S rake test NO_CONNECTION=true || die
+   ${RUBY} -S rspec-3 spec || die
+
+   einfo "Delay to allow the test server to stop"
+   sleep 10
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2018-04-16 Thread Hans de Graaff
commit: 5e91f0244a7eec0c4427a909456d24b391b35c83
Author: Hans de Graaff  gentoo  org>
AuthorDate: Tue Apr 17 04:41:30 2018 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Apr 17 04:41:30 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e91f024

dev-ruby/webmock: use the correct version of http for tests

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-ruby/webmock/webmock-2.3.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/webmock/webmock-2.3.2.ebuild 
b/dev-ruby/webmock/webmock-2.3.2.ebuild
index 40aee18ba47..e8260499166 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



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/

2018-04-13 Thread Hans de Graaff
commit: df82515d8fe2407f510e770d015de2de024ff33a
Author: Hans de Graaff  gentoo  org>
AuthorDate: Fri Apr 13 07:53:21 2018 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Fri Apr 13 08:04:11 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df82515d

dev-ruby/webmock: cleanup

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-ruby/webmock/Manifest  |  1 -
 dev-ruby/webmock/webmock-1.20.3.ebuild | 55 --
 2 files changed, 56 deletions(-)

diff --git a/dev-ruby/webmock/Manifest b/dev-ruby/webmock/Manifest
index 6b86f9037ab..e2cf161c544 100644
--- a/dev-ruby/webmock/Manifest
+++ b/dev-ruby/webmock/Manifest
@@ -1,4 +1,3 @@
-DIST webmock-1.20.3.gem 99840 BLAKE2B 
97c03e0c6b87f23f321658f0cf0328bac3e44c3d3270770335ab4a8938282d9af3f378997c43501b589eaab2154bb31651d5a86ce590b645c25897532ca0f5b3
 SHA512 
db9d770636dabf95b3a03a6589a259c1d66d875dba0cbcd493acf6bb35649c885139528aa5a8976d7ef438bca761e1063ae0fcf1da5b799e8d45abf1986c000c
 DIST webmock-1.24.6.gem 04 BLAKE2B 
6574d398579dcafe6100d948b0c70fc8a1ca813339e2edb02177dfa0ad11472444d8aeb48b235caa4f85fb4cf4fe746aa77c3b64732ec861ae0d626bda78b8d3
 SHA512 
9319dcb3c29189403c79870dc8f91f27e099627a9fe5136a98193ee387a6dbcdf72eecb57ec4080faca9575461dfbf4ddecaaf5e1c75cfa60b08732a1d7248cc
 DIST webmock-2.3.2.gem 112128 BLAKE2B 
ef0a722374057d7c5392924f68de8520f08cb0aa038fc0b8511e00bbd9dc13f6535955f77611e414a33dbf0ed7a519e9c18caf8517d10be7438e7360c3037a1e
 SHA512 
bb61b645b287d15690aa81db4d4c937d3456e1911d394ef1fb31e8ff3530d47b865aa039c8aaa4d4b6a72132dfcdd06be66adf1b53793384dc27ac1c9f9c01e6
 DIST webmock-3.0.1.gem 112640 BLAKE2B 
61d74bbc099bdec25e919c07a12824a3bc0761c2b4eaf1180c90bef64856882a69503f10ffc25f153b7d96d6fb2c1699eb0bde8fb94ce41ee0c25f5b47e68dda
 SHA512 
a5924105744a0b09e38501f242f3c19a6c483acdea5792bbe4805d046a4748b9ce8390745837bbf8c8101b1713e62940bda1f9e6b3d63d37b007521c46c521d5

diff --git a/dev-ruby/webmock/webmock-1.20.3.ebuild 
b/dev-ruby/webmock/webmock-1.20.3.ebuild
deleted file mode 100644
index a0f901f2b36..000
--- a/dev-ruby/webmock/webmock-1.20.3.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-USE_RUBY="ruby21 ruby22"
-
-RUBY_FAKEGEM_TASK_TEST="test NO_CONNECTION=true"
-
-RUBY_FAKEGEM_RECIPE_DOC="rdoc"
-RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
-
-inherit ruby-fakegem
-
-DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP 
requests"
-HOMEPAGE="https://github.com/bblimke/webmock";
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~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"
-
-ruby_add_bdepend "test? (
-   dev-ruby/minitest:5
-   dev-ruby/rspec:2
-   >=dev-ruby/httpclient-2.2.4
-   >=dev-ruby/patron-0.4.18
-   >=dev-ruby/http-0.6.0:0.6 )"
-
-all_ruby_prepare() {
-   # Remove bundler support
-   rm Gemfile || die
-   sed -i -e '/[Bb]undler/d' Rakefile || die
-
-   # There is now optional support for curb and typhoeus which we don't
-   # have in Gentoo yet. em_http_request is available in Gentoo but its
-   # 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
-   sed -i -e '2i gem "http", "~>0.6.0"' 
spec/acceptance/http_gem/http_gem_spec.rb || die
-
-   # Avoid test failing with newer httpclient versions
-   sed -i -e '/when a client instance is re-used for another identical 
request/,/^  end/ s:^:#:' \
-   spec/acceptance/httpclient/httpclient_spec.rb
-}
-
-each_ruby_test() {
-   ${RUBY} -S rake test NO_CONNECTION=true || die
-   ${RUBY} -S rspec-2 spec || die
-
-   einfo "Delay to allow the test server to stop"
-   sleep 10
-}



  1   2   >