bungie_sdk 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +14 -0
- data/.rspec +3 -0
- data/.rubocop.yml +147 -0
- data/.solargraph.yml +23 -0
- data/.travis.yml +6 -0
- data/.vim/coc-settings.json +12 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +19 -0
- data/Gemfile.lock +133 -0
- data/LICENSE.txt +21 -0
- data/README.md +56 -0
- data/Rakefile +6 -0
- data/bin/console +15 -0
- data/bin/setup +8 -0
- data/bin/tapioca +29 -0
- data/bungie_sdk.gemspec +35 -0
- data/lib/bungie_sdk/agent.rb +166 -0
- data/lib/bungie_sdk/character.rb +82 -0
- data/lib/bungie_sdk/client.rb +72 -0
- data/lib/bungie_sdk/item.rb +83 -0
- data/lib/bungie_sdk/membership.rb +30 -0
- data/lib/bungie_sdk/profile.rb +36 -0
- data/lib/bungie_sdk/token_manager.rb +136 -0
- data/lib/bungie_sdk/vendor.rb +64 -0
- data/lib/bungie_sdk/version.rb +4 -0
- data/lib/bungie_sdk.rb +104 -0
- data/sorbet/config +3 -0
- data/sorbet/rbi/gems/addressable.rbi +151 -0
- data/sorbet/rbi/gems/addressable@2.8.0.rbi +224 -0
- data/sorbet/rbi/gems/ast@2.4.2.rbi +54 -0
- data/sorbet/rbi/gems/bungie_sdk.rbi +15 -0
- data/sorbet/rbi/gems/coderay.rbi +285 -0
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +1005 -0
- data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +185 -0
- data/sorbet/rbi/gems/dotenv.rbi +68 -0
- data/sorbet/rbi/gems/dotenv@2.7.6.rbi +88 -0
- data/sorbet/rbi/gems/ethon.rbi +716 -0
- data/sorbet/rbi/gems/ethon@0.15.0.rbi +883 -0
- data/sorbet/rbi/gems/faraday-net_http.rbi +33 -0
- data/sorbet/rbi/gems/faraday-net_http@2.0.1.rbi +78 -0
- data/sorbet/rbi/gems/faraday.rbi +696 -0
- data/sorbet/rbi/gems/faraday@2.2.0.rbi +685 -0
- data/sorbet/rbi/gems/ffi.rbi +560 -0
- data/sorbet/rbi/gems/ffi@1.15.5.rbi +849 -0
- data/sorbet/rbi/gems/gem-release.rbi +582 -0
- data/sorbet/rbi/gems/gem-release@2.2.2.rbi +644 -0
- data/sorbet/rbi/gems/hashie.rbi +160 -0
- data/sorbet/rbi/gems/jwt.rbi +274 -0
- data/sorbet/rbi/gems/jwt@2.3.0.rbi +437 -0
- data/sorbet/rbi/gems/launchy.rbi +226 -0
- data/sorbet/rbi/gems/launchy@2.5.0.rbi +327 -0
- data/sorbet/rbi/gems/method_source.rbi +64 -0
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +72 -0
- data/sorbet/rbi/gems/multi_json.rbi +62 -0
- data/sorbet/rbi/gems/multi_json@1.15.0.rbi +96 -0
- data/sorbet/rbi/gems/multi_xml.rbi +35 -0
- data/sorbet/rbi/gems/multi_xml@0.6.0.rbi +36 -0
- data/sorbet/rbi/gems/oauth2.rbi +143 -0
- data/sorbet/rbi/gems/oauth2@1.4.9.rbi +181 -0
- data/sorbet/rbi/gems/parallel@1.22.1.rbi +8 -0
- data/sorbet/rbi/gems/parser@3.1.1.0.rbi +1196 -0
- data/sorbet/rbi/gems/pry.rbi +1898 -0
- data/sorbet/rbi/gems/pry@0.14.1.rbi +2486 -0
- data/sorbet/rbi/gems/public_suffix.rbi +104 -0
- data/sorbet/rbi/gems/public_suffix@4.0.6.rbi +145 -0
- data/sorbet/rbi/gems/rack.rbi +21 -0
- data/sorbet/rbi/gems/rack@2.2.3.rbi +1622 -0
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +8 -0
- data/sorbet/rbi/gems/rake.rbi +644 -0
- data/sorbet/rbi/gems/rake@12.3.3.rbi +804 -0
- data/sorbet/rbi/gems/rbi@0.0.14.rbi +2073 -0
- data/sorbet/rbi/gems/regexp_parser@2.3.0.rbi +8 -0
- data/sorbet/rbi/gems/rexml@3.2.5.rbi +672 -0
- data/sorbet/rbi/gems/rspec-core.rbi +1898 -0
- data/sorbet/rbi/gems/rspec-core@3.11.0.rbi +2468 -0
- data/sorbet/rbi/gems/rspec-expectations.rbi +1171 -0
- data/sorbet/rbi/gems/rspec-expectations@3.11.0.rbi +1634 -0
- data/sorbet/rbi/gems/rspec-mocks.rbi +1094 -0
- data/sorbet/rbi/gems/rspec-mocks@3.11.1.rbi +1497 -0
- data/sorbet/rbi/gems/rspec-support.rbi +280 -0
- data/sorbet/rbi/gems/rspec-support@3.11.0.rbi +511 -0
- data/sorbet/rbi/gems/rspec.rbi +15 -0
- data/sorbet/rbi/gems/rspec@3.11.0.rbi +40 -0
- data/sorbet/rbi/gems/rubocop-ast@1.17.0.rbi +8 -0
- data/sorbet/rbi/gems/rubocop-sorbet@0.6.7.rbi +8 -0
- data/sorbet/rbi/gems/rubocop@1.27.0.rbi +8 -0
- data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +8 -0
- data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +8 -0
- data/sorbet/rbi/gems/spoom@1.1.11.rbi +1445 -0
- data/sorbet/rbi/gems/tapioca@0.7.1.rbi +1677 -0
- data/sorbet/rbi/gems/thor@1.2.1.rbi +844 -0
- data/sorbet/rbi/gems/typhoeus.rbi +301 -0
- data/sorbet/rbi/gems/typhoeus@1.4.0.rbi +450 -0
- data/sorbet/rbi/gems/unicode-display_width@2.1.0.rbi +8 -0
- data/sorbet/rbi/gems/unparser@0.6.4.rbi +8 -0
- data/sorbet/rbi/gems/webrick@1.7.0.rbi +601 -0
- data/sorbet/rbi/gems/yard-sorbet@0.6.1.rbi +235 -0
- data/sorbet/rbi/gems/yard@0.9.27.rbi +3966 -0
- data/sorbet/rbi/hidden-definitions/errors.txt +4013 -0
- data/sorbet/rbi/hidden-definitions/hidden.rbi +8945 -0
- data/sorbet/rbi/sorbet-typed/lib/faraday/all/faraday.rbi +82 -0
- data/sorbet/rbi/sorbet-typed/lib/rake/all/rake.rbi +645 -0
- data/sorbet/rbi/sorbet-typed/lib/rspec-core/all/rspec-core.rbi +24 -0
- data/sorbet/rbi/todo.rbi +8 -0
- data/sorbet/tapioca/config.yml +13 -0
- data/sorbet/tapioca/require.rb +4 -0
- metadata +236 -0
@@ -0,0 +1,511 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `rspec-support` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem rspec-support`.
|
6
|
+
|
7
|
+
module RSpec
|
8
|
+
extend ::RSpec::Support::Warnings
|
9
|
+
extend ::RSpec::Core::Warnings
|
10
|
+
|
11
|
+
class << self
|
12
|
+
def clear_examples; end
|
13
|
+
def configuration; end
|
14
|
+
def configuration=(_arg0); end
|
15
|
+
def configure; end
|
16
|
+
def const_missing(name); end
|
17
|
+
def context(*args, &example_group_block); end
|
18
|
+
def current_example; end
|
19
|
+
def current_example=(example); end
|
20
|
+
def current_scope; end
|
21
|
+
def current_scope=(scope); end
|
22
|
+
def describe(*args, &example_group_block); end
|
23
|
+
def example_group(*args, &example_group_block); end
|
24
|
+
def fcontext(*args, &example_group_block); end
|
25
|
+
def fdescribe(*args, &example_group_block); end
|
26
|
+
def reset; end
|
27
|
+
def shared_context(name, *args, &block); end
|
28
|
+
def shared_examples(name, *args, &block); end
|
29
|
+
def shared_examples_for(name, *args, &block); end
|
30
|
+
def world; end
|
31
|
+
def world=(_arg0); end
|
32
|
+
def xcontext(*args, &example_group_block); end
|
33
|
+
def xdescribe(*args, &example_group_block); end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
class RSpec::CallerFilter
|
38
|
+
class << self
|
39
|
+
def first_non_rspec_line(skip_frames = T.unsafe(nil), increment = T.unsafe(nil)); end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
RSpec::CallerFilter::ADDITIONAL_TOP_LEVEL_FILES = T.let(T.unsafe(nil), Array)
|
44
|
+
RSpec::CallerFilter::IGNORE_REGEX = T.let(T.unsafe(nil), Regexp)
|
45
|
+
RSpec::CallerFilter::LIB_REGEX = T.let(T.unsafe(nil), Regexp)
|
46
|
+
RSpec::CallerFilter::RSPEC_LIBS = T.let(T.unsafe(nil), Array)
|
47
|
+
RSpec::MODULES_TO_AUTOLOAD = T.let(T.unsafe(nil), Hash)
|
48
|
+
RSpec::SharedContext = RSpec::Core::SharedContext
|
49
|
+
|
50
|
+
module RSpec::Support
|
51
|
+
class << self
|
52
|
+
def class_of(object); end
|
53
|
+
def define_optimized_require_for_rspec(lib, &require_relative); end
|
54
|
+
def deregister_matcher_definition(&block); end
|
55
|
+
def failure_notifier; end
|
56
|
+
def failure_notifier=(callable); end
|
57
|
+
def is_a_matcher?(object); end
|
58
|
+
def matcher_definitions; end
|
59
|
+
def method_handle_for(object, method_name); end
|
60
|
+
def notify_failure(failure, options = T.unsafe(nil)); end
|
61
|
+
def register_matcher_definition(&block); end
|
62
|
+
def require_rspec_core(f); end
|
63
|
+
def require_rspec_expectations(f); end
|
64
|
+
def require_rspec_matchers(f); end
|
65
|
+
def require_rspec_mocks(f); end
|
66
|
+
def require_rspec_support(f); end
|
67
|
+
def rspec_description_for_object(object); end
|
68
|
+
def thread_local_data; end
|
69
|
+
def warning_notifier; end
|
70
|
+
def warning_notifier=(_arg0); end
|
71
|
+
def with_failure_notifier(callable); end
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
module RSpec::Support::AllExceptionsExceptOnesWeMustNotRescue
|
76
|
+
class << self
|
77
|
+
def ===(exception); end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
RSpec::Support::AllExceptionsExceptOnesWeMustNotRescue::AVOID_RESCUING = T.let(T.unsafe(nil), Array)
|
82
|
+
|
83
|
+
class RSpec::Support::BlockSignature < ::RSpec::Support::MethodSignature
|
84
|
+
def classify_parameters; end
|
85
|
+
end
|
86
|
+
|
87
|
+
class RSpec::Support::ComparableVersion
|
88
|
+
include ::Comparable
|
89
|
+
|
90
|
+
def initialize(string); end
|
91
|
+
|
92
|
+
def <=>(other); end
|
93
|
+
def segments; end
|
94
|
+
def string; end
|
95
|
+
end
|
96
|
+
|
97
|
+
RSpec::Support::DEFAULT_FAILURE_NOTIFIER = T.let(T.unsafe(nil), Proc)
|
98
|
+
RSpec::Support::DEFAULT_WARNING_NOTIFIER = T.let(T.unsafe(nil), Proc)
|
99
|
+
|
100
|
+
class RSpec::Support::Differ
|
101
|
+
def initialize(opts = T.unsafe(nil)); end
|
102
|
+
|
103
|
+
def color?; end
|
104
|
+
def diff(actual, expected); end
|
105
|
+
def diff_as_object(actual, expected); end
|
106
|
+
def diff_as_string(actual, expected); end
|
107
|
+
|
108
|
+
private
|
109
|
+
|
110
|
+
def add_old_hunk_to_hunk(hunk, oldhunk); end
|
111
|
+
def add_to_output(output, string); end
|
112
|
+
def all_strings?(*args); end
|
113
|
+
def any_multiline_strings?(*args); end
|
114
|
+
def blue(text); end
|
115
|
+
def build_hunks(actual, expected); end
|
116
|
+
def coerce_to_string(string_or_array); end
|
117
|
+
def color(text, color_code); end
|
118
|
+
def color_diff(diff); end
|
119
|
+
def diffably_stringify(array); end
|
120
|
+
def finalize_output(output, final_line); end
|
121
|
+
def format_type; end
|
122
|
+
def green(text); end
|
123
|
+
def handle_encoding_errors(actual, expected); end
|
124
|
+
def hash_to_string(hash); end
|
125
|
+
def multiline?(string); end
|
126
|
+
def no_numbers?(*args); end
|
127
|
+
def no_procs?(*args); end
|
128
|
+
def normal(text); end
|
129
|
+
def object_to_string(object); end
|
130
|
+
def red(text); end
|
131
|
+
def safely_flatten(array); end
|
132
|
+
end
|
133
|
+
|
134
|
+
class RSpec::Support::DirectoryMaker
|
135
|
+
class << self
|
136
|
+
def mkdir_p(path); end
|
137
|
+
|
138
|
+
private
|
139
|
+
|
140
|
+
def directory_exists?(dirname); end
|
141
|
+
def generate_path(stack, part); end
|
142
|
+
def generate_stack(path); end
|
143
|
+
end
|
144
|
+
end
|
145
|
+
|
146
|
+
class RSpec::Support::EncodedString
|
147
|
+
def initialize(string, encoding = T.unsafe(nil)); end
|
148
|
+
|
149
|
+
def <<(string); end
|
150
|
+
def ==(*args, &block); end
|
151
|
+
def empty?(*args, &block); end
|
152
|
+
def encoding(*args, &block); end
|
153
|
+
def eql?(*args, &block); end
|
154
|
+
def lines(*args, &block); end
|
155
|
+
def source_encoding; end
|
156
|
+
def split(regex_or_string); end
|
157
|
+
def to_s; end
|
158
|
+
def to_str; end
|
159
|
+
|
160
|
+
private
|
161
|
+
|
162
|
+
def detect_source_encoding(string); end
|
163
|
+
def matching_encoding(string); end
|
164
|
+
def remove_invalid_bytes(string); end
|
165
|
+
|
166
|
+
class << self
|
167
|
+
def pick_encoding(source_a, source_b); end
|
168
|
+
end
|
169
|
+
end
|
170
|
+
|
171
|
+
RSpec::Support::EncodedString::REPLACE = T.let(T.unsafe(nil), String)
|
172
|
+
RSpec::Support::EncodedString::US_ASCII = T.let(T.unsafe(nil), String)
|
173
|
+
RSpec::Support::EncodedString::UTF_8 = T.let(T.unsafe(nil), String)
|
174
|
+
|
175
|
+
module RSpec::Support::FuzzyMatcher
|
176
|
+
class << self
|
177
|
+
def values_match?(expected, actual); end
|
178
|
+
|
179
|
+
private
|
180
|
+
|
181
|
+
def arrays_match?(expected_list, actual_list); end
|
182
|
+
def hashes_match?(expected_hash, actual_hash); end
|
183
|
+
end
|
184
|
+
end
|
185
|
+
|
186
|
+
class RSpec::Support::HunkGenerator
|
187
|
+
def initialize(actual, expected); end
|
188
|
+
|
189
|
+
def hunks; end
|
190
|
+
|
191
|
+
private
|
192
|
+
|
193
|
+
def actual_lines; end
|
194
|
+
def build_hunk(piece); end
|
195
|
+
def context_lines; end
|
196
|
+
def diffs; end
|
197
|
+
def expected_lines; end
|
198
|
+
end
|
199
|
+
|
200
|
+
RSpec::Support::KERNEL_METHOD_METHOD = T.let(T.unsafe(nil), UnboundMethod)
|
201
|
+
|
202
|
+
class RSpec::Support::LooseSignatureVerifier < ::RSpec::Support::MethodSignatureVerifier
|
203
|
+
private
|
204
|
+
|
205
|
+
def split_args(*args); end
|
206
|
+
end
|
207
|
+
|
208
|
+
class RSpec::Support::LooseSignatureVerifier::SignatureWithKeywordArgumentsMatcher
|
209
|
+
def initialize(signature); end
|
210
|
+
|
211
|
+
def has_kw_args_in?(args); end
|
212
|
+
def invalid_kw_args_from(_kw_args); end
|
213
|
+
def missing_kw_args_from(_kw_args); end
|
214
|
+
def non_kw_args_arity_description; end
|
215
|
+
def valid_non_kw_args?(*args); end
|
216
|
+
end
|
217
|
+
|
218
|
+
class RSpec::Support::MethodSignature
|
219
|
+
def initialize(method); end
|
220
|
+
|
221
|
+
def arbitrary_kw_args?; end
|
222
|
+
def classify_arity(arity = T.unsafe(nil)); end
|
223
|
+
def classify_parameters; end
|
224
|
+
def could_contain_kw_args?(args); end
|
225
|
+
def description; end
|
226
|
+
def has_kw_args_in?(args); end
|
227
|
+
def invalid_kw_args_from(given_kw_args); end
|
228
|
+
def max_non_kw_args; end
|
229
|
+
def min_non_kw_args; end
|
230
|
+
def missing_kw_args_from(given_kw_args); end
|
231
|
+
def non_kw_args_arity_description; end
|
232
|
+
def optional_kw_args; end
|
233
|
+
def required_kw_args; end
|
234
|
+
def unlimited_args?; end
|
235
|
+
def valid_non_kw_args?(positional_arg_count, optional_max_arg_count = T.unsafe(nil)); end
|
236
|
+
end
|
237
|
+
|
238
|
+
RSpec::Support::MethodSignature::INFINITY = T.let(T.unsafe(nil), Float)
|
239
|
+
|
240
|
+
class RSpec::Support::MethodSignatureExpectation
|
241
|
+
def initialize; end
|
242
|
+
|
243
|
+
def empty?; end
|
244
|
+
def expect_arbitrary_keywords; end
|
245
|
+
def expect_arbitrary_keywords=(_arg0); end
|
246
|
+
def expect_unlimited_arguments; end
|
247
|
+
def expect_unlimited_arguments=(_arg0); end
|
248
|
+
def keywords; end
|
249
|
+
def keywords=(values); end
|
250
|
+
def max_count; end
|
251
|
+
def max_count=(number); end
|
252
|
+
def min_count; end
|
253
|
+
def min_count=(number); end
|
254
|
+
end
|
255
|
+
|
256
|
+
class RSpec::Support::MethodSignatureVerifier
|
257
|
+
def initialize(signature, args = T.unsafe(nil)); end
|
258
|
+
|
259
|
+
def error_message; end
|
260
|
+
def kw_args; end
|
261
|
+
def max_non_kw_args; end
|
262
|
+
def min_non_kw_args; end
|
263
|
+
def non_kw_args; end
|
264
|
+
def valid?; end
|
265
|
+
def with_expectation(expectation); end
|
266
|
+
|
267
|
+
private
|
268
|
+
|
269
|
+
def arbitrary_kw_args?; end
|
270
|
+
def invalid_kw_args; end
|
271
|
+
def missing_kw_args; end
|
272
|
+
def split_args(*args); end
|
273
|
+
def unlimited_args?; end
|
274
|
+
def valid_non_kw_args?; end
|
275
|
+
end
|
276
|
+
|
277
|
+
class RSpec::Support::Mutex < ::Thread::Mutex
|
278
|
+
class << self
|
279
|
+
def new; end
|
280
|
+
end
|
281
|
+
end
|
282
|
+
|
283
|
+
RSpec::Support::Mutex::NEW_MUTEX_METHOD = T.let(T.unsafe(nil), Method)
|
284
|
+
|
285
|
+
module RSpec::Support::OS
|
286
|
+
private
|
287
|
+
|
288
|
+
def windows?; end
|
289
|
+
def windows_file_path?; end
|
290
|
+
|
291
|
+
class << self
|
292
|
+
def windows?; end
|
293
|
+
def windows_file_path?; end
|
294
|
+
end
|
295
|
+
end
|
296
|
+
|
297
|
+
class RSpec::Support::ObjectFormatter
|
298
|
+
def initialize(max_formatted_output_length = T.unsafe(nil)); end
|
299
|
+
|
300
|
+
def format(object); end
|
301
|
+
def max_formatted_output_length; end
|
302
|
+
def max_formatted_output_length=(_arg0); end
|
303
|
+
def prepare_array(array); end
|
304
|
+
def prepare_element(element); end
|
305
|
+
def prepare_for_inspection(object); end
|
306
|
+
def prepare_hash(input_hash); end
|
307
|
+
def recursive_structure?(object); end
|
308
|
+
def sort_hash_keys(input_hash); end
|
309
|
+
def with_entering_structure(structure); end
|
310
|
+
|
311
|
+
private
|
312
|
+
|
313
|
+
def truncate_string(str, start_index, end_index); end
|
314
|
+
|
315
|
+
class << self
|
316
|
+
def default_instance; end
|
317
|
+
def format(object); end
|
318
|
+
def prepare_for_inspection(object); end
|
319
|
+
end
|
320
|
+
end
|
321
|
+
|
322
|
+
class RSpec::Support::ObjectFormatter::BaseInspector < ::Struct
|
323
|
+
def formatter; end
|
324
|
+
def formatter=(_); end
|
325
|
+
def inspect; end
|
326
|
+
def object; end
|
327
|
+
def object=(_); end
|
328
|
+
def pretty_print(pp); end
|
329
|
+
|
330
|
+
class << self
|
331
|
+
def [](*_arg0); end
|
332
|
+
def can_inspect?(_object); end
|
333
|
+
def inspect; end
|
334
|
+
def members; end
|
335
|
+
def new(*_arg0); end
|
336
|
+
end
|
337
|
+
end
|
338
|
+
|
339
|
+
class RSpec::Support::ObjectFormatter::BigDecimalInspector < ::RSpec::Support::ObjectFormatter::BaseInspector
|
340
|
+
def inspect; end
|
341
|
+
|
342
|
+
class << self
|
343
|
+
def can_inspect?(object); end
|
344
|
+
end
|
345
|
+
end
|
346
|
+
|
347
|
+
class RSpec::Support::ObjectFormatter::DateTimeInspector < ::RSpec::Support::ObjectFormatter::BaseInspector
|
348
|
+
def inspect; end
|
349
|
+
|
350
|
+
class << self
|
351
|
+
def can_inspect?(object); end
|
352
|
+
end
|
353
|
+
end
|
354
|
+
|
355
|
+
RSpec::Support::ObjectFormatter::DateTimeInspector::FORMAT = T.let(T.unsafe(nil), String)
|
356
|
+
|
357
|
+
class RSpec::Support::ObjectFormatter::DelegatorInspector < ::RSpec::Support::ObjectFormatter::BaseInspector
|
358
|
+
def inspect; end
|
359
|
+
|
360
|
+
class << self
|
361
|
+
def can_inspect?(object); end
|
362
|
+
end
|
363
|
+
end
|
364
|
+
|
365
|
+
class RSpec::Support::ObjectFormatter::DescribableMatcherInspector < ::RSpec::Support::ObjectFormatter::BaseInspector
|
366
|
+
def inspect; end
|
367
|
+
|
368
|
+
class << self
|
369
|
+
def can_inspect?(object); end
|
370
|
+
end
|
371
|
+
end
|
372
|
+
|
373
|
+
RSpec::Support::ObjectFormatter::ELLIPSIS = T.let(T.unsafe(nil), String)
|
374
|
+
RSpec::Support::ObjectFormatter::INSPECTOR_CLASSES = T.let(T.unsafe(nil), Array)
|
375
|
+
|
376
|
+
class RSpec::Support::ObjectFormatter::InspectableItem < ::Struct
|
377
|
+
def inspect; end
|
378
|
+
def pretty_print(pp); end
|
379
|
+
def text; end
|
380
|
+
def text=(_); end
|
381
|
+
|
382
|
+
class << self
|
383
|
+
def [](*_arg0); end
|
384
|
+
def inspect; end
|
385
|
+
def members; end
|
386
|
+
def new(*_arg0); end
|
387
|
+
end
|
388
|
+
end
|
389
|
+
|
390
|
+
class RSpec::Support::ObjectFormatter::InspectableObjectInspector < ::RSpec::Support::ObjectFormatter::BaseInspector
|
391
|
+
def inspect; end
|
392
|
+
|
393
|
+
class << self
|
394
|
+
def can_inspect?(object); end
|
395
|
+
end
|
396
|
+
end
|
397
|
+
|
398
|
+
class RSpec::Support::ObjectFormatter::TimeInspector < ::RSpec::Support::ObjectFormatter::BaseInspector
|
399
|
+
def inspect; end
|
400
|
+
|
401
|
+
class << self
|
402
|
+
def can_inspect?(object); end
|
403
|
+
end
|
404
|
+
end
|
405
|
+
|
406
|
+
RSpec::Support::ObjectFormatter::TimeInspector::FORMAT = T.let(T.unsafe(nil), String)
|
407
|
+
|
408
|
+
class RSpec::Support::ObjectFormatter::UninspectableObjectInspector < ::RSpec::Support::ObjectFormatter::BaseInspector
|
409
|
+
def inspect; end
|
410
|
+
def klass; end
|
411
|
+
def native_object_id; end
|
412
|
+
|
413
|
+
class << self
|
414
|
+
def can_inspect?(object); end
|
415
|
+
end
|
416
|
+
end
|
417
|
+
|
418
|
+
RSpec::Support::ObjectFormatter::UninspectableObjectInspector::OBJECT_ID_FORMAT = T.let(T.unsafe(nil), String)
|
419
|
+
|
420
|
+
module RSpec::Support::RecursiveConstMethods
|
421
|
+
def const_defined_on?(mod, const_name); end
|
422
|
+
def constants_defined_on(mod); end
|
423
|
+
def get_const_defined_on(mod, const_name); end
|
424
|
+
def normalize_const_name(const_name); end
|
425
|
+
def recursive_const_defined?(const_name); end
|
426
|
+
def recursive_const_get(const_name); end
|
427
|
+
end
|
428
|
+
|
429
|
+
class RSpec::Support::ReentrantMutex
|
430
|
+
def initialize; end
|
431
|
+
|
432
|
+
def synchronize; end
|
433
|
+
|
434
|
+
private
|
435
|
+
|
436
|
+
def enter; end
|
437
|
+
def exit; end
|
438
|
+
end
|
439
|
+
|
440
|
+
module RSpec::Support::Ruby
|
441
|
+
private
|
442
|
+
|
443
|
+
def jruby?; end
|
444
|
+
def jruby_9000?; end
|
445
|
+
def jruby_version; end
|
446
|
+
def mri?; end
|
447
|
+
def non_mri?; end
|
448
|
+
def rbx?; end
|
449
|
+
def truffleruby?; end
|
450
|
+
|
451
|
+
class << self
|
452
|
+
def jruby?; end
|
453
|
+
def jruby_9000?; end
|
454
|
+
def jruby_version; end
|
455
|
+
def mri?; end
|
456
|
+
def non_mri?; end
|
457
|
+
def rbx?; end
|
458
|
+
def truffleruby?; end
|
459
|
+
end
|
460
|
+
end
|
461
|
+
|
462
|
+
module RSpec::Support::RubyFeatures
|
463
|
+
private
|
464
|
+
|
465
|
+
def caller_locations_supported?; end
|
466
|
+
def fork_supported?; end
|
467
|
+
def kw_args_supported?; end
|
468
|
+
def module_prepends_supported?; end
|
469
|
+
def module_refinement_supported?; end
|
470
|
+
def optional_and_splat_args_supported?; end
|
471
|
+
def required_kw_args_supported?; end
|
472
|
+
def ripper_supported?; end
|
473
|
+
def supports_exception_cause?; end
|
474
|
+
def supports_rebinding_module_methods?; end
|
475
|
+
def supports_taint?; end
|
476
|
+
|
477
|
+
class << self
|
478
|
+
def caller_locations_supported?; end
|
479
|
+
def fork_supported?; end
|
480
|
+
def kw_args_supported?; end
|
481
|
+
def module_prepends_supported?; end
|
482
|
+
def module_refinement_supported?; end
|
483
|
+
def optional_and_splat_args_supported?; end
|
484
|
+
def required_kw_args_supported?; end
|
485
|
+
def ripper_supported?; end
|
486
|
+
def supports_exception_cause?; end
|
487
|
+
def supports_rebinding_module_methods?; end
|
488
|
+
def supports_taint?; end
|
489
|
+
end
|
490
|
+
end
|
491
|
+
|
492
|
+
RSpec::Support::StrictSignatureVerifier = RSpec::Support::MethodSignatureVerifier
|
493
|
+
module RSpec::Support::Version; end
|
494
|
+
RSpec::Support::Version::STRING = T.let(T.unsafe(nil), String)
|
495
|
+
|
496
|
+
module RSpec::Support::Warnings
|
497
|
+
def deprecate(deprecated, options = T.unsafe(nil)); end
|
498
|
+
def warn_deprecation(message, options = T.unsafe(nil)); end
|
499
|
+
def warn_with(message, options = T.unsafe(nil)); end
|
500
|
+
def warning(text, options = T.unsafe(nil)); end
|
501
|
+
end
|
502
|
+
|
503
|
+
module RSpec::Support::WithKeywordsWhenNeeded
|
504
|
+
private
|
505
|
+
|
506
|
+
def class_exec(klass, *args, &block); end
|
507
|
+
|
508
|
+
class << self
|
509
|
+
def class_exec(klass, *args, &block); end
|
510
|
+
end
|
511
|
+
end
|
@@ -0,0 +1,15 @@
|
|
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/rspec/all/rspec.rbi
|
9
|
+
#
|
10
|
+
# rspec-3.11.0
|
11
|
+
|
12
|
+
module RSpec
|
13
|
+
end
|
14
|
+
module RSpec::Version
|
15
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `rspec` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem rspec`.
|
6
|
+
|
7
|
+
module RSpec
|
8
|
+
extend ::RSpec::Support::Warnings
|
9
|
+
extend ::RSpec::Core::Warnings
|
10
|
+
|
11
|
+
class << self
|
12
|
+
def clear_examples; end
|
13
|
+
def configuration; end
|
14
|
+
def configuration=(_arg0); end
|
15
|
+
def configure; end
|
16
|
+
def const_missing(name); end
|
17
|
+
def context(*args, &example_group_block); end
|
18
|
+
def current_example; end
|
19
|
+
def current_example=(example); end
|
20
|
+
def current_scope; end
|
21
|
+
def current_scope=(scope); end
|
22
|
+
def describe(*args, &example_group_block); end
|
23
|
+
def example_group(*args, &example_group_block); end
|
24
|
+
def fcontext(*args, &example_group_block); end
|
25
|
+
def fdescribe(*args, &example_group_block); end
|
26
|
+
def reset; end
|
27
|
+
def shared_context(name, *args, &block); end
|
28
|
+
def shared_examples(name, *args, &block); end
|
29
|
+
def shared_examples_for(name, *args, &block); end
|
30
|
+
def world; end
|
31
|
+
def world=(_arg0); end
|
32
|
+
def xcontext(*args, &example_group_block); end
|
33
|
+
def xdescribe(*args, &example_group_block); end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
RSpec::MODULES_TO_AUTOLOAD = T.let(T.unsafe(nil), Hash)
|
38
|
+
RSpec::SharedContext = RSpec::Core::SharedContext
|
39
|
+
module RSpec::Version; end
|
40
|
+
RSpec::Version::STRING = T.let(T.unsafe(nil), String)
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `rubocop-ast` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem rubocop-ast`.
|
6
|
+
|
7
|
+
# THIS IS AN EMPTY RBI FILE.
|
8
|
+
# see https://github.com/Shopify/tapioca/wiki/Manual-Gem-Requires
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `rubocop-sorbet` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem rubocop-sorbet`.
|
6
|
+
|
7
|
+
# THIS IS AN EMPTY RBI FILE.
|
8
|
+
# see https://github.com/Shopify/tapioca/wiki/Manual-Gem-Requires
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `rubocop` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem rubocop`.
|
6
|
+
|
7
|
+
# THIS IS AN EMPTY RBI FILE.
|
8
|
+
# see https://github.com/Shopify/tapioca/wiki/Manual-Gem-Requires
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `ruby-progressbar` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem ruby-progressbar`.
|
6
|
+
|
7
|
+
# THIS IS AN EMPTY RBI FILE.
|
8
|
+
# see https://github.com/Shopify/tapioca/wiki/Manual-Gem-Requires
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `ruby2_keywords` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem ruby2_keywords`.
|
6
|
+
|
7
|
+
# THIS IS AN EMPTY RBI FILE.
|
8
|
+
# see https://github.com/Shopify/tapioca/wiki/Manual-Gem-Requires
|