web-author 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.ruby-version +1 -0
- data/CHANGELOG.md +5 -0
- data/LICENSE.txt +21 -0
- data/README.md +234 -0
- data/Rakefile +12 -0
- data/lib/web_author/author/strategies/author_from_ld_schema.rb +54 -0
- data/lib/web_author/author/strategies/author_from_meta.rb +16 -0
- data/lib/web_author/author/strategy.rb +25 -0
- data/lib/web_author/json_ld_schema_processor.rb +46 -0
- data/lib/web_author/ld_author.rb +30 -0
- data/lib/web_author/ld_schema.rb +74 -0
- data/lib/web_author/page.rb +54 -0
- data/lib/web_author/version.rb +5 -0
- data/lib/web_author.rb +14 -0
- data/sig/webauthor.rbs +4 -0
- data/sorbet/config +4 -0
- data/sorbet/rbi/annotations/.gitattributes +1 -0
- data/sorbet/rbi/annotations/minitest.rbi +119 -0
- data/sorbet/rbi/annotations/mocha.rbi +34 -0
- data/sorbet/rbi/annotations/rainbow.rbi +269 -0
- data/sorbet/rbi/annotations/webmock.rbi +9 -0
- data/sorbet/rbi/gems/.gitattributes +1 -0
- data/sorbet/rbi/gems/addressable.rbi +203 -0
- data/sorbet/rbi/gems/addressable@2.8.7.rbi +1994 -0
- data/sorbet/rbi/gems/ast.rbi +49 -0
- data/sorbet/rbi/gems/ast@2.4.3.rbi +585 -0
- data/sorbet/rbi/gems/benchmark@0.4.0.rbi +618 -0
- data/sorbet/rbi/gems/bigdecimal.rbi +86 -0
- data/sorbet/rbi/gems/bigdecimal@3.1.9.rbi +8 -0
- data/sorbet/rbi/gems/crack.rbi +62 -0
- data/sorbet/rbi/gems/crack@1.0.0.rbi +145 -0
- data/sorbet/rbi/gems/erubi@1.13.1.rbi +155 -0
- data/sorbet/rbi/gems/hashdiff.rbi +66 -0
- data/sorbet/rbi/gems/hashdiff@1.1.2.rbi +353 -0
- data/sorbet/rbi/gems/json@2.10.2.rbi +2112 -0
- data/sorbet/rbi/gems/language_server-protocol.rbi +2868 -0
- data/sorbet/rbi/gems/language_server-protocol@3.17.0.4.rbi +9 -0
- data/sorbet/rbi/gems/lint_roller.rbi +75 -0
- data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +240 -0
- data/sorbet/rbi/gems/logger@1.7.0.rbi +963 -0
- data/sorbet/rbi/gems/minitest.rbi +440 -0
- data/sorbet/rbi/gems/minitest@5.25.5.rbi +1547 -0
- data/sorbet/rbi/gems/mocha.rbi +653 -0
- data/sorbet/rbi/gems/mocha@2.7.1.rbi +12 -0
- data/sorbet/rbi/gems/netrc@0.11.0.rbi +159 -0
- data/sorbet/rbi/gems/nokogiri-1.18.6-arm64.rbi +1135 -0
- data/sorbet/rbi/gems/parallel.rbi +88 -0
- data/sorbet/rbi/gems/parallel@1.26.3.rbi +291 -0
- data/sorbet/rbi/gems/parser.rbi +1544 -0
- data/sorbet/rbi/gems/parser@3.3.7.3.rbi +5532 -0
- data/sorbet/rbi/gems/prism.rbi +4090 -0
- data/sorbet/rbi/gems/prism@1.4.0.rbi +41732 -0
- data/sorbet/rbi/gems/public_suffix.rbi +105 -0
- data/sorbet/rbi/gems/public_suffix@6.0.1.rbi +936 -0
- data/sorbet/rbi/gems/racc.rbi +15 -0
- data/sorbet/rbi/gems/racc@1.8.1.rbi +160 -0
- data/sorbet/rbi/gems/rainbow.rbi +122 -0
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +403 -0
- data/sorbet/rbi/gems/rake.rbi +650 -0
- data/sorbet/rbi/gems/rake@13.2.1.rbi +3033 -0
- data/sorbet/rbi/gems/rbi@0.3.1.rbi +6599 -0
- data/sorbet/rbi/gems/rbs@3.9.2.rbi +6978 -0
- data/sorbet/rbi/gems/rdoc.rbi +555 -0
- data/sorbet/rbi/gems/regexp_parser.rbi +1039 -0
- data/sorbet/rbi/gems/regexp_parser@2.10.0.rbi +3795 -0
- data/sorbet/rbi/gems/rexml.rbi +637 -0
- data/sorbet/rbi/gems/rexml@3.4.1.rbi +5346 -0
- data/sorbet/rbi/gems/rubocop-ast.rbi +1470 -0
- data/sorbet/rbi/gems/rubocop-ast@1.43.0.rbi +7765 -0
- data/sorbet/rbi/gems/rubocop-minitest.rbi +450 -0
- data/sorbet/rbi/gems/rubocop-minitest@0.37.1.rbi +2609 -0
- data/sorbet/rbi/gems/rubocop-performance.rbi +593 -0
- data/sorbet/rbi/gems/rubocop-performance@1.24.0.rbi +3359 -0
- data/sorbet/rbi/gems/rubocop-rake.rbi +87 -0
- data/sorbet/rbi/gems/rubocop-rake@0.7.1.rbi +328 -0
- data/sorbet/rbi/gems/rubocop-rubycw.rbi +40 -0
- data/sorbet/rbi/gems/rubocop-rubycw@0.2.2.rbi +91 -0
- data/sorbet/rbi/gems/rubocop.rbi +10554 -0
- data/sorbet/rbi/gems/rubocop@1.75.1.rbi +61875 -0
- data/sorbet/rbi/gems/ruby-progressbar.rbi +321 -0
- data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1318 -0
- data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +9 -0
- data/sorbet/rbi/gems/spoom@1.6.1.rbi +7274 -0
- data/sorbet/rbi/gems/tapioca@0.16.11.rbi +3628 -0
- data/sorbet/rbi/gems/thor@1.3.2.rbi +4378 -0
- data/sorbet/rbi/gems/unicode-display_width.rbi +28 -0
- data/sorbet/rbi/gems/unicode-display_width@3.1.4.rbi +132 -0
- data/sorbet/rbi/gems/unicode-emoji.rbi +18 -0
- data/sorbet/rbi/gems/unicode-emoji@4.0.4.rbi +251 -0
- data/sorbet/rbi/gems/web_author.rbi +20 -0
- data/sorbet/rbi/gems/webmock.rbi +512 -0
- data/sorbet/rbi/gems/webmock@3.25.1.rbi +1792 -0
- data/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi +435 -0
- data/sorbet/rbi/gems/yard.rbi +36 -0
- data/sorbet/rbi/gems/yard@0.9.37.rbi +18379 -0
- data/sorbet/rbi/gems/zeitwerk.rbi +240 -0
- data/sorbet/rbi/gems/zeitwerk@2.7.2.rbi +1141 -0
- data/sorbet/tapioca/config.yml +13 -0
- data/sorbet/tapioca/require.rb +4 -0
- metadata +188 -0
@@ -0,0 +1,512 @@
|
|
1
|
+
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
+
# srb rbi gems
|
3
|
+
|
4
|
+
# typed: false
|
5
|
+
#
|
6
|
+
# If you would like to make changes to this file, great! Please create the gem's shim here:
|
7
|
+
#
|
8
|
+
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/webmock/all/webmock.rbi
|
9
|
+
#
|
10
|
+
# webmock-3.25.1
|
11
|
+
|
12
|
+
module WebMock
|
13
|
+
def after_request(*args, &block); end
|
14
|
+
def allow_net_connect!(*args, &block); end
|
15
|
+
def disable_net_connect!(*args, &block); end
|
16
|
+
def net_connect_allowed?(*args, &block); end
|
17
|
+
def registered_request?(*args, &block); end
|
18
|
+
def reset_callbacks(*args, &block); end
|
19
|
+
def reset_webmock(*args, &block); end
|
20
|
+
def self.after_request(options = nil, &block); end
|
21
|
+
def self.allow_net_connect!(options = nil); end
|
22
|
+
def self.disable!(options = nil); end
|
23
|
+
def self.disable_net_connect!(options = nil); end
|
24
|
+
def self.disallow_net_connect!(options = nil); end
|
25
|
+
def self.enable!; end
|
26
|
+
def self.enable_net_connect!(options = nil); end
|
27
|
+
def self.globally_stub_request(order = nil, &block); end
|
28
|
+
def self.hide_body_diff!; end
|
29
|
+
def self.hide_stubbing_instructions!; end
|
30
|
+
def self.included(clazz); end
|
31
|
+
def self.net_connect_allowed?(uri = nil); end
|
32
|
+
def self.net_connect_explicit_allowed?(allowed, uri = nil); end
|
33
|
+
def self.net_http_connect_on_start?(uri); end
|
34
|
+
def self.print_executed_requests; end
|
35
|
+
def self.registered_request?(request_signature); end
|
36
|
+
def self.request(method, uri); end
|
37
|
+
def self.reset!; end
|
38
|
+
def self.reset_callbacks; end
|
39
|
+
def self.reset_webmock; end
|
40
|
+
def self.show_body_diff!; end
|
41
|
+
def self.show_body_diff?; end
|
42
|
+
def self.show_stubbing_instructions!; end
|
43
|
+
def self.show_stubbing_instructions?; end
|
44
|
+
def self.version; end
|
45
|
+
extend WebMock::API
|
46
|
+
include WebMock::API
|
47
|
+
end
|
48
|
+
class WebMock::Deprecation
|
49
|
+
def self.warning(message); end
|
50
|
+
end
|
51
|
+
class WebMock::NetConnectNotAllowedError < Exception
|
52
|
+
def initialize(request_signature); end
|
53
|
+
end
|
54
|
+
module WebMock::Util
|
55
|
+
end
|
56
|
+
class WebMock::Util::QueryMapper
|
57
|
+
def self.collect_query_hash(query_array, empty_accumulator, options); end
|
58
|
+
def self.collect_query_parts(query); end
|
59
|
+
def self.dehash(hash); end
|
60
|
+
def self.fill_accumulator_for_dot(accumulator, key, value); end
|
61
|
+
def self.fill_accumulator_for_flat(accumulator, key, value); end
|
62
|
+
def self.fill_accumulator_for_flat_array(accumulator, key, value); end
|
63
|
+
def self.fill_accumulator_for_subscript(accumulator, key, value); end
|
64
|
+
def self.normalize_query_hash(query_hash, empty_accumulator, options); end
|
65
|
+
def self.query_to_values(query, options = nil); end
|
66
|
+
def self.to_query(parent, value, options = nil); end
|
67
|
+
def self.values_to_query(new_query_values, options = nil); end
|
68
|
+
end
|
69
|
+
class WebMock::Util::URI
|
70
|
+
def self.encode_unsafe_chars_in_userinfo(userinfo); end
|
71
|
+
def self.heuristic_parse(uri); end
|
72
|
+
def self.is_uri_localhost?(uri); end
|
73
|
+
def self.normalize_uri(uri); end
|
74
|
+
def self.sort_query_values(query_values); end
|
75
|
+
def self.strip_default_port_from_uri_string(uri_string); end
|
76
|
+
def self.uris_encoded_and_unencoded(uris); end
|
77
|
+
def self.uris_with_inferred_port_and_without(uris); end
|
78
|
+
def self.uris_with_scheme_and_without(uris); end
|
79
|
+
def self.uris_with_trailing_slash_and_without(uris); end
|
80
|
+
def self.variations_of_uri_as_strings(uri_object, only_with_scheme: nil); end
|
81
|
+
end
|
82
|
+
module WebMock::Util::URI::CharacterClasses
|
83
|
+
end
|
84
|
+
class WebMock::Util::Headers
|
85
|
+
def self.basic_auth_header(*credentials); end
|
86
|
+
def self.decode_userinfo_from_header(header); end
|
87
|
+
def self.normalize_headers(headers); end
|
88
|
+
def self.normalize_name(name); end
|
89
|
+
def self.pp_headers_string(headers); end
|
90
|
+
def self.sorted_headers_string(headers); end
|
91
|
+
end
|
92
|
+
class WebMock::Util::HashCounter
|
93
|
+
def each(&block); end
|
94
|
+
def get(key); end
|
95
|
+
def hash; end
|
96
|
+
def hash=(arg0); end
|
97
|
+
def initialize; end
|
98
|
+
def put(key, num = nil); end
|
99
|
+
def select(&block); end
|
100
|
+
end
|
101
|
+
class WebMock::Util::HashKeysStringifier
|
102
|
+
def self.stringify_keys!(arg, options = nil); end
|
103
|
+
end
|
104
|
+
class WebMock::Util::ValuesStringifier
|
105
|
+
def self.stringify_values(value); end
|
106
|
+
end
|
107
|
+
module WebMock::Util::Parsers
|
108
|
+
end
|
109
|
+
class WebMock::Util::Parsers::ParseError < StandardError
|
110
|
+
end
|
111
|
+
class WebMock::Util::Parsers::JSON
|
112
|
+
def self.convert_json_to_yaml(json); end
|
113
|
+
def self.parse(json); end
|
114
|
+
def self.unescape(str); end
|
115
|
+
end
|
116
|
+
class WebMock::Util::Parsers::XML
|
117
|
+
def self.parse(xml); end
|
118
|
+
end
|
119
|
+
class WebMock::VersionChecker
|
120
|
+
def check_version!; end
|
121
|
+
def colorize(text, color_code); end
|
122
|
+
def compare_version; end
|
123
|
+
def initialize(library_name, library_version, min_patch_level, max_minor_version = nil, unsupported_versions = nil); end
|
124
|
+
def parse_version(version); end
|
125
|
+
def too_high?; end
|
126
|
+
def too_low?; end
|
127
|
+
def unsupported_version?; end
|
128
|
+
def version_requirement; end
|
129
|
+
def warn_about_too_high; end
|
130
|
+
def warn_about_too_low; end
|
131
|
+
def warn_about_unsupported_version; end
|
132
|
+
def warn_in_red(text); end
|
133
|
+
end
|
134
|
+
class WebMock::HashValidator
|
135
|
+
def initialize(hash); end
|
136
|
+
def validate_keys(*valid_keys); end
|
137
|
+
end
|
138
|
+
module WebMock::Matchers
|
139
|
+
end
|
140
|
+
class WebMock::Matchers::HashArgumentMatcher
|
141
|
+
def ==(_actual, &block); end
|
142
|
+
def initialize(expected); end
|
143
|
+
def self.from_rspec_matcher(matcher); end
|
144
|
+
end
|
145
|
+
class WebMock::Matchers::HashExcludingMatcher < WebMock::Matchers::HashArgumentMatcher
|
146
|
+
def ==(actual); end
|
147
|
+
def inspect; end
|
148
|
+
end
|
149
|
+
class WebMock::Matchers::HashIncludingMatcher < WebMock::Matchers::HashArgumentMatcher
|
150
|
+
def ==(actual); end
|
151
|
+
def inspect; end
|
152
|
+
end
|
153
|
+
class WebMock::Matchers::AnyArgMatcher
|
154
|
+
def ==(other); end
|
155
|
+
def initialize(ignore); end
|
156
|
+
end
|
157
|
+
module WebMock::RSpecMatcherDetector
|
158
|
+
def rSpecHashExcludingMatcher?(matcher); end
|
159
|
+
def rSpecHashIncludingMatcher?(matcher); end
|
160
|
+
end
|
161
|
+
class WebMock::RequestPattern
|
162
|
+
def assign_options(options); end
|
163
|
+
def body_pattern; end
|
164
|
+
def create_uri_pattern(uri); end
|
165
|
+
def headers_pattern; end
|
166
|
+
def initialize(method, uri, options = nil); end
|
167
|
+
def matches?(request_signature); end
|
168
|
+
def method_pattern; end
|
169
|
+
def set_basic_auth_as_headers!(options); end
|
170
|
+
def to_s; end
|
171
|
+
def uri_pattern; end
|
172
|
+
def validate_basic_auth!(basic_auth); end
|
173
|
+
def with(options = nil, &block); end
|
174
|
+
end
|
175
|
+
class WebMock::MethodPattern
|
176
|
+
def initialize(pattern); end
|
177
|
+
def matches?(method); end
|
178
|
+
def to_s; end
|
179
|
+
end
|
180
|
+
class WebMock::URIPattern
|
181
|
+
def add_query_params(query_params); end
|
182
|
+
def initialize(pattern); end
|
183
|
+
def matches?(uri); end
|
184
|
+
def pattern_inspect; end
|
185
|
+
def query_params_matches?(uri); end
|
186
|
+
def to_s; end
|
187
|
+
include WebMock::RSpecMatcherDetector
|
188
|
+
end
|
189
|
+
class WebMock::URICallablePattern < WebMock::URIPattern
|
190
|
+
def pattern_matches?(uri); end
|
191
|
+
end
|
192
|
+
class WebMock::URIRegexpPattern < WebMock::URIPattern
|
193
|
+
def pattern_matches?(uri); end
|
194
|
+
end
|
195
|
+
class WebMock::URIAddressablePattern < WebMock::URIPattern
|
196
|
+
def add_query_params(query_params); end
|
197
|
+
def matches_with_variations?(uri); end
|
198
|
+
def pattern_inspect; end
|
199
|
+
def pattern_matches?(uri); end
|
200
|
+
def template_matches_uri?(template, uri); end
|
201
|
+
end
|
202
|
+
class WebMock::URIStringPattern < WebMock::URIPattern
|
203
|
+
def add_query_params(query_params); end
|
204
|
+
def pattern_inspect; end
|
205
|
+
def pattern_matches?(uri); end
|
206
|
+
end
|
207
|
+
class WebMock::BodyPattern
|
208
|
+
def assert_non_multipart_body(content_type); end
|
209
|
+
def body_as_hash(body, content_type); end
|
210
|
+
def body_format(content_type); end
|
211
|
+
def empty_string?(string); end
|
212
|
+
def initialize(pattern); end
|
213
|
+
def matches?(body, content_type = nil); end
|
214
|
+
def matching_body_array?(query_parameters, pattern, content_type); end
|
215
|
+
def matching_body_hashes?(query_parameters, pattern, content_type); end
|
216
|
+
def matching_values(actual, expected, content_type); end
|
217
|
+
def normalize_hash(hash); end
|
218
|
+
def pattern; end
|
219
|
+
def to_s; end
|
220
|
+
def url_encoded_body?(content_type); end
|
221
|
+
include WebMock::RSpecMatcherDetector
|
222
|
+
end
|
223
|
+
class WebMock::HeadersPattern
|
224
|
+
def empty_headers?(headers); end
|
225
|
+
def initialize(pattern); end
|
226
|
+
def matches?(headers); end
|
227
|
+
def pp_to_s; end
|
228
|
+
def to_s; end
|
229
|
+
end
|
230
|
+
class WebMock::RequestSignature
|
231
|
+
def ==(other); end
|
232
|
+
def assign_options(options); end
|
233
|
+
def body; end
|
234
|
+
def body=(arg0); end
|
235
|
+
def eql?(other); end
|
236
|
+
def hash; end
|
237
|
+
def headers; end
|
238
|
+
def headers=(headers); end
|
239
|
+
def initialize(method, uri, options = nil); end
|
240
|
+
def json_headers?; end
|
241
|
+
def method; end
|
242
|
+
def method=(arg0); end
|
243
|
+
def to_s; end
|
244
|
+
def uri; end
|
245
|
+
def uri=(arg0); end
|
246
|
+
def url_encoded?; end
|
247
|
+
end
|
248
|
+
class WebMock::ResponsesSequence
|
249
|
+
def end?; end
|
250
|
+
def increase_position; end
|
251
|
+
def initialize(responses); end
|
252
|
+
def next_response; end
|
253
|
+
def times_to_repeat; end
|
254
|
+
def times_to_repeat=(arg0); end
|
255
|
+
end
|
256
|
+
class WebMock::RequestStub
|
257
|
+
def and_raise(*exceptions); end
|
258
|
+
def and_return(*response_hashes, &block); end
|
259
|
+
def and_return_json(*response_hashes); end
|
260
|
+
def and_timeout; end
|
261
|
+
def has_responses?; end
|
262
|
+
def initialize(method, uri); end
|
263
|
+
def matches?(request_signature); end
|
264
|
+
def request_pattern; end
|
265
|
+
def request_pattern=(arg0); end
|
266
|
+
def response; end
|
267
|
+
def self.from_request_signature(signature); end
|
268
|
+
def then; end
|
269
|
+
def times(number); end
|
270
|
+
def to_rack(app, options = nil); end
|
271
|
+
def to_raise(*exceptions); end
|
272
|
+
def to_return(*response_hashes, &block); end
|
273
|
+
def to_return_json(*response_hashes); end
|
274
|
+
def to_s; end
|
275
|
+
def to_timeout; end
|
276
|
+
def with(params = nil, &block); end
|
277
|
+
end
|
278
|
+
class WebMock::ResponseFactory
|
279
|
+
def self.response_for(options); end
|
280
|
+
end
|
281
|
+
class WebMock::Response
|
282
|
+
def ==(other); end
|
283
|
+
def assert_valid_body!; end
|
284
|
+
def body; end
|
285
|
+
def body=(body); end
|
286
|
+
def evaluate(request_signature); end
|
287
|
+
def exception; end
|
288
|
+
def exception=(exception); end
|
289
|
+
def headers; end
|
290
|
+
def headers=(headers); end
|
291
|
+
def initialize(options = nil); end
|
292
|
+
def options=(options); end
|
293
|
+
def raise_error_if_any; end
|
294
|
+
def read_raw_response(io); end
|
295
|
+
def should_timeout; end
|
296
|
+
def status; end
|
297
|
+
def status=(status); end
|
298
|
+
def stringify_body!; end
|
299
|
+
end
|
300
|
+
class WebMock::Response::InvalidBody < StandardError
|
301
|
+
end
|
302
|
+
class WebMock::DynamicResponse < WebMock::Response
|
303
|
+
def evaluate(request_signature); end
|
304
|
+
def initialize(responder); end
|
305
|
+
def responder; end
|
306
|
+
def responder=(arg0); end
|
307
|
+
end
|
308
|
+
class WebMock::RackResponse < WebMock::Response
|
309
|
+
def body_from_rack_response(response); end
|
310
|
+
def build_rack_env(request); end
|
311
|
+
def evaluate(request); end
|
312
|
+
def initialize(app); end
|
313
|
+
def session; end
|
314
|
+
def session_options; end
|
315
|
+
end
|
316
|
+
class WebMock::StubRequestSnippet
|
317
|
+
def body_pattern; end
|
318
|
+
def initialize(request_stub); end
|
319
|
+
def to_s(with_response = nil); end
|
320
|
+
end
|
321
|
+
class WebMock::RequestSignatureSnippet
|
322
|
+
def add_body_diff(stub, text); end
|
323
|
+
def initialize(request_signature); end
|
324
|
+
def pretty_print_to_string(string_to_print); end
|
325
|
+
def request_params; end
|
326
|
+
def request_signature; end
|
327
|
+
def request_stub; end
|
328
|
+
def request_stubs; end
|
329
|
+
def signature_stub_body_diff(stub); end
|
330
|
+
def stubbing_instructions; end
|
331
|
+
end
|
332
|
+
class WebMock::RequestBodyDiff
|
333
|
+
def body_diff; end
|
334
|
+
def initialize(request_signature, request_stub); end
|
335
|
+
def parseable_json?(body_pattern); end
|
336
|
+
def request_signature; end
|
337
|
+
def request_signature_body_hash; end
|
338
|
+
def request_signature_diffable?; end
|
339
|
+
def request_signature_parseable_json?; end
|
340
|
+
def request_stub; end
|
341
|
+
def request_stub_body; end
|
342
|
+
def request_stub_body_hash; end
|
343
|
+
def request_stub_diffable?; end
|
344
|
+
def request_stub_parseable_json?; end
|
345
|
+
end
|
346
|
+
class WebMock::AssertionFailure
|
347
|
+
def self.error_class; end
|
348
|
+
def self.error_class=(arg0); end
|
349
|
+
def self.failure(message); end
|
350
|
+
end
|
351
|
+
class WebMock::RequestExecutionVerifier
|
352
|
+
def at_least_times_executed; end
|
353
|
+
def at_least_times_executed=(arg0); end
|
354
|
+
def at_most_times_executed; end
|
355
|
+
def at_most_times_executed=(arg0); end
|
356
|
+
def description; end
|
357
|
+
def does_not_match?; end
|
358
|
+
def expected_times_executed; end
|
359
|
+
def expected_times_executed=(arg0); end
|
360
|
+
def failure_message; end
|
361
|
+
def failure_message_phrase(is_negated = nil); end
|
362
|
+
def failure_message_when_negated; end
|
363
|
+
def initialize(request_pattern = nil, expected_times_executed = nil, at_least_times_executed = nil, at_most_times_executed = nil); end
|
364
|
+
def matches?; end
|
365
|
+
def quantity_phrase(is_negated = nil); end
|
366
|
+
def request_pattern; end
|
367
|
+
def request_pattern=(arg0); end
|
368
|
+
def self.executed_requests_message; end
|
369
|
+
def times(times); end
|
370
|
+
def times_executed; end
|
371
|
+
def times_executed=(arg0); end
|
372
|
+
end
|
373
|
+
class WebMock::Config
|
374
|
+
def allow; end
|
375
|
+
def allow=(arg0); end
|
376
|
+
def allow_localhost; end
|
377
|
+
def allow_localhost=(arg0); end
|
378
|
+
def allow_net_connect; end
|
379
|
+
def allow_net_connect=(arg0); end
|
380
|
+
def initialize; end
|
381
|
+
def net_http_connect_on_start; end
|
382
|
+
def net_http_connect_on_start=(arg0); end
|
383
|
+
def query_values_notation; end
|
384
|
+
def query_values_notation=(arg0); end
|
385
|
+
def self.allocate; end
|
386
|
+
def self.new(*, **); end
|
387
|
+
def show_body_diff; end
|
388
|
+
def show_body_diff=(arg0); end
|
389
|
+
def show_stubbing_instructions; end
|
390
|
+
def show_stubbing_instructions=(arg0); end
|
391
|
+
extend Singleton::SingletonClassMethods
|
392
|
+
include Singleton
|
393
|
+
end
|
394
|
+
class WebMock::CallbackRegistry
|
395
|
+
def self.add_callback(options, block); end
|
396
|
+
def self.any_callbacks?; end
|
397
|
+
def self.callbacks; end
|
398
|
+
def self.invoke_callbacks(options, request_signature, response); end
|
399
|
+
def self.reset; end
|
400
|
+
end
|
401
|
+
class WebMock::RequestRegistry
|
402
|
+
def initialize; end
|
403
|
+
def requested_signatures; end
|
404
|
+
def requested_signatures=(arg0); end
|
405
|
+
def reset!; end
|
406
|
+
def self.allocate; end
|
407
|
+
def self.new(*, **); end
|
408
|
+
def times_executed(request_pattern); end
|
409
|
+
def to_s; end
|
410
|
+
extend Singleton::SingletonClassMethods
|
411
|
+
include Singleton
|
412
|
+
end
|
413
|
+
class WebMock::StubRegistry
|
414
|
+
def evaluate_response_for_request(response, request_signature); end
|
415
|
+
def global_stubs; end
|
416
|
+
def initialize; end
|
417
|
+
def register_global_stub(order = nil, &block); end
|
418
|
+
def register_request_stub(stub); end
|
419
|
+
def registered_request?(request_signature); end
|
420
|
+
def remove_request_stub(stub); end
|
421
|
+
def request_stub_for(request_signature); end
|
422
|
+
def request_stubs; end
|
423
|
+
def request_stubs=(arg0); end
|
424
|
+
def reset!; end
|
425
|
+
def response_for_request(request_signature); end
|
426
|
+
def self.allocate; end
|
427
|
+
def self.new(*, **); end
|
428
|
+
extend Singleton::SingletonClassMethods
|
429
|
+
include Singleton
|
430
|
+
end
|
431
|
+
module WebMock::API
|
432
|
+
def a_request(method, uri); end
|
433
|
+
def anythingize_lonely_keys(*args); end
|
434
|
+
def assert_not_requested(*args, &block); end
|
435
|
+
def assert_request_not_requested(request, options = nil); end
|
436
|
+
def assert_request_requested(request, options = nil); end
|
437
|
+
def assert_requested(*args, &block); end
|
438
|
+
def convert_uri_method_and_options_to_request_and_options(method, uri, options, &block); end
|
439
|
+
def hash_excluding(*args); end
|
440
|
+
def hash_including(*args); end
|
441
|
+
def refute_requested(*args, &block); end
|
442
|
+
def remove_request_stub(stub); end
|
443
|
+
def reset_executed_requests!; end
|
444
|
+
def self.request(method, uri); end
|
445
|
+
def stub_http_request(method, uri); end
|
446
|
+
def stub_request(method, uri); end
|
447
|
+
extend WebMock::API
|
448
|
+
end
|
449
|
+
class WebMock::HttpLibAdapterRegistry
|
450
|
+
def each_adapter(&block); end
|
451
|
+
def http_lib_adapters; end
|
452
|
+
def http_lib_adapters=(arg0); end
|
453
|
+
def initialize; end
|
454
|
+
def register(lib, adapter); end
|
455
|
+
def self.allocate; end
|
456
|
+
def self.new(*, **); end
|
457
|
+
extend Singleton::SingletonClassMethods
|
458
|
+
include Singleton
|
459
|
+
end
|
460
|
+
class WebMock::HttpLibAdapter
|
461
|
+
def self.adapter_for(lib); end
|
462
|
+
end
|
463
|
+
module Net
|
464
|
+
end
|
465
|
+
module Net::WebMockHTTPResponse
|
466
|
+
def read_body(dest = nil, &block); end
|
467
|
+
end
|
468
|
+
module WebMock::HttpLibAdapters
|
469
|
+
end
|
470
|
+
class WebMock::HttpLibAdapters::NetHttpAdapter < WebMock::HttpLibAdapter
|
471
|
+
def self.disable!; end
|
472
|
+
def self.enable!; end
|
473
|
+
def self.remove_silently(mod, const); end
|
474
|
+
end
|
475
|
+
class StubSocket
|
476
|
+
def close; end
|
477
|
+
def closed?; end
|
478
|
+
def continue_timeout; end
|
479
|
+
def continue_timeout=(arg0); end
|
480
|
+
def initialize(*args); end
|
481
|
+
def io; end
|
482
|
+
def read_timeout; end
|
483
|
+
def read_timeout=(arg0); end
|
484
|
+
def readuntil(*args); end
|
485
|
+
def write_timeout; end
|
486
|
+
def write_timeout=(arg0); end
|
487
|
+
end
|
488
|
+
class StubSocket::StubIO
|
489
|
+
def cipher; end
|
490
|
+
def peer_cert; end
|
491
|
+
def peeraddr; end
|
492
|
+
def setsockopt(*args); end
|
493
|
+
def ssl_version; end
|
494
|
+
end
|
495
|
+
module WebMock::NetHTTPUtility
|
496
|
+
def self.check_right_http_connection; end
|
497
|
+
def self.get_uri(net_http, path = nil); end
|
498
|
+
def self.puts_warning_for_right_http_if_needed; end
|
499
|
+
def self.request_signature_from_request(net_http, request, body = nil); end
|
500
|
+
end
|
501
|
+
class Minitest::Test < Minitest::Runnable
|
502
|
+
def assert_request_not_requested(*args); end
|
503
|
+
def assert_request_not_requested_with_assertions_count(*args); end
|
504
|
+
def assert_request_not_requested_without_assertions_count(request, options = nil); end
|
505
|
+
def assert_request_requested(*args); end
|
506
|
+
def assert_request_requested_with_assertions_count(*args); end
|
507
|
+
def assert_request_requested_without_assertions_count(request, options = nil); end
|
508
|
+
def teardown; end
|
509
|
+
def teardown_with_webmock; end
|
510
|
+
def teardown_without_webmock; end
|
511
|
+
include WebMock::API
|
512
|
+
end
|