diff options
author | Hans de Graaff <graaff@gentoo.org> | 2018-01-24 07:29:11 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2018-01-24 08:01:54 +0100 |
commit | 632e9097c3c389703780bad6418ba2f9e7e0783a (patch) | |
tree | 8e410e73978e3e45541e5fba257c5b45b98b5980 /dev-ruby/webmock | |
parent | dev-ruby/minitest: cleanup (diff) | |
download | gentoo-632e9097c3c389703780bad6418ba2f9e7e0783a.tar.gz gentoo-632e9097c3c389703780bad6418ba2f9e7e0783a.tar.bz2 gentoo-632e9097c3c389703780bad6418ba2f9e7e0783a.zip |
dev-ruby/webmock: cleanup
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'dev-ruby/webmock')
-rw-r--r-- | dev-ruby/webmock/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/webmock/webmock-2.1.0.ebuild | 58 | ||||
-rw-r--r-- | dev-ruby/webmock/webmock-2.3.1.ebuild | 60 |
3 files changed, 0 insertions, 120 deletions
diff --git a/dev-ruby/webmock/Manifest b/dev-ruby/webmock/Manifest index d0d27cb32bea..6b86f9037aba 100644 --- a/dev-ruby/webmock/Manifest +++ b/dev-ruby/webmock/Manifest @@ -1,7 +1,5 @@ DIST webmock-1.20.3.gem 99840 BLAKE2B 97c03e0c6b87f23f321658f0cf0328bac3e44c3d3270770335ab4a8938282d9af3f378997c43501b589eaab2154bb31651d5a86ce590b645c25897532ca0f5b3 SHA512 db9d770636dabf95b3a03a6589a259c1d66d875dba0cbcd493acf6bb35649c885139528aa5a8976d7ef438bca761e1063ae0fcf1da5b799e8d45abf1986c000c DIST webmock-1.24.6.gem 111104 BLAKE2B 6574d398579dcafe6100d948b0c70fc8a1ca813339e2edb02177dfa0ad11472444d8aeb48b235caa4f85fb4cf4fe746aa77c3b64732ec861ae0d626bda78b8d3 SHA512 9319dcb3c29189403c79870dc8f91f27e099627a9fe5136a98193ee387a6dbcdf72eecb57ec4080faca9575461dfbf4ddecaaf5e1c75cfa60b08732a1d7248cc -DIST webmock-2.1.0.gem 111616 BLAKE2B fd1583c5050052f234cacf7cba8d99b252b09d5ef777b46b158715d56bdebd94e77ae081e616a9fcaa84fe29115a8663b6ad06f7e6ed228882ef832e87a295a4 SHA512 604318766d1a23e76c03e0f39bcdc28aa0a23cba14bd8b5a3b33894aa30ece1d5ac56456500143745a2751ddc7bd0424ef195c82b78d66b5e28e10d5059facfa -DIST webmock-2.3.1.gem 111616 BLAKE2B b957d86b4e1df68c62cbcedb87461e3a709c6ca229488a683f18e8bcc49412046c55d2829c319d1c98b2ee89cfa2f2856611cb366bb38ebfe67084c692479a93 SHA512 b51583a67da44a2aa0c616442f03d1066d9e9270b0cb0fbca48c30d06cef4c008c6fe29186951916afc2b8bccec92a510d34f7a537d4d6889b16e2ad779eb627 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 diff --git a/dev-ruby/webmock/webmock-2.1.0.ebuild b/dev-ruby/webmock/webmock-2.1.0.ebuild deleted file mode 100644 index 5c08f91a32e6..000000000000 --- a/dev-ruby/webmock/webmock-2.1.0.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -USE_RUBY="ruby20 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="2" -KEYWORDS="~amd64 ~arm ~ppc64 ~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.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 - - # 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-2.3.1.ebuild b/dev-ruby/webmock/webmock-2.3.1.ebuild deleted file mode 100644 index 1323145338f2..000000000000 --- a/dev-ruby/webmock/webmock-2.3.1.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -USE_RUBY="ruby20 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="2" -KEYWORDS="~amd64 ~arm ~ppc64 ~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 -} |