zonesync 0.9.0 → 0.10.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.
Files changed (74) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -0
  3. data/lib/zonesync/cli.rb +9 -0
  4. data/lib/zonesync/cloudflare.rb +64 -39
  5. data/lib/zonesync/diff.rb +10 -1
  6. data/lib/zonesync/errors.rb +35 -0
  7. data/lib/zonesync/generate.rb +14 -0
  8. data/lib/zonesync/http.rb +24 -8
  9. data/lib/zonesync/logger.rb +20 -15
  10. data/lib/zonesync/manifest.rb +21 -5
  11. data/lib/zonesync/parser.rb +337 -0
  12. data/lib/zonesync/provider.rb +80 -26
  13. data/lib/zonesync/record.rb +18 -23
  14. data/lib/zonesync/route53.rb +48 -27
  15. data/lib/zonesync/sync.rb +40 -0
  16. data/lib/zonesync/validator.rb +19 -15
  17. data/lib/zonesync/version.rb +1 -1
  18. data/lib/zonesync/zonefile.rb +22 -311
  19. data/lib/zonesync.rb +27 -60
  20. data/sorbet/config +4 -0
  21. data/sorbet/rbi/annotations/.gitattributes +1 -0
  22. data/sorbet/rbi/annotations/activesupport.rbi +457 -0
  23. data/sorbet/rbi/annotations/minitest.rbi +119 -0
  24. data/sorbet/rbi/annotations/webmock.rbi +9 -0
  25. data/sorbet/rbi/gems/.gitattributes +1 -0
  26. data/sorbet/rbi/gems/activesupport@8.0.1.rbi +18474 -0
  27. data/sorbet/rbi/gems/addressable@2.8.7.rbi +1994 -0
  28. data/sorbet/rbi/gems/base64@0.2.0.rbi +507 -0
  29. data/sorbet/rbi/gems/benchmark@0.4.0.rbi +618 -0
  30. data/sorbet/rbi/gems/bigdecimal@3.1.9.rbi +9 -0
  31. data/sorbet/rbi/gems/concurrent-ruby@1.3.4.rbi +11645 -0
  32. data/sorbet/rbi/gems/connection_pool@2.4.1.rbi +9 -0
  33. data/sorbet/rbi/gems/crack@1.0.0.rbi +145 -0
  34. data/sorbet/rbi/gems/date@3.4.1.rbi +75 -0
  35. data/sorbet/rbi/gems/diff-lcs@1.5.1.rbi +1131 -0
  36. data/sorbet/rbi/gems/drb@2.2.1.rbi +1347 -0
  37. data/sorbet/rbi/gems/erubi@1.13.1.rbi +155 -0
  38. data/sorbet/rbi/gems/hashdiff@1.1.2.rbi +353 -0
  39. data/sorbet/rbi/gems/i18n@1.14.6.rbi +2275 -0
  40. data/sorbet/rbi/gems/io-console@0.8.0.rbi +9 -0
  41. data/sorbet/rbi/gems/logger@1.6.4.rbi +940 -0
  42. data/sorbet/rbi/gems/minitest@5.25.4.rbi +1547 -0
  43. data/sorbet/rbi/gems/netrc@0.11.0.rbi +159 -0
  44. data/sorbet/rbi/gems/parallel@1.26.3.rbi +291 -0
  45. data/sorbet/rbi/gems/polyglot@0.3.5.rbi +42 -0
  46. data/sorbet/rbi/gems/prism@1.3.0.rbi +40040 -0
  47. data/sorbet/rbi/gems/psych@5.2.2.rbi +1785 -0
  48. data/sorbet/rbi/gems/public_suffix@6.0.1.rbi +936 -0
  49. data/sorbet/rbi/gems/rake@13.2.1.rbi +3028 -0
  50. data/sorbet/rbi/gems/rbi@0.2.2.rbi +4527 -0
  51. data/sorbet/rbi/gems/rdoc@6.10.0.rbi +12766 -0
  52. data/sorbet/rbi/gems/reline@0.6.0.rbi +9 -0
  53. data/sorbet/rbi/gems/rexml@3.4.0.rbi +4974 -0
  54. data/sorbet/rbi/gems/rspec-core@3.13.2.rbi +10896 -0
  55. data/sorbet/rbi/gems/rspec-expectations@3.13.3.rbi +8183 -0
  56. data/sorbet/rbi/gems/rspec-mocks@3.13.2.rbi +5341 -0
  57. data/sorbet/rbi/gems/rspec-support@3.13.2.rbi +1630 -0
  58. data/sorbet/rbi/gems/rspec@3.13.0.rbi +83 -0
  59. data/sorbet/rbi/gems/securerandom@0.4.1.rbi +75 -0
  60. data/sorbet/rbi/gems/spoom@1.5.0.rbi +4932 -0
  61. data/sorbet/rbi/gems/stringio@3.1.2.rbi +9 -0
  62. data/sorbet/rbi/gems/tapioca@0.16.6.rbi +3611 -0
  63. data/sorbet/rbi/gems/thor@1.3.2.rbi +4378 -0
  64. data/sorbet/rbi/gems/treetop@1.6.12.rbi +1895 -0
  65. data/sorbet/rbi/gems/tzinfo@2.0.6.rbi +5918 -0
  66. data/sorbet/rbi/gems/uri@1.0.2.rbi +2340 -0
  67. data/sorbet/rbi/gems/webmock@3.24.0.rbi +1780 -0
  68. data/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi +435 -0
  69. data/sorbet/rbi/gems/yard@0.9.37.rbi +18379 -0
  70. data/sorbet/rbi/todo.rbi +7 -0
  71. data/sorbet/tapioca/config.yml +13 -0
  72. data/sorbet/tapioca/require.rb +4 -0
  73. data/zonesync.gemspec +3 -0
  74. metadata +100 -2
