bungie_sdk 0.1.1

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 (108) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +14 -0
  3. data/.rspec +3 -0
  4. data/.rubocop.yml +147 -0
  5. data/.solargraph.yml +23 -0
  6. data/.travis.yml +6 -0
  7. data/.vim/coc-settings.json +12 -0
  8. data/CODE_OF_CONDUCT.md +74 -0
  9. data/Gemfile +19 -0
  10. data/Gemfile.lock +133 -0
  11. data/LICENSE.txt +21 -0
  12. data/README.md +56 -0
  13. data/Rakefile +6 -0
  14. data/bin/console +15 -0
  15. data/bin/setup +8 -0
  16. data/bin/tapioca +29 -0
  17. data/bungie_sdk.gemspec +35 -0
  18. data/lib/bungie_sdk/agent.rb +166 -0
  19. data/lib/bungie_sdk/character.rb +82 -0
  20. data/lib/bungie_sdk/client.rb +72 -0
  21. data/lib/bungie_sdk/item.rb +83 -0
  22. data/lib/bungie_sdk/membership.rb +30 -0
  23. data/lib/bungie_sdk/profile.rb +36 -0
  24. data/lib/bungie_sdk/token_manager.rb +136 -0
  25. data/lib/bungie_sdk/vendor.rb +64 -0
  26. data/lib/bungie_sdk/version.rb +4 -0
  27. data/lib/bungie_sdk.rb +104 -0
  28. data/sorbet/config +3 -0
  29. data/sorbet/rbi/gems/addressable.rbi +151 -0
  30. data/sorbet/rbi/gems/addressable@2.8.0.rbi +224 -0
  31. data/sorbet/rbi/gems/ast@2.4.2.rbi +54 -0
  32. data/sorbet/rbi/gems/bungie_sdk.rbi +15 -0
  33. data/sorbet/rbi/gems/coderay.rbi +285 -0
  34. data/sorbet/rbi/gems/coderay@1.1.3.rbi +1005 -0
  35. data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +185 -0
  36. data/sorbet/rbi/gems/dotenv.rbi +68 -0
  37. data/sorbet/rbi/gems/dotenv@2.7.6.rbi +88 -0
  38. data/sorbet/rbi/gems/ethon.rbi +716 -0
  39. data/sorbet/rbi/gems/ethon@0.15.0.rbi +883 -0
  40. data/sorbet/rbi/gems/faraday-net_http.rbi +33 -0
  41. data/sorbet/rbi/gems/faraday-net_http@2.0.1.rbi +78 -0
  42. data/sorbet/rbi/gems/faraday.rbi +696 -0
  43. data/sorbet/rbi/gems/faraday@2.2.0.rbi +685 -0
  44. data/sorbet/rbi/gems/ffi.rbi +560 -0
  45. data/sorbet/rbi/gems/ffi@1.15.5.rbi +849 -0
  46. data/sorbet/rbi/gems/gem-release.rbi +582 -0
  47. data/sorbet/rbi/gems/gem-release@2.2.2.rbi +644 -0
  48. data/sorbet/rbi/gems/hashie.rbi +160 -0
  49. data/sorbet/rbi/gems/jwt.rbi +274 -0
  50. data/sorbet/rbi/gems/jwt@2.3.0.rbi +437 -0
  51. data/sorbet/rbi/gems/launchy.rbi +226 -0
  52. data/sorbet/rbi/gems/launchy@2.5.0.rbi +327 -0
  53. data/sorbet/rbi/gems/method_source.rbi +64 -0
  54. data/sorbet/rbi/gems/method_source@1.0.0.rbi +72 -0
  55. data/sorbet/rbi/gems/multi_json.rbi +62 -0
  56. data/sorbet/rbi/gems/multi_json@1.15.0.rbi +96 -0
  57. data/sorbet/rbi/gems/multi_xml.rbi +35 -0
  58. data/sorbet/rbi/gems/multi_xml@0.6.0.rbi +36 -0
  59. data/sorbet/rbi/gems/oauth2.rbi +143 -0
  60. data/sorbet/rbi/gems/oauth2@1.4.9.rbi +181 -0
  61. data/sorbet/rbi/gems/parallel@1.22.1.rbi +8 -0
  62. data/sorbet/rbi/gems/parser@3.1.1.0.rbi +1196 -0
  63. data/sorbet/rbi/gems/pry.rbi +1898 -0
  64. data/sorbet/rbi/gems/pry@0.14.1.rbi +2486 -0
  65. data/sorbet/rbi/gems/public_suffix.rbi +104 -0
  66. data/sorbet/rbi/gems/public_suffix@4.0.6.rbi +145 -0
  67. data/sorbet/rbi/gems/rack.rbi +21 -0
  68. data/sorbet/rbi/gems/rack@2.2.3.rbi +1622 -0
  69. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +8 -0
  70. data/sorbet/rbi/gems/rake.rbi +644 -0
  71. data/sorbet/rbi/gems/rake@12.3.3.rbi +804 -0
  72. data/sorbet/rbi/gems/rbi@0.0.14.rbi +2073 -0
  73. data/sorbet/rbi/gems/regexp_parser@2.3.0.rbi +8 -0
  74. data/sorbet/rbi/gems/rexml@3.2.5.rbi +672 -0
  75. data/sorbet/rbi/gems/rspec-core.rbi +1898 -0
  76. data/sorbet/rbi/gems/rspec-core@3.11.0.rbi +2468 -0
  77. data/sorbet/rbi/gems/rspec-expectations.rbi +1171 -0
  78. data/sorbet/rbi/gems/rspec-expectations@3.11.0.rbi +1634 -0
  79. data/sorbet/rbi/gems/rspec-mocks.rbi +1094 -0
  80. data/sorbet/rbi/gems/rspec-mocks@3.11.1.rbi +1497 -0
  81. data/sorbet/rbi/gems/rspec-support.rbi +280 -0
  82. data/sorbet/rbi/gems/rspec-support@3.11.0.rbi +511 -0
  83. data/sorbet/rbi/gems/rspec.rbi +15 -0
  84. data/sorbet/rbi/gems/rspec@3.11.0.rbi +40 -0
  85. data/sorbet/rbi/gems/rubocop-ast@1.17.0.rbi +8 -0
  86. data/sorbet/rbi/gems/rubocop-sorbet@0.6.7.rbi +8 -0
  87. data/sorbet/rbi/gems/rubocop@1.27.0.rbi +8 -0
  88. data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +8 -0
  89. data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +8 -0
  90. data/sorbet/rbi/gems/spoom@1.1.11.rbi +1445 -0
  91. data/sorbet/rbi/gems/tapioca@0.7.1.rbi +1677 -0
  92. data/sorbet/rbi/gems/thor@1.2.1.rbi +844 -0
  93. data/sorbet/rbi/gems/typhoeus.rbi +301 -0
  94. data/sorbet/rbi/gems/typhoeus@1.4.0.rbi +450 -0
  95. data/sorbet/rbi/gems/unicode-display_width@2.1.0.rbi +8 -0
  96. data/sorbet/rbi/gems/unparser@0.6.4.rbi +8 -0
  97. data/sorbet/rbi/gems/webrick@1.7.0.rbi +601 -0
  98. data/sorbet/rbi/gems/yard-sorbet@0.6.1.rbi +235 -0
  99. data/sorbet/rbi/gems/yard@0.9.27.rbi +3966 -0
  100. data/sorbet/rbi/hidden-definitions/errors.txt +4013 -0
  101. data/sorbet/rbi/hidden-definitions/hidden.rbi +8945 -0
  102. data/sorbet/rbi/sorbet-typed/lib/faraday/all/faraday.rbi +82 -0
  103. data/sorbet/rbi/sorbet-typed/lib/rake/all/rake.rbi +645 -0
  104. data/sorbet/rbi/sorbet-typed/lib/rspec-core/all/rspec-core.rbi +24 -0
  105. data/sorbet/rbi/todo.rbi +8 -0
  106. data/sorbet/tapioca/config.yml +13 -0
  107. data/sorbet/tapioca/require.rb +4 -0
  108. metadata +236 -0
