setsuzoku 0.10.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitattributes +2 -0
- data/.gitignore +13 -0
- data/.rspec +3 -0
- data/.travis.yml +7 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +82 -0
- data/LICENSE.txt +21 -0
- data/README.md +93 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/setsuzoku.rb +37 -0
- data/lib/setsuzoku/api_response.rb +11 -0
- data/lib/setsuzoku/api_strategy.rb +124 -0
- data/lib/setsuzoku/auth_strategy.rb +72 -0
- data/lib/setsuzoku/credential.rb +37 -0
- data/lib/setsuzoku/exception.rb +18 -0
- data/lib/setsuzoku/external_api_handler.rb +19 -0
- data/lib/setsuzoku/pluggable.rb +87 -0
- data/lib/setsuzoku/plugin.rb +128 -0
- data/lib/setsuzoku/rspec.rb +2 -0
- data/lib/setsuzoku/rspec/dynamic_spec_helper.rb +281 -0
- data/lib/setsuzoku/service.rb +70 -0
- data/lib/setsuzoku/service/web_service.rb +21 -0
- data/lib/setsuzoku/service/web_service/api_strategies/rest_api_request.rb +17 -0
- data/lib/setsuzoku/service/web_service/api_strategies/rest_strategy.rb +155 -0
- data/lib/setsuzoku/service/web_service/api_strategy.rb +169 -0
- data/lib/setsuzoku/service/web_service/auth_strategies/basic_auth_strategy.rb +50 -0
- data/lib/setsuzoku/service/web_service/auth_strategies/o_auth_strategy.rb +173 -0
- data/lib/setsuzoku/service/web_service/auth_strategy.rb +48 -0
- data/lib/setsuzoku/service/web_service/credentials/basic_auth_credential.rb +52 -0
- data/lib/setsuzoku/service/web_service/credentials/o_auth_credential.rb +83 -0
- data/lib/setsuzoku/service/web_service/service.rb +31 -0
- data/lib/setsuzoku/utilities.rb +7 -0
- data/lib/setsuzoku/version.rb +6 -0
- data/setsuzoku.gemspec +50 -0
- data/sorbet/config +2 -0
- data/sorbet/rbi/gems/activesupport.rbi +1125 -0
- data/sorbet/rbi/gems/addressable.rbi +199 -0
- data/sorbet/rbi/gems/concurrent-ruby.rbi +1586 -0
- data/sorbet/rbi/gems/crack.rbi +62 -0
- data/sorbet/rbi/gems/faraday.rbi +615 -0
- data/sorbet/rbi/gems/hashdiff.rbi +66 -0
- data/sorbet/rbi/gems/httparty.rbi +401 -0
- data/sorbet/rbi/gems/i18n.rbi +133 -0
- data/sorbet/rbi/gems/mime-types-data.rbi +17 -0
- data/sorbet/rbi/gems/mime-types.rbi +218 -0
- data/sorbet/rbi/gems/multi_xml.rbi +35 -0
- data/sorbet/rbi/gems/multipart-post.rbi +53 -0
- data/sorbet/rbi/gems/nokogiri.rbi +1011 -0
- data/sorbet/rbi/gems/public_suffix.rbi +104 -0
- data/sorbet/rbi/gems/rake.rbi +646 -0
- data/sorbet/rbi/gems/rspec-core.rbi +1893 -0
- data/sorbet/rbi/gems/rspec-expectations.rbi +1123 -0
- data/sorbet/rbi/gems/rspec-mocks.rbi +1090 -0
- data/sorbet/rbi/gems/rspec-support.rbi +280 -0
- data/sorbet/rbi/gems/rspec.rbi +15 -0
- data/sorbet/rbi/gems/safe_yaml.rbi +124 -0
- data/sorbet/rbi/gems/thread_safe.rbi +82 -0
- data/sorbet/rbi/gems/tzinfo.rbi +406 -0
- data/sorbet/rbi/gems/webmock.rbi +532 -0
- data/sorbet/rbi/hidden-definitions/hidden.rbi +13722 -0
- data/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +1431 -0
- data/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +8684 -0
- data/sorbet/rbi/sorbet-typed/lib/httparty/all/httparty.rbi +427 -0
- data/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +108 -0
- data/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +111 -0
- data/sorbet/rbi/sorbet-typed/lib/ruby/all/resolv.rbi +543 -0
- data/sorbet/rbi/todo.rbi +11 -0
- metadata +255 -0
@@ -0,0 +1,406 @@
|
|
1
|
+
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
+
# srb rbi gems
|
3
|
+
|
4
|
+
# typed: strict
|
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/tzinfo/all/tzinfo.rbi
|
9
|
+
#
|
10
|
+
# tzinfo-1.2.7
|
11
|
+
|
12
|
+
module TZInfo
|
13
|
+
end
|
14
|
+
module TZInfo::RubyCoreSupport
|
15
|
+
def self.datetime_new!(ajd = nil, of = nil, sg = nil); end
|
16
|
+
def self.datetime_new(y = nil, m = nil, d = nil, h = nil, min = nil, s = nil, of = nil, sg = nil); end
|
17
|
+
def self.force_encoding(str, encoding); end
|
18
|
+
def self.open_file(file_name, mode, opts, &block); end
|
19
|
+
def self.rational_new!(numerator, denominator = nil); end
|
20
|
+
def self.time_nsec(time); end
|
21
|
+
def self.time_supports_64bit; end
|
22
|
+
def self.time_supports_negative; end
|
23
|
+
end
|
24
|
+
module TZInfo::OffsetRationals
|
25
|
+
def rational_for_offset(offset); end
|
26
|
+
def self.rational_for_offset(offset); end
|
27
|
+
end
|
28
|
+
class TZInfo::TimeOrDateTime
|
29
|
+
def +(seconds); end
|
30
|
+
def -(seconds); end
|
31
|
+
def <=>(timeOrDateTime); end
|
32
|
+
def add_with_convert(seconds); end
|
33
|
+
def day; end
|
34
|
+
def eql?(todt); end
|
35
|
+
def hash; end
|
36
|
+
def hour; end
|
37
|
+
def initialize(timeOrDateTime); end
|
38
|
+
def inspect; end
|
39
|
+
def mday; end
|
40
|
+
def min; end
|
41
|
+
def mon; end
|
42
|
+
def month; end
|
43
|
+
def sec; end
|
44
|
+
def self.wrap(timeOrDateTime); end
|
45
|
+
def to_datetime; end
|
46
|
+
def to_i; end
|
47
|
+
def to_orig; end
|
48
|
+
def to_s; end
|
49
|
+
def to_time; end
|
50
|
+
def usec; end
|
51
|
+
def year; end
|
52
|
+
include Comparable
|
53
|
+
end
|
54
|
+
module TZInfo::TimezoneDefinition
|
55
|
+
def self.append_features(base); end
|
56
|
+
end
|
57
|
+
module TZInfo::TimezoneDefinition::ClassMethods
|
58
|
+
def get; end
|
59
|
+
def linked_timezone(identifier, link_to_identifier); end
|
60
|
+
def timezone(identifier); end
|
61
|
+
end
|
62
|
+
class TZInfo::TimezoneOffset
|
63
|
+
def ==(toi); end
|
64
|
+
def abbreviation; end
|
65
|
+
def dst?; end
|
66
|
+
def eql?(toi); end
|
67
|
+
def hash; end
|
68
|
+
def initialize(utc_offset, std_offset, abbreviation); end
|
69
|
+
def inspect; end
|
70
|
+
def std_offset; end
|
71
|
+
def to_local(utc); end
|
72
|
+
def to_utc(local); end
|
73
|
+
def utc_offset; end
|
74
|
+
def utc_total_offset; end
|
75
|
+
end
|
76
|
+
class TZInfo::TimezoneTransition
|
77
|
+
def ==(tti); end
|
78
|
+
def at; end
|
79
|
+
def datetime; end
|
80
|
+
def eql?(tti); end
|
81
|
+
def hash; end
|
82
|
+
def initialize(offset, previous_offset); end
|
83
|
+
def inspect; end
|
84
|
+
def local_end; end
|
85
|
+
def local_end_at; end
|
86
|
+
def local_end_time; end
|
87
|
+
def local_start; end
|
88
|
+
def local_start_at; end
|
89
|
+
def local_start_time; end
|
90
|
+
def offset; end
|
91
|
+
def previous_offset; end
|
92
|
+
def raise_not_implemented(method_name); end
|
93
|
+
def time; end
|
94
|
+
end
|
95
|
+
class TZInfo::TimezoneTransitionDefinition < TZInfo::TimezoneTransition
|
96
|
+
def at; end
|
97
|
+
def denominator; end
|
98
|
+
def eql?(tti); end
|
99
|
+
def hash; end
|
100
|
+
def initialize(offset, previous_offset, numerator_or_timestamp, denominator_or_numerator = nil, denominator = nil); end
|
101
|
+
def numerator_or_time; end
|
102
|
+
end
|
103
|
+
module TZInfo::TimezoneIndexDefinition
|
104
|
+
def self.append_features(base); end
|
105
|
+
end
|
106
|
+
module TZInfo::TimezoneIndexDefinition::ClassMethods
|
107
|
+
def data_timezones; end
|
108
|
+
def linked_timezone(identifier); end
|
109
|
+
def linked_timezones; end
|
110
|
+
def timezone(identifier); end
|
111
|
+
def timezones; end
|
112
|
+
end
|
113
|
+
class TZInfo::TimezoneInfo
|
114
|
+
def create_timezone; end
|
115
|
+
def identifier; end
|
116
|
+
def initialize(identifier); end
|
117
|
+
def inspect; end
|
118
|
+
def raise_not_implemented(method_name); end
|
119
|
+
end
|
120
|
+
class TZInfo::DataTimezoneInfo < TZInfo::TimezoneInfo
|
121
|
+
def create_timezone; end
|
122
|
+
def period_for_utc(utc); end
|
123
|
+
def periods_for_local(local); end
|
124
|
+
def raise_not_implemented(method_name); end
|
125
|
+
def transitions_up_to(utc_to, utc_from = nil); end
|
126
|
+
end
|
127
|
+
class TZInfo::LinkedTimezoneInfo < TZInfo::TimezoneInfo
|
128
|
+
def create_timezone; end
|
129
|
+
def initialize(identifier, link_to_identifier); end
|
130
|
+
def inspect; end
|
131
|
+
def link_to_identifier; end
|
132
|
+
end
|
133
|
+
class TZInfo::NoOffsetsDefined < StandardError
|
134
|
+
end
|
135
|
+
class TZInfo::TransitionDataTimezoneInfo < TZInfo::DataTimezoneInfo
|
136
|
+
def initialize(identifier); end
|
137
|
+
def offset(id, utc_offset, std_offset, abbreviation); end
|
138
|
+
def period_for_utc(utc); end
|
139
|
+
def periods_for_local(local); end
|
140
|
+
def transition(year, month, offset_id, numerator_or_timestamp, denominator_or_numerator = nil, denominator = nil); end
|
141
|
+
def transition_after_start(index); end
|
142
|
+
def transition_before_end(index); end
|
143
|
+
def transition_index(year, month); end
|
144
|
+
def transitions_up_to(utc_to, utc_from = nil); end
|
145
|
+
end
|
146
|
+
class TZInfo::InvalidZoneinfoFile < StandardError
|
147
|
+
end
|
148
|
+
class TZInfo::ZoneinfoTimezoneInfo < TZInfo::TransitionDataTimezoneInfo
|
149
|
+
def check_read(file, bytes); end
|
150
|
+
def define_offset(index, offset); end
|
151
|
+
def derive_offsets(transitions, offsets); end
|
152
|
+
def initialize(identifier, file_path); end
|
153
|
+
def make_signed_int32(long); end
|
154
|
+
def make_signed_int64(high, low); end
|
155
|
+
def parse(file); end
|
156
|
+
end
|
157
|
+
class TZInfo::InvalidDataSource < StandardError
|
158
|
+
end
|
159
|
+
class TZInfo::DataSourceNotFound < StandardError
|
160
|
+
end
|
161
|
+
class TZInfo::DataSource
|
162
|
+
def country_codes; end
|
163
|
+
def data_timezone_identifiers; end
|
164
|
+
def inspect; end
|
165
|
+
def linked_timezone_identifiers; end
|
166
|
+
def load_country_info(code); end
|
167
|
+
def load_timezone_info(identifier); end
|
168
|
+
def raise_invalid_data_source(method_name); end
|
169
|
+
def self.create_default_data_source; end
|
170
|
+
def self.get; end
|
171
|
+
def self.set(data_source_or_type, *args); end
|
172
|
+
def timezone_identifiers; end
|
173
|
+
def to_s; end
|
174
|
+
end
|
175
|
+
class TZInfo::RubyDataSource < TZInfo::DataSource
|
176
|
+
def country_codes; end
|
177
|
+
def data_timezone_identifiers; end
|
178
|
+
def initialize; end
|
179
|
+
def linked_timezone_identifiers; end
|
180
|
+
def load_country_index; end
|
181
|
+
def load_country_info(code); end
|
182
|
+
def load_timezone_index; end
|
183
|
+
def load_timezone_info(identifier); end
|
184
|
+
def require_data(*file); end
|
185
|
+
def require_definition(identifier); end
|
186
|
+
def require_index(name); end
|
187
|
+
def timezone_identifiers; end
|
188
|
+
def to_s; end
|
189
|
+
end
|
190
|
+
class TZInfo::InvalidZoneinfoDirectory < StandardError
|
191
|
+
end
|
192
|
+
class TZInfo::ZoneinfoDirectoryNotFound < StandardError
|
193
|
+
end
|
194
|
+
class TZInfo::ZoneinfoDataSource < TZInfo::DataSource
|
195
|
+
def country_codes; end
|
196
|
+
def data_timezone_identifiers; end
|
197
|
+
def dms_to_rational(sign, degrees, minutes, seconds = nil); end
|
198
|
+
def enum_timezones(dir, exclude = nil, &block); end
|
199
|
+
def find_zoneinfo_dir; end
|
200
|
+
def initialize(zoneinfo_dir = nil, alternate_iso3166_tab_path = nil); end
|
201
|
+
def inspect; end
|
202
|
+
def linked_timezone_identifiers; end
|
203
|
+
def load_country_index(iso3166_tab_path, zone_tab_path); end
|
204
|
+
def load_country_info(code); end
|
205
|
+
def load_timezone_index; end
|
206
|
+
def load_timezone_info(identifier); end
|
207
|
+
def resolve_tab_path(zoneinfo_path, standard_names, tab_name); end
|
208
|
+
def self.alternate_iso3166_tab_search_path; end
|
209
|
+
def self.alternate_iso3166_tab_search_path=(alternate_iso3166_tab_search_path); end
|
210
|
+
def self.process_search_path(path, default); end
|
211
|
+
def self.search_path; end
|
212
|
+
def self.search_path=(search_path); end
|
213
|
+
def timezone_identifiers; end
|
214
|
+
def to_s; end
|
215
|
+
def validate_zoneinfo_dir(path, iso3166_tab_path = nil); end
|
216
|
+
def zoneinfo_dir; end
|
217
|
+
end
|
218
|
+
class TZInfo::TimezonePeriod
|
219
|
+
def ==(p); end
|
220
|
+
def abbreviation; end
|
221
|
+
def dst?; end
|
222
|
+
def end_transition; end
|
223
|
+
def eql?(p); end
|
224
|
+
def hash; end
|
225
|
+
def initialize(start_transition, end_transition, offset = nil); end
|
226
|
+
def inspect; end
|
227
|
+
def local_after_start?(local); end
|
228
|
+
def local_before_end?(local); end
|
229
|
+
def local_end; end
|
230
|
+
def local_end_time; end
|
231
|
+
def local_start; end
|
232
|
+
def local_start_time; end
|
233
|
+
def offset; end
|
234
|
+
def start_transition; end
|
235
|
+
def std_offset; end
|
236
|
+
def to_local(utc); end
|
237
|
+
def to_utc(local); end
|
238
|
+
def utc_after_start?(utc); end
|
239
|
+
def utc_before_end?(utc); end
|
240
|
+
def utc_end; end
|
241
|
+
def utc_end_time; end
|
242
|
+
def utc_offset; end
|
243
|
+
def utc_start; end
|
244
|
+
def utc_start_time; end
|
245
|
+
def utc_total_offset; end
|
246
|
+
def utc_total_offset_rational; end
|
247
|
+
def valid_for_local?(local); end
|
248
|
+
def valid_for_utc?(utc); end
|
249
|
+
def zone_identifier; end
|
250
|
+
end
|
251
|
+
class TZInfo::AmbiguousTime < StandardError
|
252
|
+
end
|
253
|
+
class TZInfo::PeriodNotFound < StandardError
|
254
|
+
end
|
255
|
+
class TZInfo::InvalidTimezoneIdentifier < StandardError
|
256
|
+
end
|
257
|
+
class TZInfo::UnknownTimezone < StandardError
|
258
|
+
end
|
259
|
+
class TZInfo::Timezone
|
260
|
+
def <=>(tz); end
|
261
|
+
def _dump(limit); end
|
262
|
+
def canonical_identifier; end
|
263
|
+
def canonical_zone; end
|
264
|
+
def current_period; end
|
265
|
+
def current_period_and_time; end
|
266
|
+
def current_time_and_period; end
|
267
|
+
def eql?(tz); end
|
268
|
+
def friendly_identifier(skip_first_part = nil); end
|
269
|
+
def hash; end
|
270
|
+
def identifier; end
|
271
|
+
def inspect; end
|
272
|
+
def local_to_utc(local, dst = nil); end
|
273
|
+
def name; end
|
274
|
+
def now; end
|
275
|
+
def offsets_up_to(utc_to, utc_from = nil); end
|
276
|
+
def period_for_local(local, dst = nil); end
|
277
|
+
def period_for_utc(utc); end
|
278
|
+
def periods_for_local(local); end
|
279
|
+
def raise_unknown_timezone; end
|
280
|
+
def self._load(data); end
|
281
|
+
def self.all; end
|
282
|
+
def self.all_country_zone_identifiers; end
|
283
|
+
def self.all_country_zones; end
|
284
|
+
def self.all_data_zone_identifiers; end
|
285
|
+
def self.all_data_zones; end
|
286
|
+
def self.all_identifiers; end
|
287
|
+
def self.all_linked_zone_identifiers; end
|
288
|
+
def self.all_linked_zones; end
|
289
|
+
def self.data_source; end
|
290
|
+
def self.default_dst; end
|
291
|
+
def self.default_dst=(value); end
|
292
|
+
def self.get(identifier); end
|
293
|
+
def self.get_proxies(identifiers); end
|
294
|
+
def self.get_proxy(identifier); end
|
295
|
+
def self.init_loaded_zones; end
|
296
|
+
def self.new(identifier = nil); end
|
297
|
+
def self.us_zone_identifiers; end
|
298
|
+
def self.us_zones; end
|
299
|
+
def strftime(format, utc = nil); end
|
300
|
+
def to_s; end
|
301
|
+
def transitions_up_to(utc_to, utc_from = nil); end
|
302
|
+
def utc_to_local(utc); end
|
303
|
+
include Comparable
|
304
|
+
end
|
305
|
+
class TZInfo::InfoTimezone < TZInfo::Timezone
|
306
|
+
def identifier; end
|
307
|
+
def info; end
|
308
|
+
def self.new(info); end
|
309
|
+
def setup(info); end
|
310
|
+
end
|
311
|
+
class TZInfo::DataTimezone < TZInfo::InfoTimezone
|
312
|
+
def canonical_zone; end
|
313
|
+
def period_for_utc(utc); end
|
314
|
+
def periods_for_local(local); end
|
315
|
+
def transitions_up_to(utc_to, utc_from = nil); end
|
316
|
+
end
|
317
|
+
class TZInfo::LinkedTimezone < TZInfo::InfoTimezone
|
318
|
+
def canonical_zone; end
|
319
|
+
def period_for_utc(utc); end
|
320
|
+
def periods_for_local(local); end
|
321
|
+
def setup(info); end
|
322
|
+
def transitions_up_to(utc_to, utc_from = nil); end
|
323
|
+
end
|
324
|
+
class TZInfo::TimezoneProxy < TZInfo::Timezone
|
325
|
+
def _dump(limit); end
|
326
|
+
def canonical_zone; end
|
327
|
+
def identifier; end
|
328
|
+
def period_for_utc(utc); end
|
329
|
+
def periods_for_local(local); end
|
330
|
+
def real_timezone; end
|
331
|
+
def self._load(data); end
|
332
|
+
def self.new(identifier); end
|
333
|
+
def setup(identifier); end
|
334
|
+
def transitions_up_to(to, from = nil); end
|
335
|
+
end
|
336
|
+
module TZInfo::CountryIndexDefinition
|
337
|
+
def self.append_features(base); end
|
338
|
+
end
|
339
|
+
module TZInfo::CountryIndexDefinition::ClassMethods
|
340
|
+
def countries; end
|
341
|
+
def country(code, name, &block); end
|
342
|
+
end
|
343
|
+
class TZInfo::CountryInfo
|
344
|
+
def code; end
|
345
|
+
def initialize(code, name); end
|
346
|
+
def inspect; end
|
347
|
+
def name; end
|
348
|
+
def raise_not_implemented(method_name); end
|
349
|
+
def zone_identifiers; end
|
350
|
+
def zones; end
|
351
|
+
end
|
352
|
+
class TZInfo::RubyCountryInfo < TZInfo::CountryInfo
|
353
|
+
def initialize(code, name, &block); end
|
354
|
+
def zone_identifiers; end
|
355
|
+
def zones; end
|
356
|
+
end
|
357
|
+
class TZInfo::RubyCountryInfo::Zones
|
358
|
+
def initialize; end
|
359
|
+
def list; end
|
360
|
+
def timezone(identifier, latitude_numerator, latitude_denominator, longitude_numerator, longitude_denominator, description = nil); end
|
361
|
+
end
|
362
|
+
class TZInfo::ZoneinfoCountryInfo < TZInfo::CountryInfo
|
363
|
+
def initialize(code, name, zones); end
|
364
|
+
def zone_identifiers; end
|
365
|
+
def zones; end
|
366
|
+
end
|
367
|
+
class TZInfo::InvalidCountryCode < StandardError
|
368
|
+
end
|
369
|
+
class TZInfo::Country
|
370
|
+
def <=>(c); end
|
371
|
+
def _dump(limit); end
|
372
|
+
def code; end
|
373
|
+
def eql?(c); end
|
374
|
+
def hash; end
|
375
|
+
def inspect; end
|
376
|
+
def name; end
|
377
|
+
def self._load(data); end
|
378
|
+
def self.all; end
|
379
|
+
def self.all_codes; end
|
380
|
+
def self.data_source; end
|
381
|
+
def self.get(identifier); end
|
382
|
+
def self.init_countries; end
|
383
|
+
def self.new(identifier); end
|
384
|
+
def setup(info); end
|
385
|
+
def to_s; end
|
386
|
+
def zone_identifiers; end
|
387
|
+
def zone_info; end
|
388
|
+
def zone_names; end
|
389
|
+
def zones; end
|
390
|
+
include Comparable
|
391
|
+
end
|
392
|
+
class TZInfo::CountryTimezone
|
393
|
+
def ==(ct); end
|
394
|
+
def description; end
|
395
|
+
def description_or_friendly_identifier; end
|
396
|
+
def eql?(ct); end
|
397
|
+
def hash; end
|
398
|
+
def identifier; end
|
399
|
+
def initialize(identifier, latitude_numerator, latitude_denominator, longitude_numerator, longitude_denominator, description = nil); end
|
400
|
+
def inspect; end
|
401
|
+
def latitude; end
|
402
|
+
def longitude; end
|
403
|
+
def self.new!(*arg0); end
|
404
|
+
def self.new(identifier, latitude, longitude, description = nil); end
|
405
|
+
def timezone; end
|
406
|
+
end
|
@@ -0,0 +1,532 @@
|
|
1
|
+
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
+
# srb rbi gems
|
3
|
+
|
4
|
+
# typed: true
|
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.8.3
|
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(&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.print_executed_requests; end
|
34
|
+
def self.registered_request?(request_signature); end
|
35
|
+
def self.request(method, uri); end
|
36
|
+
def self.reset!; end
|
37
|
+
def self.reset_callbacks; end
|
38
|
+
def self.reset_webmock; end
|
39
|
+
def self.show_body_diff!; end
|
40
|
+
def self.show_body_diff?; end
|
41
|
+
def self.show_stubbing_instructions!; end
|
42
|
+
def self.show_stubbing_instructions?; end
|
43
|
+
def self.version; end
|
44
|
+
extend WebMock::API
|
45
|
+
include WebMock::API
|
46
|
+
end
|
47
|
+
class WebMock::Deprecation
|
48
|
+
def self.warning(message); end
|
49
|
+
end
|
50
|
+
class WebMock::NetConnectNotAllowedError < Exception
|
51
|
+
def initialize(request_signature); end
|
52
|
+
end
|
53
|
+
module WebMock::Util
|
54
|
+
end
|
55
|
+
class WebMock::Util::QueryMapper
|
56
|
+
def self.collect_query_hash(query_array, empty_accumulator, options); end
|
57
|
+
def self.collect_query_parts(query); end
|
58
|
+
def self.dehash(hash); end
|
59
|
+
def self.fill_accumulator_for_dot(accumulator, key, value); end
|
60
|
+
def self.fill_accumulator_for_flat(accumulator, key, value); end
|
61
|
+
def self.fill_accumulator_for_flat_array(accumulator, key, value); end
|
62
|
+
def self.fill_accumulator_for_subscript(accumulator, key, value); end
|
63
|
+
def self.normalize_query_hash(query_hash, empty_accumulator, options); end
|
64
|
+
def self.query_to_values(query, options = nil); end
|
65
|
+
def self.to_query(parent, value, options = nil); end
|
66
|
+
def self.values_to_query(new_query_values, options = nil); end
|
67
|
+
end
|
68
|
+
class WebMock::Util::URI
|
69
|
+
def self.encode_unsafe_chars_in_userinfo(userinfo); end
|
70
|
+
def self.heuristic_parse(uri); end
|
71
|
+
def self.is_uri_localhost?(uri); end
|
72
|
+
def self.normalize_uri(uri); end
|
73
|
+
def self.sort_query_values(query_values); end
|
74
|
+
def self.strip_default_port_from_uri_string(uri_string); end
|
75
|
+
def self.uris_encoded_and_unencoded(uris); end
|
76
|
+
def self.uris_with_inferred_port_and_without(uris); end
|
77
|
+
def self.uris_with_scheme_and_without(uris); end
|
78
|
+
def self.uris_with_trailing_slash_and_without(uris); end
|
79
|
+
def self.variations_of_uri_as_strings(uri_object, only_with_scheme: nil); end
|
80
|
+
end
|
81
|
+
module WebMock::Util::URI::CharacterClasses
|
82
|
+
end
|
83
|
+
class WebMock::Util::Headers
|
84
|
+
def self.basic_auth_header(*credentials); end
|
85
|
+
def self.decode_userinfo_from_header(header); end
|
86
|
+
def self.normalize_headers(headers); end
|
87
|
+
def self.pp_headers_string(headers); end
|
88
|
+
def self.sorted_headers_string(headers); end
|
89
|
+
end
|
90
|
+
class WebMock::Util::HashCounter
|
91
|
+
def each(&block); end
|
92
|
+
def get(key); end
|
93
|
+
def hash; end
|
94
|
+
def hash=(arg0); end
|
95
|
+
def initialize; end
|
96
|
+
def put(key, num = nil); end
|
97
|
+
def select(&block); end
|
98
|
+
end
|
99
|
+
class WebMock::Util::HashKeysStringifier
|
100
|
+
def self.stringify_keys!(arg, options = nil); end
|
101
|
+
end
|
102
|
+
class WebMock::Util::ValuesStringifier
|
103
|
+
def self.stringify_values(value); end
|
104
|
+
end
|
105
|
+
class WebMock::Util::JSON
|
106
|
+
def self.convert_json_to_yaml(json); end
|
107
|
+
def self.parse(json); end
|
108
|
+
def self.unescape(str); end
|
109
|
+
end
|
110
|
+
class WebMock::Util::JSON::ParseError < StandardError
|
111
|
+
end
|
112
|
+
class WebMock::VersionChecker
|
113
|
+
def check_version!; end
|
114
|
+
def colorize(text, color_code); end
|
115
|
+
def compare_version; end
|
116
|
+
def initialize(library_name, library_version, min_patch_level, max_minor_version = nil, unsupported_versions = nil); end
|
117
|
+
def parse_version(version); end
|
118
|
+
def too_high?; end
|
119
|
+
def too_low?; end
|
120
|
+
def unsupported_version?; end
|
121
|
+
def version_requirement; end
|
122
|
+
def warn_about_too_high; end
|
123
|
+
def warn_about_too_low; end
|
124
|
+
def warn_about_unsupported_version; end
|
125
|
+
def warn_in_red(text); end
|
126
|
+
end
|
127
|
+
class WebMock::HashValidator
|
128
|
+
def initialize(hash); end
|
129
|
+
def validate_keys(*valid_keys); end
|
130
|
+
end
|
131
|
+
module WebMock::Matchers
|
132
|
+
def have_been_made; end
|
133
|
+
def have_been_requested; end
|
134
|
+
def have_not_been_made; end
|
135
|
+
def have_not_requested(method, uri); end
|
136
|
+
def have_requested(method, uri); end
|
137
|
+
end
|
138
|
+
class WebMock::Matchers::HashArgumentMatcher
|
139
|
+
def ==(_actual, &block); end
|
140
|
+
def initialize(expected); end
|
141
|
+
def self.from_rspec_matcher(matcher); end
|
142
|
+
end
|
143
|
+
class WebMock::Matchers::HashExcludingMatcher < WebMock::Matchers::HashArgumentMatcher
|
144
|
+
def ==(actual); end
|
145
|
+
def inspect; end
|
146
|
+
end
|
147
|
+
class WebMock::Matchers::HashIncludingMatcher < WebMock::Matchers::HashArgumentMatcher
|
148
|
+
def ==(actual); end
|
149
|
+
def inspect; end
|
150
|
+
end
|
151
|
+
class WebMock::Matchers::AnyArgMatcher
|
152
|
+
def ==(other); end
|
153
|
+
def initialize(ignore); end
|
154
|
+
end
|
155
|
+
module WebMock::RSpecMatcherDetector
|
156
|
+
def rSpecHashExcludingMatcher?(matcher); end
|
157
|
+
def rSpecHashIncludingMatcher?(matcher); end
|
158
|
+
end
|
159
|
+
class WebMock::RequestPattern
|
160
|
+
def assign_options(options); end
|
161
|
+
def body_pattern; end
|
162
|
+
def create_uri_pattern(uri); end
|
163
|
+
def headers_pattern; end
|
164
|
+
def initialize(method, uri, options = nil); end
|
165
|
+
def matches?(request_signature); end
|
166
|
+
def method_pattern; end
|
167
|
+
def set_basic_auth_as_headers!(options); end
|
168
|
+
def to_s; end
|
169
|
+
def uri_pattern; end
|
170
|
+
def validate_basic_auth!(basic_auth); end
|
171
|
+
def with(options = nil, &block); end
|
172
|
+
end
|
173
|
+
class WebMock::MethodPattern
|
174
|
+
def initialize(pattern); end
|
175
|
+
def matches?(method); end
|
176
|
+
def to_s; end
|
177
|
+
end
|
178
|
+
class WebMock::URIPattern
|
179
|
+
def add_query_params(query_params); end
|
180
|
+
def initialize(pattern); end
|
181
|
+
def to_s; end
|
182
|
+
include WebMock::RSpecMatcherDetector
|
183
|
+
end
|
184
|
+
class WebMock::URIRegexpPattern < WebMock::URIPattern
|
185
|
+
def matches?(uri); end
|
186
|
+
def to_s; end
|
187
|
+
end
|
188
|
+
class WebMock::URIAddressablePattern < WebMock::URIPattern
|
189
|
+
def add_query_params(query_params); end
|
190
|
+
def matches?(uri); end
|
191
|
+
def matches_with_variations?(uri); end
|
192
|
+
def to_s; end
|
193
|
+
end
|
194
|
+
class WebMock::URIStringPattern < WebMock::URIPattern
|
195
|
+
def add_query_params(query_params); end
|
196
|
+
def matches?(uri); end
|
197
|
+
def to_s; end
|
198
|
+
end
|
199
|
+
class WebMock::BodyPattern
|
200
|
+
def assert_non_multipart_body(content_type); end
|
201
|
+
def body_as_hash(body, content_type); end
|
202
|
+
def empty_string?(string); end
|
203
|
+
def initialize(pattern); end
|
204
|
+
def matches?(body, content_type = nil); end
|
205
|
+
def matching_body_hashes?(query_parameters, pattern, content_type); end
|
206
|
+
def normalize_hash(hash); end
|
207
|
+
def pattern; end
|
208
|
+
def to_s; end
|
209
|
+
def url_encoded_body?(content_type); end
|
210
|
+
include WebMock::RSpecMatcherDetector
|
211
|
+
end
|
212
|
+
class WebMock::HeadersPattern
|
213
|
+
def empty_headers?(headers); end
|
214
|
+
def initialize(pattern); end
|
215
|
+
def matches?(headers); end
|
216
|
+
def pp_to_s; end
|
217
|
+
def to_s; end
|
218
|
+
end
|
219
|
+
class WebMock::RequestSignature
|
220
|
+
def ==(other); end
|
221
|
+
def assign_options(options); end
|
222
|
+
def body; end
|
223
|
+
def body=(arg0); end
|
224
|
+
def eql?(other); end
|
225
|
+
def hash; end
|
226
|
+
def headers; end
|
227
|
+
def headers=(headers); end
|
228
|
+
def initialize(method, uri, options = nil); end
|
229
|
+
def json_headers?; end
|
230
|
+
def method; end
|
231
|
+
def method=(arg0); end
|
232
|
+
def to_s; end
|
233
|
+
def uri; end
|
234
|
+
def uri=(arg0); end
|
235
|
+
def url_encoded?; end
|
236
|
+
end
|
237
|
+
class WebMock::ResponsesSequence
|
238
|
+
def end?; end
|
239
|
+
def increase_position; end
|
240
|
+
def initialize(responses); end
|
241
|
+
def next_response; end
|
242
|
+
def times_to_repeat; end
|
243
|
+
def times_to_repeat=(arg0); end
|
244
|
+
end
|
245
|
+
class WebMock::RequestStub
|
246
|
+
def and_raise(*exceptions); end
|
247
|
+
def and_return(*response_hashes, &block); end
|
248
|
+
def and_timeout; end
|
249
|
+
def has_responses?; end
|
250
|
+
def initialize(method, uri); end
|
251
|
+
def matches?(request_signature); end
|
252
|
+
def request_pattern; end
|
253
|
+
def request_pattern=(arg0); end
|
254
|
+
def response; end
|
255
|
+
def self.from_request_signature(signature); end
|
256
|
+
def then; end
|
257
|
+
def times(number); end
|
258
|
+
def to_rack(app, options = nil); end
|
259
|
+
def to_raise(*exceptions); end
|
260
|
+
def to_return(*response_hashes, &block); end
|
261
|
+
def to_s; end
|
262
|
+
def to_timeout; end
|
263
|
+
def with(params = nil, &block); end
|
264
|
+
end
|
265
|
+
class WebMock::ResponseFactory
|
266
|
+
def self.response_for(options); end
|
267
|
+
end
|
268
|
+
class WebMock::Response
|
269
|
+
def ==(other); end
|
270
|
+
def assert_valid_body!; end
|
271
|
+
def body; end
|
272
|
+
def body=(body); end
|
273
|
+
def evaluate(request_signature); end
|
274
|
+
def exception; end
|
275
|
+
def exception=(exception); end
|
276
|
+
def headers; end
|
277
|
+
def headers=(headers); end
|
278
|
+
def initialize(options = nil); end
|
279
|
+
def options=(options); end
|
280
|
+
def raise_error_if_any; end
|
281
|
+
def read_raw_response(raw_response); end
|
282
|
+
def should_timeout; end
|
283
|
+
def status; end
|
284
|
+
def status=(status); end
|
285
|
+
def stringify_body!; end
|
286
|
+
end
|
287
|
+
class WebMock::Response::InvalidBody < StandardError
|
288
|
+
end
|
289
|
+
class WebMock::DynamicResponse < WebMock::Response
|
290
|
+
def evaluate(request_signature); end
|
291
|
+
def initialize(responder); end
|
292
|
+
def responder; end
|
293
|
+
def responder=(arg0); end
|
294
|
+
end
|
295
|
+
class WebMock::RackResponse < WebMock::Response
|
296
|
+
def body_from_rack_response(response); end
|
297
|
+
def build_rack_env(request); end
|
298
|
+
def evaluate(request); end
|
299
|
+
def initialize(app); end
|
300
|
+
def session; end
|
301
|
+
def session_options; end
|
302
|
+
end
|
303
|
+
class WebMock::StubRequestSnippet
|
304
|
+
def body_pattern; end
|
305
|
+
def initialize(request_stub); end
|
306
|
+
def to_s(with_response = nil); end
|
307
|
+
end
|
308
|
+
class WebMock::RequestSignatureSnippet
|
309
|
+
def add_body_diff(stub, text); end
|
310
|
+
def initialize(request_signature); end
|
311
|
+
def pretty_print_to_string(string_to_print); end
|
312
|
+
def request_params; end
|
313
|
+
def request_signature; end
|
314
|
+
def request_stub; end
|
315
|
+
def request_stubs; end
|
316
|
+
def signature_stub_body_diff(stub); end
|
317
|
+
def stubbing_instructions; end
|
318
|
+
end
|
319
|
+
class WebMock::RequestBodyDiff
|
320
|
+
def body_diff; end
|
321
|
+
def initialize(request_signature, request_stub); end
|
322
|
+
def parseable_json?(body_pattern); end
|
323
|
+
def request_signature; end
|
324
|
+
def request_signature_body_hash; end
|
325
|
+
def request_signature_diffable?; end
|
326
|
+
def request_signature_parseable_json?; end
|
327
|
+
def request_stub; end
|
328
|
+
def request_stub_body; end
|
329
|
+
def request_stub_body_hash; end
|
330
|
+
def request_stub_diffable?; end
|
331
|
+
def request_stub_parseable_json?; end
|
332
|
+
end
|
333
|
+
class WebMock::AssertionFailure
|
334
|
+
def self.error_class; end
|
335
|
+
def self.error_class=(arg0); end
|
336
|
+
def self.failure(message); end
|
337
|
+
end
|
338
|
+
class WebMock::RequestExecutionVerifier
|
339
|
+
def at_least_times_executed; end
|
340
|
+
def at_least_times_executed=(arg0); end
|
341
|
+
def at_most_times_executed; end
|
342
|
+
def at_most_times_executed=(arg0); end
|
343
|
+
def description; end
|
344
|
+
def does_not_match?; end
|
345
|
+
def expected_times_executed; end
|
346
|
+
def expected_times_executed=(arg0); end
|
347
|
+
def failure_message; end
|
348
|
+
def failure_message_phrase(is_negated = nil); end
|
349
|
+
def failure_message_when_negated; end
|
350
|
+
def initialize(request_pattern = nil, expected_times_executed = nil, at_least_times_executed = nil, at_most_times_executed = nil); end
|
351
|
+
def matches?; end
|
352
|
+
def quantity_phrase(is_negated = nil); end
|
353
|
+
def request_pattern; end
|
354
|
+
def request_pattern=(arg0); end
|
355
|
+
def self.executed_requests_message; end
|
356
|
+
def times(times); end
|
357
|
+
def times_executed; end
|
358
|
+
def times_executed=(arg0); end
|
359
|
+
end
|
360
|
+
class WebMock::Config
|
361
|
+
def allow; end
|
362
|
+
def allow=(arg0); end
|
363
|
+
def allow_localhost; end
|
364
|
+
def allow_localhost=(arg0); end
|
365
|
+
def allow_net_connect; end
|
366
|
+
def allow_net_connect=(arg0); end
|
367
|
+
def initialize; end
|
368
|
+
def net_http_connect_on_start; end
|
369
|
+
def net_http_connect_on_start=(arg0); end
|
370
|
+
def query_values_notation; end
|
371
|
+
def query_values_notation=(arg0); end
|
372
|
+
def self.allocate; end
|
373
|
+
def self.instance; end
|
374
|
+
def self.new(*arg0); end
|
375
|
+
def show_body_diff; end
|
376
|
+
def show_body_diff=(arg0); end
|
377
|
+
def show_stubbing_instructions; end
|
378
|
+
def show_stubbing_instructions=(arg0); end
|
379
|
+
extend Singleton::SingletonClassMethods
|
380
|
+
include Singleton
|
381
|
+
end
|
382
|
+
class WebMock::CallbackRegistry
|
383
|
+
def self.add_callback(options, block); end
|
384
|
+
def self.any_callbacks?; end
|
385
|
+
def self.callbacks; end
|
386
|
+
def self.invoke_callbacks(options, request_signature, response); end
|
387
|
+
def self.reset; end
|
388
|
+
end
|
389
|
+
class WebMock::RequestRegistry
|
390
|
+
def initialize; end
|
391
|
+
def requested_signatures; end
|
392
|
+
def requested_signatures=(arg0); end
|
393
|
+
def reset!; end
|
394
|
+
def self.allocate; end
|
395
|
+
def self.instance; end
|
396
|
+
def self.new(*arg0); end
|
397
|
+
def times_executed(request_pattern); end
|
398
|
+
def to_s; end
|
399
|
+
extend Singleton::SingletonClassMethods
|
400
|
+
include Singleton
|
401
|
+
end
|
402
|
+
class WebMock::StubRegistry
|
403
|
+
def evaluate_response_for_request(response, request_signature); end
|
404
|
+
def global_stubs; end
|
405
|
+
def initialize; end
|
406
|
+
def register_global_stub(&block); end
|
407
|
+
def register_request_stub(stub); end
|
408
|
+
def registered_request?(request_signature); end
|
409
|
+
def remove_request_stub(stub); end
|
410
|
+
def request_stub_for(request_signature); end
|
411
|
+
def request_stubs; end
|
412
|
+
def request_stubs=(arg0); end
|
413
|
+
def reset!; end
|
414
|
+
def response_for_request(request_signature); end
|
415
|
+
def self.allocate; end
|
416
|
+
def self.instance; end
|
417
|
+
def self.new(*arg0); end
|
418
|
+
extend Singleton::SingletonClassMethods
|
419
|
+
include Singleton
|
420
|
+
end
|
421
|
+
module WebMock::API
|
422
|
+
def a_request(method, uri); end
|
423
|
+
def anythingize_lonely_keys(*args); end
|
424
|
+
def assert_not_requested(*args, &block); end
|
425
|
+
def assert_request_not_requested(request, options = nil); end
|
426
|
+
def assert_request_requested(request, options = nil); end
|
427
|
+
def assert_requested(*args, &block); end
|
428
|
+
def convert_uri_method_and_options_to_request_and_options(method, uri, options, &block); end
|
429
|
+
def hash_excluding(*args); end
|
430
|
+
def hash_including(*args); end
|
431
|
+
def refute_requested(*args, &block); end
|
432
|
+
def remove_request_stub(stub); end
|
433
|
+
def reset_executed_requests!; end
|
434
|
+
def self.request(method, uri); end
|
435
|
+
def stub_http_request(method, uri); end
|
436
|
+
def stub_request(method, uri); end
|
437
|
+
extend WebMock::API
|
438
|
+
end
|
439
|
+
class WebMock::HttpLibAdapterRegistry
|
440
|
+
def each_adapter(&block); end
|
441
|
+
def http_lib_adapters; end
|
442
|
+
def http_lib_adapters=(arg0); end
|
443
|
+
def initialize; end
|
444
|
+
def register(lib, adapter); end
|
445
|
+
def self.allocate; end
|
446
|
+
def self.instance; end
|
447
|
+
def self.new(*arg0); end
|
448
|
+
extend Singleton::SingletonClassMethods
|
449
|
+
include Singleton
|
450
|
+
end
|
451
|
+
class WebMock::HttpLibAdapter
|
452
|
+
def self.adapter_for(lib); end
|
453
|
+
end
|
454
|
+
module Net
|
455
|
+
end
|
456
|
+
module Net::WebMockHTTPResponse
|
457
|
+
def read_body(dest = nil, &block); end
|
458
|
+
end
|
459
|
+
module WebMock::HttpLibAdapters
|
460
|
+
end
|
461
|
+
class WebMock::HttpLibAdapters::NetHttpAdapter < WebMock::HttpLibAdapter
|
462
|
+
def self.disable!; end
|
463
|
+
def self.enable!; end
|
464
|
+
end
|
465
|
+
class PatchedStringIO < StringIO
|
466
|
+
def orig_read_nonblock(*arg0); end
|
467
|
+
def read_nonblock(size, *args, **kwargs); end
|
468
|
+
end
|
469
|
+
class StubSocket
|
470
|
+
def close; end
|
471
|
+
def closed?; end
|
472
|
+
def continue_timeout; end
|
473
|
+
def continue_timeout=(arg0); end
|
474
|
+
def initialize(*args); end
|
475
|
+
def read_timeout; end
|
476
|
+
def read_timeout=(arg0); end
|
477
|
+
def readuntil(*args); end
|
478
|
+
def write_timeout; end
|
479
|
+
def write_timeout=(arg0); end
|
480
|
+
end
|
481
|
+
class Net::WebMockNetBufferedIO < Net::BufferedIO
|
482
|
+
def initialize(io, *args, **kwargs); end
|
483
|
+
def rbuf_fill; end
|
484
|
+
end
|
485
|
+
module WebMock::NetHTTPUtility
|
486
|
+
def self.check_right_http_connection; end
|
487
|
+
def self.puts_warning_for_right_http_if_needed; end
|
488
|
+
def self.request_signature_from_request(net_http, request, body = nil); end
|
489
|
+
def self.validate_headers(headers); end
|
490
|
+
end
|
491
|
+
class WebMock::RequestPatternMatcher
|
492
|
+
def at_least_once; end
|
493
|
+
def at_least_times(times); end
|
494
|
+
def at_least_twice; end
|
495
|
+
def at_most_once; end
|
496
|
+
def at_most_times(times); end
|
497
|
+
def at_most_twice; end
|
498
|
+
def description; end
|
499
|
+
def does_not_match?(request_pattern); end
|
500
|
+
def failure_message; end
|
501
|
+
def failure_message_when_negated; end
|
502
|
+
def initialize; end
|
503
|
+
def matches?(request_pattern); end
|
504
|
+
def negative_failure_message; end
|
505
|
+
def once; end
|
506
|
+
def times(times); end
|
507
|
+
def twice; end
|
508
|
+
end
|
509
|
+
class WebMock::WebMockMatcher
|
510
|
+
def at_least_once; end
|
511
|
+
def at_least_times(times); end
|
512
|
+
def at_least_twice; end
|
513
|
+
def description; end
|
514
|
+
def does_not_match?(webmock); end
|
515
|
+
def failure_message; end
|
516
|
+
def failure_message_when_negated; end
|
517
|
+
def initialize(method, uri); end
|
518
|
+
def matches?(webmock); end
|
519
|
+
def negative_failure_message; end
|
520
|
+
def once; end
|
521
|
+
def times(times); end
|
522
|
+
def twice; end
|
523
|
+
def with(options = nil, &block); end
|
524
|
+
end
|
525
|
+
class RSpec::ExampleGroups::SetsuzokuPluginMobilePlugin < RSpec::Core::ExampleGroup
|
526
|
+
include WebMock::API
|
527
|
+
include WebMock::Matchers
|
528
|
+
end
|
529
|
+
class RSpec::ExampleGroups::Setsuzoku < RSpec::Core::ExampleGroup
|
530
|
+
include WebMock::API
|
531
|
+
include WebMock::Matchers
|
532
|
+
end
|