1 |
commit: c84109c9cd19094cf7abeea2c1e89addb791b8f0 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 25 06:46:05 2018 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 25 07:31:54 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c84109c9 |
7 |
|
8 |
dev-ruby/webmock: cleanup |
9 |
|
10 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
11 |
|
12 |
dev-ruby/webmock/Manifest | 2 -- |
13 |
dev-ruby/webmock/webmock-3.3.0.ebuild | 60 ----------------------------------- |
14 |
dev-ruby/webmock/webmock-3.4.0.ebuild | 60 ----------------------------------- |
15 |
3 files changed, 122 deletions(-) |
16 |
|
17 |
diff --git a/dev-ruby/webmock/Manifest b/dev-ruby/webmock/Manifest |
18 |
index 16c4a397587..7533ac41619 100644 |
19 |
--- a/dev-ruby/webmock/Manifest |
20 |
+++ b/dev-ruby/webmock/Manifest |
21 |
@@ -1,5 +1,3 @@ |
22 |
DIST webmock-1.24.6.gem 111104 BLAKE2B 6574d398579dcafe6100d948b0c70fc8a1ca813339e2edb02177dfa0ad11472444d8aeb48b235caa4f85fb4cf4fe746aa77c3b64732ec861ae0d626bda78b8d3 SHA512 9319dcb3c29189403c79870dc8f91f27e099627a9fe5136a98193ee387a6dbcdf72eecb57ec4080faca9575461dfbf4ddecaaf5e1c75cfa60b08732a1d7248cc |
23 |
DIST webmock-2.3.2.gem 112128 BLAKE2B ef0a722374057d7c5392924f68de8520f08cb0aa038fc0b8511e00bbd9dc13f6535955f77611e414a33dbf0ed7a519e9c18caf8517d10be7438e7360c3037a1e SHA512 bb61b645b287d15690aa81db4d4c937d3456e1911d394ef1fb31e8ff3530d47b865aa039c8aaa4d4b6a72132dfcdd06be66adf1b53793384dc27ac1c9f9c01e6 |
24 |
-DIST webmock-3.3.0.gem 114688 BLAKE2B 8306e96cfccbee598f275534effd119e75e3e1729b85936f29b4d4dc118f58c5ed39aa61553cb4c4a7389d704f57e55347d1f54f3cd392610a84683df993cd3b SHA512 589d96c21c1afd05e11f4adc6325d277bbc9a2d25f1ed6176a7b7db88cf94413f470b75fd245faa73ef0a9cb037f52751826b5047f77b41bd03ac72860277902 |
25 |
-DIST webmock-3.4.0.gem 115712 BLAKE2B 85098da0f41f364ca4b329995d6ff6dc2a3a57eca898f030d6a8b316781a13bb1bdd4bfef8649391c80ea2c24a27ae6a05f13b9c725c30a0891c15e06f4b5041 SHA512 fb2472bf018f602436a49ed649302c39d888178a8023e3af0c7b35ae95aaff1c1d0b0d82671ac07bf7d71ee9ec0ab944567ac1640b06fb9505c262b0c3b90558 |
26 |
DIST webmock-3.4.1.gem 115712 BLAKE2B d2a1c9c6984bdc2b47ce67b20496128e387e10d67d54405649610b0062548bb3fb6422a87d867eebdec22add8242997f654d2c70fdbbf70b11e70451583cc610 SHA512 26cc9376a66730a73059c3a8d496f5d7dd82ac18e7a95172d965ef431c8edd1b4698acd76ba12051a5dc0df3399488920280b669c4ae1d28d3d6cc5e1f7dce0e |
27 |
|
28 |
diff --git a/dev-ruby/webmock/webmock-3.3.0.ebuild b/dev-ruby/webmock/webmock-3.3.0.ebuild |
29 |
deleted file mode 100644 |
30 |
index 49c52edbb44..00000000000 |
31 |
--- a/dev-ruby/webmock/webmock-3.3.0.ebuild |
32 |
+++ /dev/null |
33 |
@@ -1,60 +0,0 @@ |
34 |
-# Copyright 1999-2018 Gentoo Foundation |
35 |
-# Distributed under the terms of the GNU General Public License v2 |
36 |
- |
37 |
-EAPI=6 |
38 |
- |
39 |
-USE_RUBY="ruby23 ruby24" |
40 |
- |
41 |
-RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true" |
42 |
- |
43 |
-RUBY_FAKEGEM_RECIPE_DOC="rdoc" |
44 |
-RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" |
45 |
- |
46 |
-inherit ruby-fakegem |
47 |
- |
48 |
-DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP requests" |
49 |
-HOMEPAGE="https://github.com/bblimke/webmock" |
50 |
- |
51 |
-LICENSE="GPL-2" |
52 |
-SLOT="3" |
53 |
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
54 |
-IUSE="" |
55 |
- |
56 |
-ruby_add_rdepend ">=dev-ruby/addressable-2.3.6 >=dev-ruby/crack-0.3.2 dev-ruby/hashdiff" |
57 |
- |
58 |
-ruby_add_bdepend "test? ( |
59 |
- dev-ruby/minitest:5 |
60 |
- dev-ruby/rspec:3 |
61 |
- >=dev-ruby/test-unit-3.0.0 |
62 |
- dev-ruby/rack |
63 |
- >=dev-ruby/httpclient-2.8.0 |
64 |
- >=dev-ruby/patron-0.4.18 |
65 |
- || ( dev-ruby/http:3 dev-ruby/http:2.0 ) )" |
66 |
- |
67 |
-all_ruby_prepare() { |
68 |
- # Remove bundler support |
69 |
- rm Gemfile || die |
70 |
- sed -i -e '/[Bb]undler/d' Rakefile || die |
71 |
- sed -i -e '/simplecov/I s:^:#:' spec/spec_helper.rb || die |
72 |
- sed -i -e '1igem "test-unit"' test/test_helper.rb || die |
73 |
- |
74 |
- # There is now optional support for curb and typhoeus which we don't |
75 |
- # have in Gentoo yet. em_http_request is available in Gentoo but its |
76 |
- # version is too old. |
77 |
- sed -i -e '/\(curb\|typhoeus\|em-http\)/d' spec/spec_helper.rb || die |
78 |
- rm spec/acceptance/{typhoeus,curb,excon,em_http_request}/* || die |
79 |
- |
80 |
- # Avoid httpclient specs that require network access, most likely |
81 |
- # because mocking does not fully work. |
82 |
- sed -i -e '/httpclient streams response/,/^ end/ s:^:#:' \ |
83 |
- -e '/are detected when manually specifying Authorization header/,/^ end/ s:^:#:' \ |
84 |
- spec/acceptance/httpclient/httpclient_spec.rb |
85 |
-} |
86 |
- |
87 |
-each_ruby_test() { |
88 |
- ${RUBY} -S rake test NO_CONNECTION=true || die |
89 |
- ${RUBY} -S rspec-3 spec || die |
90 |
- |
91 |
- einfo "Delay to allow the test server to stop" |
92 |
- sleep 10 |
93 |
-} |
94 |
|
95 |
diff --git a/dev-ruby/webmock/webmock-3.4.0.ebuild b/dev-ruby/webmock/webmock-3.4.0.ebuild |
96 |
deleted file mode 100644 |
97 |
index 49c52edbb44..00000000000 |
98 |
--- a/dev-ruby/webmock/webmock-3.4.0.ebuild |
99 |
+++ /dev/null |
100 |
@@ -1,60 +0,0 @@ |
101 |
-# Copyright 1999-2018 Gentoo Foundation |
102 |
-# Distributed under the terms of the GNU General Public License v2 |
103 |
- |
104 |
-EAPI=6 |
105 |
- |
106 |
-USE_RUBY="ruby23 ruby24" |
107 |
- |
108 |
-RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true" |
109 |
- |
110 |
-RUBY_FAKEGEM_RECIPE_DOC="rdoc" |
111 |
-RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" |
112 |
- |
113 |
-inherit ruby-fakegem |
114 |
- |
115 |
-DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP requests" |
116 |
-HOMEPAGE="https://github.com/bblimke/webmock" |
117 |
- |
118 |
-LICENSE="GPL-2" |
119 |
-SLOT="3" |
120 |
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
121 |
-IUSE="" |
122 |
- |
123 |
-ruby_add_rdepend ">=dev-ruby/addressable-2.3.6 >=dev-ruby/crack-0.3.2 dev-ruby/hashdiff" |
124 |
- |
125 |
-ruby_add_bdepend "test? ( |
126 |
- dev-ruby/minitest:5 |
127 |
- dev-ruby/rspec:3 |
128 |
- >=dev-ruby/test-unit-3.0.0 |
129 |
- dev-ruby/rack |
130 |
- >=dev-ruby/httpclient-2.8.0 |
131 |
- >=dev-ruby/patron-0.4.18 |
132 |
- || ( dev-ruby/http:3 dev-ruby/http:2.0 ) )" |
133 |
- |
134 |
-all_ruby_prepare() { |
135 |
- # Remove bundler support |
136 |
- rm Gemfile || die |
137 |
- sed -i -e '/[Bb]undler/d' Rakefile || die |
138 |
- sed -i -e '/simplecov/I s:^:#:' spec/spec_helper.rb || die |
139 |
- sed -i -e '1igem "test-unit"' test/test_helper.rb || die |
140 |
- |
141 |
- # There is now optional support for curb and typhoeus which we don't |
142 |
- # have in Gentoo yet. em_http_request is available in Gentoo but its |
143 |
- # version is too old. |
144 |
- sed -i -e '/\(curb\|typhoeus\|em-http\)/d' spec/spec_helper.rb || die |
145 |
- rm spec/acceptance/{typhoeus,curb,excon,em_http_request}/* || die |
146 |
- |
147 |
- # Avoid httpclient specs that require network access, most likely |
148 |
- # because mocking does not fully work. |
149 |
- sed -i -e '/httpclient streams response/,/^ end/ s:^:#:' \ |
150 |
- -e '/are detected when manually specifying Authorization header/,/^ end/ s:^:#:' \ |
151 |
- spec/acceptance/httpclient/httpclient_spec.rb |
152 |
-} |
153 |
- |
154 |
-each_ruby_test() { |
155 |
- ${RUBY} -S rake test NO_CONNECTION=true || die |
156 |
- ${RUBY} -S rspec-3 spec || die |
157 |
- |
158 |
- einfo "Delay to allow the test server to stop" |
159 |
- sleep 10 |
160 |
-} |