@@ -0,0 +1,1780 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `webmock` gem.
5
+ # Please instead update this file by running `bin/tapioca gem webmock`.
6
+
7
+
8
+ # source://webmock//lib/webmock/http_lib_adapters/net_http_response.rb#18
9
+ module Net::WebMockHTTPResponse
10
+ # source://webmock//lib/webmock/http_lib_adapters/net_http_response.rb#19
11
+ def read_body(dest = T.unsafe(nil), &block); end
12
+ end
13
+
14
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#210
15
+ class StubSocket
16
+ # @return [StubSocket] a new instance of StubSocket
17
+ #
18
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#214
19
+ def initialize(*args); end
20
+
21
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#222
22
+ def close; end
23
+
24
+ # @return [Boolean]
25
+ #
26
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#218
27
+ def closed?; end
28
+
29
+ # Returns the value of attribute continue_timeout.
30
+ #
31
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#212
32
+ def continue_timeout; end
33
+
34
+ # Sets the attribute continue_timeout
35
+ #
36
+ # @param value the value to set the attribute continue_timeout to.
37
+ #
38
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#212
39
+ def continue_timeout=(_arg0); end
40
+
41
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#230
42
+ def io; end
43
+
44
+ # Returns the value of attribute read_timeout.
45
+ #
46
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#212
47
+ def read_timeout; end
48
+
49
+ # Sets the attribute read_timeout
50
+ #
51
+ # @param value the value to set the attribute read_timeout to.
52
+ #
53
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#212
54
+ def read_timeout=(_arg0); end
55
+
56
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#227
57
+ def readuntil(*args); end
58
+
59
+ # Returns the value of attribute write_timeout.
60
+ #
61
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#212
62
+ def write_timeout; end
63
+
64
+ # Sets the attribute write_timeout
65
+ #
66
+ # @param value the value to set the attribute write_timeout to.
67
+ #
68
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#212
69
+ def write_timeout=(_arg0); end
70
+ end
71
+
72
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#234
73
+ class StubSocket::StubIO
74
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#239
75
+ def cipher; end
76
+
77
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#236
78
+ def peer_cert; end
79
+
80
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#237
81
+ def peeraddr; end
82
+
83
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#235
84
+ def setsockopt(*args); end
85
+
86
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#238
87
+ def ssl_version; end
88
+ end
89
+
90
+ # source://webmock//lib/webmock/deprecation.rb#3
91
+ module WebMock
92
+ include ::WebMock::API
93
+ extend ::WebMock::API
94
+
95
+ def after_request(*args, &block); end
96
+ def allow_net_connect!(*args, &block); end
97
+ def disable_net_connect!(*args, &block); end
98
+ def net_connect_allowed?(*args, &block); end
99
+ def registered_request?(*args, &block); end
100
+ def reset_callbacks(*args, &block); end
101
+ def reset_webmock(*args, &block); end
102
+
103
+ class << self
104
+ # source://webmock//lib/webmock/webmock.rb#143
105
+ def after_request(options = T.unsafe(nil), &block); end
106
+
107
+ # source://webmock//lib/webmock/webmock.rb#46
108
+ def allow_net_connect!(options = T.unsafe(nil)); end
109
+
110
+ # source://webmock//lib/webmock/webmock.rb#30
111
+ def disable!(options = T.unsafe(nil)); end
112
+
113
+ # source://webmock//lib/webmock/webmock.rb#51
114
+ def disable_net_connect!(options = T.unsafe(nil)); end
115
+
116
+ # source://webmock//lib/webmock/webmock.rb#51
117
+ def disallow_net_connect!(options = T.unsafe(nil)); end
118
+
119
+ # source://webmock//lib/webmock/webmock.rb#38
120
+ def enable!(options = T.unsafe(nil)); end
121
+
122
+ # source://webmock//lib/webmock/webmock.rb#46
123
+ def enable_net_connect!(options = T.unsafe(nil)); end
124
+
125
+ # source://webmock//lib/webmock/webmock.rb#155
126
+ def globally_stub_request(order = T.unsafe(nil), &block); end
127
+
128
+ # source://webmock//lib/webmock/webmock.rb#109
129
+ def hide_body_diff!; end
130
+
131
+ # source://webmock//lib/webmock/webmock.rb#117
132
+ def hide_stubbing_instructions!; end
133
+
134
+ # @private
135
+ #
136
+ # source://webmock//lib/webmock/webmock.rb#5
137
+ def included(clazz); end
138
+
139
+ # @return [Boolean]
140
+ #
141
+ # source://webmock//lib/webmock/webmock.rb#63
142
+ def net_connect_allowed?(uri = T.unsafe(nil)); end
143
+
144
+ # @return [Boolean]
145
+ #
146
+ # source://webmock//lib/webmock/webmock.rb#85
147
+ def net_connect_explicit_allowed?(allowed, uri = T.unsafe(nil)); end
148
+
149
+ # @return [Boolean]
150
+ #
151
+ # source://webmock//lib/webmock/webmock.rb#75
152
+ def net_http_connect_on_start?(uri); end
153
+
154
+ # source://webmock//lib/webmock/webmock.rb#151
155
+ def print_executed_requests; end
156
+
157
+ # @return [Boolean]
158
+ #
159
+ # source://webmock//lib/webmock/webmock.rb#147
160
+ def registered_request?(request_signature); end
161
+
162
+ # source://webmock//lib/webmock/api.rb#14
163
+ def request(method, uri); end
164
+
165
+ # source://webmock//lib/webmock/webmock.rb#129
166
+ def reset!; end
167
+
168
+ # source://webmock//lib/webmock/webmock.rb#139
169
+ def reset_callbacks; end
170
+
171
+ # source://webmock//lib/webmock/webmock.rb#134
172
+ def reset_webmock; end
173
+
174
+ # source://webmock//lib/webmock/webmock.rb#105
175
+ def show_body_diff!; end
176
+
177
+ # @return [Boolean]
178
+ #
179
+ # source://webmock//lib/webmock/webmock.rb#113
180
+ def show_body_diff?; end
181
+
182
+ # source://webmock//lib/webmock/webmock.rb#121
183
+ def show_stubbing_instructions!; end
184
+
185
+ # @return [Boolean]
186
+ #
187
+ # source://webmock//lib/webmock/webmock.rb#125
188
+ def show_stubbing_instructions?; end
189
+
190
+ # source://webmock//lib/webmock/webmock.rb#26
191
+ def version; end
192
+ end
193
+ end
194
+
195
+ # source://webmock//lib/webmock/api.rb#4
196
+ module WebMock::API
197
+ extend ::WebMock::API
198
+
199
+ # source://webmock//lib/webmock/api.rb#14
200
+ def a_request(method, uri); end
201
+
202
+ # source://webmock//lib/webmock/api.rb#31
203
+ def assert_not_requested(*args, &block); end
204
+
205
+ # source://webmock//lib/webmock/api.rb#22
206
+ def assert_requested(*args, &block); end
207
+
208
+ # source://webmock//lib/webmock/api.rb#59
209
+ def hash_excluding(*args); end
210
+
211
+ # Similar to RSpec::Mocks::ArgumentMatchers#hash_including()
212
+ #
213
+ # Matches a hash that includes the specified key(s) or key/value pairs.
214
+ # Ignores any additional keys.
215
+ #
216
+ # @example
217
+ #
218
+ # object.should_receive(:message).with(hash_including(:key => val))
219
+ # object.should_receive(:message).with(hash_including(:key))
220
+ # object.should_receive(:message).with(hash_including(:key, :key2 => val2))
221
+ #
222
+ # source://webmock//lib/webmock/api.rb#51
223
+ def hash_including(*args); end
224
+
225
+ # source://webmock//lib/webmock/api.rb#31
226
+ def refute_requested(*args, &block); end
227
+
228
+ # source://webmock//lib/webmock/api.rb#67
229
+ def remove_request_stub(stub); end
230
+
231
+ # source://webmock//lib/webmock/api.rb#71
232
+ def reset_executed_requests!; end
233
+
234
+ # source://webmock//lib/webmock/api.rb#7
235
+ def stub_http_request(method, uri); end
236
+
237
+ # source://webmock//lib/webmock/api.rb#7
238
+ def stub_request(method, uri); end
239
+
240
+ private
241
+
242
+ # this is a based on RSpec::Mocks::ArgumentMatchers#anythingize_lonely_keys
243
+ #
244
+ # source://webmock//lib/webmock/api.rb#104
245
+ def anythingize_lonely_keys(*args); end
246
+
247
+ # source://webmock//lib/webmock/api.rb#95
248
+ def assert_request_not_requested(request, options = T.unsafe(nil)); end
249
+
250
+ # source://webmock//lib/webmock/api.rb#86
251
+ def assert_request_requested(request, options = T.unsafe(nil)); end
252
+
253
+ # source://webmock//lib/webmock/api.rb#77
254
+ def convert_uri_method_and_options_to_request_and_options(method, uri, options, &block); end
255
+
256
+ class << self
257
+ # source://webmock//lib/webmock/api.rb#14
258
+ def request(method, uri); end
259
+ end
260
+ end
261
+
262
+ # source://webmock//lib/webmock/assertion_failure.rb#4
263
+ class WebMock::AssertionFailure
264
+ class << self
265
+ # Returns the value of attribute error_class.
266
+ #
267
+ # source://webmock//lib/webmock/assertion_failure.rb#7
268
+ def error_class; end
269
+
270
+ # Sets the attribute error_class
271
+ #
272
+ # @param value the value to set the attribute error_class to.
273
+ #
274
+ # source://webmock//lib/webmock/assertion_failure.rb#7
275
+ def error_class=(_arg0); end
276
+
277
+ # @raise [@error_class]
278
+ #
279
+ # source://webmock//lib/webmock/assertion_failure.rb#8
280
+ def failure(message); end
281
+ end
282
+ end
283
+
284
+ # source://webmock//lib/webmock/request_pattern.rb#255
285
+ class WebMock::BodyPattern
286
+ include ::WebMock::RSpecMatcherDetector
287
+
288
+ # @return [BodyPattern] a new instance of BodyPattern
289
+ #
290
+ # source://webmock//lib/webmock/request_pattern.rb#273
291
+ def initialize(pattern); end
292
+
293
+ # @return [Boolean]
294
+ #
295
+ # source://webmock//lib/webmock/request_pattern.rb#283
296
+ def matches?(body, content_type = T.unsafe(nil)); end
297
+
298
+ # Returns the value of attribute pattern.
299
+ #
300
+ # source://webmock//lib/webmock/request_pattern.rb#271
301
+ def pattern; end
302
+
303
+ # source://webmock//lib/webmock/request_pattern.rb#300
304
+ def to_s; end
305
+
306
+ private
307
+
308
+ # source://webmock//lib/webmock/request_pattern.rb#324
309
+ def assert_non_multipart_body(content_type); end
310
+
311
+ # source://webmock//lib/webmock/request_pattern.rb#306
312
+ def body_as_hash(body, content_type); end
313
+
314
+ # source://webmock//lib/webmock/request_pattern.rb#319
315
+ def body_format(content_type); end
316
+
317
+ # @return [Boolean]
318
+ #
319
+ # source://webmock//lib/webmock/request_pattern.rb#383
320
+ def empty_string?(string); end
321
+
322
+ # @return [Boolean]
323
+ #
324
+ # source://webmock//lib/webmock/request_pattern.rb#363
325
+ def matching_body_array?(query_parameters, pattern, content_type); end
326
+
327
+ # Compare two hashes for equality
328
+ #
329
+ # For two hashes to match they must have the same length and all
330
+ # values must match when compared using `#===`.
331
+ #
332
+ # The following hashes are examples of matches:
333
+ #
334
+ # {a: /\d+/} and {a: '123'}
335
+ #
336
+ # {a: '123'} and {a: '123'}
337
+ #
338
+ # {a: {b: /\d+/}} and {a: {b: '123'}}
339
+ #
340
+ # {a: {b: 'wow'}} and {a: {b: 'wow'}}
341
+ #
342
+ # @param query_parameters [Hash] typically the result of parsing
343
+ # JSON, XML or URL encoded parameters.
344
+ # @param pattern [Hash] which contains keys with a string, hash or
345
+ # regular expression value to use for comparison.
346
+ # @return [Boolean] true if the paramaters match the comparison
347
+ # hash, false if not.
348
+ #
349
+ # source://webmock//lib/webmock/request_pattern.rb#353
350
+ def matching_body_hashes?(query_parameters, pattern, content_type); end
351
+
352
+ # source://webmock//lib/webmock/request_pattern.rb#375
353
+ def matching_values(actual, expected, content_type); end
354
+
355
+ # source://webmock//lib/webmock/request_pattern.rb#387
356
+ def normalize_hash(hash); end
357
+
358
+ # @return [Boolean]
359
+ #
360
+ # source://webmock//lib/webmock/request_pattern.rb#391
361
+ def url_encoded_body?(content_type); end
362
+ end
363
+
364
+ # source://webmock//lib/webmock/request_pattern.rb#258
365
+ WebMock::BodyPattern::BODY_FORMATS = T.let(T.unsafe(nil), Hash)
366
+
367
+ # source://webmock//lib/webmock/callback_registry.rb#4
368
+ class WebMock::CallbackRegistry
369
+ class << self
370
+ # source://webmock//lib/webmock/callback_registry.rb#7
371
+ def add_callback(options, block); end
372
+
373
+ # @return [Boolean]
374
+ #
375
+ # source://webmock//lib/webmock/callback_registry.rb#32
376
+ def any_callbacks?; end
377
+
378
+ # source://webmock//lib/webmock/callback_registry.rb#11
379
+ def callbacks; end
380
+
381
+ # source://webmock//lib/webmock/callback_registry.rb#15
382
+ def invoke_callbacks(options, request_signature, response); end
383
+
384
+ # source://webmock//lib/webmock/callback_registry.rb#28
385
+ def reset; end
386
+ end
387
+ end
388
+
389
+ # source://webmock//lib/webmock/config.rb#4
390
+ class WebMock::Config
391
+ include ::Singleton
392
+ extend ::Singleton::SingletonClassMethods
393
+
394
+ # @return [Config] a new instance of Config
395
+ #
396
+ # source://webmock//lib/webmock/config.rb#7
397
+ def initialize; end
398
+
399
+ # Returns the value of attribute allow.
400
+ #
401
+ # source://webmock//lib/webmock/config.rb#14
402
+ def allow; end
403
+
404
+ # Sets the attribute allow
405
+ #
406
+ # @param value the value to set the attribute allow to.
407
+ #
408
+ # source://webmock//lib/webmock/config.rb#14
409
+ def allow=(_arg0); end
410
+
411
+ # Returns the value of attribute allow_localhost.
412
+ #
413
+ # source://webmock//lib/webmock/config.rb#13
414
+ def allow_localhost; end
415
+
416
+ # Sets the attribute allow_localhost
417
+ #
418
+ # @param value the value to set the attribute allow_localhost to.
419
+ #
420
+ # source://webmock//lib/webmock/config.rb#13
421
+ def allow_localhost=(_arg0); end
422
+
423
+ # Returns the value of attribute allow_net_connect.
424
+ #
425
+ # source://webmock//lib/webmock/config.rb#12
426
+ def allow_net_connect; end
427
+
428
+ # Sets the attribute allow_net_connect
429
+ #
430
+ # @param value the value to set the attribute allow_net_connect to.
431
+ #
432
+ # source://webmock//lib/webmock/config.rb#12
433
+ def allow_net_connect=(_arg0); end
434
+
435
+ # Returns the value of attribute net_http_connect_on_start.
436
+ #
437
+ # source://webmock//lib/webmock/config.rb#15
438
+ def net_http_connect_on_start; end
439
+
440
+ # Sets the attribute net_http_connect_on_start
441
+ #
442
+ # @param value the value to set the attribute net_http_connect_on_start to.
443
+ #
444
+ # source://webmock//lib/webmock/config.rb#15
445
+ def net_http_connect_on_start=(_arg0); end
446
+
447
+ # Returns the value of attribute query_values_notation.
448
+ #
449
+ # source://webmock//lib/webmock/config.rb#17
450
+ def query_values_notation; end
451
+
452
+ # Sets the attribute query_values_notation
453
+ #
454
+ # @param value the value to set the attribute query_values_notation to.
455
+ #
456
+ # source://webmock//lib/webmock/config.rb#17
457
+ def query_values_notation=(_arg0); end
458
+
459
+ # Returns the value of attribute show_body_diff.
460
+ #
461
+ # source://webmock//lib/webmock/config.rb#18
462
+ def show_body_diff; end
463
+
464
+ # Sets the attribute show_body_diff
465
+ #
466
+ # @param value the value to set the attribute show_body_diff to.
467
+ #
468
+ # source://webmock//lib/webmock/config.rb#18
469
+ def show_body_diff=(_arg0); end
470
+
471
+ # Returns the value of attribute show_stubbing_instructions.
472
+ #
473
+ # source://webmock//lib/webmock/config.rb#16
474
+ def show_stubbing_instructions; end
475
+
476
+ # Sets the attribute show_stubbing_instructions
477
+ #
478
+ # @param value the value to set the attribute show_stubbing_instructions to.
479
+ #
480
+ # source://webmock//lib/webmock/config.rb#16
481
+ def show_stubbing_instructions=(_arg0); end
482
+
483
+ class << self
484
+ private
485
+
486
+ def allocate; end
487
+ def new(*_arg0); end
488
+ end
489
+ end
490
+
491
+ # source://webmock//lib/webmock/deprecation.rb#4
492
+ class WebMock::Deprecation
493
+ class << self
494
+ # source://webmock//lib/webmock/deprecation.rb#6
495
+ def warning(message); end
496
+ end
497
+ end
498
+
499
+ # source://webmock//lib/webmock/response.rb#149
500
+ class WebMock::DynamicResponse < ::WebMock::Response
501
+ # @return [DynamicResponse] a new instance of DynamicResponse
502
+ #
503
+ # source://webmock//lib/webmock/response.rb#152
504
+ def initialize(responder); end
505
+
506
+ # source://webmock//lib/webmock/response.rb#156
507
+ def evaluate(request_signature); end
508
+
509
+ # Returns the value of attribute responder.
510
+ #
511
+ # source://webmock//lib/webmock/response.rb#150
512
+ def responder; end
513
+
514
+ # Sets the attribute responder
515
+ #
516
+ # @param value the value to set the attribute responder to.
517
+ #
518
+ # source://webmock//lib/webmock/response.rb#150
519
+ def responder=(_arg0); end
520
+ end
521
+
522
+ # source://webmock//lib/webmock/util/hash_validator.rb#4
523
+ class WebMock::HashValidator
524
+ # @return [HashValidator] a new instance of HashValidator
525
+ #
526
+ # source://webmock//lib/webmock/util/hash_validator.rb#5
527
+ def initialize(hash); end
528
+
529
+ # This code is based on https://github.com/rails/rails/blob/master/activesupport/lib/active_support/core_ext/hash/keys.rb
530
+ #
531
+ # source://webmock//lib/webmock/util/hash_validator.rb#10
532
+ def validate_keys(*valid_keys); end
533
+ end
534
+
535
+ # source://webmock//lib/webmock/request_pattern.rb#396
536
+ class WebMock::HeadersPattern
537
+ # @return [HeadersPattern] a new instance of HeadersPattern
538
+ #
539
+ # source://webmock//lib/webmock/request_pattern.rb#397
540
+ def initialize(pattern); end
541
+
542
+ # @return [Boolean]
543
+ #
544
+ # source://webmock//lib/webmock/request_pattern.rb#401
545
+ def matches?(headers); end
546
+
547
+ # source://webmock//lib/webmock/request_pattern.rb#417
548
+ def pp_to_s; end
549
+
550
+ # source://webmock//lib/webmock/request_pattern.rb#413
551
+ def to_s; end
552
+
553
+ private
554
+
555
+ # @return [Boolean]
556
+ #
557
+ # source://webmock//lib/webmock/request_pattern.rb#423
558
+ def empty_headers?(headers); end
559
+ end
560
+
561
+ # source://webmock//lib/webmock/http_lib_adapters/http_lib_adapter.rb#4
562
+ class WebMock::HttpLibAdapter
563
+ class << self
564
+ # source://webmock//lib/webmock/http_lib_adapters/http_lib_adapter.rb#5
565
+ def adapter_for(lib); end
566
+ end
567
+ end
568
+
569
+ # source://webmock//lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb#4
570
+ class WebMock::HttpLibAdapterRegistry
571
+ include ::Singleton
572
+ extend ::Singleton::SingletonClassMethods
573
+
574
+ # @return [HttpLibAdapterRegistry] a new instance of HttpLibAdapterRegistry
575
+ #
576
+ # source://webmock//lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb#9
577
+ def initialize; end
578
+
579
+ # source://webmock//lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb#17
580
+ def each_adapter(&block); end
581
+
582
+ # Returns the value of attribute http_lib_adapters.
583
+ #
584
+ # source://webmock//lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb#7
585
+ def http_lib_adapters; end
586
+
587
+ # Sets the attribute http_lib_adapters
588
+ #
589
+ # @param value the value to set the attribute http_lib_adapters to.
590
+ #
591
+ # source://webmock//lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb#7
592
+ def http_lib_adapters=(_arg0); end
593
+
594
+ # source://webmock//lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb#13
595
+ def register(lib, adapter); end
596
+
597
+ class << self
598
+ private
599
+
600
+ def allocate; end
601
+ def new(*_arg0); end
602
+ end
603
+ end
604
+
605
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#10
606
+ module WebMock::HttpLibAdapters; end
607
+
608
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#11
609
+ class WebMock::HttpLibAdapters::NetHttpAdapter < ::WebMock::HttpLibAdapter
610
+ class << self
611
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#23
612
+ def disable!; end
613
+
614
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#16
615
+ def enable!; end
616
+ end
617
+ end
618
+
619
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#14
620
+ WebMock::HttpLibAdapters::NetHttpAdapter::OriginalNetHTTP = Net::HTTP
621
+
622
+ # source://webmock//lib/webmock/matchers/hash_argument_matcher.rb#4
623
+ module WebMock::Matchers; end
624
+
625
+ # this is a based on RSpec::Mocks::ArgumentMatchers::AnyArgMatcher
626
+ #
627
+ # source://webmock//lib/webmock/matchers/any_arg_matcher.rb#6
628
+ class WebMock::Matchers::AnyArgMatcher
629
+ # @return [AnyArgMatcher] a new instance of AnyArgMatcher
630
+ #
631
+ # source://webmock//lib/webmock/matchers/any_arg_matcher.rb#7
632
+ def initialize(ignore); end
633
+
634
+ # source://webmock//lib/webmock/matchers/any_arg_matcher.rb#10
635
+ def ==(other); end
636
+ end
637
+
638
+ # Base class for Hash matchers
639
+ # https://github.com/rspec/rspec-mocks/blob/master/lib/rspec/mocks/argument_matchers.rb
640
+ #
641
+ # source://webmock//lib/webmock/matchers/hash_argument_matcher.rb#7
642
+ class WebMock::Matchers::HashArgumentMatcher
643
+ # @return [HashArgumentMatcher] a new instance of HashArgumentMatcher
644
+ #
645
+ # source://webmock//lib/webmock/matchers/hash_argument_matcher.rb#8
646
+ def initialize(expected); end
647
+
648
+ # source://webmock//lib/webmock/matchers/hash_argument_matcher.rb#12
649
+ def ==(_actual, &block); end
650
+
651
+ class << self
652
+ # source://webmock//lib/webmock/matchers/hash_argument_matcher.rb#18
653
+ def from_rspec_matcher(matcher); end
654
+ end
655
+ end
656
+
657
+ # this is a based on RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher
658
+ # https://github.com/rspec/rspec-mocks/blob/master/lib/rspec/mocks/argument_matchers.rb
659
+ #
660
+ # source://webmock//lib/webmock/matchers/hash_excluding_matcher.rb#7
661
+ class WebMock::Matchers::HashExcludingMatcher < ::WebMock::Matchers::HashArgumentMatcher
662
+ # source://webmock//lib/webmock/matchers/hash_excluding_matcher.rb#8
663
+ def ==(actual); end
664
+
665
+ # source://webmock//lib/webmock/matchers/hash_excluding_matcher.rb#12
666
+ def inspect; end
667
+ end
668
+
669
+ # this is a based on RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher
670
+ # https://github.com/rspec/rspec-mocks/blob/master/lib/rspec/mocks/argument_matchers.rb
671
+ #
672
+ # source://webmock//lib/webmock/matchers/hash_including_matcher.rb#7
673
+ class WebMock::Matchers::HashIncludingMatcher < ::WebMock::Matchers::HashArgumentMatcher
674
+ # source://webmock//lib/webmock/matchers/hash_including_matcher.rb#8
675
+ def ==(actual); end
676
+
677
+ # source://webmock//lib/webmock/matchers/hash_including_matcher.rb#14
678
+ def inspect; end
679
+ end
680
+
681
+ # source://webmock//lib/webmock/request_pattern.rb#98
682
+ class WebMock::MethodPattern
683
+ # @return [MethodPattern] a new instance of MethodPattern
684
+ #
685
+ # source://webmock//lib/webmock/request_pattern.rb#99
686
+ def initialize(pattern); end
687
+
688
+ # @return [Boolean]
689
+ #
690
+ # source://webmock//lib/webmock/request_pattern.rb#103
691
+ def matches?(method); end
692
+
693
+ # source://webmock//lib/webmock/request_pattern.rb#107
694
+ def to_s; end
695
+ end
696
+
697
+ # source://webmock//lib/webmock/errors.rb#5
698
+ class WebMock::NetConnectNotAllowedError < ::Exception
699
+ # @return [NetConnectNotAllowedError] a new instance of NetConnectNotAllowedError
700
+ #
701
+ # source://webmock//lib/webmock/errors.rb#6
702
+ def initialize(request_signature); end
703
+ end
704
+
705
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#244
706
+ module WebMock::NetHTTPUtility
707
+ class << self
708
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#283
709
+ def check_right_http_connection; end
710
+
711
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#274
712
+ def get_uri(net_http, path = T.unsafe(nil)); end
713
+
714
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#287
715
+ def puts_warning_for_right_http_if_needed; end
716
+
717
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#246
718
+ def request_signature_from_request(net_http, request, body = T.unsafe(nil)); end
719
+ end
720
+ end
721
+
722
+ # source://webmock//lib/webmock/request_pattern.rb#5
723
+ module WebMock::RSpecMatcherDetector
724
+ # @return [Boolean]
725
+ #
726
+ # source://webmock//lib/webmock/request_pattern.rb#10
727
+ def rSpecHashExcludingMatcher?(matcher); end
728
+
729
+ # @return [Boolean]
730
+ #
731
+ # source://webmock//lib/webmock/request_pattern.rb#6
732
+ def rSpecHashIncludingMatcher?(matcher); end
733
+ end
734
+
735
+ # source://webmock//lib/webmock/rack_response.rb#4
736
+ class WebMock::RackResponse < ::WebMock::Response
737
+ # @return [RackResponse] a new instance of RackResponse
738
+ #
739
+ # source://webmock//lib/webmock/rack_response.rb#5
740
+ def initialize(app); end
741
+
742
+ # source://webmock//lib/webmock/rack_response.rb#21
743
+ def body_from_rack_response(response); end
744
+
745
+ # source://webmock//lib/webmock/rack_response.rb#28
746
+ def build_rack_env(request); end
747
+
748
+ # source://webmock//lib/webmock/rack_response.rb#9
749
+ def evaluate(request); end
750
+
751
+ # source://webmock//lib/webmock/rack_response.rb#65
752
+ def session; end
753
+
754
+ # source://webmock//lib/webmock/rack_response.rb#69
755
+ def session_options; end
756
+ end
757
+
758
+ # source://webmock//lib/webmock/request_body_diff.rb#7
759
+ class WebMock::RequestBodyDiff
760
+ # @return [RequestBodyDiff] a new instance of RequestBodyDiff
761
+ #
762
+ # source://webmock//lib/webmock/request_body_diff.rb#9
763
+ def initialize(request_signature, request_stub); end
764
+
765
+ # source://webmock//lib/webmock/request_body_diff.rb#14
766
+ def body_diff; end
767
+
768
+ private
769
+
770
+ # @return [Boolean]
771
+ #
772
+ # source://webmock//lib/webmock/request_body_diff.rb#57
773
+ def parseable_json?(body_pattern); end
774
+
775
+ # Returns the value of attribute request_signature.
776
+ #
777
+ # source://webmock//lib/webmock/request_body_diff.rb#20
778
+ def request_signature; end
779
+
780
+ # source://webmock//lib/webmock/request_body_diff.rb#33
781
+ def request_signature_body_hash; end
782
+
783
+ # @return [Boolean]
784
+ #
785
+ # source://webmock//lib/webmock/request_body_diff.rb#25
786
+ def request_signature_diffable?; end
787
+
788
+ # @return [Boolean]
789
+ #
790
+ # source://webmock//lib/webmock/request_body_diff.rb#49
791
+ def request_signature_parseable_json?; end
792
+
793
+ # Returns the value of attribute request_stub.
794
+ #
795
+ # source://webmock//lib/webmock/request_body_diff.rb#20
796
+ def request_stub; end
797
+
798
+ # source://webmock//lib/webmock/request_body_diff.rb#43
799
+ def request_stub_body; end
800
+
801
+ # source://webmock//lib/webmock/request_body_diff.rb#37
802
+ def request_stub_body_hash; end
803
+
804
+ # @return [Boolean]
805
+ #
806
+ # source://webmock//lib/webmock/request_body_diff.rb#29
807
+ def request_stub_diffable?; end
808
+
809
+ # @return [Boolean]
810
+ #
811
+ # source://webmock//lib/webmock/request_body_diff.rb#53
812
+ def request_stub_parseable_json?; end
813
+ end
814
+
815
+ # source://webmock//lib/webmock/request_execution_verifier.rb#4
816
+ class WebMock::RequestExecutionVerifier
817
+ # @return [RequestExecutionVerifier] a new instance of RequestExecutionVerifier
818
+ #
819
+ # source://webmock//lib/webmock/request_execution_verifier.rb#8
820
+ def initialize(request_pattern = T.unsafe(nil), expected_times_executed = T.unsafe(nil), at_least_times_executed = T.unsafe(nil), at_most_times_executed = T.unsafe(nil)); end
821
+
822
+ # Returns the value of attribute at_least_times_executed.
823
+ #
824
+ # source://webmock//lib/webmock/request_execution_verifier.rb#6
825
+ def at_least_times_executed; end
826
+
827
+ # Sets the attribute at_least_times_executed
828
+ #
829
+ # @param value the value to set the attribute at_least_times_executed to.
830
+ #
831
+ # source://webmock//lib/webmock/request_execution_verifier.rb#6
832
+ def at_least_times_executed=(_arg0); end
833
+
834
+ # Returns the value of attribute at_most_times_executed.
835
+ #
836
+ # source://webmock//lib/webmock/request_execution_verifier.rb#6
837
+ def at_most_times_executed; end
838
+
839
+ # Sets the attribute at_most_times_executed
840
+ #
841
+ # @param value the value to set the attribute at_most_times_executed to.
842
+ #
843
+ # source://webmock//lib/webmock/request_execution_verifier.rb#6
844
+ def at_most_times_executed=(_arg0); end
845
+
846
+ # source://webmock//lib/webmock/request_execution_verifier.rb#38
847
+ def description; end
848
+
849
+ # @return [Boolean]
850
+ #
851
+ # source://webmock//lib/webmock/request_execution_verifier.rb#28
852
+ def does_not_match?; end
853
+
854
+ # Returns the value of attribute expected_times_executed.
855
+ #
856
+ # source://webmock//lib/webmock/request_execution_verifier.rb#6
857
+ def expected_times_executed; end
858
+
859
+ # Sets the attribute expected_times_executed
860
+ #
861
+ # @param value the value to set the attribute expected_times_executed to.
862
+ #
863
+ # source://webmock//lib/webmock/request_execution_verifier.rb#6
864
+ def expected_times_executed=(_arg0); end
865
+
866
+ # source://webmock//lib/webmock/request_execution_verifier.rb#42
867
+ def failure_message; end
868
+
869
+ # source://webmock//lib/webmock/request_execution_verifier.rb#46
870
+ def failure_message_when_negated; end
871
+
872
+ # @return [Boolean]
873
+ #
874
+ # source://webmock//lib/webmock/request_execution_verifier.rb#15
875
+ def matches?; end
876
+
877
+ # Returns the value of attribute request_pattern.
878
+ #
879
+ # source://webmock//lib/webmock/request_execution_verifier.rb#6
880
+ def request_pattern; end
881
+
882
+ # Sets the attribute request_pattern
883
+ #
884
+ # @param value the value to set the attribute request_pattern to.
885
+ #
886
+ # source://webmock//lib/webmock/request_execution_verifier.rb#6
887
+ def request_pattern=(_arg0); end
888
+
889
+ # Returns the value of attribute times_executed.
890
+ #
891
+ # source://webmock//lib/webmock/request_execution_verifier.rb#6
892
+ def times_executed; end
893
+
894
+ # Sets the attribute times_executed
895
+ #
896
+ # @param value the value to set the attribute times_executed to.
897
+ #
898
+ # source://webmock//lib/webmock/request_execution_verifier.rb#6
899
+ def times_executed=(_arg0); end
900
+
901
+ private
902
+
903
+ # source://webmock//lib/webmock/request_execution_verifier.rb#56
904
+ def failure_message_phrase(is_negated = T.unsafe(nil)); end
905
+
906
+ # source://webmock//lib/webmock/request_execution_verifier.rb#62
907
+ def quantity_phrase(is_negated = T.unsafe(nil)); end
908
+
909
+ # source://webmock//lib/webmock/request_execution_verifier.rb#74
910
+ def times(times); end
911
+
912
+ class << self
913
+ # source://webmock//lib/webmock/request_execution_verifier.rb#50
914
+ def executed_requests_message; end
915
+ end
916
+ end
917
+
918
+ # source://webmock//lib/webmock/request_pattern.rb#15
919
+ class WebMock::RequestPattern
920
+ # @return [RequestPattern] a new instance of RequestPattern
921
+ #
922
+ # source://webmock//lib/webmock/request_pattern.rb#19
923
+ def initialize(method, uri, options = T.unsafe(nil)); end
924
+
925
+ # Returns the value of attribute body_pattern.
926
+ #
927
+ # source://webmock//lib/webmock/request_pattern.rb#17
928
+ def body_pattern; end
929
+
930
+ # Returns the value of attribute headers_pattern.
931
+ #
932
+ # source://webmock//lib/webmock/request_pattern.rb#17
933
+ def headers_pattern; end
934
+
935
+ # @return [Boolean]
936
+ #
937
+ # source://webmock//lib/webmock/request_pattern.rb#35
938
+ def matches?(request_signature); end
939
+
940
+ # Returns the value of attribute method_pattern.
941
+ #
942
+ # source://webmock//lib/webmock/request_pattern.rb#17
943
+ def method_pattern; end
944
+
945
+ # source://webmock//lib/webmock/request_pattern.rb#45
946
+ def to_s; end
947
+
948
+ # Returns the value of attribute uri_pattern.
949
+ #
950
+ # source://webmock//lib/webmock/request_pattern.rb#17
951
+ def uri_pattern; end
952
+
953
+ # @raise [ArgumentError]
954
+ #
955
+ # source://webmock//lib/webmock/request_pattern.rb#28
956
+ def with(options = T.unsafe(nil), &block); end
957
+
958
+ private
959
+
960
+ # source://webmock//lib/webmock/request_pattern.rb#57
961
+ def assign_options(options); end
962
+
963
+ # source://webmock//lib/webmock/request_pattern.rb#80
964
+ def create_uri_pattern(uri); end
965
+
966
+ # source://webmock//lib/webmock/request_pattern.rb#66
967
+ def set_basic_auth_as_headers!(options); end
968
+
969
+ # source://webmock//lib/webmock/request_pattern.rb#74
970
+ def validate_basic_auth!(basic_auth); end
971
+ end
972
+
973
+ # source://webmock//lib/webmock/request_registry.rb#5
974
+ class WebMock::RequestRegistry
975
+ include ::Singleton
976
+ extend ::Singleton::SingletonClassMethods
977
+
978
+ # @return [RequestRegistry] a new instance of RequestRegistry
979
+ #
980
+ # source://webmock//lib/webmock/request_registry.rb#10
981
+ def initialize; end
982
+
983
+ # Returns the value of attribute requested_signatures.
984
+ #
985
+ # source://webmock//lib/webmock/request_registry.rb#8
986
+ def requested_signatures; end
987
+
988
+ # Sets the attribute requested_signatures
989
+ #
990
+ # @param value the value to set the attribute requested_signatures to.
991
+ #
992
+ # source://webmock//lib/webmock/request_registry.rb#8
993
+ def requested_signatures=(_arg0); end
994
+
995
+ # source://webmock//lib/webmock/request_registry.rb#14
996
+ def reset!; end
997
+
998
+ # source://webmock//lib/webmock/request_registry.rb#18
999
+ def times_executed(request_pattern); end
1000
+
1001
+ # source://webmock//lib/webmock/request_registry.rb#24
1002
+ def to_s; end
1003
+
1004
+ class << self
1005
+ private
1006
+
1007
+ def allocate; end
1008
+ def new(*_arg0); end
1009
+ end
1010
+ end
1011
+
1012
+ # source://webmock//lib/webmock/request_signature.rb#5
1013
+ class WebMock::RequestSignature
1014
+ # @return [RequestSignature] a new instance of RequestSignature
1015
+ #
1016
+ # source://webmock//lib/webmock/request_signature.rb#10
1017
+ def initialize(method, uri, options = T.unsafe(nil)); end
1018
+
1019
+ # @return [Boolean]
1020
+ #
1021
+ # source://webmock//lib/webmock/request_signature.rb#34
1022
+ def ==(other); end
1023
+
1024
+ # Returns the value of attribute body.
1025
+ #
1026
+ # source://webmock//lib/webmock/request_signature.rb#7
1027
+ def body; end
1028
+
1029
+ # Sets the attribute body
1030
+ #
1031
+ # @param value the value to set the attribute body to.
1032
+ #
1033
+ # source://webmock//lib/webmock/request_signature.rb#7
1034
+ def body=(_arg0); end
1035
+
1036
+ # @return [Boolean]
1037
+ #
1038
+ # source://webmock//lib/webmock/request_signature.rb#34
1039
+ def eql?(other); end
1040
+
1041
+ # source://webmock//lib/webmock/request_signature.rb#30
1042
+ def hash; end
1043
+
1044
+ # Returns the value of attribute headers.
1045
+ #
1046
+ # source://webmock//lib/webmock/request_signature.rb#8
1047
+ def headers; end
1048
+
1049
+ # source://webmock//lib/webmock/request_signature.rb#26
1050
+ def headers=(headers); end
1051
+
1052
+ # @return [Boolean]
1053
+ #
1054
+ # source://webmock//lib/webmock/request_signature.rb#43
1055
+ def json_headers?; end
1056
+
1057
+ # Returns the value of attribute method.
1058
+ #
1059
+ # source://webmock//lib/webmock/request_signature.rb#7
1060
+ def method; end
1061
+
1062
+ # Sets the attribute method
1063
+ #
1064
+ # @param value the value to set the attribute method to.
1065
+ #
1066
+ # source://webmock//lib/webmock/request_signature.rb#7
1067
+ def method=(_arg0); end
1068
+
1069
+ # source://webmock//lib/webmock/request_signature.rb#16
1070
+ def to_s; end
1071
+
1072
+ # Returns the value of attribute uri.
1073
+ #
1074
+ # source://webmock//lib/webmock/request_signature.rb#7
1075
+ def uri; end
1076
+
1077
+ # Sets the attribute uri
1078
+ #
1079
+ # @param value the value to set the attribute uri to.
1080
+ #
1081
+ # source://webmock//lib/webmock/request_signature.rb#7
1082
+ def uri=(_arg0); end
1083
+
1084
+ # @return [Boolean]
1085
+ #
1086
+ # source://webmock//lib/webmock/request_signature.rb#39
1087
+ def url_encoded?; end
1088
+
1089
+ private
1090
+
1091
+ # source://webmock//lib/webmock/request_signature.rb#49
1092
+ def assign_options(options); end
1093
+ end
1094
+
1095
+ # source://webmock//lib/webmock/request_signature_snippet.rb#6
1096
+ class WebMock::RequestSignatureSnippet
1097
+ # @return [RequestSignatureSnippet] a new instance of RequestSignatureSnippet
1098
+ #
1099
+ # source://webmock//lib/webmock/request_signature_snippet.rb#10
1100
+ def initialize(request_signature); end
1101
+
1102
+ # Returns the value of attribute request_signature.
1103
+ #
1104
+ # source://webmock//lib/webmock/request_signature_snippet.rb#8
1105
+ def request_signature; end
1106
+
1107
+ # Returns the value of attribute request_stub.
1108
+ #
1109
+ # source://webmock//lib/webmock/request_signature_snippet.rb#8
1110
+ def request_stub; end
1111
+
1112
+ # source://webmock//lib/webmock/request_signature_snippet.rb#22
1113
+ def request_stubs; end
1114
+
1115
+ # source://webmock//lib/webmock/request_signature_snippet.rb#15
1116
+ def stubbing_instructions; end
1117
+
1118
+ private
1119
+
1120
+ # source://webmock//lib/webmock/request_signature_snippet.rb#35
1121
+ def add_body_diff(stub, text); end
1122
+
1123
+ # source://webmock//lib/webmock/request_signature_snippet.rb#54
1124
+ def pretty_print_to_string(string_to_print); end
1125
+
1126
+ # source://webmock//lib/webmock/request_signature_snippet.rb#45
1127
+ def request_params; end
1128
+
1129
+ # source://webmock//lib/webmock/request_signature_snippet.rb#40
1130
+ def signature_stub_body_diff(stub); end
1131
+ end
1132
+
1133
+ # source://webmock//lib/webmock/request_stub.rb#4
1134
+ class WebMock::RequestStub
1135
+ # @return [RequestStub] a new instance of RequestStub
1136
+ #
1137
+ # source://webmock//lib/webmock/request_stub.rb#8
1138
+ def initialize(method, uri); end
1139
+
1140
+ # source://webmock//lib/webmock/request_stub.rb#65
1141
+ def and_raise(*exceptions); end
1142
+
1143
+ # source://webmock//lib/webmock/request_stub.rb#19
1144
+ def and_return(*response_hashes, &block); end
1145
+
1146
+ # @raise [ArgumentError]
1147
+ #
1148
+ # source://webmock//lib/webmock/request_stub.rb#29
1149
+ def and_return_json(*response_hashes); end
1150
+
1151
+ # source://webmock//lib/webmock/request_stub.rb#73
1152
+ def and_timeout; end
1153
+
1154
+ # @return [Boolean]
1155
+ #
1156
+ # source://webmock//lib/webmock/request_stub.rb#90
1157
+ def has_responses?; end
1158
+
1159
+ # @return [Boolean]
1160
+ #
1161
+ # source://webmock//lib/webmock/request_stub.rb#108
1162
+ def matches?(request_signature); end
1163
+
1164
+ # Returns the value of attribute request_pattern.
1165
+ #
1166
+ # source://webmock//lib/webmock/request_stub.rb#6
1167
+ def request_pattern; end
1168
+
1169
+ # Sets the attribute request_pattern
1170
+ #
1171
+ # @param value the value to set the attribute request_pattern to.
1172
+ #
1173
+ # source://webmock//lib/webmock/request_stub.rb#6
1174
+ def request_pattern=(_arg0); end
1175
+
1176
+ # source://webmock//lib/webmock/request_stub.rb#79
1177
+ def response; end
1178
+
1179
+ # source://webmock//lib/webmock/request_stub.rb#94
1180
+ def then; end
1181
+
1182
+ # source://webmock//lib/webmock/request_stub.rb#98
1183
+ def times(number); end
1184
+
1185
+ # source://webmock//lib/webmock/request_stub.rb#61
1186
+ def to_rack(app, options = T.unsafe(nil)); end
1187
+
1188
+ # source://webmock//lib/webmock/request_stub.rb#65
1189
+ def to_raise(*exceptions); end
1190
+
1191
+ # source://webmock//lib/webmock/request_stub.rb#19
1192
+ def to_return(*response_hashes, &block); end
1193
+
1194
+ # @raise [ArgumentError]
1195
+ #
1196
+ # source://webmock//lib/webmock/request_stub.rb#29
1197
+ def to_return_json(*response_hashes); end
1198
+
1199
+ # source://webmock//lib/webmock/request_stub.rb#112
1200
+ def to_s; end
1201
+
1202
+ # source://webmock//lib/webmock/request_stub.rb#73
1203
+ def to_timeout; end
1204
+
1205
+ # source://webmock//lib/webmock/request_stub.rb#14
1206
+ def with(params = T.unsafe(nil), &block); end
1207
+
1208
+ class << self
1209
+ # source://webmock//lib/webmock/request_stub.rb#116
1210
+ def from_request_signature(signature); end
1211
+ end
1212
+ end
1213
+
1214
+ # source://webmock//lib/webmock/response.rb#17
1215
+ class WebMock::Response
1216
+ # @return [Response] a new instance of Response
1217
+ #
1218
+ # source://webmock//lib/webmock/response.rb#18
1219
+ def initialize(options = T.unsafe(nil)); end
1220
+
1221
+ # source://webmock//lib/webmock/response.rb#97
1222
+ def ==(other); end
1223
+
1224
+ # source://webmock//lib/webmock/response.rb#40
1225
+ def body; end
1226
+
1227
+ # source://webmock//lib/webmock/response.rb#44
1228
+ def body=(body); end
1229
+
1230
+ # source://webmock//lib/webmock/response.rb#88
1231
+ def evaluate(request_signature); end
1232
+
1233
+ # source://webmock//lib/webmock/response.rb#58
1234
+ def exception; end
1235
+
1236
+ # source://webmock//lib/webmock/response.rb#62
1237
+ def exception=(exception); end
1238
+
1239
+ # source://webmock//lib/webmock/response.rb#29
1240
+ def headers; end
1241
+
1242
+ # source://webmock//lib/webmock/response.rb#33
1243
+ def headers=(headers); end
1244
+
1245
+ # source://webmock//lib/webmock/response.rb#78
1246
+ def options=(options); end
1247
+
1248
+ # @raise [@exception]
1249
+ #
1250
+ # source://webmock//lib/webmock/response.rb#70
1251
+ def raise_error_if_any; end
1252
+
1253
+ # source://webmock//lib/webmock/response.rb#74
1254
+ def should_timeout; end
1255
+
1256
+ # source://webmock//lib/webmock/response.rb#50
1257
+ def status; end
1258
+
1259
+ # source://webmock//lib/webmock/response.rb#54
1260
+ def status=(status); end
1261
+
1262
+ private
1263
+
1264
+ # source://webmock//lib/webmock/response.rb#115
1265
+ def assert_valid_body!; end
1266
+
1267
+ # source://webmock//lib/webmock/response.rb#128
1268
+ def read_raw_response(io); end
1269
+
1270
+ # source://webmock//lib/webmock/response.rb#107
1271
+ def stringify_body!; end
1272
+ end
1273
+
1274
+ # source://webmock//lib/webmock/response.rb#145
1275
+ class WebMock::Response::InvalidBody < ::StandardError; end
1276
+
1277
+ # source://webmock//lib/webmock/response.rb#7
1278
+ class WebMock::ResponseFactory
1279
+ class << self
1280
+ # source://webmock//lib/webmock/response.rb#8
1281
+ def response_for(options); end
1282
+ end
1283
+ end
1284
+
1285
+ # source://webmock//lib/webmock/responses_sequence.rb#5
1286
+ class WebMock::ResponsesSequence
1287
+ # @return [ResponsesSequence] a new instance of ResponsesSequence
1288
+ #
1289
+ # source://webmock//lib/webmock/responses_sequence.rb#9
1290
+ def initialize(responses); end
1291
+
1292
+ # @return [Boolean]
1293
+ #
1294
+ # source://webmock//lib/webmock/responses_sequence.rb#15
1295
+ def end?; end
1296
+
1297
+ # source://webmock//lib/webmock/responses_sequence.rb#19
1298
+ def next_response; end
1299
+
1300
+ # Returns the value of attribute times_to_repeat.
1301
+ #
1302
+ # source://webmock//lib/webmock/responses_sequence.rb#7
1303
+ def times_to_repeat; end
1304
+
1305
+ # Sets the attribute times_to_repeat
1306
+ #
1307
+ # @param value the value to set the attribute times_to_repeat to.
1308
+ #
1309
+ # source://webmock//lib/webmock/responses_sequence.rb#7
1310
+ def times_to_repeat=(_arg0); end
1311
+
1312
+ private
1313
+
1314
+ # source://webmock//lib/webmock/responses_sequence.rb#31
1315
+ def increase_position; end
1316
+ end
1317
+
1318
+ # source://webmock//lib/webmock/stub_registry.rb#5
1319
+ class WebMock::StubRegistry
1320
+ include ::Singleton
1321
+ extend ::Singleton::SingletonClassMethods
1322
+
1323
+ # @return [StubRegistry] a new instance of StubRegistry
1324
+ #
1325
+ # source://webmock//lib/webmock/stub_registry.rb#10
1326
+ def initialize; end
1327
+
1328
+ # source://webmock//lib/webmock/stub_registry.rb#14
1329
+ def global_stubs; end
1330
+
1331
+ # source://webmock//lib/webmock/stub_registry.rb#22
1332
+ def register_global_stub(order = T.unsafe(nil), &block); end
1333
+
1334
+ # source://webmock//lib/webmock/stub_registry.rb#50
1335
+ def register_request_stub(stub); end
1336
+
1337
+ # @return [Boolean]
1338
+ #
1339
+ # source://webmock//lib/webmock/stub_registry.rb#61
1340
+ def registered_request?(request_signature); end
1341
+
1342
+ # source://webmock//lib/webmock/stub_registry.rb#55
1343
+ def remove_request_stub(stub); end
1344
+
1345
+ # Returns the value of attribute request_stubs.
1346
+ #
1347
+ # source://webmock//lib/webmock/stub_registry.rb#8
1348
+ def request_stubs; end
1349
+
1350
+ # Sets the attribute request_stubs
1351
+ #
1352
+ # @param value the value to set the attribute request_stubs to.
1353
+ #
1354
+ # source://webmock//lib/webmock/stub_registry.rb#8
1355
+ def request_stubs=(_arg0); end
1356
+
1357
+ # source://webmock//lib/webmock/stub_registry.rb#18
1358
+ def reset!; end
1359
+
1360
+ # source://webmock//lib/webmock/stub_registry.rb#65
1361
+ def response_for_request(request_signature); end
1362
+
1363
+ private
1364
+
1365
+ # source://webmock//lib/webmock/stub_registry.rb#79
1366
+ def evaluate_response_for_request(response, request_signature); end
1367
+
1368
+ # source://webmock//lib/webmock/stub_registry.rb#72
1369
+ def request_stub_for(request_signature); end
1370
+
1371
+ class << self
1372
+ private
1373
+
1374
+ def allocate; end
1375
+ def new(*_arg0); end
1376
+ end
1377
+ end
1378
+
1379
+ # source://webmock//lib/webmock/stub_request_snippet.rb#4
1380
+ class WebMock::StubRequestSnippet
1381
+ # @return [StubRequestSnippet] a new instance of StubRequestSnippet
1382
+ #
1383
+ # source://webmock//lib/webmock/stub_request_snippet.rb#5
1384
+ def initialize(request_stub); end
1385
+
1386
+ # source://webmock//lib/webmock/stub_request_snippet.rb#9
1387
+ def body_pattern; end
1388
+
1389
+ # source://webmock//lib/webmock/stub_request_snippet.rb#13
1390
+ def to_s(with_response = T.unsafe(nil)); end
1391
+ end
1392
+
1393
+ # source://webmock//lib/webmock/request_pattern.rb#180
1394
+ class WebMock::URIAddressablePattern < ::WebMock::URIPattern
1395
+ # source://webmock//lib/webmock/request_pattern.rb#181
1396
+ def add_query_params(query_params); end
1397
+
1398
+ private
1399
+
1400
+ # @return [Boolean]
1401
+ #
1402
+ # source://webmock//lib/webmock/request_pattern.rb#206
1403
+ def matches_with_variations?(uri); end
1404
+
1405
+ # source://webmock//lib/webmock/request_pattern.rb#202
1406
+ def pattern_inspect; end
1407
+
1408
+ # @return [Boolean]
1409
+ #
1410
+ # source://webmock//lib/webmock/request_pattern.rb#192
1411
+ def pattern_matches?(uri); end
1412
+
1413
+ # @return [Boolean]
1414
+ #
1415
+ # source://webmock//lib/webmock/request_pattern.rb#218
1416
+ def template_matches_uri?(template, uri); end
1417
+ end
1418
+
1419
+ # source://webmock//lib/webmock/request_pattern.rb#164
1420
+ class WebMock::URICallablePattern < ::WebMock::URIPattern
1421
+ private
1422
+
1423
+ # @return [Boolean]
1424
+ #
1425
+ # source://webmock//lib/webmock/request_pattern.rb#167
1426
+ def pattern_matches?(uri); end
1427
+ end
1428
+
1429
+ # source://webmock//lib/webmock/request_pattern.rb#113
1430
+ class WebMock::URIPattern
1431
+ include ::WebMock::RSpecMatcherDetector
1432
+
1433
+ # @return [URIPattern] a new instance of URIPattern
1434
+ #
1435
+ # source://webmock//lib/webmock/request_pattern.rb#116
1436
+ def initialize(pattern); end
1437
+
1438
+ # source://webmock//lib/webmock/request_pattern.rb#128
1439
+ def add_query_params(query_params); end
1440
+
1441
+ # @return [Boolean]
1442
+ #
1443
+ # source://webmock//lib/webmock/request_pattern.rb#143
1444
+ def matches?(uri); end
1445
+
1446
+ # source://webmock//lib/webmock/request_pattern.rb#147
1447
+ def to_s; end
1448
+
1449
+ private
1450
+
1451
+ # source://webmock//lib/webmock/request_pattern.rb#155
1452
+ def pattern_inspect; end
1453
+
1454
+ # @return [Boolean]
1455
+ #
1456
+ # source://webmock//lib/webmock/request_pattern.rb#159
1457
+ def query_params_matches?(uri); end
1458
+ end
1459
+
1460
+ # source://webmock//lib/webmock/request_pattern.rb#172
1461
+ class WebMock::URIRegexpPattern < ::WebMock::URIPattern
1462
+ private
1463
+
1464
+ # @return [Boolean]
1465
+ #
1466
+ # source://webmock//lib/webmock/request_pattern.rb#175
1467
+ def pattern_matches?(uri); end
1468
+ end
1469
+
1470
+ # source://webmock//lib/webmock/request_pattern.rb#225
1471
+ class WebMock::URIStringPattern < ::WebMock::URIPattern
1472
+ # source://webmock//lib/webmock/request_pattern.rb#226
1473
+ def add_query_params(query_params); end
1474
+
1475
+ private
1476
+
1477
+ # source://webmock//lib/webmock/request_pattern.rb#249
1478
+ def pattern_inspect; end
1479
+
1480
+ # @return [Boolean]
1481
+ #
1482
+ # source://webmock//lib/webmock/request_pattern.rb#237
1483
+ def pattern_matches?(uri); end
1484
+ end
1485
+
1486
+ # source://webmock//lib/webmock/util/query_mapper.rb#3
1487
+ module WebMock::Util; end
1488
+
1489
+ # source://webmock//lib/webmock/util/hash_counter.rb#7
1490
+ class WebMock::Util::HashCounter
1491
+ # @return [HashCounter] a new instance of HashCounter
1492
+ #
1493
+ # source://webmock//lib/webmock/util/hash_counter.rb#10
1494
+ def initialize; end
1495
+
1496
+ # source://webmock//lib/webmock/util/hash_counter.rb#38
1497
+ def each(&block); end
1498
+
1499
+ # source://webmock//lib/webmock/util/hash_counter.rb#24
1500
+ def get(key); end
1501
+
1502
+ # Returns the value of attribute hash.
1503
+ #
1504
+ # source://webmock//lib/webmock/util/hash_counter.rb#8
1505
+ def hash; end
1506
+
1507
+ # Sets the attribute hash
1508
+ #
1509
+ # @param value the value to set the attribute hash to.
1510
+ #
1511
+ # source://webmock//lib/webmock/util/hash_counter.rb#8
1512
+ def hash=(_arg0); end
1513
+
1514
+ # source://webmock//lib/webmock/util/hash_counter.rb#17
1515
+ def put(key, num = T.unsafe(nil)); end
1516
+
1517
+ # source://webmock//lib/webmock/util/hash_counter.rb#30
1518
+ def select(&block); end
1519
+ end
1520
+
1521
+ # source://webmock//lib/webmock/util/hash_keys_stringifier.rb#5
1522
+ class WebMock::Util::HashKeysStringifier
1523
+ class << self
1524
+ # source://webmock//lib/webmock/util/hash_keys_stringifier.rb#7
1525
+ def stringify_keys!(arg, options = T.unsafe(nil)); end
1526
+ end
1527
+ end
1528
+
1529
+ # source://webmock//lib/webmock/util/headers.rb#7
1530
+ class WebMock::Util::Headers
1531
+ class << self
1532
+ # source://webmock//lib/webmock/util/headers.rb#59
1533
+ def basic_auth_header(*credentials); end
1534
+
1535
+ # source://webmock//lib/webmock/util/headers.rb#55
1536
+ def decode_userinfo_from_header(header); end
1537
+
1538
+ # source://webmock//lib/webmock/util/headers.rb#13
1539
+ def normalize_headers(headers); end
1540
+
1541
+ # source://webmock//lib/webmock/util/headers.rb#64
1542
+ def normalize_name(name); end
1543
+
1544
+ # source://webmock//lib/webmock/util/headers.rb#40
1545
+ def pp_headers_string(headers); end
1546
+
1547
+ # source://webmock//lib/webmock/util/headers.rb#26
1548
+ def sorted_headers_string(headers); end
1549
+ end
1550
+ end
1551
+
1552
+ # source://webmock//lib/webmock/util/headers.rb#11
1553
+ WebMock::Util::Headers::JOIN = T.let(T.unsafe(nil), String)
1554
+
1555
+ # source://webmock//lib/webmock/util/headers.rb#10
1556
+ WebMock::Util::Headers::NONSTANDARD_HEADER_DELIMITER = T.let(T.unsafe(nil), String)
1557
+
1558
+ # source://webmock//lib/webmock/util/headers.rb#9
1559
+ WebMock::Util::Headers::STANDARD_HEADER_DELIMITER = T.let(T.unsafe(nil), String)
1560
+
1561
+ # source://webmock//lib/webmock/util/parsers/parse_error.rb#3
1562
+ module WebMock::Util::Parsers; end
1563
+
1564
+ # source://webmock//lib/webmock/util/parsers/json.rb#15
1565
+ class WebMock::Util::Parsers::JSON
1566
+ class << self
1567
+ # Ensure that ":" and "," are always followed by a space
1568
+ #
1569
+ # source://webmock//lib/webmock/util/parsers/json.rb#30
1570
+ def convert_json_to_yaml(json); end
1571
+
1572
+ # source://webmock//lib/webmock/util/parsers/json.rb#16
1573
+ def parse(json); end
1574
+
1575
+ # source://webmock//lib/webmock/util/parsers/json.rb#25
1576
+ def unescape(str); end
1577
+ end
1578
+ end
1579
+
1580
+ # source://webmock//lib/webmock/util/parsers/parse_error.rb#4
1581
+ class WebMock::Util::Parsers::ParseError < ::StandardError; end
1582
+
1583
+ # source://webmock//lib/webmock/util/parsers/xml.rb#7
1584
+ class WebMock::Util::Parsers::XML
1585
+ class << self
1586
+ # source://webmock//lib/webmock/util/parsers/xml.rb#8
1587
+ def parse(xml); end
1588
+ end
1589
+ end
1590
+
1591
+ # source://webmock//lib/webmock/util/query_mapper.rb#4
1592
+ class WebMock::Util::QueryMapper
1593
+ class << self
1594
+ # source://webmock//lib/webmock/util/query_mapper.rb#81
1595
+ def collect_query_hash(query_array, empty_accumulator, options); end
1596
+
1597
+ # source://webmock//lib/webmock/util/query_mapper.rb#74
1598
+ def collect_query_parts(query); end
1599
+
1600
+ # source://webmock//lib/webmock/util/query_mapper.rb#221
1601
+ def dehash(hash); end
1602
+
1603
+ # source://webmock//lib/webmock/util/query_mapper.rb#106
1604
+ def fill_accumulator_for_dot(accumulator, key, value); end
1605
+
1606
+ # source://webmock//lib/webmock/util/query_mapper.rb#95
1607
+ def fill_accumulator_for_flat(accumulator, key, value); end
1608
+
1609
+ # source://webmock//lib/webmock/util/query_mapper.rb#102
1610
+ def fill_accumulator_for_flat_array(accumulator, key, value); end
1611
+
1612
+ # source://webmock//lib/webmock/util/query_mapper.rb#125
1613
+ def fill_accumulator_for_subscript(accumulator, key, value); end
1614
+
1615
+ # source://webmock//lib/webmock/util/query_mapper.rb#63
1616
+ def normalize_query_hash(query_hash, empty_accumulator, options); end
1617
+
1618
+ # Converts the query component to a Hash value.
1619
+ #
1620
+ # @example
1621
+ # WebMock::Util::QueryMapper.query_to_values("?one=1&two=2&three=3")
1622
+ # #=> {"one" => "1", "two" => "2", "three" => "3"}
1623
+ # WebMock::Util::QueryMapper("?one[two][three]=four").query_values
1624
+ # #=> {"one" => {"two" => {"three" => "four"}}}
1625
+ # WebMock::Util::QueryMapper.query_to_values("?one.two.three=four",
1626
+ # :notation => :dot
1627
+ # )
1628
+ # #=> {"one" => {"two" => {"three" => "four"}}}
1629
+ # WebMock::Util::QueryMapper.query_to_values("?one[two][three]=four",
1630
+ # :notation => :flat
1631
+ # )
1632
+ # #=> {"one[two][three]" => "four"}
1633
+ # WebMock::Util::QueryMapper.query_to_values("?one.two.three=four",
1634
+ # :notation => :flat
1635
+ # )
1636
+ # #=> {"one.two.three" => "four"}
1637
+ # WebMock::Util::QueryMapper(
1638
+ # "?one[two][three][]=four&one[two][three][]=five"
1639
+ # )
1640
+ # #=> {"one" => {"two" => {"three" => ["four", "five"]}}}
1641
+ # WebMock::Util::QueryMapper.query_to_values(
1642
+ # "?one=two&one=three").query_values(:notation => :flat_array)
1643
+ # #=> [['one', 'two'], ['one', 'three']]
1644
+ # @option [Symbol]
1645
+ # @param [Symbol] [Hash] a customizable set of options
1646
+ # @return [Hash, Array] The query string parsed as a Hash or Array object.
1647
+ #
1648
+ # source://webmock//lib/webmock/util/query_mapper.rb#42
1649
+ def query_to_values(query, options = T.unsafe(nil)); end
1650
+
1651
+ # new_query_values have form [['key1', 'value1'], ['key2', 'value2']]
1652
+ #
1653
+ # source://webmock//lib/webmock/util/query_mapper.rb#247
1654
+ def to_query(parent, value, options = T.unsafe(nil)); end
1655
+
1656
+ # Sets the query component for this URI from a Hash object.
1657
+ # This method produces a query string using the :subscript notation.
1658
+ # An empty Hash will result in a nil query.
1659
+ #
1660
+ # @param new_query_values [Hash, #to_hash, Array] The new query values.
1661
+ #
1662
+ # source://webmock//lib/webmock/util/query_mapper.rb#179
1663
+ def values_to_query(new_query_values, options = T.unsafe(nil)); end
1664
+ end
1665
+ end
1666
+
1667
+ # source://webmock//lib/webmock/util/uri.rb#7
1668
+ class WebMock::Util::URI
1669
+ class << self
1670
+ # source://webmock//lib/webmock/util/uri.rb#67
1671
+ def encode_unsafe_chars_in_userinfo(userinfo); end
1672
+
1673
+ # source://webmock//lib/webmock/util/uri.rb#28
1674
+ def heuristic_parse(uri); end
1675
+
1676
+ # @return [Boolean]
1677
+ #
1678
+ # source://webmock//lib/webmock/util/uri.rb#71
1679
+ def is_uri_localhost?(uri); end
1680
+
1681
+ # source://webmock//lib/webmock/util/uri.rb#32
1682
+ def normalize_uri(uri); end
1683
+
1684
+ # source://webmock//lib/webmock/util/uri.rb#78
1685
+ def sort_query_values(query_values); end
1686
+
1687
+ # source://webmock//lib/webmock/util/uri.rb#59
1688
+ def strip_default_port_from_uri_string(uri_string); end
1689
+
1690
+ # source://webmock//lib/webmock/util/uri.rb#89
1691
+ def uris_encoded_and_unencoded(uris); end
1692
+
1693
+ # source://webmock//lib/webmock/util/uri.rb#83
1694
+ def uris_with_inferred_port_and_without(uris); end
1695
+
1696
+ # source://webmock//lib/webmock/util/uri.rb#98
1697
+ def uris_with_scheme_and_without(uris); end
1698
+
1699
+ # source://webmock//lib/webmock/util/uri.rb#104
1700
+ def uris_with_trailing_slash_and_without(uris); end
1701
+
1702
+ # source://webmock//lib/webmock/util/uri.rb#38
1703
+ def variations_of_uri_as_strings(uri_object, only_with_scheme: T.unsafe(nil)); end
1704
+ end
1705
+ end
1706
+
1707
+ # source://webmock//lib/webmock/util/uri.rb#12
1708
+ WebMock::Util::URI::ADDRESSABLE_URIS = T.let(T.unsafe(nil), Hash)
1709
+
1710
+ # source://webmock//lib/webmock/util/uri.rb#8
1711
+ module WebMock::Util::URI::CharacterClasses; end
1712
+
1713
+ # source://webmock//lib/webmock/util/uri.rb#9
1714
+ WebMock::Util::URI::CharacterClasses::USERINFO = T.let(T.unsafe(nil), String)
1715
+
1716
+ # source://webmock//lib/webmock/util/uri.rb#16
1717
+ WebMock::Util::URI::NORMALIZED_URIS = T.let(T.unsafe(nil), Hash)
1718
+
1719
+ # source://webmock//lib/webmock/util/values_stringifier.rb#3
1720
+ class WebMock::Util::ValuesStringifier
1721
+ class << self
1722
+ # source://webmock//lib/webmock/util/values_stringifier.rb#4
1723
+ def stringify_values(value); end
1724
+ end
1725
+ end
1726
+
1727
+ # source://webmock//lib/webmock/version.rb#4
1728
+ WebMock::VERSION = T.let(T.unsafe(nil), String)
1729
+
1730
+ # source://webmock//lib/webmock/util/version_checker.rb#28
1731
+ class WebMock::VersionChecker
1732
+ # @return [VersionChecker] a new instance of VersionChecker
1733
+ #
1734
+ # source://webmock//lib/webmock/util/version_checker.rb#29
1735
+ def initialize(library_name, library_version, min_patch_level, max_minor_version = T.unsafe(nil), unsupported_versions = T.unsafe(nil)); end
1736
+
1737
+ # source://webmock//lib/webmock/util/version_checker.rb#45
1738
+ def check_version!; end
1739
+
1740
+ private
1741
+
1742
+ # source://webmock//lib/webmock/util/version_checker.rb#109
1743
+ def colorize(text, color_code); end
1744
+
1745
+ # source://webmock//lib/webmock/util/version_checker.rb#86
1746
+ def compare_version; end
1747
+
1748
+ # source://webmock//lib/webmock/util/version_checker.rb#105
1749
+ def parse_version(version); end
1750
+
1751
+ # @return [Boolean]
1752
+ #
1753
+ # source://webmock//lib/webmock/util/version_checker.rb#57
1754
+ def too_high?; end
1755
+
1756
+ # @return [Boolean]
1757
+ #
1758
+ # source://webmock//lib/webmock/util/version_checker.rb#53
1759
+ def too_low?; end
1760
+
1761
+ # @return [Boolean]
1762
+ #
1763
+ # source://webmock//lib/webmock/util/version_checker.rb#61
1764
+ def unsupported_version?; end
1765
+
1766
+ # source://webmock//lib/webmock/util/version_checker.rb#98
1767
+ def version_requirement; end
1768
+
1769
+ # source://webmock//lib/webmock/util/version_checker.rb#70
1770
+ def warn_about_too_high; end
1771
+
1772
+ # source://webmock//lib/webmock/util/version_checker.rb#65
1773
+ def warn_about_too_low; end
1774
+
1775
+ # source://webmock//lib/webmock/util/version_checker.rb#76
1776
+ def warn_about_unsupported_version; end
1777
+
1778
+ # source://webmock//lib/webmock/util/version_checker.rb#82
1779
+ def warn_in_red(text); end
1780
+ end