1 |
commit: de75c5847092911e69887d62a35a2f638a88c340 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 11 08:55:51 2020 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 11 09:04:56 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de75c584 |
7 |
|
8 |
dev-ruby/webmock: cleanup |
9 |
|
10 |
Package-Manager: Portage-2.3.89, Repoman-2.3.20 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/webmock/Manifest | 2 -- |
14 |
dev-ruby/webmock/webmock-3.6.2.ebuild | 61 ----------------------------------- |
15 |
dev-ruby/webmock/webmock-3.8.0.ebuild | 61 ----------------------------------- |
16 |
3 files changed, 124 deletions(-) |
17 |
|
18 |
diff --git a/dev-ruby/webmock/Manifest b/dev-ruby/webmock/Manifest |
19 |
index 107b353e7a1..cec67bc697d 100644 |
20 |
--- a/dev-ruby/webmock/Manifest |
21 |
+++ b/dev-ruby/webmock/Manifest |
22 |
@@ -1,6 +1,4 @@ |
23 |
DIST webmock-2.3.2.gem 112128 BLAKE2B ef0a722374057d7c5392924f68de8520f08cb0aa038fc0b8511e00bbd9dc13f6535955f77611e414a33dbf0ed7a519e9c18caf8517d10be7438e7360c3037a1e SHA512 bb61b645b287d15690aa81db4d4c937d3456e1911d394ef1fb31e8ff3530d47b865aa039c8aaa4d4b6a72132dfcdd06be66adf1b53793384dc27ac1c9f9c01e6 |
24 |
-DIST webmock-3.6.2.gem 117760 BLAKE2B 132b700323cbc4e753406ccfcc69375107c1d8546fd71bacf13db614d1818926321e2cd27dfc08670f908e0ac5946b06892138c2701fb1f27cfcf9fb6dd56c3d SHA512 1d6141be90840d01e3d7b8e925e0a981ac715fbca1219dd35edd7cf3bcea1c1da3442aaa131e3586f0827a7b06207314119c1f47e6ae64f11f154c70ba6fc5c2 |
25 |
DIST webmock-3.7.6.gem 122368 BLAKE2B 9bc40971f1eec96d88217544acc67b7abfe6c0815a0696119e12fc5629b4f51e1164ecc982525d2c02fa50c7b1b09548c4831c1d597f06acde04a83227ba0dc9 SHA512 85455495476b22d94b23e34a92db3f0f8cf1aa5bb52ea6a8eb71f5f0bcbdad1edc13dff778c62806ec27850320e9f4e17f12525bbac552e5e105ee1ecd771efd |
26 |
-DIST webmock-3.8.0.gem 122368 BLAKE2B 17533e0ba297e2caed6de736f7e0b740d33ac8d08d743ef0ac543e443c990fe2a22b14519c599c2d5e36a0bab67d9d72e3aac99ec2ca2dc3f25643b90a75943a SHA512 3c0bb83abafaf1c25f8129fe1017acc323385de0ecf00229f4ebdc1ce60bf83c8d8a05372cfb6e80c2382324854dd985b06ecf3e2003ca4697a65c57c5788d1e |
27 |
DIST webmock-3.8.1.gem 122368 BLAKE2B ba956c72f20e2c21cea90b107ef445e42a6995fdb31f9af65c3b561e9e1fbb9fbd299db009a1d83ddfdb473ce030d40aadf6633e23afbd072ee3b4debf7e0be2 SHA512 b1137fabb000469ee88fdd5521756f368463ee49988d5d89b51fa8352362ff249a4849159504834933e5e1248ed9b6791d254528b3cdea461fc9e8e5d92a334c |
28 |
DIST webmock-3.8.2.gem 122880 BLAKE2B 0cd10f391377749c6420d08434c8e66230612c50bdff86b4dfd098690c006426e241c32bf716e2f8b9ee6c0ce6488d1975b54f3e4cd85cc14d6c7f0880f65701 SHA512 ae6bdda341bea804257d9f9b57d17a65a25d030ee2f5a9b7fff125a5f7881a34584c6b5d26a1e6dd5a49bba56ad5b6e731defecd109e19a5144df4caf90561d4 |
29 |
|
30 |
diff --git a/dev-ruby/webmock/webmock-3.6.2.ebuild b/dev-ruby/webmock/webmock-3.6.2.ebuild |
31 |
deleted file mode 100644 |
32 |
index 79c8d404ebb..00000000000 |
33 |
--- a/dev-ruby/webmock/webmock-3.6.2.ebuild |
34 |
+++ /dev/null |
35 |
@@ -1,61 +0,0 @@ |
36 |
-# Copyright 1999-2019 Gentoo Authors |
37 |
-# Distributed under the terms of the GNU General Public License v2 |
38 |
- |
39 |
-EAPI=7 |
40 |
- |
41 |
-USE_RUBY="ruby24 ruby25 ruby26" |
42 |
- |
43 |
-RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true" |
44 |
- |
45 |
-RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" |
46 |
- |
47 |
-inherit ruby-fakegem |
48 |
- |
49 |
-DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP requests" |
50 |
-HOMEPAGE="https://github.com/bblimke/webmock" |
51 |
- |
52 |
-LICENSE="GPL-2" |
53 |
-SLOT="3" |
54 |
-KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
55 |
-IUSE="" |
56 |
- |
57 |
-ruby_add_rdepend ">=dev-ruby/addressable-2.3.6 >=dev-ruby/crack-0.3.2 >=dev-ruby/hashdiff-0.4.0:0" |
58 |
- |
59 |
-ruby_add_bdepend "test? ( |
60 |
- dev-ruby/minitest:5 |
61 |
- dev-ruby/rspec:3 |
62 |
- >=dev-ruby/test-unit-3.0.0 |
63 |
- dev-ruby/rack |
64 |
- >=dev-ruby/httpclient-2.8.0 |
65 |
- || ( dev-ruby/http:4 dev-ruby/http:3 ) )" |
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. patron's latest version is not compatible. |
77 |
- sed -i -e '/\(curb\|typhoeus\|em-http\|patron\)/d' spec/spec_helper.rb || die |
78 |
- rm spec/acceptance/{typhoeus,curb,excon,em_http_request,patron}/* || 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 |
- # Avoid specs that require network access |
87 |
- sed -i -e '/when request is not stubbed/,/^ end/ s:^:#:' spec/acceptance/shared/callbacks.rb |
88 |
-} |
89 |
- |
90 |
-each_ruby_test() { |
91 |
- ${RUBY} -S rake test NO_CONNECTION=true || die |
92 |
- ${RUBY} -S rspec-3 spec || die |
93 |
- |
94 |
- einfo "Delay to allow the test server to stop" |
95 |
- sleep 10 |
96 |
-} |
97 |
|
98 |
diff --git a/dev-ruby/webmock/webmock-3.8.0.ebuild b/dev-ruby/webmock/webmock-3.8.0.ebuild |
99 |
deleted file mode 100644 |
100 |
index 04f3e54f793..00000000000 |
101 |
--- a/dev-ruby/webmock/webmock-3.8.0.ebuild |
102 |
+++ /dev/null |
103 |
@@ -1,61 +0,0 @@ |
104 |
-# Copyright 1999-2020 Gentoo Authors |
105 |
-# Distributed under the terms of the GNU General Public License v2 |
106 |
- |
107 |
-EAPI=7 |
108 |
- |
109 |
-USE_RUBY="ruby24 ruby25 ruby26" |
110 |
- |
111 |
-RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true" |
112 |
- |
113 |
-RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" |
114 |
- |
115 |
-inherit ruby-fakegem |
116 |
- |
117 |
-DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP requests" |
118 |
-HOMEPAGE="https://github.com/bblimke/webmock" |
119 |
- |
120 |
-LICENSE="GPL-2" |
121 |
-SLOT="3" |
122 |
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
123 |
-IUSE="" |
124 |
- |
125 |
-ruby_add_rdepend ">=dev-ruby/addressable-2.3.6 >=dev-ruby/crack-0.3.2 >=dev-ruby/hashdiff-0.4.0:0" |
126 |
- |
127 |
-ruby_add_bdepend "test? ( |
128 |
- dev-ruby/minitest:5 |
129 |
- dev-ruby/rspec:3 |
130 |
- >=dev-ruby/test-unit-3.0.0 |
131 |
- dev-ruby/rack |
132 |
- >=dev-ruby/httpclient-2.8.0 |
133 |
- || ( dev-ruby/http:4 dev-ruby/http:3 ) )" |
134 |
- |
135 |
-all_ruby_prepare() { |
136 |
- # Remove bundler support |
137 |
- rm Gemfile || die |
138 |
- sed -i -e '/[Bb]undler/d' Rakefile || die |
139 |
- sed -i -e '/simplecov/I s:^:#:' spec/spec_helper.rb || die |
140 |
- sed -i -e '1igem "test-unit"' test/test_helper.rb || die |
141 |
- |
142 |
- # There is now optional support for curb and typhoeus which we don't |
143 |
- # have in Gentoo yet. em_http_request is available in Gentoo but its |
144 |
- # version is too old. patron's latest version is not compatible. |
145 |
- sed -i -e '/\(curb\|typhoeus\|em-http\|patron\)/d' spec/spec_helper.rb || die |
146 |
- rm spec/acceptance/{typhoeus,curb,excon,em_http_request,patron,async_http_client}/* || die |
147 |
- |
148 |
- # Avoid httpclient specs that require network access, most likely |
149 |
- # because mocking does not fully work. |
150 |
- sed -i -e '/httpclient streams response/,/^ end/ s:^:#:' \ |
151 |
- -e '/are detected when manually specifying Authorization header/,/^ end/ s:^:#:' \ |
152 |
- spec/acceptance/httpclient/httpclient_spec.rb |
153 |
- |
154 |
- # Avoid specs that require network access |
155 |
- sed -i -e '/when request is not stubbed/,/^ end/ s:^:#:' spec/acceptance/shared/callbacks.rb |
156 |
-} |
157 |
- |
158 |
-each_ruby_test() { |
159 |
- ${RUBY} -S rake test NO_CONNECTION=true || die |
160 |
- ${RUBY} -S rspec-3 spec || die |
161 |
- |
162 |
- einfo "Delay to allow the test server to stop" |
163 |
- sleep 10 |
164 |
-} |