@@ -0,0 +1,1634 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `rspec-expectations` gem.
5
+ # Please instead update this file by running `bin/tapioca gem rspec-expectations`.
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
+ module RSpec::Expectations
38
+ class << self
39
+ def configuration; end
40
+ def differ; end
41
+ def fail_with(message, expected = T.unsafe(nil), actual = T.unsafe(nil)); end
42
+ end
43
+ end
44
+
45
+ class RSpec::Expectations::BlockExpectationTarget < ::RSpec::Expectations::ExpectationTarget
46
+ def not_to(matcher, message = T.unsafe(nil), &block); end
47
+ def to(matcher, message = T.unsafe(nil), &block); end
48
+ def to_not(matcher, message = T.unsafe(nil), &block); end
49
+
50
+ private
51
+
52
+ def enforce_block_expectation(matcher); end
53
+ def supports_block_expectations?(matcher); end
54
+ end
55
+
56
+ class RSpec::Expectations::BlockSnippetExtractor
57
+ def initialize(proc, method_name); end
58
+
59
+ def body_content_lines; end
60
+ def method_name; end
61
+ def proc; end
62
+
63
+ private
64
+
65
+ def beginning_line_number; end
66
+ def block_token_extractor; end
67
+ def file_path; end
68
+ def raw_body_lines; end
69
+ def raw_body_snippet; end
70
+ def source; end
71
+ def source_location; end
72
+
73
+ class << self
74
+ def try_extracting_single_line_body_of(proc, method_name); end
75
+ end
76
+ end
77
+
78
+ class RSpec::Expectations::BlockSnippetExtractor::AmbiguousTargetError < ::RSpec::Expectations::BlockSnippetExtractor::Error; end
79
+
80
+ class RSpec::Expectations::BlockSnippetExtractor::BlockLocator < ::Struct
81
+ def beginning_line_number; end
82
+ def beginning_line_number=(_); end
83
+ def body_content_locations; end
84
+ def method_call_location; end
85
+ def method_name; end
86
+ def method_name=(_); end
87
+ def source; end
88
+ def source=(_); end
89
+
90
+ private
91
+
92
+ def block_body_node; end
93
+ def block_wrapper_node; end
94
+ def candidate_block_wrapper_nodes; end
95
+ def candidate_method_ident_nodes; end
96
+ def method_ident_node; end
97
+ def method_ident_node?(node); end
98
+
99
+ class << self
100
+ def [](*_arg0); end
101
+ def inspect; end
102
+ def members; end
103
+ def new(*_arg0); end
104
+ end
105
+ end
106
+
107
+ class RSpec::Expectations::BlockSnippetExtractor::BlockTokenExtractor < ::Struct
108
+ def initialize(*_arg0); end
109
+
110
+ def beginning_line_number; end
111
+ def beginning_line_number=(_); end
112
+ def body_tokens; end
113
+ def method_name; end
114
+ def method_name=(_); end
115
+ def source; end
116
+ def source=(_); end
117
+ def state; end
118
+
119
+ private
120
+
121
+ def after_beginning_of_args_state(token); end
122
+ def after_beginning_of_body_state(token); end
123
+ def after_method_call_state(token); end
124
+ def after_opener_state(token); end
125
+ def block_locator; end
126
+ def correct_block?(body_tokens); end
127
+ def finalize_pending_tokens!; end
128
+ def finish!; end
129
+ def finish_or_find_next_block_if_incorrect!; end
130
+ def handle_closer_token(token); end
131
+ def handle_opener_token(token); end
132
+ def initial_state(token); end
133
+ def invoke_state_handler(token); end
134
+ def opener_token?(token); end
135
+ def opener_token_stack; end
136
+ def parse!; end
137
+ def pending_tokens; end
138
+ def pipe_token?(token); end
139
+
140
+ class << self
141
+ def [](*_arg0); end
142
+ def inspect; end
143
+ def members; end
144
+ def new(*_arg0); end
145
+ end
146
+ end
147
+
148
+ class RSpec::Expectations::BlockSnippetExtractor::Error < ::StandardError; end
149
+ class RSpec::Expectations::BlockSnippetExtractor::TargetNotFoundError < ::RSpec::Expectations::BlockSnippetExtractor::Error; end
150
+
151
+ class RSpec::Expectations::Configuration
152
+ def initialize; end
153
+
154
+ def add_should_and_should_not_to(*modules); end
155
+ def backtrace_formatter; end
156
+ def backtrace_formatter=(_arg0); end
157
+ def color?; end
158
+ def false_positives_handler; end
159
+ def include_chain_clauses_in_custom_matcher_descriptions=(_arg0); end
160
+ def include_chain_clauses_in_custom_matcher_descriptions?; end
161
+ def max_formatted_output_length=(length); end
162
+ def on_potential_false_positives; end
163
+ def on_potential_false_positives=(behavior); end
164
+ def reset_syntaxes_to_default; end
165
+ def strict_predicate_matchers; end
166
+ def strict_predicate_matchers=(flag); end
167
+ def strict_predicate_matchers?; end
168
+ def syntax; end
169
+ def syntax=(values); end
170
+ def warn_about_potential_false_positives=(boolean); end
171
+ def warn_about_potential_false_positives?; end
172
+ end
173
+
174
+ RSpec::Expectations::Configuration::FALSE_POSITIVE_BEHAVIOURS = T.let(T.unsafe(nil), Hash)
175
+
176
+ module RSpec::Expectations::Configuration::NullBacktraceFormatter
177
+ class << self
178
+ def format_backtrace(backtrace); end
179
+ end
180
+ end
181
+
182
+ module RSpec::Expectations::ExpectationHelper
183
+ class << self
184
+ def check_message(msg); end
185
+ def handle_failure(matcher, message, failure_message_method); end
186
+ def modern_matcher_from(matcher); end
187
+ def with_matcher(handler, matcher, message); end
188
+ end
189
+ end
190
+
191
+ class RSpec::Expectations::ExpectationNotMetError < ::Exception; end
192
+
193
+ class RSpec::Expectations::ExpectationTarget
194
+ include ::RSpec::Expectations::ExpectationTarget::InstanceMethods
195
+
196
+ def initialize(value); end
197
+
198
+ def target; end
199
+
200
+ class << self
201
+ def for(value, block); end
202
+ end
203
+ end
204
+
205
+ module RSpec::Expectations::ExpectationTarget::InstanceMethods
206
+ def not_to(matcher = T.unsafe(nil), message = T.unsafe(nil), &block); end
207
+ def to(matcher = T.unsafe(nil), message = T.unsafe(nil), &block); end
208
+ def to_not(matcher = T.unsafe(nil), message = T.unsafe(nil), &block); end
209
+
210
+ private
211
+
212
+ def prevent_operator_matchers(verb); end
213
+ end
214
+
215
+ module RSpec::Expectations::ExpectationTarget::UndefinedValue; end
216
+
217
+ class RSpec::Expectations::FailureAggregator
218
+ def initialize(block_label, metadata); end
219
+
220
+ def aggregate; end
221
+ def block_label; end
222
+ def call(failure, options); end
223
+ def failures; end
224
+ def metadata; end
225
+ def other_errors; end
226
+
227
+ private
228
+
229
+ def assign_backtrace(failure); end
230
+ def notify_aggregated_failures; end
231
+ end
232
+
233
+ RSpec::Expectations::LegacyMacherAdapter = RSpec::Expectations::LegacyMatcherAdapter
234
+
235
+ class RSpec::Expectations::LegacyMatcherAdapter < ::RSpec::Matchers::MatcherDelegator
236
+ def initialize(matcher); end
237
+
238
+ class << self
239
+ def wrap(matcher); end
240
+ end
241
+ end
242
+
243
+ class RSpec::Expectations::LegacyMatcherAdapter::RSpec1 < ::RSpec::Expectations::LegacyMatcherAdapter
244
+ def failure_message; end
245
+ def failure_message_when_negated; end
246
+
247
+ class << self
248
+ def interface_matches?(matcher); end
249
+ end
250
+ end
251
+
252
+ class RSpec::Expectations::LegacyMatcherAdapter::RSpec2 < ::RSpec::Expectations::LegacyMatcherAdapter
253
+ def failure_message; end
254
+ def failure_message_when_negated; end
255
+
256
+ class << self
257
+ def interface_matches?(matcher); end
258
+ end
259
+ end
260
+
261
+ class RSpec::Expectations::MultipleExpectationsNotMetError < ::RSpec::Expectations::ExpectationNotMetError
262
+ def initialize(failure_aggregator); end
263
+
264
+ def aggregation_block_label; end
265
+ def aggregation_metadata; end
266
+ def all_exceptions; end
267
+ def exception_count_description; end
268
+ def failures; end
269
+ def message; end
270
+ def other_errors; end
271
+ def summary; end
272
+
273
+ private
274
+
275
+ def backtrace_line(line); end
276
+ def block_description; end
277
+ def enumerated(exceptions, index_offset); end
278
+ def enumerated_errors; end
279
+ def enumerated_failures; end
280
+ def exclusion_patterns; end
281
+ def format_backtrace(backtrace); end
282
+ def indentation; end
283
+ def indented(failure_message, index); end
284
+ def index_label(index); end
285
+ def longest_index_label_width; end
286
+ def pluralize(noun, count); end
287
+ def width_of_label(index); end
288
+ end
289
+
290
+ class RSpec::Expectations::NegativeExpectationHandler
291
+ class << self
292
+ def does_not_match?(matcher, actual, &block); end
293
+ def handle_matcher(actual, initial_matcher, custom_message = T.unsafe(nil), &block); end
294
+ def opposite_should_method; end
295
+ def should_method; end
296
+ def verb; end
297
+ end
298
+ end
299
+
300
+ class RSpec::Expectations::PositiveExpectationHandler
301
+ class << self
302
+ def handle_matcher(actual, initial_matcher, custom_message = T.unsafe(nil), &block); end
303
+ def opposite_should_method; end
304
+ def should_method; end
305
+ def verb; end
306
+ end
307
+ end
308
+
309
+ module RSpec::Expectations::Syntax
310
+ private
311
+
312
+ def default_should_host; end
313
+ def disable_expect(syntax_host = T.unsafe(nil)); end
314
+ def disable_should(syntax_host = T.unsafe(nil)); end
315
+ def enable_expect(syntax_host = T.unsafe(nil)); end
316
+ def enable_should(syntax_host = T.unsafe(nil)); end
317
+ def expect_enabled?(syntax_host = T.unsafe(nil)); end
318
+ def should_enabled?(syntax_host = T.unsafe(nil)); end
319
+ def warn_about_should!; end
320
+ def warn_about_should_unless_configured(method_name); end
321
+
322
+ class << self
323
+ def default_should_host; end
324
+ def disable_expect(syntax_host = T.unsafe(nil)); end
325
+ def disable_should(syntax_host = T.unsafe(nil)); end
326
+ def enable_expect(syntax_host = T.unsafe(nil)); end
327
+ def enable_should(syntax_host = T.unsafe(nil)); end
328
+ def expect_enabled?(syntax_host = T.unsafe(nil)); end
329
+ def should_enabled?(syntax_host = T.unsafe(nil)); end
330
+ def warn_about_should!; end
331
+ def warn_about_should_unless_configured(method_name); end
332
+ end
333
+ end
334
+
335
+ class RSpec::Expectations::ValueExpectationTarget < ::RSpec::Expectations::ExpectationTarget
336
+ def not_to(matcher = T.unsafe(nil), message = T.unsafe(nil), &block); end
337
+ def to(matcher = T.unsafe(nil), message = T.unsafe(nil), &block); end
338
+
339
+ private
340
+
341
+ def enforce_value_expectation(matcher); end
342
+ def supports_value_expectations?(matcher); end
343
+ end
344
+
345
+ module RSpec::Expectations::Version; end
346
+ RSpec::Expectations::Version::STRING = T.let(T.unsafe(nil), String)
347
+ RSpec::MODULES_TO_AUTOLOAD = T.let(T.unsafe(nil), Hash)
348
+
349
+ module RSpec::Matchers
350
+ extend ::RSpec::Matchers::DSL
351
+
352
+ def a_block_changing(*args, &block); end
353
+ def a_block_outputting(*args, &block); end
354
+ def a_block_raising(*args, &block); end
355
+ def a_block_throwing(*args, &block); end
356
+ def a_block_yielding_control(*args, &block); end
357
+ def a_block_yielding_successive_args(*args, &block); end
358
+ def a_block_yielding_with_args(*args, &block); end
359
+ def a_block_yielding_with_no_args(*args, &block); end
360
+ def a_collection_containing_exactly(*args, &block); end
361
+ def a_collection_ending_with(*args, &block); end
362
+ def a_collection_including(*args, &block); end
363
+ def a_collection_starting_with(*args, &block); end
364
+ def a_falsey_value(*args, &block); end
365
+ def a_falsy_value(*args, &block); end
366
+ def a_hash_including(*args, &block); end
367
+ def a_kind_of(*args, &block); end
368
+ def a_nil_value(*args, &block); end
369
+ def a_range_covering(*args, &block); end
370
+ def a_string_ending_with(*args, &block); end
371
+ def a_string_including(*args, &block); end
372
+ def a_string_matching(*args, &block); end
373
+ def a_string_starting_with(*args, &block); end
374
+ def a_truthy_value(*args, &block); end
375
+ def a_value(*args, &block); end
376
+ def a_value_between(*args, &block); end
377
+ def a_value_within(*args, &block); end
378
+ def aggregate_failures(label = T.unsafe(nil), metadata = T.unsafe(nil), &block); end
379
+ def all(expected); end
380
+ def an_instance_of(*args, &block); end
381
+ def an_object_eq_to(*args, &block); end
382
+ def an_object_eql_to(*args, &block); end
383
+ def an_object_equal_to(*args, &block); end
384
+ def an_object_existing(*args, &block); end
385
+ def an_object_having_attributes(*args, &block); end
386
+ def an_object_matching(*args, &block); end
387
+ def an_object_responding_to(*args, &block); end
388
+ def an_object_satisfying(*args, &block); end
389
+ def be(*args); end
390
+ def be_a(klass); end
391
+ def be_a_kind_of(expected); end
392
+ def be_an(klass); end
393
+ def be_an_instance_of(expected); end
394
+ def be_between(min, max); end
395
+ def be_falsey; end
396
+ def be_falsy(*args, &block); end
397
+ def be_instance_of(expected); end
398
+ def be_kind_of(expected); end
399
+ def be_nil; end
400
+ def be_truthy; end
401
+ def be_within(delta); end
402
+ def change(receiver = T.unsafe(nil), message = T.unsafe(nil), &block); end
403
+ def changing(*args, &block); end
404
+ def contain_exactly(*items); end
405
+ def containing_exactly(*args, &block); end
406
+ def cover(*values); end
407
+ def covering(*args, &block); end
408
+ def end_with(*expected); end
409
+ def ending_with(*args, &block); end
410
+ def eq(expected); end
411
+ def eq_to(*args, &block); end
412
+ def eql(expected); end
413
+ def eql_to(*args, &block); end
414
+ def equal(expected); end
415
+ def equal_to(*args, &block); end
416
+ def exist(*args); end
417
+ def existing(*args, &block); end
418
+ def expect(value = T.unsafe(nil), &block); end
419
+ def have_attributes(expected); end
420
+ def having_attributes(*args, &block); end
421
+ def include(*expected); end
422
+ def including(*args, &block); end
423
+ def match(expected); end
424
+ def match_array(items); end
425
+ def match_regex(*args, &block); end
426
+ def matching(*args, &block); end
427
+ def output(expected = T.unsafe(nil)); end
428
+ def raise_error(error = T.unsafe(nil), message = T.unsafe(nil), &block); end
429
+ def raise_exception(error = T.unsafe(nil), message = T.unsafe(nil), &block); end
430
+ def raising(*args, &block); end
431
+ def respond_to(*names); end
432
+ def responding_to(*args, &block); end
433
+ def satisfy(description = T.unsafe(nil), &block); end
434
+ def satisfying(*args, &block); end
435
+ def start_with(*expected); end
436
+ def starting_with(*args, &block); end
437
+ def throw_symbol(expected_symbol = T.unsafe(nil), expected_arg = T.unsafe(nil)); end
438
+ def throwing(*args, &block); end
439
+ def within(*args, &block); end
440
+ def yield_control; end
441
+ def yield_successive_args(*args); end
442
+ def yield_with_args(*args); end
443
+ def yield_with_no_args; end
444
+ def yielding_control(*args, &block); end
445
+ def yielding_successive_args(*args, &block); end
446
+ def yielding_with_args(*args, &block); end
447
+ def yielding_with_no_args(*args, &block); end
448
+
449
+ private
450
+
451
+ def method_missing(method, *args, &block); end
452
+ def respond_to_missing?(method, *_arg1); end
453
+
454
+ class << self
455
+ def alias_matcher(*args, &block); end
456
+ def clear_generated_description; end
457
+ def configuration; end
458
+ def generated_description; end
459
+ def is_a_describable_matcher?(obj); end
460
+ def is_a_matcher?(obj); end
461
+ def last_description; end
462
+ def last_expectation_handler; end
463
+ def last_expectation_handler=(_arg0); end
464
+ def last_matcher; end
465
+ def last_matcher=(_arg0); end
466
+ end
467
+ end
468
+
469
+ class RSpec::Matchers::AliasedMatcher < ::RSpec::Matchers::MatcherDelegator
470
+ def initialize(base_matcher, description_block); end
471
+
472
+ def description; end
473
+ def failure_message; end
474
+ def failure_message_when_negated; end
475
+ def method_missing(*_arg0); end
476
+ end
477
+
478
+ class RSpec::Matchers::AliasedMatcherWithOperatorSupport < ::RSpec::Matchers::AliasedMatcher; end
479
+
480
+ class RSpec::Matchers::AliasedNegatedMatcher < ::RSpec::Matchers::AliasedMatcher
481
+ def does_not_match?(*args, &block); end
482
+ def failure_message; end
483
+ def failure_message_when_negated; end
484
+ def matches?(*args, &block); end
485
+
486
+ private
487
+
488
+ def optimal_failure_message(same, inverted); end
489
+ end
490
+
491
+ RSpec::Matchers::AliasedNegatedMatcher::DefaultFailureMessages = RSpec::Matchers::BuiltIn::BaseMatcher::DefaultFailureMessages
492
+ RSpec::Matchers::BE_PREDICATE_REGEX = T.let(T.unsafe(nil), Regexp)
493
+ module RSpec::Matchers::BuiltIn; end
494
+
495
+ class RSpec::Matchers::BuiltIn::All < ::RSpec::Matchers::BuiltIn::BaseMatcher
496
+ def initialize(matcher); end
497
+
498
+ def description; end
499
+ def does_not_match?(_actual); end
500
+ def failed_objects; end
501
+ def failure_message; end
502
+ def matcher; end
503
+
504
+ private
505
+
506
+ def add_new_line_if_needed(message); end
507
+ def failure_message_for_item(index, failure_message); end
508
+ def indent_multiline_message(message); end
509
+ def index_failed_objects; end
510
+ def initialize_copy(other); end
511
+ def iterable?; end
512
+ def match(_expected, _actual); end
513
+ end
514
+
515
+ class RSpec::Matchers::BuiltIn::BaseMatcher
516
+ include ::RSpec::Matchers::Composable
517
+ include ::RSpec::Matchers::BuiltIn::BaseMatcher::HashFormatting
518
+ include ::RSpec::Matchers::BuiltIn::BaseMatcher::DefaultFailureMessages
519
+
520
+ def initialize(expected = T.unsafe(nil)); end
521
+
522
+ def actual; end
523
+ def actual_formatted; end
524
+ def description; end
525
+ def diffable?; end
526
+ def expected; end
527
+ def expected_formatted; end
528
+ def expects_call_stack_jump?; end
529
+ def match_unless_raises(*exceptions); end
530
+ def matcher_name; end
531
+ def matcher_name=(_arg0); end
532
+ def matches?(actual); end
533
+ def present_ivars; end
534
+ def rescued_exception; end
535
+ def supports_block_expectations?; end
536
+ def supports_value_expectations?; end
537
+
538
+ private
539
+
540
+ def assert_ivars(*expected_ivars); end
541
+
542
+ class << self
543
+ def matcher_name; end
544
+
545
+ private
546
+
547
+ def underscore(camel_cased_word); end
548
+ end
549
+ end
550
+
551
+ module RSpec::Matchers::BuiltIn::BaseMatcher::DefaultFailureMessages
552
+ def failure_message; end
553
+ def failure_message_when_negated; end
554
+
555
+ class << self
556
+ def has_default_failure_messages?(matcher); end
557
+ end
558
+ end
559
+
560
+ module RSpec::Matchers::BuiltIn::BaseMatcher::HashFormatting
561
+ private
562
+
563
+ def improve_hash_formatting(inspect_string); end
564
+
565
+ class << self
566
+ def improve_hash_formatting(inspect_string); end
567
+ end
568
+ end
569
+
570
+ RSpec::Matchers::BuiltIn::BaseMatcher::UNDEFINED = T.let(T.unsafe(nil), Object)
571
+
572
+ class RSpec::Matchers::BuiltIn::Be < ::RSpec::Matchers::BuiltIn::BaseMatcher
573
+ include ::RSpec::Matchers::BuiltIn::BeHelpers
574
+
575
+ def initialize(*args); end
576
+
577
+ def <(operand); end
578
+ def <=(operand); end
579
+ def ==(operand); end
580
+ def ===(operand); end
581
+ def =~(operand); end
582
+ def >(operand); end
583
+ def >=(operand); end
584
+ def failure_message; end
585
+ def failure_message_when_negated; end
586
+
587
+ private
588
+
589
+ def match(_, actual); end
590
+ end
591
+
592
+ class RSpec::Matchers::BuiltIn::BeAKindOf < ::RSpec::Matchers::BuiltIn::BaseMatcher
593
+ private
594
+
595
+ def match(expected, actual); end
596
+ end
597
+
598
+ class RSpec::Matchers::BuiltIn::BeAnInstanceOf < ::RSpec::Matchers::BuiltIn::BaseMatcher
599
+ def description; end
600
+
601
+ private
602
+
603
+ def match(expected, actual); end
604
+ end
605
+
606
+ class RSpec::Matchers::BuiltIn::BeBetween < ::RSpec::Matchers::BuiltIn::BaseMatcher
607
+ def initialize(min, max); end
608
+
609
+ def description; end
610
+ def exclusive; end
611
+ def failure_message; end
612
+ def inclusive; end
613
+ def matches?(actual); end
614
+
615
+ private
616
+
617
+ def comparable?; end
618
+ def compare; end
619
+ def not_comparable_clause; end
620
+ end
621
+
622
+ class RSpec::Matchers::BuiltIn::BeComparedTo < ::RSpec::Matchers::BuiltIn::BaseMatcher
623
+ include ::RSpec::Matchers::BuiltIn::BeHelpers
624
+
625
+ def initialize(operand, operator); end
626
+
627
+ def description; end
628
+ def does_not_match?(actual); end
629
+ def failure_message; end
630
+ def failure_message_when_negated; end
631
+ def matches?(actual); end
632
+
633
+ private
634
+
635
+ def perform_match(actual); end
636
+ end
637
+
638
+ class RSpec::Matchers::BuiltIn::BeFalsey < ::RSpec::Matchers::BuiltIn::BaseMatcher
639
+ def failure_message; end
640
+ def failure_message_when_negated; end
641
+
642
+ private
643
+
644
+ def match(_, actual); end
645
+ end
646
+
647
+ module RSpec::Matchers::BuiltIn::BeHelpers
648
+ private
649
+
650
+ def args_to_s; end
651
+ def args_to_sentence; end
652
+ def expected_to_sentence; end
653
+ def inspected_args; end
654
+ def parenthesize(string); end
655
+ end
656
+
657
+ class RSpec::Matchers::BuiltIn::BeNil < ::RSpec::Matchers::BuiltIn::BaseMatcher
658
+ def failure_message; end
659
+ def failure_message_when_negated; end
660
+
661
+ private
662
+
663
+ def match(_, actual); end
664
+ end
665
+
666
+ class RSpec::Matchers::BuiltIn::BePredicate < ::RSpec::Matchers::BuiltIn::DynamicPredicate
667
+ private
668
+
669
+ def failure_to_respond_explanation; end
670
+ def predicate; end
671
+ def predicate_accessible?; end
672
+ def predicate_method_name; end
673
+ def present_tense_predicate; end
674
+ end
675
+
676
+ RSpec::Matchers::BuiltIn::BePredicate::REGEX = T.let(T.unsafe(nil), Regexp)
677
+
678
+ class RSpec::Matchers::BuiltIn::BeTruthy < ::RSpec::Matchers::BuiltIn::BaseMatcher
679
+ def failure_message; end
680
+ def failure_message_when_negated; end
681
+
682
+ private
683
+
684
+ def match(_, actual); end
685
+ end
686
+
687
+ class RSpec::Matchers::BuiltIn::BeWithin < ::RSpec::Matchers::BuiltIn::BaseMatcher
688
+ def initialize(delta); end
689
+
690
+ def description; end
691
+ def failure_message; end
692
+ def failure_message_when_negated; end
693
+ def matches?(actual); end
694
+ def of(expected); end
695
+ def percent_of(expected); end
696
+
697
+ private
698
+
699
+ def needs_expected; end
700
+ def not_numeric_clause; end
701
+ def numeric?; end
702
+ end
703
+
704
+ module RSpec::Matchers::BuiltIn::CaptureStderr
705
+ class << self
706
+ def capture(block); end
707
+ def name; end
708
+ end
709
+ end
710
+
711
+ module RSpec::Matchers::BuiltIn::CaptureStdout
712
+ class << self
713
+ def capture(block); end
714
+ def name; end
715
+ end
716
+ end
717
+
718
+ class RSpec::Matchers::BuiltIn::CaptureStreamToTempfile < ::Struct
719
+ def capture(block); end
720
+ end
721
+
722
+ class RSpec::Matchers::BuiltIn::Change < ::RSpec::Matchers::BuiltIn::BaseMatcher
723
+ def initialize(receiver = T.unsafe(nil), message = T.unsafe(nil), &block); end
724
+
725
+ def by(expected_delta); end
726
+ def by_at_least(minimum); end
727
+ def by_at_most(maximum); end
728
+ def description; end
729
+ def does_not_match?(event_proc); end
730
+ def failure_message; end
731
+ def failure_message_when_negated; end
732
+ def from(value); end
733
+ def matches?(event_proc); end
734
+ def supports_block_expectations?; end
735
+ def supports_value_expectations?; end
736
+ def to(value); end
737
+
738
+ private
739
+
740
+ def change_details; end
741
+ def negative_failure_reason; end
742
+ def perform_change(event_proc); end
743
+ def positive_failure_reason; end
744
+ def raise_block_syntax_error; end
745
+ end
746
+
747
+ class RSpec::Matchers::BuiltIn::ChangeDetails
748
+ def initialize(matcher_name, receiver = T.unsafe(nil), message = T.unsafe(nil), &block); end
749
+
750
+ def actual_after; end
751
+ def actual_delta; end
752
+ def changed?; end
753
+ def perform_change(event_proc); end
754
+ def value_representation; end
755
+
756
+ private
757
+
758
+ def evaluate_value_proc; end
759
+ def extract_value_block_snippet; end
760
+ def message_notation(receiver, message); end
761
+ end
762
+
763
+ module RSpec::Matchers::BuiltIn::ChangeDetails::UNDEFINED; end
764
+
765
+ class RSpec::Matchers::BuiltIn::ChangeFromValue < ::RSpec::Matchers::BuiltIn::SpecificValuesChange
766
+ def initialize(change_details, expected_before); end
767
+
768
+ def does_not_match?(event_proc); end
769
+ def failure_message_when_negated; end
770
+ def to(value); end
771
+
772
+ private
773
+
774
+ def change_description; end
775
+ end
776
+
777
+ class RSpec::Matchers::BuiltIn::ChangeRelatively < ::RSpec::Matchers::BuiltIn::BaseMatcher
778
+ def initialize(change_details, expected_delta, relativity, &comparer); end
779
+
780
+ def description; end
781
+ def does_not_match?(_event_proc); end
782
+ def failure_message; end
783
+ def matches?(event_proc); end
784
+ def supports_block_expectations?; end
785
+ def supports_value_expectations?; end
786
+
787
+ private
788
+
789
+ def failure_reason; end
790
+ end
791
+
792
+ class RSpec::Matchers::BuiltIn::ChangeToValue < ::RSpec::Matchers::BuiltIn::SpecificValuesChange
793
+ def initialize(change_details, expected_after); end
794
+
795
+ def does_not_match?(_event_proc); end
796
+ def from(value); end
797
+
798
+ private
799
+
800
+ def change_description; end
801
+ end
802
+
803
+ class RSpec::Matchers::BuiltIn::Compound < ::RSpec::Matchers::BuiltIn::BaseMatcher
804
+ def initialize(matcher_1, matcher_2); end
805
+
806
+ def description; end
807
+ def diffable?; end
808
+ def does_not_match?(_actual); end
809
+ def evaluator; end
810
+ def expected; end
811
+ def expects_call_stack_jump?; end
812
+ def matcher_1; end
813
+ def matcher_2; end
814
+ def supports_block_expectations?; end
815
+ def supports_value_expectations?; end
816
+
817
+ protected
818
+
819
+ def diffable_matcher_list; end
820
+
821
+ private
822
+
823
+ def compound_failure_message; end
824
+ def diffable_matcher_list_for(matcher); end
825
+ def indent_multiline_message(message); end
826
+ def initialize_copy(other); end
827
+ def match(_expected, actual); end
828
+ def matcher_1_matches?; end
829
+ def matcher_2_matches?; end
830
+ def matcher_is_diffable?(matcher); end
831
+ def matcher_supports_block_expectations?(matcher); end
832
+ def matcher_supports_value_expectations?(matcher); end
833
+ end
834
+
835
+ class RSpec::Matchers::BuiltIn::Compound::And < ::RSpec::Matchers::BuiltIn::Compound
836
+ def failure_message; end
837
+
838
+ private
839
+
840
+ def conjunction; end
841
+ def match(*_arg0); end
842
+ end
843
+
844
+ class RSpec::Matchers::BuiltIn::Compound::NestedEvaluator
845
+ def initialize(actual, matcher_1, matcher_2); end
846
+
847
+ def matcher_matches?(matcher); end
848
+
849
+ private
850
+
851
+ def inner_matcher_block(outer_args); end
852
+ def order_block_matchers; end
853
+
854
+ class << self
855
+ def matcher_expects_call_stack_jump?(matcher); end
856
+ end
857
+ end
858
+
859
+ class RSpec::Matchers::BuiltIn::Compound::Or < ::RSpec::Matchers::BuiltIn::Compound
860
+ def failure_message; end
861
+
862
+ private
863
+
864
+ def conjunction; end
865
+ def match(*_arg0); end
866
+ end
867
+
868
+ class RSpec::Matchers::BuiltIn::Compound::SequentialEvaluator
869
+ def initialize(actual, *_arg1); end
870
+
871
+ def matcher_matches?(matcher); end
872
+ end
873
+
874
+ class RSpec::Matchers::BuiltIn::ContainExactly < ::RSpec::Matchers::BuiltIn::BaseMatcher
875
+ def description; end
876
+ def failure_message; end
877
+ def failure_message_when_negated; end
878
+
879
+ private
880
+
881
+ def actual_collection_line; end
882
+ def best_solution; end
883
+ def convert_actual_to_an_array; end
884
+ def describe_collection(collection, surface_descriptions = T.unsafe(nil)); end
885
+ def expected_collection_line; end
886
+ def extra_elements_line; end
887
+ def extra_items; end
888
+ def generate_failure_message; end
889
+ def match(_expected, _actual); end
890
+ def match_when_sorted?; end
891
+ def message_line(prefix, collection, surface_descriptions = T.unsafe(nil)); end
892
+ def missing_elements_line; end
893
+ def missing_items; end
894
+ def pairings_maximizer; end
895
+ def safe_sort(array); end
896
+ def to_a_disallowed?(object); end
897
+ end
898
+
899
+ class RSpec::Matchers::BuiltIn::ContainExactly::PairingsMaximizer
900
+ def initialize(expected_to_actual_matched_indexes, actual_to_expected_matched_indexes); end
901
+
902
+ def actual_to_expected_matched_indexes; end
903
+ def expected_to_actual_matched_indexes; end
904
+ def find_best_solution; end
905
+ def solution; end
906
+
907
+ private
908
+
909
+ def apply_pairing_to(indeterminates, original_matches, other_list_index); end
910
+ def best_solution_for_pairing(expected_index, actual_index); end
911
+ def categorize_indexes(indexes_to_categorize, other_indexes); end
912
+ def reciprocal_single_match?(matches, index, other_list); end
913
+ end
914
+
915
+ class RSpec::Matchers::BuiltIn::ContainExactly::PairingsMaximizer::NullSolution
916
+ class << self
917
+ def worse_than?(_other); end
918
+ end
919
+ end
920
+
921
+ class RSpec::Matchers::BuiltIn::ContainExactly::PairingsMaximizer::Solution < ::Struct
922
+ def +(derived_candidate_solution); end
923
+ def candidate?; end
924
+ def ideal?; end
925
+ def indeterminate_actual_indexes; end
926
+ def indeterminate_actual_indexes=(_); end
927
+ def indeterminate_expected_indexes; end
928
+ def indeterminate_expected_indexes=(_); end
929
+ def unmatched_actual_indexes; end
930
+ def unmatched_actual_indexes=(_); end
931
+ def unmatched_expected_indexes; end
932
+ def unmatched_expected_indexes=(_); end
933
+ def unmatched_item_count; end
934
+ def worse_than?(other); end
935
+
936
+ class << self
937
+ def [](*_arg0); end
938
+ def inspect; end
939
+ def members; end
940
+ def new(*_arg0); end
941
+ end
942
+ end
943
+
944
+ module RSpec::Matchers::BuiltIn::CountExpectation
945
+ def at_least(number); end
946
+ def at_most(number); end
947
+ def exactly(number); end
948
+ def once; end
949
+ def thrice; end
950
+ def times; end
951
+ def twice; end
952
+
953
+ protected
954
+
955
+ def count_expectation_type; end
956
+ def expected_count; end
957
+
958
+ private
959
+
960
+ def count_constraint_to_number(n); end
961
+ def count_expectation_description; end
962
+ def count_failure_reason(action); end
963
+ def cover?(count, number); end
964
+ def expected_count_matches?(actual_count); end
965
+ def has_expected_count?; end
966
+ def human_readable_count(count); end
967
+ def human_readable_expectation_type; end
968
+ def raise_impossible_count_expectation(count); end
969
+ def raise_unsupported_count_expectation; end
970
+ def set_expected_count(relativity, n); end
971
+ def unsupported_count_expectation?(relativity); end
972
+ end
973
+
974
+ class RSpec::Matchers::BuiltIn::Cover < ::RSpec::Matchers::BuiltIn::BaseMatcher
975
+ def initialize(*expected); end
976
+
977
+ def does_not_match?(range); end
978
+ def matches?(range); end
979
+ end
980
+
981
+ class RSpec::Matchers::BuiltIn::DynamicPredicate < ::RSpec::Matchers::BuiltIn::BaseMatcher
982
+ include ::RSpec::Matchers::BuiltIn::BeHelpers
983
+
984
+ def initialize(method_name, *args, &block); end
985
+
986
+ def description; end
987
+ def does_not_match?(actual, &block); end
988
+ def failure_message; end
989
+ def failure_message_when_negated; end
990
+ def matches?(actual, &block); end
991
+
992
+ private
993
+
994
+ def expectation_of(value); end
995
+ def failure_message_expecting(value); end
996
+ def failure_to_respond_explanation; end
997
+ def method_description; end
998
+ def predicate_accessible?; end
999
+ def predicate_matches?(value = T.unsafe(nil)); end
1000
+ def predicate_method_name; end
1001
+ def predicate_result; end
1002
+ def private_predicate?; end
1003
+ def root; end
1004
+ def validity_message; end
1005
+ end
1006
+
1007
+ class RSpec::Matchers::BuiltIn::EndWith < ::RSpec::Matchers::BuiltIn::StartOrEndWith
1008
+ private
1009
+
1010
+ def element_matches?; end
1011
+ def subset_matches?; end
1012
+ end
1013
+
1014
+ class RSpec::Matchers::BuiltIn::Eq < ::RSpec::Matchers::BuiltIn::BaseMatcher
1015
+ def description; end
1016
+ def diffable?; end
1017
+ def failure_message; end
1018
+ def failure_message_when_negated; end
1019
+
1020
+ private
1021
+
1022
+ def match(expected, actual); end
1023
+ end
1024
+
1025
+ class RSpec::Matchers::BuiltIn::Eql < ::RSpec::Matchers::BuiltIn::BaseMatcher
1026
+ def diffable?; end
1027
+ def failure_message; end
1028
+ def failure_message_when_negated; end
1029
+
1030
+ private
1031
+
1032
+ def match(expected, actual); end
1033
+ end
1034
+
1035
+ class RSpec::Matchers::BuiltIn::Equal < ::RSpec::Matchers::BuiltIn::BaseMatcher
1036
+ def diffable?; end
1037
+ def failure_message; end
1038
+ def failure_message_when_negated; end
1039
+
1040
+ private
1041
+
1042
+ def actual_inspected; end
1043
+ def detailed_failure_message; end
1044
+ def expected_is_a_literal_singleton?; end
1045
+ def inspect_object(o); end
1046
+ def match(expected, actual); end
1047
+ def simple_failure_message; end
1048
+ end
1049
+
1050
+ RSpec::Matchers::BuiltIn::Equal::LITERAL_SINGLETONS = T.let(T.unsafe(nil), Array)
1051
+
1052
+ class RSpec::Matchers::BuiltIn::Exist < ::RSpec::Matchers::BuiltIn::BaseMatcher
1053
+ def initialize(*expected); end
1054
+
1055
+ def does_not_match?(actual); end
1056
+ def failure_message; end
1057
+ def failure_message_when_negated; end
1058
+ def matches?(actual); end
1059
+ end
1060
+
1061
+ class RSpec::Matchers::BuiltIn::Exist::ExistenceTest < ::Struct
1062
+ def actual_exists?; end
1063
+ def valid_test?; end
1064
+ def validity_message; end
1065
+
1066
+ private
1067
+
1068
+ def deprecated(predicate, actual); end
1069
+ def existence_values; end
1070
+ def predicates; end
1071
+ def uniq_truthy_values; end
1072
+ end
1073
+
1074
+ class RSpec::Matchers::BuiltIn::Has < ::RSpec::Matchers::BuiltIn::DynamicPredicate
1075
+ private
1076
+
1077
+ def predicate; end
1078
+ end
1079
+
1080
+ RSpec::Matchers::BuiltIn::Has::REGEX = T.let(T.unsafe(nil), Regexp)
1081
+
1082
+ class RSpec::Matchers::BuiltIn::HaveAttributes < ::RSpec::Matchers::BuiltIn::BaseMatcher
1083
+ def initialize(expected); end
1084
+
1085
+ def actual; end
1086
+ def description; end
1087
+ def diffable?; end
1088
+ def does_not_match?(actual); end
1089
+ def failure_message; end
1090
+ def failure_message_when_negated; end
1091
+ def matches?(actual); end
1092
+ def respond_to_failed; end
1093
+
1094
+ private
1095
+
1096
+ def actual_has_attribute?(attribute_key, attribute_value); end
1097
+ def cache_all_values; end
1098
+ def formatted_values; end
1099
+ def perform_match(predicate); end
1100
+ def respond_to_attributes?; end
1101
+ def respond_to_failure_message_or; end
1102
+ def respond_to_matcher; end
1103
+ end
1104
+
1105
+ class RSpec::Matchers::BuiltIn::Include < ::RSpec::Matchers::BuiltIn::BaseMatcher
1106
+ include ::RSpec::Matchers::BuiltIn::CountExpectation
1107
+
1108
+ def initialize(*expecteds); end
1109
+
1110
+ def description; end
1111
+ def diffable?; end
1112
+ def does_not_match?(actual); end
1113
+ def expected; end
1114
+ def expecteds; end
1115
+ def failure_message; end
1116
+ def failure_message_when_negated; end
1117
+ def matches?(actual); end
1118
+
1119
+ private
1120
+
1121
+ def actual_collection_includes?(expected_item); end
1122
+ def actual_hash_has_key?(expected_key); end
1123
+ def actual_hash_includes?(expected_key, expected_value); end
1124
+ def check_actual?(actual); end
1125
+ def check_expected_count?; end
1126
+ def comparing_hash_keys?(expected_item); end
1127
+ def comparing_hash_to_a_subset?(expected_item); end
1128
+ def convert_to_hash?(obj); end
1129
+ def count_enumerable(expected_item); end
1130
+ def count_inclusions; end
1131
+ def diff_would_wrongly_highlight_matched_item?; end
1132
+ def excluded_from_actual; end
1133
+ def format_failure_message(preposition); end
1134
+ def perform_match(&block); end
1135
+ def readable_list_of(items); end
1136
+ end
1137
+
1138
+ class RSpec::Matchers::BuiltIn::Match < ::RSpec::Matchers::BuiltIn::BaseMatcher
1139
+ def initialize(expected); end
1140
+
1141
+ def description; end
1142
+ def diffable?; end
1143
+ def with_captures(*captures); end
1144
+
1145
+ private
1146
+
1147
+ def can_safely_call_match?(expected, actual); end
1148
+ def match(expected, actual); end
1149
+ def match_captures(expected, actual); end
1150
+ end
1151
+
1152
+ class RSpec::Matchers::BuiltIn::NegativeOperatorMatcher < ::RSpec::Matchers::BuiltIn::OperatorMatcher
1153
+ def __delegate_operator(actual, operator, expected); end
1154
+ end
1155
+
1156
+ module RSpec::Matchers::BuiltIn::NullCapture
1157
+ class << self
1158
+ def capture(_block); end
1159
+ def name; end
1160
+ end
1161
+ end
1162
+
1163
+ class RSpec::Matchers::BuiltIn::OperatorMatcher
1164
+ def initialize(actual); end
1165
+
1166
+ def !=(_expected); end
1167
+ def !~(_expected); end
1168
+ def <(expected); end
1169
+ def <=(expected); end
1170
+ def ==(expected); end
1171
+ def ===(expected); end
1172
+ def =~(expected); end
1173
+ def >(expected); end
1174
+ def >=(expected); end
1175
+ def description; end
1176
+ def fail_with_message(message); end
1177
+
1178
+ private
1179
+
1180
+ def eval_match(actual, operator, expected); end
1181
+ def has_non_generic_implementation_of?(op); end
1182
+
1183
+ class << self
1184
+ def get(klass, operator); end
1185
+ def register(klass, operator, matcher); end
1186
+ def registry; end
1187
+ def unregister(klass, operator); end
1188
+ def use_custom_matcher_or_delegate(operator); end
1189
+ end
1190
+ end
1191
+
1192
+ class RSpec::Matchers::BuiltIn::Output < ::RSpec::Matchers::BuiltIn::BaseMatcher
1193
+ def initialize(expected); end
1194
+
1195
+ def description; end
1196
+ def diffable?; end
1197
+ def does_not_match?(block); end
1198
+ def failure_message; end
1199
+ def failure_message_when_negated; end
1200
+ def matches?(block); end
1201
+ def supports_block_expectations?; end
1202
+ def supports_value_expectations?; end
1203
+ def to_stderr; end
1204
+ def to_stderr_from_any_process; end
1205
+ def to_stdout; end
1206
+ def to_stdout_from_any_process; end
1207
+
1208
+ private
1209
+
1210
+ def actual_output_description; end
1211
+ def captured?; end
1212
+ def negative_failure_reason; end
1213
+ def positive_failure_reason; end
1214
+ end
1215
+
1216
+ class RSpec::Matchers::BuiltIn::PositiveOperatorMatcher < ::RSpec::Matchers::BuiltIn::OperatorMatcher
1217
+ def __delegate_operator(actual, operator, expected); end
1218
+ end
1219
+
1220
+ class RSpec::Matchers::BuiltIn::RaiseError
1221
+ include ::RSpec::Matchers::Composable
1222
+
1223
+ def initialize(expected_error_or_message, expected_message, &block); end
1224
+
1225
+ def description; end
1226
+ def does_not_match?(given_proc); end
1227
+ def expects_call_stack_jump?; end
1228
+ def failure_message; end
1229
+ def failure_message_when_negated; end
1230
+ def matches?(given_proc, negative_expectation = T.unsafe(nil), &block); end
1231
+ def supports_block_expectations?; end
1232
+ def supports_value_expectations?; end
1233
+ def with_message(expected_message); end
1234
+
1235
+ private
1236
+
1237
+ def actual_error_message; end
1238
+ def block_matches?; end
1239
+ def error_and_message_match?; end
1240
+ def eval_block; end
1241
+ def expectation_matched?; end
1242
+ def expected_error; end
1243
+ def expecting_specific_exception?; end
1244
+ def format_backtrace(backtrace); end
1245
+ def given_error; end
1246
+ def handle_warning(message); end
1247
+ def raise_message_already_set; end
1248
+ def ready_to_eval_block?; end
1249
+ def verify_message; end
1250
+ def warn_about_bare_error!; end
1251
+ def warn_about_bare_error?; end
1252
+ def warn_about_negative_false_positive!(expression); end
1253
+ def warn_about_nil_error!; end
1254
+ def warn_about_nil_error?; end
1255
+ def warn_for_negative_false_positives!; end
1256
+ def warning; end
1257
+ end
1258
+
1259
+ RSpec::Matchers::BuiltIn::RaiseError::UndefinedValue = T.let(T.unsafe(nil), Object)
1260
+
1261
+ class RSpec::Matchers::BuiltIn::ReliableMatchData
1262
+ def initialize(match_data); end
1263
+
1264
+ def captures; end
1265
+ def names; end
1266
+
1267
+ protected
1268
+
1269
+ def match_data; end
1270
+ end
1271
+
1272
+ class RSpec::Matchers::BuiltIn::RespondTo < ::RSpec::Matchers::BuiltIn::BaseMatcher
1273
+ def initialize(*names); end
1274
+
1275
+ def and_any_keywords; end
1276
+ def and_keywords(*keywords); end
1277
+ def and_unlimited_arguments; end
1278
+ def argument; end
1279
+ def arguments; end
1280
+ def description; end
1281
+ def does_not_match?(actual); end
1282
+ def failure_message; end
1283
+ def failure_message_when_negated; end
1284
+ def ignoring_method_signature_failure!; end
1285
+ def matches?(actual); end
1286
+ def with(n); end
1287
+ def with_any_keywords; end
1288
+ def with_keywords(*keywords); end
1289
+ def with_unlimited_arguments; end
1290
+
1291
+ private
1292
+
1293
+ def find_failing_method_names(actual, filter_method); end
1294
+ def matches_arity?(actual, name); end
1295
+ def pp_names; end
1296
+ def with_arity; end
1297
+ def with_arity_string; end
1298
+ def with_keywords_string; end
1299
+ end
1300
+
1301
+ class RSpec::Matchers::BuiltIn::RespondTo::ArityCheck
1302
+ def initialize(expected_arity, expected_keywords, arbitrary_keywords, unlimited_arguments); end
1303
+
1304
+ def matches?(actual, name); end
1305
+ def method_signature_for(actual, name); end
1306
+ def verifier_for(actual, name); end
1307
+ end
1308
+
1309
+ class RSpec::Matchers::BuiltIn::Satisfy < ::RSpec::Matchers::BuiltIn::BaseMatcher
1310
+ def initialize(description = T.unsafe(nil), &block); end
1311
+
1312
+ def description; end
1313
+ def failure_message; end
1314
+ def failure_message_when_negated; end
1315
+ def matches?(actual, &block); end
1316
+
1317
+ private
1318
+
1319
+ def block_representation; end
1320
+ def extract_block_snippet; end
1321
+ end
1322
+
1323
+ class RSpec::Matchers::BuiltIn::SpecificValuesChange < ::RSpec::Matchers::BuiltIn::BaseMatcher
1324
+ def initialize(change_details, from, to); end
1325
+
1326
+ def description; end
1327
+ def failure_message; end
1328
+ def matches?(event_proc); end
1329
+ def supports_block_expectations?; end
1330
+ def supports_value_expectations?; end
1331
+
1332
+ private
1333
+
1334
+ def after_value_failure; end
1335
+ def before_value_failure; end
1336
+ def did_change_failure; end
1337
+ def did_not_change_failure; end
1338
+ def matches_after?; end
1339
+ def not_given_a_block_failure; end
1340
+ def perform_change(event_proc); end
1341
+ end
1342
+
1343
+ RSpec::Matchers::BuiltIn::SpecificValuesChange::MATCH_ANYTHING = BasicObject
1344
+ RSpec::Matchers::BuiltIn::StartAndEndWith = RSpec::Matchers::BuiltIn::StartOrEndWith
1345
+
1346
+ class RSpec::Matchers::BuiltIn::StartOrEndWith < ::RSpec::Matchers::BuiltIn::BaseMatcher
1347
+ def initialize(*expected); end
1348
+
1349
+ def description; end
1350
+ def failure_message; end
1351
+
1352
+ private
1353
+
1354
+ def match(_expected, actual); end
1355
+ def subsets_comparable?; end
1356
+ end
1357
+
1358
+ class RSpec::Matchers::BuiltIn::StartWith < ::RSpec::Matchers::BuiltIn::StartOrEndWith
1359
+ private
1360
+
1361
+ def element_matches?; end
1362
+ def subset_matches?; end
1363
+ end
1364
+
1365
+ class RSpec::Matchers::BuiltIn::ThrowSymbol
1366
+ include ::RSpec::Matchers::Composable
1367
+
1368
+ def initialize(expected_symbol = T.unsafe(nil), expected_arg = T.unsafe(nil)); end
1369
+
1370
+ def description; end
1371
+ def does_not_match?(given_proc); end
1372
+ def expects_call_stack_jump?; end
1373
+ def failure_message; end
1374
+ def failure_message_when_negated; end
1375
+ def matches?(given_proc); end
1376
+ def supports_block_expectations?; end
1377
+ def supports_value_expectations?; end
1378
+
1379
+ private
1380
+
1381
+ def actual_result; end
1382
+ def caught; end
1383
+ def expected(symbol_desc = T.unsafe(nil)); end
1384
+ def throw_description(symbol, arg); end
1385
+ end
1386
+
1387
+ class RSpec::Matchers::BuiltIn::YieldControl < ::RSpec::Matchers::BuiltIn::BaseMatcher
1388
+ include ::RSpec::Matchers::BuiltIn::CountExpectation
1389
+
1390
+ def does_not_match?(block); end
1391
+ def failure_message; end
1392
+ def failure_message_when_negated; end
1393
+ def matches?(block); end
1394
+ def supports_block_expectations?; end
1395
+ def supports_value_expectations?; end
1396
+
1397
+ private
1398
+
1399
+ def failure_reason; end
1400
+ end
1401
+
1402
+ class RSpec::Matchers::BuiltIn::YieldProbe
1403
+ def initialize(block, &callback); end
1404
+
1405
+ def assert_used!; end
1406
+ def assert_valid_expect_block!; end
1407
+ def has_block?; end
1408
+ def num_yields; end
1409
+ def num_yields=(_arg0); end
1410
+ def probe; end
1411
+ def single_yield_args; end
1412
+ def to_proc; end
1413
+ def yielded_args; end
1414
+ def yielded_args=(_arg0); end
1415
+ def yielded_once?(matcher_name); end
1416
+
1417
+ class << self
1418
+ def probe(block, &callback); end
1419
+ end
1420
+ end
1421
+
1422
+ class RSpec::Matchers::BuiltIn::YieldSuccessiveArgs < ::RSpec::Matchers::BuiltIn::BaseMatcher
1423
+ def initialize(*args); end
1424
+
1425
+ def description; end
1426
+ def does_not_match?(block); end
1427
+ def failure_message; end
1428
+ def failure_message_when_negated; end
1429
+ def matches?(block); end
1430
+ def supports_block_expectations?; end
1431
+ def supports_value_expectations?; end
1432
+
1433
+ private
1434
+
1435
+ def expected_arg_description; end
1436
+ def negative_failure_reason; end
1437
+ def positive_failure_reason; end
1438
+ end
1439
+
1440
+ class RSpec::Matchers::BuiltIn::YieldWithArgs < ::RSpec::Matchers::BuiltIn::BaseMatcher
1441
+ def initialize(*args); end
1442
+
1443
+ def description; end
1444
+ def does_not_match?(block); end
1445
+ def failure_message; end
1446
+ def failure_message_when_negated; end
1447
+ def matches?(block); end
1448
+ def supports_block_expectations?; end
1449
+ def supports_value_expectations?; end
1450
+
1451
+ private
1452
+
1453
+ def all_args_match?; end
1454
+ def args_currently_match?; end
1455
+ def expected_arg_description; end
1456
+ def negative_failure_reason; end
1457
+ def positive_failure_reason; end
1458
+ end
1459
+
1460
+ class RSpec::Matchers::BuiltIn::YieldWithNoArgs < ::RSpec::Matchers::BuiltIn::BaseMatcher
1461
+ def does_not_match?(block); end
1462
+ def failure_message; end
1463
+ def failure_message_when_negated; end
1464
+ def matches?(block); end
1465
+ def supports_block_expectations?; end
1466
+ def supports_value_expectations?; end
1467
+
1468
+ private
1469
+
1470
+ def negative_failure_reason; end
1471
+ def positive_failure_reason; end
1472
+ end
1473
+
1474
+ module RSpec::Matchers::Composable
1475
+ def &(matcher); end
1476
+ def ===(value); end
1477
+ def and(matcher); end
1478
+ def or(matcher); end
1479
+ def |(matcher); end
1480
+
1481
+ private
1482
+
1483
+ def description_of(object); end
1484
+ def should_enumerate?(item); end
1485
+ def surface_descriptions_in(item); end
1486
+ def unreadable_io?(object); end
1487
+ def values_match?(expected, actual); end
1488
+ def with_matchers_cloned(object); end
1489
+
1490
+ class << self
1491
+ def should_enumerate?(item); end
1492
+ def surface_descriptions_in(item); end
1493
+ def unreadable_io?(object); end
1494
+ end
1495
+ end
1496
+
1497
+ class RSpec::Matchers::Composable::DescribableItem < ::Struct
1498
+ def inspect; end
1499
+ def item; end
1500
+ def item=(_); end
1501
+ def pretty_print(pp); end
1502
+
1503
+ class << self
1504
+ def [](*_arg0); end
1505
+ def inspect; end
1506
+ def members; end
1507
+ def new(*_arg0); end
1508
+ end
1509
+ end
1510
+
1511
+ module RSpec::Matchers::DSL
1512
+ def alias_matcher(new_name, old_name, options = T.unsafe(nil), &description_override); end
1513
+ def define(name, &declarations); end
1514
+ def define_negated_matcher(negated_name, base_name, &description_override); end
1515
+ def matcher(name, &declarations); end
1516
+
1517
+ private
1518
+
1519
+ def warn_about_block_args(name, declarations); end
1520
+ end
1521
+
1522
+ module RSpec::Matchers::DSL::DefaultImplementations
1523
+ include ::RSpec::Matchers::BuiltIn::BaseMatcher::DefaultFailureMessages
1524
+
1525
+ def description; end
1526
+ def diffable?; end
1527
+ def expects_call_stack_jump?; end
1528
+ def supports_block_expectations?; end
1529
+ def supports_value_expectations?; end
1530
+
1531
+ private
1532
+
1533
+ def chained_method_clause_sentences; end
1534
+ end
1535
+
1536
+ module RSpec::Matchers::DSL::Macros
1537
+ def chain(method_name, *attr_names, &definition); end
1538
+ def description(&definition); end
1539
+ def diffable; end
1540
+ def failure_message(&definition); end
1541
+ def failure_message_when_negated(&definition); end
1542
+ def match(options = T.unsafe(nil), &match_block); end
1543
+ def match_unless_raises(expected_exception = T.unsafe(nil), &match_block); end
1544
+ def match_when_negated(options = T.unsafe(nil), &match_block); end
1545
+ def supports_block_expectations; end
1546
+
1547
+ private
1548
+
1549
+ def assign_attributes(attr_names); end
1550
+ def define_user_override(method_name, user_def, &our_def); end
1551
+ end
1552
+
1553
+ module RSpec::Matchers::DSL::Macros::Deprecated
1554
+ def failure_message_for_should(&definition); end
1555
+ def failure_message_for_should_not(&definition); end
1556
+ def match_for_should(&definition); end
1557
+ def match_for_should_not(&definition); end
1558
+ end
1559
+
1560
+ RSpec::Matchers::DSL::Macros::RAISE_NOTIFIER = T.let(T.unsafe(nil), Proc)
1561
+
1562
+ class RSpec::Matchers::DSL::Matcher
1563
+ include ::RSpec::Matchers::BuiltIn::BaseMatcher::DefaultFailureMessages
1564
+ include ::RSpec::Matchers::DSL::DefaultImplementations
1565
+ include ::RSpec::Matchers
1566
+ include ::RSpec::Matchers::Composable
1567
+ extend ::RSpec::Matchers::DSL::Macros
1568
+ extend ::RSpec::Matchers::DSL::Macros::Deprecated
1569
+
1570
+ def initialize(name, declarations, matcher_execution_context, *expected, &block_arg); end
1571
+
1572
+ def actual; end
1573
+ def block_arg; end
1574
+ def expected; end
1575
+ def expected_as_array; end
1576
+ def inspect; end
1577
+ def name; end
1578
+ def rescued_exception; end
1579
+
1580
+ private
1581
+
1582
+ def actual_arg_for(block); end
1583
+ def method_missing(method, *args, &block); end
1584
+ def respond_to_missing?(method, include_private = T.unsafe(nil)); end
1585
+ end
1586
+
1587
+ RSpec::Matchers::DYNAMIC_MATCHER_REGEX = T.let(T.unsafe(nil), Regexp)
1588
+
1589
+ module RSpec::Matchers::EnglishPhrasing
1590
+ class << self
1591
+ def list(obj); end
1592
+ def split_words(sym); end
1593
+ end
1594
+ end
1595
+
1596
+ class RSpec::Matchers::ExpectedsForMultipleDiffs
1597
+ def initialize(expected_list); end
1598
+
1599
+ def message_with_diff(message, differ, actual); end
1600
+
1601
+ private
1602
+
1603
+ def diffs(differ, actual); end
1604
+
1605
+ class << self
1606
+ def for_many_matchers(matchers); end
1607
+ def from(expected); end
1608
+
1609
+ private
1610
+
1611
+ def diff_label_for(matcher); end
1612
+ def truncated(description); end
1613
+ end
1614
+ end
1615
+
1616
+ RSpec::Matchers::ExpectedsForMultipleDiffs::DEFAULT_DIFF_LABEL = T.let(T.unsafe(nil), String)
1617
+ RSpec::Matchers::ExpectedsForMultipleDiffs::DESCRIPTION_MAX_LENGTH = T.let(T.unsafe(nil), Integer)
1618
+ RSpec::Matchers::HAS_REGEX = T.let(T.unsafe(nil), Regexp)
1619
+
1620
+ class RSpec::Matchers::MatcherDelegator
1621
+ include ::RSpec::Matchers::Composable
1622
+
1623
+ def initialize(base_matcher); end
1624
+
1625
+ def base_matcher; end
1626
+ def method_missing(*args, &block); end
1627
+
1628
+ private
1629
+
1630
+ def initialize_copy(other); end
1631
+ def respond_to_missing?(name, include_all = T.unsafe(nil)); end
1632
+ end
1633
+
1634
+ RSpec::SharedContext = RSpec::Core::SharedContext