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,2468 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `rspec-core` gem.
5
+ # Please instead update this file by running `bin/tapioca gem rspec-core`.
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::Core
38
+ class << self
39
+ def path_to_executable; end
40
+ end
41
+ end
42
+
43
+ class RSpec::Core::AnonymousExampleGroup < ::RSpec::Core::ExampleGroup
44
+ class << self
45
+ def metadata; end
46
+ end
47
+ end
48
+
49
+ class RSpec::Core::BacktraceFormatter
50
+ def initialize; end
51
+
52
+ def backtrace_line(line); end
53
+ def exclude?(line); end
54
+ def exclusion_patterns; end
55
+ def exclusion_patterns=(_arg0); end
56
+ def filter_gem(gem_name); end
57
+ def format_backtrace(backtrace, options = T.unsafe(nil)); end
58
+ def full_backtrace=(_arg0); end
59
+ def full_backtrace?; end
60
+ def inclusion_patterns; end
61
+ def inclusion_patterns=(_arg0); end
62
+
63
+ private
64
+
65
+ def matches?(patterns, line); end
66
+ end
67
+
68
+ module RSpec::Core::Bisect; end
69
+
70
+ class RSpec::Core::Bisect::BisectFailedError < ::StandardError
71
+ class << self
72
+ def for_failed_spec_run(spec_output); end
73
+ end
74
+ end
75
+
76
+ class RSpec::Core::Bisect::Channel
77
+ def initialize; end
78
+
79
+ def close; end
80
+ def receive; end
81
+ def send(message); end
82
+ end
83
+
84
+ RSpec::Core::Bisect::Channel::MARSHAL_DUMP_ENCODING = T.let(T.unsafe(nil), Encoding)
85
+
86
+ class RSpec::Core::Bisect::ExampleSetDescriptor < ::Struct
87
+ def all_example_ids; end
88
+ def all_example_ids=(_); end
89
+ def failed_example_ids; end
90
+ def failed_example_ids=(_); end
91
+
92
+ class << self
93
+ def [](*_arg0); end
94
+ def inspect; end
95
+ def members; end
96
+ def new(*_arg0); end
97
+ end
98
+ end
99
+
100
+ class RSpec::Core::Bisect::Notifier
101
+ def initialize(formatter); end
102
+
103
+ def publish(event, *args); end
104
+ end
105
+
106
+ class RSpec::Core::Configuration
107
+ include ::RSpec::Core::Hooks
108
+ include ::RSpec::Core::Configuration::Readers
109
+
110
+ def initialize; end
111
+
112
+ def add_formatter(formatter, output = T.unsafe(nil)); end
113
+ def add_setting(name, opts = T.unsafe(nil)); end
114
+ def after(scope = T.unsafe(nil), *meta, &block); end
115
+ def alias_example_group_to(new_name, *args); end
116
+ def alias_example_to(name, *args); end
117
+ def alias_it_behaves_like_to(new_name, report_label = T.unsafe(nil)); end
118
+ def alias_it_should_behave_like_to(new_name, report_label = T.unsafe(nil)); end
119
+ def append_after(scope = T.unsafe(nil), *meta, &block); end
120
+ def append_before(scope = T.unsafe(nil), *meta, &block); end
121
+ def apply_derived_metadata_to(metadata); end
122
+ def around(scope = T.unsafe(nil), *meta, &block); end
123
+ def backtrace_exclusion_patterns; end
124
+ def backtrace_exclusion_patterns=(patterns); end
125
+ def backtrace_formatter; end
126
+ def backtrace_inclusion_patterns; end
127
+ def backtrace_inclusion_patterns=(patterns); end
128
+ def before(scope = T.unsafe(nil), *meta, &block); end
129
+ def bisect_runner; end
130
+ def bisect_runner=(value); end
131
+ def bisect_runner_class; end
132
+ def color; end
133
+ def color=(_arg0); end
134
+ def color_enabled?(output = T.unsafe(nil)); end
135
+ def color_mode; end
136
+ def color_mode=(_arg0); end
137
+ def configure_example(example, example_hooks); end
138
+ def configure_expectation_framework; end
139
+ def configure_group(group); end
140
+ def configure_mock_framework; end
141
+ def default_color; end
142
+ def default_color=(_arg0); end
143
+ def default_color?; end
144
+ def default_formatter; end
145
+ def default_formatter=(value); end
146
+ def default_path; end
147
+ def default_path=(path); end
148
+ def default_path?; end
149
+ def define_derived_metadata(*filters, &block); end
150
+ def deprecation_stream; end
151
+ def deprecation_stream=(value); end
152
+ def detail_color; end
153
+ def detail_color=(_arg0); end
154
+ def detail_color?; end
155
+ def disable_monkey_patching; end
156
+ def disable_monkey_patching!; end
157
+ def disable_monkey_patching=(_arg0); end
158
+ def drb; end
159
+ def drb=(_arg0); end
160
+ def drb?; end
161
+ def drb_port; end
162
+ def drb_port=(_arg0); end
163
+ def drb_port?; end
164
+ def dry_run; end
165
+ def dry_run=(_arg0); end
166
+ def dry_run?; end
167
+ def error_exit_code; end
168
+ def error_exit_code=(_arg0); end
169
+ def error_exit_code?; end
170
+ def error_stream; end
171
+ def error_stream=(_arg0); end
172
+ def error_stream?; end
173
+ def example_status_persistence_file_path; end
174
+ def example_status_persistence_file_path=(value); end
175
+ def exclude_pattern; end
176
+ def exclude_pattern=(value); end
177
+ def exclusion_filter; end
178
+ def exclusion_filter=(filter); end
179
+ def expect_with(*frameworks); end
180
+ def expectation_framework=(framework); end
181
+ def expectation_frameworks; end
182
+ def expose_current_running_example_as(method_name); end
183
+ def expose_dsl_globally=(value); end
184
+ def expose_dsl_globally?; end
185
+ def extend(mod, *filters); end
186
+ def fail_fast; end
187
+ def fail_fast=(value); end
188
+ def fail_if_no_examples; end
189
+ def fail_if_no_examples=(_arg0); end
190
+ def fail_if_no_examples?; end
191
+ def failure_color; end
192
+ def failure_color=(_arg0); end
193
+ def failure_color?; end
194
+ def failure_exit_code; end
195
+ def failure_exit_code=(_arg0); end
196
+ def failure_exit_code?; end
197
+ def files_or_directories_to_run=(*files); end
198
+ def files_to_run; end
199
+ def files_to_run=(_arg0); end
200
+ def filter; end
201
+ def filter=(filter); end
202
+ def filter_gems_from_backtrace(*gem_names); end
203
+ def filter_manager; end
204
+ def filter_manager=(_arg0); end
205
+ def filter_run(*args); end
206
+ def filter_run_excluding(*args); end
207
+ def filter_run_including(*args); end
208
+ def filter_run_when_matching(*args); end
209
+ def fixed_color; end
210
+ def fixed_color=(_arg0); end
211
+ def fixed_color?; end
212
+ def force(hash); end
213
+ def format_docstrings(&block); end
214
+ def format_docstrings_block; end
215
+ def formatter=(formatter, output = T.unsafe(nil)); end
216
+ def formatter_loader; end
217
+ def formatters; end
218
+ def full_backtrace=(true_or_false); end
219
+ def full_backtrace?; end
220
+ def full_description; end
221
+ def full_description=(description); end
222
+ def hooks; end
223
+ def in_project_source_dir_regex; end
224
+ def include(mod, *filters); end
225
+ def include_context(shared_group_name, *filters); end
226
+ def inclusion_filter; end
227
+ def inclusion_filter=(filter); end
228
+ def last_run_statuses; end
229
+ def libs; end
230
+ def libs=(libs); end
231
+ def load_spec_files; end
232
+ def loaded_spec_files; end
233
+ def max_displayed_failure_line_count; end
234
+ def max_displayed_failure_line_count=(_arg0); end
235
+ def max_displayed_failure_line_count?; end
236
+ def mock_framework; end
237
+ def mock_framework=(framework); end
238
+ def mock_with(framework); end
239
+ def on_example_group_definition(&block); end
240
+ def on_example_group_definition_callbacks; end
241
+ def only_failures; end
242
+ def only_failures?; end
243
+ def only_failures_but_not_configured?; end
244
+ def order=(*args, &block); end
245
+ def ordering_manager; end
246
+ def ordering_registry(*args, &block); end
247
+ def output_stream; end
248
+ def output_stream=(value); end
249
+ def pattern; end
250
+ def pattern=(value); end
251
+ def pending_color; end
252
+ def pending_color=(_arg0); end
253
+ def pending_color?; end
254
+ def prepend(mod, *filters); end
255
+ def prepend_after(scope = T.unsafe(nil), *meta, &block); end
256
+ def prepend_before(scope = T.unsafe(nil), *meta, &block); end
257
+ def profile_examples; end
258
+ def profile_examples=(_arg0); end
259
+ def profile_examples?; end
260
+ def project_source_dirs; end
261
+ def project_source_dirs=(_arg0); end
262
+ def project_source_dirs?; end
263
+ def raise_errors_for_deprecations!; end
264
+ def raise_on_warning=(value); end
265
+ def register_ordering(*args, &block); end
266
+ def reporter; end
267
+ def requires; end
268
+ def requires=(paths); end
269
+ def reset; end
270
+ def reset_filters; end
271
+ def reset_reporter; end
272
+ def run_all_when_everything_filtered; end
273
+ def run_all_when_everything_filtered=(_arg0); end
274
+ def run_all_when_everything_filtered?; end
275
+ def seed(*args, &block); end
276
+ def seed=(*args, &block); end
277
+ def seed_used?(*args, &block); end
278
+ def shared_context_metadata_behavior; end
279
+ def shared_context_metadata_behavior=(value); end
280
+ def silence_filter_announcements; end
281
+ def silence_filter_announcements=(_arg0); end
282
+ def silence_filter_announcements?; end
283
+ def spec_files_with_failures; end
284
+ def start_time; end
285
+ def start_time=(_arg0); end
286
+ def start_time?; end
287
+ def static_config_filter_manager; end
288
+ def static_config_filter_manager=(_arg0); end
289
+ def success_color; end
290
+ def success_color=(_arg0); end
291
+ def success_color?; end
292
+ def threadsafe; end
293
+ def threadsafe=(_arg0); end
294
+ def threadsafe?; end
295
+ def treat_symbols_as_metadata_keys_with_true_values=(_value); end
296
+ def tty; end
297
+ def tty=(_arg0); end
298
+ def tty?; end
299
+ def warnings=(value); end
300
+ def warnings?; end
301
+ def when_first_matching_example_defined(*filters); end
302
+ def with_suite_hooks; end
303
+ def world; end
304
+ def world=(_arg0); end
305
+
306
+ private
307
+
308
+ def absolute_pattern?(pattern); end
309
+ def add_hook_to_existing_matching_groups(meta, scope, &block); end
310
+ def assert_no_example_groups_defined(config_option); end
311
+ def clear_values_derived_from_example_status_persistence_file_path; end
312
+ def command; end
313
+ def conditionally_disable_expectations_monkey_patching; end
314
+ def conditionally_disable_mocks_monkey_patching; end
315
+ def configure_group_with(group, module_list, application_method); end
316
+ def define_built_in_hooks; end
317
+ def define_mixed_in_module(mod, filters, mod_list, config_method, &block); end
318
+ def extract_location(path); end
319
+ def file_glob_from(path, pattern); end
320
+ def gather_directories(path); end
321
+ def get_files_to_run(paths); end
322
+ def get_matching_files(path, pattern); end
323
+ def handle_suite_hook(scope, meta); end
324
+ def load_file_handling_errors(method, file); end
325
+ def metadata_applies_to_group?(meta, group); end
326
+ def on_existing_matching_groups(meta); end
327
+ def output_to_tty?(output = T.unsafe(nil)); end
328
+ def output_wrapper; end
329
+ def paths_to_check(paths); end
330
+ def pattern_might_load_specs_from_vendored_dirs?; end
331
+ def rspec_expectations_loaded?; end
332
+ def rspec_mocks_loaded?; end
333
+ def run_suite_hooks(hook_description, hooks); end
334
+ def safe_extend(mod, host); end
335
+ def safe_include(mod, host); end
336
+ def safe_prepend(mod, host); end
337
+ def update_pattern_attr(name, value); end
338
+ def value_for(key); end
339
+
340
+ class << self
341
+ def add_read_only_setting(name, opts = T.unsafe(nil)); end
342
+ def add_setting(name, opts = T.unsafe(nil)); end
343
+ def define_alias(name, alias_name); end
344
+ def define_predicate(name); end
345
+ def define_reader(name); end
346
+ def delegate_to_ordering_manager(*methods); end
347
+ end
348
+ end
349
+
350
+ RSpec::Core::Configuration::DEFAULT_FORMATTER = T.let(T.unsafe(nil), Proc)
351
+
352
+ class RSpec::Core::Configuration::DeprecationReporterBuffer
353
+ def initialize; end
354
+
355
+ def deprecation(*args); end
356
+ def play_onto(reporter); end
357
+ end
358
+
359
+ module RSpec::Core::Configuration::ExposeCurrentExample; end
360
+ RSpec::Core::Configuration::FAILED_STATUS = T.let(T.unsafe(nil), String)
361
+ RSpec::Core::Configuration::MOCKING_ADAPTERS = T.let(T.unsafe(nil), Hash)
362
+ class RSpec::Core::Configuration::MustBeConfiguredBeforeExampleGroupsError < ::StandardError; end
363
+ RSpec::Core::Configuration::PASSED_STATUS = T.let(T.unsafe(nil), String)
364
+ RSpec::Core::Configuration::PENDING_STATUS = T.let(T.unsafe(nil), String)
365
+ RSpec::Core::Configuration::RAISE_ERROR_WARNING_NOTIFIER = T.let(T.unsafe(nil), Proc)
366
+
367
+ module RSpec::Core::Configuration::Readers
368
+ def default_color; end
369
+ def default_path; end
370
+ def deprecation_stream; end
371
+ def detail_color; end
372
+ def drb; end
373
+ def drb_port; end
374
+ def dry_run; end
375
+ def error_exit_code; end
376
+ def error_stream; end
377
+ def example_status_persistence_file_path; end
378
+ def exclude_pattern; end
379
+ def fail_fast; end
380
+ def fail_if_no_examples; end
381
+ def failure_color; end
382
+ def failure_exit_code; end
383
+ def fixed_color; end
384
+ def libs; end
385
+ def max_displayed_failure_line_count; end
386
+ def only_failures; end
387
+ def output_stream; end
388
+ def pattern; end
389
+ def pending_color; end
390
+ def project_source_dirs; end
391
+ def requires; end
392
+ def run_all_when_everything_filtered; end
393
+ def shared_context_metadata_behavior; end
394
+ def silence_filter_announcements; end
395
+ def start_time; end
396
+ def success_color; end
397
+ def threadsafe; end
398
+ def tty; end
399
+ end
400
+
401
+ RSpec::Core::Configuration::UNKNOWN_STATUS = T.let(T.unsafe(nil), String)
402
+ RSpec::Core::Configuration::VALID_STATUSES = T.let(T.unsafe(nil), Array)
403
+
404
+ class RSpec::Core::ConfigurationOptions
405
+ def initialize(args); end
406
+
407
+ def args; end
408
+ def configure(config); end
409
+ def configure_filter_manager(filter_manager); end
410
+ def options; end
411
+
412
+ private
413
+
414
+ def args_from_options_file(path); end
415
+ def command_line_options; end
416
+ def custom_options; end
417
+ def custom_options_file; end
418
+ def env_options; end
419
+ def file_options; end
420
+ def force?(key); end
421
+ def global_options; end
422
+ def global_options_file; end
423
+ def home_options_file_path; end
424
+ def load_formatters_into(config); end
425
+ def local_options; end
426
+ def local_options_file; end
427
+ def options_file_as_erb_string(path); end
428
+ def options_from(path); end
429
+ def order(keys); end
430
+ def organize_options; end
431
+ def parse_args_ignoring_files_or_dirs_to_run(args, source); end
432
+ def process_options_into(config); end
433
+ def project_options; end
434
+ def project_options_file; end
435
+ def resolve_xdg_config_home; end
436
+ def xdg_options_file_if_exists; end
437
+ def xdg_options_file_path; end
438
+ end
439
+
440
+ RSpec::Core::ConfigurationOptions::OPTIONS_ORDER = T.let(T.unsafe(nil), Array)
441
+ RSpec::Core::ConfigurationOptions::UNFORCED_OPTIONS = T.let(T.unsafe(nil), RSpec::Core::Set)
442
+ RSpec::Core::ConfigurationOptions::UNPROCESSABLE_OPTIONS = T.let(T.unsafe(nil), RSpec::Core::Set)
443
+
444
+ module RSpec::Core::DSL
445
+ class << self
446
+ def change_global_dsl(&changes); end
447
+ def example_group_aliases; end
448
+ def expose_example_group_alias(name); end
449
+ def expose_example_group_alias_globally(method_name); end
450
+ def expose_globally!; end
451
+ def exposed_globally?; end
452
+ def remove_globally!; end
453
+ def top_level; end
454
+ def top_level=(_arg0); end
455
+ end
456
+ end
457
+
458
+ class RSpec::Core::DeprecationError < ::StandardError; end
459
+
460
+ class RSpec::Core::DidYouMean
461
+ def initialize(relative_file_name); end
462
+
463
+ def call; end
464
+ def relative_file_name; end
465
+
466
+ private
467
+
468
+ def formats(probables); end
469
+ def red_font(mytext); end
470
+ def top_and_tail(rspec_format); end
471
+ end
472
+
473
+ class RSpec::Core::Example
474
+ def initialize(example_group_class, description, user_metadata, example_block = T.unsafe(nil)); end
475
+
476
+ def clock; end
477
+ def clock=(_arg0); end
478
+ def description; end
479
+ def display_exception; end
480
+ def display_exception=(ex); end
481
+ def duplicate_with(metadata_overrides = T.unsafe(nil)); end
482
+ def example_group; end
483
+ def example_group_instance; end
484
+ def exception; end
485
+ def execution_result; end
486
+ def fail_with_exception(reporter, exception); end
487
+ def file_path; end
488
+ def full_description; end
489
+ def id; end
490
+ def inspect; end
491
+ def inspect_output; end
492
+ def instance_exec(*args, &block); end
493
+ def location; end
494
+ def location_rerun_argument; end
495
+ def metadata; end
496
+ def pending; end
497
+ def pending?; end
498
+ def reporter; end
499
+ def rerun_argument; end
500
+ def run(example_group_instance, reporter); end
501
+ def set_aggregate_failures_exception(exception); end
502
+ def set_exception(exception); end
503
+ def skip; end
504
+ def skip_with_exception(reporter, exception); end
505
+ def skipped?; end
506
+ def to_s; end
507
+ def update_inherited_metadata(updates); end
508
+
509
+ private
510
+
511
+ def assign_generated_description; end
512
+ def finish(reporter); end
513
+ def generate_description; end
514
+ def hooks; end
515
+ def location_description; end
516
+ def mocks_need_verification?; end
517
+ def record_finished(status, reporter); end
518
+ def run_after_example; end
519
+ def run_before_example; end
520
+ def start(reporter); end
521
+ def verify_mocks; end
522
+ def with_around_and_singleton_context_hooks; end
523
+ def with_around_example_hooks; end
524
+
525
+ class << self
526
+ def delegate_to_metadata(key); end
527
+ def parse_id(id); end
528
+ end
529
+ end
530
+
531
+ RSpec::Core::Example::AllExceptionsExcludingDangerousOnesOnRubiesThatAllowIt = RSpec::Support::AllExceptionsExceptOnesWeMustNotRescue
532
+
533
+ class RSpec::Core::Example::ExecutionResult
534
+ include ::RSpec::Core::HashImitatable
535
+ extend ::RSpec::Core::HashImitatable::ClassMethods
536
+
537
+ def ensure_timing_set(clock); end
538
+ def example_skipped?; end
539
+ def exception; end
540
+ def exception=(_arg0); end
541
+ def finished_at; end
542
+ def finished_at=(_arg0); end
543
+ def pending_exception; end
544
+ def pending_exception=(_arg0); end
545
+ def pending_fixed; end
546
+ def pending_fixed=(_arg0); end
547
+ def pending_fixed?; end
548
+ def pending_message; end
549
+ def pending_message=(_arg0); end
550
+ def record_finished(status, finished_at); end
551
+ def run_time; end
552
+ def run_time=(_arg0); end
553
+ def started_at; end
554
+ def started_at=(_arg0); end
555
+ def status; end
556
+ def status=(_arg0); end
557
+
558
+ private
559
+
560
+ def calculate_run_time(finished_at); end
561
+ def get_value(name); end
562
+ def hash_for_delegation; end
563
+ def issue_deprecation(_method_name, *_args); end
564
+ def set_value(name, value); end
565
+ end
566
+
567
+ class RSpec::Core::Example::Procsy
568
+ def initialize(example, &block); end
569
+
570
+ def <<(*a, &b); end
571
+ def ===(*a, &b); end
572
+ def >>(*a, &b); end
573
+ def [](*a, &b); end
574
+ def arity(*a, &b); end
575
+ def binding(*a, &b); end
576
+ def call(*args, &block); end
577
+ def clock(*a, &b); end
578
+ def clock=(*a, &b); end
579
+ def clone(*a, &b); end
580
+ def curry(*a, &b); end
581
+ def description(*a, &b); end
582
+ def dup(*a, &b); end
583
+ def duplicate_with(*a, &b); end
584
+ def example; end
585
+ def example_group(*a, &b); end
586
+ def example_group_instance(*a, &b); end
587
+ def exception(*a, &b); end
588
+ def executed?; end
589
+ def execution_result(*a, &b); end
590
+ def file_path(*a, &b); end
591
+ def full_description(*a, &b); end
592
+ def hash(*a, &b); end
593
+ def id(*a, &b); end
594
+ def inspect; end
595
+ def inspect_output(*a, &b); end
596
+ def lambda?(*a, &b); end
597
+ def location(*a, &b); end
598
+ def location_rerun_argument(*a, &b); end
599
+ def metadata(*a, &b); end
600
+ def parameters(*a, &b); end
601
+ def pending(*a, &b); end
602
+ def pending?(*a, &b); end
603
+ def reporter(*a, &b); end
604
+ def rerun_argument(*a, &b); end
605
+ def ruby2_keywords(*a, &b); end
606
+ def run(*args, &block); end
607
+ def skip(*a, &b); end
608
+ def skipped?(*a, &b); end
609
+ def source_location(*a, &b); end
610
+ def to_proc; end
611
+ def update_inherited_metadata(*a, &b); end
612
+ def wrap(&block); end
613
+ def yield(*a, &b); end
614
+ end
615
+
616
+ class RSpec::Core::ExampleGroup
617
+ include ::RSpec::Core::MemoizedHelpers
618
+ include ::RSpec::Core::Pending
619
+ extend ::RSpec::Core::Hooks
620
+ extend ::RSpec::Core::MemoizedHelpers::ClassMethods
621
+ extend ::RSpec::Core::SharedExampleGroup
622
+
623
+ def initialize(inspect_output = T.unsafe(nil)); end
624
+
625
+ def described_class; end
626
+ def inspect; end
627
+
628
+ private
629
+
630
+ def method_missing(name, *args); end
631
+
632
+ class << self
633
+ def add_example(example); end
634
+ def before_context_ivars; end
635
+ def children; end
636
+ def context(*args, &example_group_block); end
637
+ def currently_executing_a_context_hook?; end
638
+ def declaration_locations; end
639
+ def define_example_group_method(name, metadata = T.unsafe(nil)); end
640
+ def define_example_method(name, extra_options = T.unsafe(nil)); end
641
+ def define_nested_shared_group_method(new_name, report_label = T.unsafe(nil)); end
642
+ def delegate_to_metadata(*names); end
643
+ def descendant_filtered_examples; end
644
+ def descendants; end
645
+ def describe(*args, &example_group_block); end
646
+ def described_class; end
647
+ def description; end
648
+ def each_instance_variable_for_example(group); end
649
+ def ensure_example_groups_are_configured; end
650
+ def example(*all_args, &block); end
651
+ def example_group(*args, &example_group_block); end
652
+ def examples; end
653
+ def fcontext(*args, &example_group_block); end
654
+ def fdescribe(*args, &example_group_block); end
655
+ def fexample(*all_args, &block); end
656
+ def file_path; end
657
+ def filtered_examples; end
658
+ def find_and_eval_shared(label, name, inclusion_location, *args, &customization_block); end
659
+ def fit(*all_args, &block); end
660
+ def focus(*all_args, &block); end
661
+ def for_filtered_examples(reporter, &block); end
662
+ def fspecify(*all_args, &block); end
663
+ def id; end
664
+ def idempotently_define_singleton_method(name, &definition); end
665
+ def include_context(name, *args, &block); end
666
+ def include_examples(name, *args, &block); end
667
+ def it(*all_args, &block); end
668
+ def it_behaves_like(name, *args, &customization_block); end
669
+ def it_should_behave_like(name, *args, &customization_block); end
670
+ def location; end
671
+ def metadata; end
672
+ def next_runnable_index_for(file); end
673
+ def ordering_strategy; end
674
+ def parent_groups; end
675
+ def pending(*all_args, &block); end
676
+ def remove_example(example); end
677
+ def reset_memoized; end
678
+ def run(reporter = T.unsafe(nil)); end
679
+ def run_after_context_hooks(example_group_instance); end
680
+ def run_before_context_hooks(example_group_instance); end
681
+ def run_examples(reporter); end
682
+ def set_it_up(description, args, registration_collection, &example_group_block); end
683
+ def set_ivars(instance, ivars); end
684
+ def skip(*all_args, &block); end
685
+ def specify(*all_args, &block); end
686
+ def store_before_context_ivars(example_group_instance); end
687
+ def subclass(parent, description, args, registration_collection, &example_group_block); end
688
+ def superclass_before_context_ivars; end
689
+ def superclass_metadata; end
690
+ def top_level?; end
691
+ def top_level_description; end
692
+ def traverse_tree_until(&block); end
693
+ def update_inherited_metadata(updates); end
694
+ def with_replaced_metadata(meta); end
695
+ def xcontext(*args, &example_group_block); end
696
+ def xdescribe(*args, &example_group_block); end
697
+ def xexample(*all_args, &block); end
698
+ def xit(*all_args, &block); end
699
+ def xspecify(*all_args, &block); end
700
+
701
+ private
702
+
703
+ def method_missing(name, *args); end
704
+ end
705
+ end
706
+
707
+ RSpec::Core::ExampleGroup::INSTANCE_VARIABLE_TO_IGNORE = T.let(T.unsafe(nil), Symbol)
708
+ class RSpec::Core::ExampleGroup::WrongScopeError < ::NoMethodError; end
709
+
710
+ class RSpec::Core::ExampleStatusDumper
711
+ def initialize(examples); end
712
+
713
+ def dump; end
714
+
715
+ private
716
+
717
+ def column_widths; end
718
+ def formatted_header_rows; end
719
+ def formatted_row_from(row_values); end
720
+ def formatted_value_rows; end
721
+ def headers; end
722
+ def rows; end
723
+
724
+ class << self
725
+ def dump(examples); end
726
+ end
727
+ end
728
+
729
+ class RSpec::Core::ExampleStatusMerger
730
+ def initialize(this_run, from_previous_runs); end
731
+
732
+ def merge; end
733
+
734
+ private
735
+
736
+ def delete_previous_examples_that_no_longer_exist; end
737
+ def example_must_no_longer_exist?(ex_id); end
738
+ def hash_from(example_list); end
739
+ def loaded_spec_files; end
740
+ def sort_value_from(example); end
741
+ def spec_file_from(ex_id); end
742
+
743
+ class << self
744
+ def merge(this_run, from_previous_runs); end
745
+ end
746
+ end
747
+
748
+ class RSpec::Core::ExampleStatusParser
749
+ def initialize(string); end
750
+
751
+ def parse; end
752
+
753
+ private
754
+
755
+ def headers; end
756
+ def parse_row(line); end
757
+ def split_line(line); end
758
+
759
+ class << self
760
+ def parse(string); end
761
+ end
762
+ end
763
+
764
+ class RSpec::Core::ExampleStatusPersister
765
+ def initialize(examples, file_name); end
766
+
767
+ def persist; end
768
+
769
+ private
770
+
771
+ def dump_statuses(unparsed_previous_runs); end
772
+ def statuses_from_this_run; end
773
+
774
+ class << self
775
+ def load_from(file_name); end
776
+ def persist(examples, file_name); end
777
+ end
778
+ end
779
+
780
+ RSpec::Core::ExclusionRules = RSpec::Core::FilterRules
781
+
782
+ class RSpec::Core::FilterManager
783
+ def initialize; end
784
+
785
+ def add_ids(rerun_path, scoped_ids); end
786
+ def add_location(file_path, line_numbers); end
787
+ def empty?; end
788
+ def exclude(*args); end
789
+ def exclude_only(*args); end
790
+ def exclude_with_low_priority(*args); end
791
+ def exclusions; end
792
+ def include(*args); end
793
+ def include_only(*args); end
794
+ def include_with_low_priority(*args); end
795
+ def inclusions; end
796
+ def prune(examples); end
797
+
798
+ private
799
+
800
+ def add_path_to_arrays_filter(filter_key, path, values); end
801
+ def file_scoped_include?(ex_metadata, ids, locations); end
802
+ def prune_conditionally_filtered_examples(examples); end
803
+ end
804
+
805
+ class RSpec::Core::FilterRules
806
+ def initialize(rules = T.unsafe(nil)); end
807
+
808
+ def [](key); end
809
+ def add(updated); end
810
+ def add_with_low_priority(updated); end
811
+ def clear; end
812
+ def delete(key); end
813
+ def description; end
814
+ def each_pair(&block); end
815
+ def empty?; end
816
+ def fetch(*args, &block); end
817
+ def include_example?(example); end
818
+ def opposite; end
819
+ def opposite=(_arg0); end
820
+ def rules; end
821
+ def use_only(updated); end
822
+
823
+ class << self
824
+ def build; end
825
+ end
826
+ end
827
+
828
+ RSpec::Core::FilterRules::PROC_HEX_NUMBER = T.let(T.unsafe(nil), Regexp)
829
+ RSpec::Core::FilterRules::PROJECT_DIR = T.let(T.unsafe(nil), String)
830
+ module RSpec::Core::FilterableItemRepository; end
831
+
832
+ class RSpec::Core::FilterableItemRepository::QueryOptimized < ::RSpec::Core::FilterableItemRepository::UpdateOptimized
833
+ def initialize(applies_predicate); end
834
+
835
+ def append(item, metadata); end
836
+ def delete(item, metadata); end
837
+ def items_for(metadata); end
838
+ def prepend(item, metadata); end
839
+
840
+ private
841
+
842
+ def applicable_metadata_from(metadata); end
843
+ def find_items_for(request_meta); end
844
+ def handle_mutation(metadata); end
845
+ def proc_keys_from(metadata); end
846
+ def reconstruct_caches; end
847
+ end
848
+
849
+ class RSpec::Core::FilterableItemRepository::UpdateOptimized
850
+ def initialize(applies_predicate); end
851
+
852
+ def append(item, metadata); end
853
+ def delete(item, metadata); end
854
+ def items_and_filters; end
855
+ def items_for(request_meta); end
856
+ def prepend(item, metadata); end
857
+ end
858
+
859
+ module RSpec::Core::FlatMap
860
+ private
861
+
862
+ def flat_map(array, &block); end
863
+
864
+ class << self
865
+ def flat_map(array, &block); end
866
+ end
867
+ end
868
+
869
+ module RSpec::Core::Formatters
870
+ class << self
871
+ def register(formatter_class, *notifications); end
872
+ end
873
+ end
874
+
875
+ class RSpec::Core::Formatters::BaseBisectFormatter
876
+ def initialize(expected_failures); end
877
+
878
+ def example_failed(notification); end
879
+ def example_finished(notification); end
880
+ def start_dump(_notification); end
881
+
882
+ class << self
883
+ def inherited(formatter); end
884
+ end
885
+ end
886
+
887
+ class RSpec::Core::Formatters::BaseFormatter
888
+ def initialize(output); end
889
+
890
+ def close(_notification); end
891
+ def example_group; end
892
+ def example_group=(_arg0); end
893
+ def example_group_started(notification); end
894
+ def output; end
895
+ def start(notification); end
896
+
897
+ private
898
+
899
+ def output_supports_sync; end
900
+ def restore_sync_output; end
901
+ def start_sync_output; end
902
+ end
903
+
904
+ class RSpec::Core::Formatters::BaseTextFormatter < ::RSpec::Core::Formatters::BaseFormatter
905
+ def close(_notification); end
906
+ def dump_failures(notification); end
907
+ def dump_pending(notification); end
908
+ def dump_summary(summary); end
909
+ def message(notification); end
910
+ def seed(notification); end
911
+ end
912
+
913
+ class RSpec::Core::Formatters::BisectDRbFormatter < ::RSpec::Core::Formatters::BaseBisectFormatter
914
+ def initialize(_output); end
915
+
916
+ def notify_results(results); end
917
+ end
918
+
919
+ module RSpec::Core::Formatters::ConsoleCodes
920
+ private
921
+
922
+ def config_colors_to_methods; end
923
+ def console_code_for(code_or_symbol); end
924
+ def wrap(text, code_or_symbol); end
925
+
926
+ class << self
927
+ def config_colors_to_methods; end
928
+ def console_code_for(code_or_symbol); end
929
+ def wrap(text, code_or_symbol); end
930
+ end
931
+ end
932
+
933
+ RSpec::Core::Formatters::ConsoleCodes::VT100_CODES = T.let(T.unsafe(nil), Hash)
934
+ RSpec::Core::Formatters::ConsoleCodes::VT100_CODE_VALUES = T.let(T.unsafe(nil), Hash)
935
+
936
+ class RSpec::Core::Formatters::DeprecationFormatter
937
+ def initialize(deprecation_stream, summary_stream); end
938
+
939
+ def count; end
940
+ def deprecation(notification); end
941
+ def deprecation_message_for(data); end
942
+ def deprecation_stream; end
943
+ def deprecation_summary(_notification); end
944
+ def output; end
945
+ def printer; end
946
+ def summary_stream; end
947
+ end
948
+
949
+ RSpec::Core::Formatters::DeprecationFormatter::DEPRECATION_STREAM_NOTICE = T.let(T.unsafe(nil), String)
950
+
951
+ class RSpec::Core::Formatters::DeprecationFormatter::DelayedPrinter
952
+ def initialize(deprecation_stream, summary_stream, deprecation_formatter); end
953
+
954
+ def deprecation_formatter; end
955
+ def deprecation_stream; end
956
+ def deprecation_summary; end
957
+ def print_deferred_deprecation_warnings; end
958
+ def print_deprecation_message(data); end
959
+ def stash_deprecation_message(deprecation_message); end
960
+ def summary_stream; end
961
+ end
962
+
963
+ RSpec::Core::Formatters::DeprecationFormatter::DelayedPrinter::TOO_MANY_USES_LIMIT = T.let(T.unsafe(nil), Integer)
964
+
965
+ class RSpec::Core::Formatters::DeprecationFormatter::FileStream
966
+ def initialize(file); end
967
+
968
+ def puts(*args); end
969
+ def summarize(summary_stream, deprecation_count); end
970
+ end
971
+
972
+ class RSpec::Core::Formatters::DeprecationFormatter::GeneratedDeprecationMessage < ::Struct
973
+ def initialize(data); end
974
+
975
+ def to_s; end
976
+ def too_many_warnings_message; end
977
+ def type; end
978
+ def type=(_); end
979
+
980
+ class << self
981
+ def [](*_arg0); end
982
+ def inspect; end
983
+ def members; end
984
+ def new(*_arg0); end
985
+ end
986
+ end
987
+
988
+ class RSpec::Core::Formatters::DeprecationFormatter::ImmediatePrinter
989
+ def initialize(deprecation_stream, summary_stream, deprecation_formatter); end
990
+
991
+ def deprecation_formatter; end
992
+ def deprecation_stream; end
993
+ def deprecation_summary; end
994
+ def print_deprecation_message(data); end
995
+ def summary_stream; end
996
+ end
997
+
998
+ RSpec::Core::Formatters::DeprecationFormatter::RAISE_ERROR_CONFIG_NOTICE = T.let(T.unsafe(nil), String)
999
+
1000
+ class RSpec::Core::Formatters::DeprecationFormatter::RaiseErrorStream
1001
+ def puts(message); end
1002
+ def summarize(summary_stream, deprecation_count); end
1003
+ end
1004
+
1005
+ class RSpec::Core::Formatters::DeprecationFormatter::SpecifiedDeprecationMessage < ::Struct
1006
+ def initialize(data); end
1007
+
1008
+ def to_s; end
1009
+ def too_many_warnings_message; end
1010
+ def type; end
1011
+ def type=(_); end
1012
+
1013
+ private
1014
+
1015
+ def deprecation_type_for(data); end
1016
+ def output_formatted(str); end
1017
+
1018
+ class << self
1019
+ def [](*_arg0); end
1020
+ def inspect; end
1021
+ def members; end
1022
+ def new(*_arg0); end
1023
+ end
1024
+ end
1025
+
1026
+ RSpec::Core::Formatters::DeprecationFormatter::TOO_MANY_WARNINGS_NOTICE = T.let(T.unsafe(nil), String)
1027
+
1028
+ class RSpec::Core::Formatters::DocumentationFormatter < ::RSpec::Core::Formatters::BaseTextFormatter
1029
+ def initialize(output); end
1030
+
1031
+ def example_failed(failure); end
1032
+ def example_group_finished(_notification); end
1033
+ def example_group_started(notification); end
1034
+ def example_passed(passed); end
1035
+ def example_pending(pending); end
1036
+ def example_started(_notification); end
1037
+ def message(notification); end
1038
+
1039
+ private
1040
+
1041
+ def current_indentation(offset = T.unsafe(nil)); end
1042
+ def failure_output(example); end
1043
+ def flush_messages; end
1044
+ def next_failure_index; end
1045
+ def passed_output(example); end
1046
+ def pending_output(example, message); end
1047
+ end
1048
+
1049
+ class RSpec::Core::Formatters::ExceptionPresenter
1050
+ def initialize(exception, example, options = T.unsafe(nil)); end
1051
+
1052
+ def colorized_formatted_backtrace(colorizer = T.unsafe(nil)); end
1053
+ def colorized_message_lines(colorizer = T.unsafe(nil)); end
1054
+ def description; end
1055
+ def example; end
1056
+ def exception; end
1057
+ def formatted_backtrace(exception = T.unsafe(nil)); end
1058
+ def formatted_cause(exception); end
1059
+ def fully_formatted(failure_number, colorizer = T.unsafe(nil)); end
1060
+ def fully_formatted_lines(failure_number, colorizer); end
1061
+ def message_lines; end
1062
+
1063
+ private
1064
+
1065
+ def add_shared_group_lines(lines, colorizer); end
1066
+ def backtrace_formatter; end
1067
+ def detail_formatter; end
1068
+ def encoded_description(description); end
1069
+ def encoded_string(string); end
1070
+ def encoding_of(string); end
1071
+ def exception_backtrace; end
1072
+ def exception_class_name(exception = T.unsafe(nil)); end
1073
+ def exception_lines; end
1074
+ def exception_message_string(exception); end
1075
+ def extra_detail_formatter; end
1076
+ def extra_failure_lines; end
1077
+ def failure_lines; end
1078
+ def failure_slash_error_lines; end
1079
+ def final_exception(exception, previous = T.unsafe(nil)); end
1080
+ def find_failed_line; end
1081
+ def formatted_message_and_backtrace(colorizer); end
1082
+ def indent_lines(lines, failure_number); end
1083
+ def message_color; end
1084
+ def read_failed_lines; end
1085
+ end
1086
+
1087
+ class RSpec::Core::Formatters::ExceptionPresenter::Factory
1088
+ def initialize(example); end
1089
+
1090
+ def build; end
1091
+
1092
+ private
1093
+
1094
+ def multiple_exception_summarizer(exception, prior_detail_formatter, color); end
1095
+ def multiple_exceptions_error?(exception); end
1096
+ def options; end
1097
+ def pending_options; end
1098
+ def sub_failure_list_formatter(exception, message_color); end
1099
+ def with_multiple_error_options_as_needed(exception, options); end
1100
+ end
1101
+
1102
+ class RSpec::Core::Formatters::ExceptionPresenter::Factory::CommonBacktraceTruncater
1103
+ def initialize(parent); end
1104
+
1105
+ def with_truncated_backtrace(child); end
1106
+ end
1107
+
1108
+ module RSpec::Core::Formatters::ExceptionPresenter::Factory::EmptyBacktraceFormatter
1109
+ class << self
1110
+ def format_backtrace(*_arg0); end
1111
+ end
1112
+ end
1113
+
1114
+ RSpec::Core::Formatters::ExceptionPresenter::PENDING_DETAIL_FORMATTER = T.let(T.unsafe(nil), Proc)
1115
+
1116
+ class RSpec::Core::Formatters::FailureListFormatter < ::RSpec::Core::Formatters::BaseFormatter
1117
+ def dump_profile(_profile); end
1118
+ def example_failed(failure); end
1119
+ def message(_message); end
1120
+ end
1121
+
1122
+ class RSpec::Core::Formatters::FallbackMessageFormatter
1123
+ def initialize(output); end
1124
+
1125
+ def message(notification); end
1126
+ def output; end
1127
+ end
1128
+
1129
+ module RSpec::Core::Formatters::Helpers
1130
+ class << self
1131
+ def format_duration(duration); end
1132
+ def format_seconds(float, precision = T.unsafe(nil)); end
1133
+ def organize_ids(ids); end
1134
+ def pluralize(count, string); end
1135
+
1136
+ private
1137
+
1138
+ def strip_trailing_zeroes(string); end
1139
+ end
1140
+ end
1141
+
1142
+ RSpec::Core::Formatters::Helpers::DEFAULT_PRECISION = T.let(T.unsafe(nil), Integer)
1143
+ RSpec::Core::Formatters::Helpers::SUB_SECOND_PRECISION = T.let(T.unsafe(nil), Integer)
1144
+
1145
+ class RSpec::Core::Formatters::HtmlFormatter < ::RSpec::Core::Formatters::BaseFormatter
1146
+ def initialize(output); end
1147
+
1148
+ def dump_summary(summary); end
1149
+ def example_failed(failure); end
1150
+ def example_group_started(notification); end
1151
+ def example_passed(passed); end
1152
+ def example_pending(pending); end
1153
+ def example_started(_notification); end
1154
+ def start(notification); end
1155
+ def start_dump(_notification); end
1156
+
1157
+ private
1158
+
1159
+ def example_group_number; end
1160
+ def example_number; end
1161
+ def extra_failure_content(failure); end
1162
+ def percent_done; end
1163
+ end
1164
+
1165
+ class RSpec::Core::Formatters::HtmlPrinter
1166
+ include ::ERB::Util
1167
+
1168
+ def initialize(output); end
1169
+
1170
+ def flush; end
1171
+ def make_example_group_header_red(group_id); end
1172
+ def make_example_group_header_yellow(group_id); end
1173
+ def make_header_red; end
1174
+ def make_header_yellow; end
1175
+ def move_progress(percent_done); end
1176
+ def print_example_failed(pending_fixed, description, run_time, failure_id, exception, extra_content); end
1177
+ def print_example_group_end; end
1178
+ def print_example_group_start(group_id, description, number_of_parents); end
1179
+ def print_example_passed(description, run_time); end
1180
+ def print_example_pending(description, pending_message); end
1181
+ def print_html_start; end
1182
+ def print_summary(duration, example_count, failure_count, pending_count); end
1183
+
1184
+ private
1185
+
1186
+ def indentation_style(number_of_parents); end
1187
+ end
1188
+
1189
+ RSpec::Core::Formatters::HtmlPrinter::GLOBAL_SCRIPTS = T.let(T.unsafe(nil), String)
1190
+ RSpec::Core::Formatters::HtmlPrinter::GLOBAL_STYLES = T.let(T.unsafe(nil), String)
1191
+ RSpec::Core::Formatters::HtmlPrinter::HTML_HEADER = T.let(T.unsafe(nil), String)
1192
+ RSpec::Core::Formatters::HtmlPrinter::REPORT_HEADER = T.let(T.unsafe(nil), String)
1193
+
1194
+ class RSpec::Core::Formatters::JsonFormatter < ::RSpec::Core::Formatters::BaseFormatter
1195
+ def initialize(output); end
1196
+
1197
+ def close(_notification); end
1198
+ def dump_profile(profile); end
1199
+ def dump_profile_slowest_example_groups(profile); end
1200
+ def dump_profile_slowest_examples(profile); end
1201
+ def dump_summary(summary); end
1202
+ def message(notification); end
1203
+ def output_hash; end
1204
+ def seed(notification); end
1205
+ def stop(notification); end
1206
+
1207
+ private
1208
+
1209
+ def format_example(example); end
1210
+ end
1211
+
1212
+ class RSpec::Core::Formatters::Loader
1213
+ def initialize(reporter); end
1214
+
1215
+ def add(formatter_to_use, *paths); end
1216
+ def default_formatter; end
1217
+ def default_formatter=(_arg0); end
1218
+ def formatters; end
1219
+ def prepare_default(output_stream, deprecation_stream); end
1220
+ def reporter; end
1221
+ def setup_default(output_stream, deprecation_stream); end
1222
+
1223
+ private
1224
+
1225
+ def built_in_formatter(key); end
1226
+ def custom_formatter(formatter_ref); end
1227
+ def duplicate_formatter_exists?(new_formatter); end
1228
+ def existing_formatter_implements?(notification); end
1229
+ def find_formatter(formatter_to_use); end
1230
+ def has_matching_output?(formatter, new_formatter); end
1231
+ def notifications_for(formatter_class); end
1232
+ def open_stream(path_or_wrapper); end
1233
+ def path_for(const_ref); end
1234
+ def register(formatter, notifications); end
1235
+ def string_const?(str); end
1236
+ def underscore(camel_cased_word); end
1237
+ def underscore_with_fix_for_non_standard_rspec_naming(string); end
1238
+
1239
+ class << self
1240
+ def formatters; end
1241
+ end
1242
+ end
1243
+
1244
+ class RSpec::Core::Formatters::ProfileFormatter
1245
+ def initialize(output); end
1246
+
1247
+ def dump_profile(profile); end
1248
+ def output; end
1249
+
1250
+ private
1251
+
1252
+ def bold(text); end
1253
+ def dump_profile_slowest_example_groups(profile); end
1254
+ def dump_profile_slowest_examples(profile); end
1255
+ def format_caller(caller_info); end
1256
+ end
1257
+
1258
+ class RSpec::Core::Formatters::ProgressFormatter < ::RSpec::Core::Formatters::BaseTextFormatter
1259
+ def example_failed(_notification); end
1260
+ def example_passed(_notification); end
1261
+ def example_pending(_notification); end
1262
+ def start_dump(_notification); end
1263
+ end
1264
+
1265
+ class RSpec::Core::Formatters::SnippetExtractor
1266
+ def initialize(source, beginning_line_number, max_line_count = T.unsafe(nil)); end
1267
+
1268
+ def beginning_line_number; end
1269
+ def expression_lines; end
1270
+ def max_line_count; end
1271
+ def source; end
1272
+
1273
+ private
1274
+
1275
+ def expression_node; end
1276
+ def expression_outmost_node?(node); end
1277
+ def line_range_of_expression; end
1278
+ def line_range_of_location_nodes_in_expression; end
1279
+ def location_nodes_at_beginning_line; end
1280
+ def unclosed_tokens_in_line_range(line_range); end
1281
+
1282
+ class << self
1283
+ def extract_expression_lines_at(file_path, beginning_line_number, max_line_count = T.unsafe(nil)); end
1284
+ def extract_line_at(file_path, line_number); end
1285
+ def least_indentation_from(lines); end
1286
+ def source_from_file(path); end
1287
+ end
1288
+ end
1289
+
1290
+ class RSpec::Core::Formatters::SnippetExtractor::NoExpressionAtLineError < ::StandardError; end
1291
+ class RSpec::Core::Formatters::SnippetExtractor::NoSuchFileError < ::StandardError; end
1292
+ class RSpec::Core::Formatters::SnippetExtractor::NoSuchLineError < ::StandardError; end
1293
+
1294
+ class RSpec::Core::Formatters::SyntaxHighlighter
1295
+ def initialize(configuration); end
1296
+
1297
+ def highlight(lines); end
1298
+
1299
+ private
1300
+
1301
+ def color_enabled_implementation; end
1302
+ def implementation; end
1303
+
1304
+ class << self
1305
+ def attempt_to_add_rspec_terms_to_coderay_keywords; end
1306
+ end
1307
+ end
1308
+
1309
+ module RSpec::Core::Formatters::SyntaxHighlighter::CodeRayImplementation
1310
+ class << self
1311
+ def highlight_syntax(lines); end
1312
+ end
1313
+ end
1314
+
1315
+ RSpec::Core::Formatters::SyntaxHighlighter::CodeRayImplementation::RESET_CODE = T.let(T.unsafe(nil), String)
1316
+
1317
+ module RSpec::Core::Formatters::SyntaxHighlighter::NoSyntaxHighlightingImplementation
1318
+ class << self
1319
+ def highlight_syntax(lines); end
1320
+ end
1321
+ end
1322
+
1323
+ RSpec::Core::Formatters::SyntaxHighlighter::WindowsImplementation = RSpec::Core::Formatters::SyntaxHighlighter::NoSyntaxHighlightingImplementation
1324
+
1325
+ module RSpec::Core::HashImitatable
1326
+ mixes_in_class_methods ::RSpec::Core::HashImitatable::ClassMethods
1327
+
1328
+ def <(*args, &block); end
1329
+ def <=(*args, &block); end
1330
+ def >(*args, &block); end
1331
+ def >=(*args, &block); end
1332
+ def [](key); end
1333
+ def []=(key, value); end
1334
+ def all?(*args, &block); end
1335
+ def any?(*args, &block); end
1336
+ def assoc(*args, &block); end
1337
+ def chain(*args, &block); end
1338
+ def chunk(*args, &block); end
1339
+ def chunk_while(*args, &block); end
1340
+ def clear(*args, &block); end
1341
+ def collect(*args, &block); end
1342
+ def collect_concat(*args, &block); end
1343
+ def compact(*args, &block); end
1344
+ def compact!(*args, &block); end
1345
+ def compare_by_identity(*args, &block); end
1346
+ def compare_by_identity?(*args, &block); end
1347
+ def count(*args, &block); end
1348
+ def cycle(*args, &block); end
1349
+ def deconstruct_keys(*args, &block); end
1350
+ def default(*args, &block); end
1351
+ def default=(*args, &block); end
1352
+ def default_proc(*args, &block); end
1353
+ def default_proc=(*args, &block); end
1354
+ def delete(*args, &block); end
1355
+ def delete_if(*args, &block); end
1356
+ def detect(*args, &block); end
1357
+ def dig(*args, &block); end
1358
+ def drop(*args, &block); end
1359
+ def drop_while(*args, &block); end
1360
+ def each(*args, &block); end
1361
+ def each_cons(*args, &block); end
1362
+ def each_entry(*args, &block); end
1363
+ def each_key(*args, &block); end
1364
+ def each_pair(*args, &block); end
1365
+ def each_slice(*args, &block); end
1366
+ def each_value(*args, &block); end
1367
+ def each_with_index(*args, &block); end
1368
+ def each_with_object(*args, &block); end
1369
+ def empty?(*args, &block); end
1370
+ def entries(*args, &block); end
1371
+ def fetch(*args, &block); end
1372
+ def fetch_values(*args, &block); end
1373
+ def filter(*args, &block); end
1374
+ def filter!(*args, &block); end
1375
+ def filter_map(*args, &block); end
1376
+ def find(*args, &block); end
1377
+ def find_all(*args, &block); end
1378
+ def find_index(*args, &block); end
1379
+ def first(*args, &block); end
1380
+ def flat_map(*args, &block); end
1381
+ def flatten(*args, &block); end
1382
+ def grep(*args, &block); end
1383
+ def grep_v(*args, &block); end
1384
+ def group_by(*args, &block); end
1385
+ def has_key?(*args, &block); end
1386
+ def has_value?(*args, &block); end
1387
+ def include?(*args, &block); end
1388
+ def index(*args, &block); end
1389
+ def inject(*args, &block); end
1390
+ def invert(*args, &block); end
1391
+ def keep_if(*args, &block); end
1392
+ def key(*args, &block); end
1393
+ def key?(*args, &block); end
1394
+ def keys(*args, &block); end
1395
+ def lazy(*args, &block); end
1396
+ def length(*args, &block); end
1397
+ def map(*args, &block); end
1398
+ def max(*args, &block); end
1399
+ def max_by(*args, &block); end
1400
+ def member?(*args, &block); end
1401
+ def merge(*args, &block); end
1402
+ def merge!(*args, &block); end
1403
+ def min(*args, &block); end
1404
+ def min_by(*args, &block); end
1405
+ def minmax(*args, &block); end
1406
+ def minmax_by(*args, &block); end
1407
+ def none?(*args, &block); end
1408
+ def one?(*args, &block); end
1409
+ def partition(*args, &block); end
1410
+ def rassoc(*args, &block); end
1411
+ def reduce(*args, &block); end
1412
+ def rehash(*args, &block); end
1413
+ def reject(*args, &block); end
1414
+ def reject!(*args, &block); end
1415
+ def replace(*args, &block); end
1416
+ def reverse_each(*args, &block); end
1417
+ def select(*args, &block); end
1418
+ def select!(*args, &block); end
1419
+ def shift(*args, &block); end
1420
+ def size(*args, &block); end
1421
+ def slice(*args, &block); end
1422
+ def slice_after(*args, &block); end
1423
+ def slice_before(*args, &block); end
1424
+ def slice_when(*args, &block); end
1425
+ def sort(*args, &block); end
1426
+ def sort_by(*args, &block); end
1427
+ def store(*args, &block); end
1428
+ def sum(*args, &block); end
1429
+ def take(*args, &block); end
1430
+ def take_while(*args, &block); end
1431
+ def tally(*args, &block); end
1432
+ def to_a(*args, &block); end
1433
+ def to_h; end
1434
+ def to_hash(*args, &block); end
1435
+ def to_proc(*args, &block); end
1436
+ def to_set(*args, &block); end
1437
+ def transform_keys(*args, &block); end
1438
+ def transform_keys!(*args, &block); end
1439
+ def transform_values(*args, &block); end
1440
+ def transform_values!(*args, &block); end
1441
+ def uniq(*args, &block); end
1442
+ def update(*args, &block); end
1443
+ def value?(*args, &block); end
1444
+ def values(*args, &block); end
1445
+ def values_at(*args, &block); end
1446
+ def zip(*args, &block); end
1447
+
1448
+ private
1449
+
1450
+ def directly_supports_attribute?(name); end
1451
+ def extra_hash_attributes; end
1452
+ def get_value(name); end
1453
+ def hash_for_delegation; end
1454
+ def issue_deprecation(_method_name, *_args); end
1455
+ def set_value(name, value); end
1456
+
1457
+ class << self
1458
+ def included(klass); end
1459
+ end
1460
+ end
1461
+
1462
+ module RSpec::Core::HashImitatable::ClassMethods
1463
+ def attr_accessor(*names); end
1464
+ def hash_attribute_names; end
1465
+ end
1466
+
1467
+ module RSpec::Core::Hooks
1468
+ def after(*args, &block); end
1469
+ def append_after(*args, &block); end
1470
+ def append_before(*args, &block); end
1471
+ def around(*args, &block); end
1472
+ def before(*args, &block); end
1473
+ def hooks; end
1474
+ def prepend_after(*args, &block); end
1475
+ def prepend_before(*args, &block); end
1476
+ end
1477
+
1478
+ class RSpec::Core::Hooks::AfterContextHook < ::RSpec::Core::Hooks::Hook
1479
+ def run(example); end
1480
+ end
1481
+
1482
+ class RSpec::Core::Hooks::AfterHook < ::RSpec::Core::Hooks::Hook
1483
+ def run(example); end
1484
+ end
1485
+
1486
+ class RSpec::Core::Hooks::AroundHook < ::RSpec::Core::Hooks::Hook
1487
+ def execute_with(example, procsy); end
1488
+ def hook_description; end
1489
+ end
1490
+
1491
+ class RSpec::Core::Hooks::BeforeHook < ::RSpec::Core::Hooks::Hook
1492
+ def run(example); end
1493
+ end
1494
+
1495
+ class RSpec::Core::Hooks::Hook < ::Struct
1496
+ def block; end
1497
+ def block=(_); end
1498
+ def options; end
1499
+ def options=(_); end
1500
+
1501
+ class << self
1502
+ def [](*_arg0); end
1503
+ def inspect; end
1504
+ def members; end
1505
+ def new(*_arg0); end
1506
+ end
1507
+ end
1508
+
1509
+ class RSpec::Core::Hooks::HookCollections
1510
+ def initialize(owner, filterable_item_repo_class); end
1511
+
1512
+ def register(prepend_or_append, position, *args, &block); end
1513
+ def register_global_singleton_context_hooks(example, globals); end
1514
+ def register_globals(host, globals); end
1515
+ def run(position, scope, example_or_group); end
1516
+
1517
+ protected
1518
+
1519
+ def all_hooks_for(position, scope); end
1520
+ def matching_hooks_for(position, scope, example_or_group); end
1521
+ def processable_hooks_for(position, scope, host); end
1522
+ def run_owned_hooks_for(position, scope, example_or_group); end
1523
+
1524
+ private
1525
+
1526
+ def ensure_hooks_initialized_for(position, scope); end
1527
+ def extract_scope_from(args); end
1528
+ def hooks_for(position, scope); end
1529
+ def known_scope?(scope); end
1530
+ def normalized_scope_for(scope); end
1531
+ def owner_parent_groups; end
1532
+ def process(host, parent_groups, globals, position, scope); end
1533
+ def run_around_example_hooks_for(example); end
1534
+ def run_example_hooks_for(example, position, each_method); end
1535
+ def scope_and_options_from(*args); end
1536
+ end
1537
+
1538
+ RSpec::Core::Hooks::HookCollections::EMPTY_HOOK_ARRAY = T.let(T.unsafe(nil), Array)
1539
+ RSpec::Core::Hooks::HookCollections::HOOK_TYPES = T.let(T.unsafe(nil), Hash)
1540
+ RSpec::Core::Hooks::HookCollections::SCOPES = T.let(T.unsafe(nil), Array)
1541
+ RSpec::Core::Hooks::HookCollections::SCOPE_ALIASES = T.let(T.unsafe(nil), Hash)
1542
+
1543
+ class RSpec::Core::InclusionRules < ::RSpec::Core::FilterRules
1544
+ def add(*args); end
1545
+ def add_with_low_priority(*args); end
1546
+ def include_example?(example); end
1547
+ def split_file_scoped_rules; end
1548
+ def standalone?; end
1549
+
1550
+ private
1551
+
1552
+ def apply_standalone_filter(updated); end
1553
+ def is_standalone_filter?(rules); end
1554
+ def replace_filters(new_rules); end
1555
+ end
1556
+
1557
+ module RSpec::Core::Invocations; end
1558
+
1559
+ class RSpec::Core::Invocations::Bisect
1560
+ def call(options, err, out); end
1561
+
1562
+ private
1563
+
1564
+ def bisect_formatter_klass_for(argument); end
1565
+ end
1566
+
1567
+ class RSpec::Core::Invocations::DRbWithFallback
1568
+ def call(options, err, out); end
1569
+ end
1570
+
1571
+ class RSpec::Core::Invocations::InitializeProject
1572
+ def call(*_args); end
1573
+ end
1574
+
1575
+ class RSpec::Core::Invocations::PrintHelp < ::Struct
1576
+ def call(_options, _err, out); end
1577
+ def hidden_options; end
1578
+ def hidden_options=(_); end
1579
+ def parser; end
1580
+ def parser=(_); end
1581
+
1582
+ class << self
1583
+ def [](*_arg0); end
1584
+ def inspect; end
1585
+ def members; end
1586
+ def new(*_arg0); end
1587
+ end
1588
+ end
1589
+
1590
+ class RSpec::Core::Invocations::PrintVersion
1591
+ def call(_options, _err, out); end
1592
+ end
1593
+
1594
+ class RSpec::Core::LegacyExampleGroupHash
1595
+ include ::RSpec::Core::HashImitatable
1596
+ extend ::RSpec::Core::HashImitatable::ClassMethods
1597
+
1598
+ def initialize(metadata); end
1599
+
1600
+ def to_h; end
1601
+
1602
+ private
1603
+
1604
+ def directly_supports_attribute?(name); end
1605
+ def get_value(name); end
1606
+ def set_value(name, value); end
1607
+ end
1608
+
1609
+ module RSpec::Core::MemoizedHelpers
1610
+ def initialize(*_arg0); end
1611
+
1612
+ def is_expected; end
1613
+ def should(matcher = T.unsafe(nil), message = T.unsafe(nil)); end
1614
+ def should_not(matcher = T.unsafe(nil), message = T.unsafe(nil)); end
1615
+ def subject; end
1616
+
1617
+ private
1618
+
1619
+ def __init_memoized; end
1620
+ def __memoized; end
1621
+ def enforce_value_expectation(matcher, method_name); end
1622
+ def matcher_supports_value_expectations?(matcher); end
1623
+
1624
+ class << self
1625
+ def define_helpers_on(example_group); end
1626
+ def get_constant_or_yield(example_group, name); end
1627
+ def module_for(example_group); end
1628
+ end
1629
+ end
1630
+
1631
+ module RSpec::Core::MemoizedHelpers::ClassMethods
1632
+ def let(name, &block); end
1633
+ def let!(name, &block); end
1634
+ def subject(name = T.unsafe(nil), &block); end
1635
+ def subject!(name = T.unsafe(nil), &block); end
1636
+ end
1637
+
1638
+ class RSpec::Core::MemoizedHelpers::ContextHookMemoized
1639
+ class << self
1640
+ def fetch_or_store(key, &_block); end
1641
+ def isolate_for_context_hook(example_group_instance); end
1642
+ end
1643
+ end
1644
+
1645
+ class RSpec::Core::MemoizedHelpers::ContextHookMemoized::After < ::RSpec::Core::MemoizedHelpers::ContextHookMemoized
1646
+ class << self
1647
+ def article; end
1648
+ def hook_expression; end
1649
+ def hook_intention; end
1650
+ end
1651
+ end
1652
+
1653
+ class RSpec::Core::MemoizedHelpers::ContextHookMemoized::Before < ::RSpec::Core::MemoizedHelpers::ContextHookMemoized
1654
+ class << self
1655
+ def article; end
1656
+ def hook_expression; end
1657
+ def hook_intention; end
1658
+ end
1659
+ end
1660
+
1661
+ class RSpec::Core::MemoizedHelpers::NonThreadSafeMemoized
1662
+ def initialize; end
1663
+
1664
+ def fetch_or_store(key); end
1665
+ end
1666
+
1667
+ class RSpec::Core::MemoizedHelpers::ThreadsafeMemoized
1668
+ def initialize; end
1669
+
1670
+ def fetch_or_store(key); end
1671
+ end
1672
+
1673
+ module RSpec::Core::Metadata
1674
+ class << self
1675
+ def ascend(metadata); end
1676
+ def ascending(metadata); end
1677
+ def build_hash_from(args, warn_about_example_group_filtering = T.unsafe(nil)); end
1678
+ def deep_hash_dup(object); end
1679
+ def id_from(metadata); end
1680
+ def location_tuple_from(metadata); end
1681
+ def relative_path(line); end
1682
+ def relative_path_regex; end
1683
+ end
1684
+ end
1685
+
1686
+ class RSpec::Core::Metadata::ExampleGroupHash < ::RSpec::Core::Metadata::HashPopulator
1687
+ private
1688
+
1689
+ def described_class; end
1690
+ def full_description; end
1691
+
1692
+ class << self
1693
+ def backwards_compatibility_default_proc(&example_group_selector); end
1694
+ def create(parent_group_metadata, user_metadata, example_group_index, *args, &block); end
1695
+ def hash_with_backwards_compatibility_default_proc; end
1696
+ end
1697
+ end
1698
+
1699
+ class RSpec::Core::Metadata::ExampleHash < ::RSpec::Core::Metadata::HashPopulator
1700
+ private
1701
+
1702
+ def described_class; end
1703
+ def full_description; end
1704
+
1705
+ class << self
1706
+ def create(group_metadata, user_metadata, index_provider, description, block); end
1707
+ end
1708
+ end
1709
+
1710
+ class RSpec::Core::Metadata::HashPopulator
1711
+ def initialize(metadata, user_metadata, index_provider, description_args, block); end
1712
+
1713
+ def block; end
1714
+ def description_args; end
1715
+ def metadata; end
1716
+ def populate; end
1717
+ def user_metadata; end
1718
+
1719
+ private
1720
+
1721
+ def build_description_from(parent_description = T.unsafe(nil), my_description = T.unsafe(nil)); end
1722
+ def build_scoped_id_for(file_path); end
1723
+ def description_separator(parent_part, child_part); end
1724
+ def ensure_valid_user_keys; end
1725
+ def file_path_and_line_number_from(backtrace); end
1726
+ def populate_location_attributes; end
1727
+ end
1728
+
1729
+ RSpec::Core::Metadata::RESERVED_KEYS = T.let(T.unsafe(nil), Array)
1730
+
1731
+ module RSpec::Core::MetadataFilter
1732
+ class << self
1733
+ def apply?(predicate, filters, metadata); end
1734
+ def filter_applies?(key, filter_value, metadata); end
1735
+ def silence_metadata_example_group_deprecations; end
1736
+
1737
+ private
1738
+
1739
+ def filter_applies_to_any_value?(key, value, metadata); end
1740
+ def filters_apply?(key, value, metadata); end
1741
+ def id_filter_applies?(rerun_paths_to_scoped_ids, metadata); end
1742
+ def location_filter_applies?(locations, metadata); end
1743
+ def proc_filter_applies?(key, proc, metadata); end
1744
+ end
1745
+ end
1746
+
1747
+ class RSpec::Core::MultipleExceptionError < ::StandardError
1748
+ include ::RSpec::Core::MultipleExceptionError::InterfaceTag
1749
+
1750
+ def initialize(*exceptions); end
1751
+
1752
+ def aggregation_block_label; end
1753
+ def aggregation_metadata; end
1754
+ def all_exceptions; end
1755
+ def exception_count_description; end
1756
+ def failures; end
1757
+ def message; end
1758
+ def other_errors; end
1759
+ def summary; end
1760
+ end
1761
+
1762
+ module RSpec::Core::MultipleExceptionError::InterfaceTag
1763
+ def add(exception); end
1764
+
1765
+ class << self
1766
+ def for(ex); end
1767
+ end
1768
+ end
1769
+
1770
+ module RSpec::Core::Notifications; end
1771
+
1772
+ class RSpec::Core::Notifications::CustomNotification < ::Struct
1773
+ class << self
1774
+ def for(options = T.unsafe(nil)); end
1775
+ end
1776
+ end
1777
+
1778
+ class RSpec::Core::Notifications::DeprecationNotification < ::Struct
1779
+ def call_site; end
1780
+ def call_site=(_); end
1781
+ def deprecated; end
1782
+ def deprecated=(_); end
1783
+ def message; end
1784
+ def message=(_); end
1785
+ def replacement; end
1786
+ def replacement=(_); end
1787
+
1788
+ class << self
1789
+ def [](*_arg0); end
1790
+ def from_hash(data); end
1791
+ def inspect; end
1792
+ def members; end
1793
+
1794
+ private
1795
+
1796
+ def new(*_arg0); end
1797
+ end
1798
+ end
1799
+
1800
+ class RSpec::Core::Notifications::ExampleNotification < ::Struct
1801
+ def example; end
1802
+ def example=(_); end
1803
+
1804
+ class << self
1805
+ def [](*_arg0); end
1806
+ def for(example); end
1807
+ def inspect; end
1808
+ def members; end
1809
+
1810
+ private
1811
+
1812
+ def new(*_arg0); end
1813
+ end
1814
+ end
1815
+
1816
+ class RSpec::Core::Notifications::ExamplesNotification
1817
+ def initialize(reporter); end
1818
+
1819
+ def examples; end
1820
+ def failed_examples; end
1821
+ def failure_notifications; end
1822
+ def fully_formatted_failed_examples(colorizer = T.unsafe(nil)); end
1823
+ def fully_formatted_pending_examples(colorizer = T.unsafe(nil)); end
1824
+ def notifications; end
1825
+ def pending_examples; end
1826
+ def pending_notifications; end
1827
+
1828
+ private
1829
+
1830
+ def format_examples(examples); end
1831
+ end
1832
+
1833
+ class RSpec::Core::Notifications::FailedExampleNotification < ::RSpec::Core::Notifications::ExampleNotification
1834
+ def initialize(example, exception_presenter = T.unsafe(nil)); end
1835
+
1836
+ def colorized_formatted_backtrace(colorizer = T.unsafe(nil)); end
1837
+ def colorized_message_lines(colorizer = T.unsafe(nil)); end
1838
+ def description; end
1839
+ def exception; end
1840
+ def formatted_backtrace; end
1841
+ def fully_formatted(failure_number, colorizer = T.unsafe(nil)); end
1842
+ def fully_formatted_lines(failure_number, colorizer = T.unsafe(nil)); end
1843
+ def message_lines; end
1844
+ end
1845
+
1846
+ class RSpec::Core::Notifications::GroupNotification < ::Struct
1847
+ def group; end
1848
+ def group=(_); end
1849
+
1850
+ class << self
1851
+ def [](*_arg0); end
1852
+ def inspect; end
1853
+ def members; end
1854
+ def new(*_arg0); end
1855
+ end
1856
+ end
1857
+
1858
+ class RSpec::Core::Notifications::MessageNotification < ::Struct
1859
+ def message; end
1860
+ def message=(_); end
1861
+
1862
+ class << self
1863
+ def [](*_arg0); end
1864
+ def inspect; end
1865
+ def members; end
1866
+ def new(*_arg0); end
1867
+ end
1868
+ end
1869
+
1870
+ module RSpec::Core::Notifications::NullColorizer
1871
+ private
1872
+
1873
+ def wrap(line, _code_or_symbol); end
1874
+
1875
+ class << self
1876
+ def wrap(line, _code_or_symbol); end
1877
+ end
1878
+ end
1879
+
1880
+ class RSpec::Core::Notifications::NullNotification; end
1881
+ class RSpec::Core::Notifications::PendingExampleFailedAsExpectedNotification < ::RSpec::Core::Notifications::FailedExampleNotification; end
1882
+ class RSpec::Core::Notifications::PendingExampleFixedNotification < ::RSpec::Core::Notifications::FailedExampleNotification; end
1883
+
1884
+ class RSpec::Core::Notifications::ProfileNotification
1885
+ def initialize(duration, examples, number_of_examples, example_groups); end
1886
+
1887
+ def duration; end
1888
+ def examples; end
1889
+ def number_of_examples; end
1890
+ def percentage; end
1891
+ def slow_duration; end
1892
+ def slowest_examples; end
1893
+ def slowest_groups; end
1894
+
1895
+ private
1896
+
1897
+ def calculate_slowest_groups; end
1898
+ end
1899
+
1900
+ class RSpec::Core::Notifications::SeedNotification < ::Struct
1901
+ def fully_formatted; end
1902
+ def seed; end
1903
+ def seed=(_); end
1904
+ def seed_used?; end
1905
+ def used=(_); end
1906
+
1907
+ private
1908
+
1909
+ def used; end
1910
+
1911
+ class << self
1912
+ def [](*_arg0); end
1913
+ def inspect; end
1914
+ def members; end
1915
+ def new(*_arg0); end
1916
+ end
1917
+ end
1918
+
1919
+ class RSpec::Core::Notifications::SkippedExampleNotification < ::RSpec::Core::Notifications::ExampleNotification
1920
+ def fully_formatted(pending_number, colorizer = T.unsafe(nil)); end
1921
+ end
1922
+
1923
+ class RSpec::Core::Notifications::StartNotification < ::Struct
1924
+ def count; end
1925
+ def count=(_); end
1926
+ def load_time; end
1927
+ def load_time=(_); end
1928
+
1929
+ class << self
1930
+ def [](*_arg0); end
1931
+ def inspect; end
1932
+ def members; end
1933
+ def new(*_arg0); end
1934
+ end
1935
+ end
1936
+
1937
+ class RSpec::Core::Notifications::SummaryNotification < ::Struct
1938
+ include ::RSpec::Core::ShellEscape
1939
+
1940
+ def colorized_rerun_commands(colorizer = T.unsafe(nil)); end
1941
+ def colorized_totals_line(colorizer = T.unsafe(nil)); end
1942
+ def duration; end
1943
+ def duration=(_); end
1944
+ def errors_outside_of_examples_count; end
1945
+ def errors_outside_of_examples_count=(_); end
1946
+ def example_count; end
1947
+ def examples; end
1948
+ def examples=(_); end
1949
+ def failed_examples; end
1950
+ def failed_examples=(_); end
1951
+ def failure_count; end
1952
+ def formatted_duration; end
1953
+ def formatted_load_time; end
1954
+ def fully_formatted(colorizer = T.unsafe(nil)); end
1955
+ def load_time; end
1956
+ def load_time=(_); end
1957
+ def pending_count; end
1958
+ def pending_examples; end
1959
+ def pending_examples=(_); end
1960
+ def totals_line; end
1961
+
1962
+ private
1963
+
1964
+ def duplicate_rerun_locations; end
1965
+ def rerun_argument_for(example); end
1966
+
1967
+ class << self
1968
+ def [](*_arg0); end
1969
+ def inspect; end
1970
+ def members; end
1971
+ def new(*_arg0); end
1972
+ end
1973
+ end
1974
+
1975
+ class RSpec::Core::NullReporter
1976
+ class << self
1977
+ private
1978
+
1979
+ def method_missing(*_arg0); end
1980
+ end
1981
+ end
1982
+
1983
+ module RSpec::Core::Ordering; end
1984
+
1985
+ class RSpec::Core::Ordering::ConfigurationManager
1986
+ def initialize; end
1987
+
1988
+ def force(hash); end
1989
+ def order=(type); end
1990
+ def ordering_registry; end
1991
+ def register_ordering(name, strategy = T.unsafe(nil)); end
1992
+ def seed; end
1993
+ def seed=(seed); end
1994
+ def seed_used?; end
1995
+ end
1996
+
1997
+ class RSpec::Core::Ordering::Custom
1998
+ def initialize(callable); end
1999
+
2000
+ def order(list); end
2001
+ end
2002
+
2003
+ class RSpec::Core::Ordering::Identity
2004
+ def order(items); end
2005
+ end
2006
+
2007
+ class RSpec::Core::Ordering::Random
2008
+ def initialize(configuration); end
2009
+
2010
+ def order(items); end
2011
+ def used?; end
2012
+
2013
+ private
2014
+
2015
+ def jenkins_hash_digest(string); end
2016
+ end
2017
+
2018
+ RSpec::Core::Ordering::Random::MAX_32_BIT = T.let(T.unsafe(nil), Integer)
2019
+
2020
+ class RSpec::Core::Ordering::RecentlyModified
2021
+ def order(list); end
2022
+ end
2023
+
2024
+ class RSpec::Core::Ordering::Registry
2025
+ def initialize(configuration); end
2026
+
2027
+ def fetch(name, &fallback); end
2028
+ def register(sym, strategy); end
2029
+ def used_random_seed?; end
2030
+ end
2031
+
2032
+ class RSpec::Core::OutputWrapper
2033
+ def initialize(output); end
2034
+
2035
+ def <<(*args, &block); end
2036
+ def advise(*args, &block); end
2037
+ def autoclose=(*args, &block); end
2038
+ def autoclose?(*args, &block); end
2039
+ def binmode(*args, &block); end
2040
+ def binmode?(*args, &block); end
2041
+ def bytes(*args, &block); end
2042
+ def chars(*args, &block); end
2043
+ def close(*args, &block); end
2044
+ def close_on_exec=(*args, &block); end
2045
+ def close_on_exec?(*args, &block); end
2046
+ def close_read(*args, &block); end
2047
+ def close_write(*args, &block); end
2048
+ def closed?(*args, &block); end
2049
+ def codepoints(*args, &block); end
2050
+ def each(*args, &block); end
2051
+ def each_byte(*args, &block); end
2052
+ def each_char(*args, &block); end
2053
+ def each_codepoint(*args, &block); end
2054
+ def each_line(*args, &block); end
2055
+ def eof(*args, &block); end
2056
+ def eof?(*args, &block); end
2057
+ def external_encoding(*args, &block); end
2058
+ def fcntl(*args, &block); end
2059
+ def fdatasync(*args, &block); end
2060
+ def fileno(*args, &block); end
2061
+ def flush(*args, &block); end
2062
+ def fsync(*args, &block); end
2063
+ def getbyte(*args, &block); end
2064
+ def getc(*args, &block); end
2065
+ def gets(*args, &block); end
2066
+ def inspect(*args, &block); end
2067
+ def internal_encoding(*args, &block); end
2068
+ def ioctl(*args, &block); end
2069
+ def isatty(*args, &block); end
2070
+ def lineno(*args, &block); end
2071
+ def lineno=(*args, &block); end
2072
+ def lines(*args, &block); end
2073
+ def method_missing(name, *args, &block); end
2074
+ def output; end
2075
+ def output=(_arg0); end
2076
+ def pathconf(*args, &block); end
2077
+ def pid(*args, &block); end
2078
+ def pos(*args, &block); end
2079
+ def pos=(*args, &block); end
2080
+ def pread(*args, &block); end
2081
+ def print(*args, &block); end
2082
+ def printf(*args, &block); end
2083
+ def putc(*args, &block); end
2084
+ def puts(*args, &block); end
2085
+ def pwrite(*args, &block); end
2086
+ def read(*args, &block); end
2087
+ def read_nonblock(*args, &block); end
2088
+ def readbyte(*args, &block); end
2089
+ def readchar(*args, &block); end
2090
+ def readline(*args, &block); end
2091
+ def readlines(*args, &block); end
2092
+ def readpartial(*args, &block); end
2093
+ def reopen(*args, &block); end
2094
+ def respond_to?(name, priv = T.unsafe(nil)); end
2095
+ def rewind(*args, &block); end
2096
+ def seek(*args, &block); end
2097
+ def set_encoding(*args, &block); end
2098
+ def set_encoding_by_bom(*args, &block); end
2099
+ def stat(*args, &block); end
2100
+ def sync(*args, &block); end
2101
+ def sync=(*args, &block); end
2102
+ def sysread(*args, &block); end
2103
+ def sysseek(*args, &block); end
2104
+ def syswrite(*args, &block); end
2105
+ def tell(*args, &block); end
2106
+ def to_i(*args, &block); end
2107
+ def to_io(*args, &block); end
2108
+ def tty?(*args, &block); end
2109
+ def ungetbyte(*args, &block); end
2110
+ def ungetc(*args, &block); end
2111
+ def write(*args, &block); end
2112
+ def write_nonblock(*args, &block); end
2113
+ end
2114
+
2115
+ class RSpec::Core::Parser
2116
+ def initialize(original_args); end
2117
+
2118
+ def original_args; end
2119
+ def parse(source = T.unsafe(nil)); end
2120
+
2121
+ private
2122
+
2123
+ def add_tag_filter(options, filter_type, tag_name, value = T.unsafe(nil)); end
2124
+ def configure_only_failures(options); end
2125
+ def parser(options); end
2126
+ def set_fail_fast(options, value); end
2127
+
2128
+ class << self
2129
+ def parse(args, source = T.unsafe(nil)); end
2130
+ end
2131
+ end
2132
+
2133
+ module RSpec::Core::Pending
2134
+ def pending(message = T.unsafe(nil)); end
2135
+ def skip(message = T.unsafe(nil)); end
2136
+
2137
+ class << self
2138
+ def mark_fixed!(example); end
2139
+ def mark_pending!(example, message_or_bool); end
2140
+ def mark_skipped!(example, message_or_bool); end
2141
+ end
2142
+ end
2143
+
2144
+ RSpec::Core::Pending::NOT_YET_IMPLEMENTED = T.let(T.unsafe(nil), String)
2145
+ RSpec::Core::Pending::NO_REASON_GIVEN = T.let(T.unsafe(nil), String)
2146
+ class RSpec::Core::Pending::PendingExampleFixedError < ::StandardError; end
2147
+
2148
+ class RSpec::Core::Pending::SkipDeclaredInExample < ::StandardError
2149
+ def initialize(argument); end
2150
+
2151
+ def argument; end
2152
+ end
2153
+
2154
+ class RSpec::Core::Profiler
2155
+ def initialize; end
2156
+
2157
+ def example_group_finished(notification); end
2158
+ def example_group_started(notification); end
2159
+ def example_groups; end
2160
+ def example_started(notification); end
2161
+ end
2162
+
2163
+ RSpec::Core::Profiler::NOTIFICATIONS = T.let(T.unsafe(nil), Array)
2164
+
2165
+ class RSpec::Core::Reporter
2166
+ def initialize(configuration); end
2167
+
2168
+ def abort_with(msg, exit_status); end
2169
+ def close_after; end
2170
+ def deprecation(hash); end
2171
+ def example_failed(example); end
2172
+ def example_finished(example); end
2173
+ def example_group_finished(group); end
2174
+ def example_group_started(group); end
2175
+ def example_passed(example); end
2176
+ def example_pending(example); end
2177
+ def example_started(example); end
2178
+ def examples; end
2179
+ def exit_early(exit_code); end
2180
+ def fail_fast_limit_met?; end
2181
+ def failed_examples; end
2182
+ def finish; end
2183
+ def message(message); end
2184
+ def notify(event, notification); end
2185
+ def notify_non_example_exception(exception, context_description); end
2186
+ def pending_examples; end
2187
+ def prepare_default(loader, output_stream, deprecation_stream); end
2188
+ def publish(event, options = T.unsafe(nil)); end
2189
+ def register_listener(listener, *notifications); end
2190
+ def registered_listeners(notification); end
2191
+ def report(expected_example_count); end
2192
+ def start(expected_example_count, time = T.unsafe(nil)); end
2193
+ def stop; end
2194
+
2195
+ private
2196
+
2197
+ def close; end
2198
+ def ensure_listeners_ready; end
2199
+ def mute_profile_output?; end
2200
+ def seed_used?; end
2201
+ end
2202
+
2203
+ RSpec::Core::Reporter::RSPEC_NOTIFICATIONS = T.let(T.unsafe(nil), RSpec::Core::Set)
2204
+
2205
+ module RSpec::Core::RubyProject
2206
+ private
2207
+
2208
+ def add_dir_to_load_path(dir); end
2209
+ def add_to_load_path(*dirs); end
2210
+ def ascend_until; end
2211
+ def determine_root; end
2212
+ def find_first_parent_containing(dir); end
2213
+ def root; end
2214
+
2215
+ class << self
2216
+ def add_dir_to_load_path(dir); end
2217
+ def add_to_load_path(*dirs); end
2218
+ def ascend_until; end
2219
+ def determine_root; end
2220
+ def find_first_parent_containing(dir); end
2221
+ def root; end
2222
+ end
2223
+ end
2224
+
2225
+ class RSpec::Core::Runner
2226
+ def initialize(options, configuration = T.unsafe(nil), world = T.unsafe(nil)); end
2227
+
2228
+ def configuration; end
2229
+ def configure(err, out); end
2230
+ def exit_code(examples_passed = T.unsafe(nil)); end
2231
+ def options; end
2232
+ def run(err, out); end
2233
+ def run_specs(example_groups); end
2234
+ def setup(err, out); end
2235
+ def world; end
2236
+
2237
+ private
2238
+
2239
+ def persist_example_statuses; end
2240
+
2241
+ class << self
2242
+ def autorun; end
2243
+ def autorun_disabled?; end
2244
+ def disable_autorun!; end
2245
+ def handle_interrupt; end
2246
+ def installed_at_exit?; end
2247
+ def invoke; end
2248
+ def perform_at_exit; end
2249
+ def run(args, err = T.unsafe(nil), out = T.unsafe(nil)); end
2250
+ def running_in_drb?; end
2251
+ def trap_interrupt; end
2252
+ end
2253
+ end
2254
+
2255
+ class RSpec::Core::Set
2256
+ include ::Enumerable
2257
+
2258
+ def initialize(array = T.unsafe(nil)); end
2259
+
2260
+ def <<(key); end
2261
+ def clear; end
2262
+ def delete(key); end
2263
+ def each(&block); end
2264
+ def empty?; end
2265
+ def include?(key); end
2266
+ def merge(values); end
2267
+ end
2268
+
2269
+ module RSpec::Core::SharedContext
2270
+ def __shared_context_recordings; end
2271
+ def after(*args, &block); end
2272
+ def append_after(*args, &block); end
2273
+ def append_before(*args, &block); end
2274
+ def around(*args, &block); end
2275
+ def before(*args, &block); end
2276
+ def context(*args, &block); end
2277
+ def describe(*args, &block); end
2278
+ def hooks(*args, &block); end
2279
+ def included(group); end
2280
+ def let(*args, &block); end
2281
+ def let!(*args, &block); end
2282
+ def prepend_after(*args, &block); end
2283
+ def prepend_before(*args, &block); end
2284
+ def subject(*args, &block); end
2285
+ def subject!(*args, &block); end
2286
+
2287
+ class << self
2288
+ def record(methods); end
2289
+ end
2290
+ end
2291
+
2292
+ class RSpec::Core::SharedContext::Recording < ::Struct
2293
+ def args; end
2294
+ def args=(_); end
2295
+ def block; end
2296
+ def block=(_); end
2297
+ def method_name; end
2298
+ def method_name=(_); end
2299
+ def playback_onto(group); end
2300
+
2301
+ class << self
2302
+ def [](*_arg0); end
2303
+ def inspect; end
2304
+ def members; end
2305
+ def new(*_arg0); end
2306
+ end
2307
+ end
2308
+
2309
+ module RSpec::Core::SharedExampleGroup
2310
+ def shared_context(name, *args, &block); end
2311
+ def shared_examples(name, *args, &block); end
2312
+ def shared_examples_for(name, *args, &block); end
2313
+ end
2314
+
2315
+ class RSpec::Core::SharedExampleGroup::Registry
2316
+ def add(context, name, *metadata_args, &block); end
2317
+ def find(lookup_contexts, name); end
2318
+
2319
+ private
2320
+
2321
+ def ensure_block_has_source_location(_block); end
2322
+ def formatted_location(block); end
2323
+ def legacy_add(context, name, *metadata_args, &block); end
2324
+ def shared_example_groups; end
2325
+ def valid_name?(candidate); end
2326
+ def warn_if_key_taken(context, key, new_block); end
2327
+ end
2328
+
2329
+ module RSpec::Core::SharedExampleGroup::TopLevelDSL
2330
+ class << self
2331
+ def definitions; end
2332
+ def expose_globally!; end
2333
+ def exposed_globally?; end
2334
+ def remove_globally!; end
2335
+ end
2336
+ end
2337
+
2338
+ class RSpec::Core::SharedExampleGroupInclusionStackFrame
2339
+ def initialize(shared_group_name, inclusion_location); end
2340
+
2341
+ def description; end
2342
+ def formatted_inclusion_location; end
2343
+ def inclusion_location; end
2344
+ def shared_group_name; end
2345
+
2346
+ class << self
2347
+ def current_backtrace; end
2348
+ def shared_example_group_inclusions; end
2349
+ def with_frame(name, location); end
2350
+ end
2351
+ end
2352
+
2353
+ class RSpec::Core::SharedExampleGroupModule < ::Module
2354
+ def initialize(description, definition, metadata); end
2355
+
2356
+ def definition; end
2357
+ def include_in(klass, inclusion_line, args, customization_block); end
2358
+ def included(klass); end
2359
+ def inspect; end
2360
+ def to_s; end
2361
+ end
2362
+
2363
+ module RSpec::Core::ShellEscape
2364
+ private
2365
+
2366
+ def conditionally_quote(id); end
2367
+ def escape(shell_command); end
2368
+ def quote(argument); end
2369
+ def shell_allows_unquoted_ids?; end
2370
+
2371
+ class << self
2372
+ def conditionally_quote(id); end
2373
+ def escape(shell_command); end
2374
+ def quote(argument); end
2375
+ def shell_allows_unquoted_ids?; end
2376
+ end
2377
+ end
2378
+
2379
+ RSpec::Core::ShellEscape::SHELLS_ALLOWING_UNQUOTED_IDS = T.let(T.unsafe(nil), Array)
2380
+
2381
+ class RSpec::Core::SuiteHookContext < ::RSpec::Core::Example
2382
+ def initialize(hook_description, reporter); end
2383
+
2384
+ def set_exception(exception); end
2385
+ end
2386
+
2387
+ class RSpec::Core::Time
2388
+ class << self
2389
+ def now(*_arg0); end
2390
+ end
2391
+ end
2392
+
2393
+ module RSpec::Core::Version; end
2394
+ RSpec::Core::Version::STRING = T.let(T.unsafe(nil), String)
2395
+
2396
+ module RSpec::Core::Warnings
2397
+ def deprecate(deprecated, data = T.unsafe(nil)); end
2398
+ def warn_deprecation(message, opts = T.unsafe(nil)); end
2399
+ def warn_with(message, options = T.unsafe(nil)); end
2400
+ end
2401
+
2402
+ class RSpec::Core::World
2403
+ def initialize(configuration = T.unsafe(nil)); end
2404
+
2405
+ def all_example_groups; end
2406
+ def all_examples; end
2407
+ def announce_exclusion_filter(announcements); end
2408
+ def announce_filters; end
2409
+ def announce_inclusion_filter(announcements); end
2410
+ def everything_filtered_message; end
2411
+ def example_count(groups = T.unsafe(nil)); end
2412
+ def example_group_counts_by_spec_file; end
2413
+ def example_groups; end
2414
+ def exclusion_filter; end
2415
+ def filter_manager; end
2416
+ def filtered_examples; end
2417
+ def inclusion_filter; end
2418
+ def non_example_failure; end
2419
+ def non_example_failure=(_arg0); end
2420
+ def num_example_groups_defined_in(file); end
2421
+ def ordered_example_groups; end
2422
+ def preceding_declaration_line(absolute_file_name, filter_line); end
2423
+ def prepare_example_filtering; end
2424
+ def record(example_group); end
2425
+ def registered_example_group_files; end
2426
+ def report_filter_message(message); end
2427
+ def reporter; end
2428
+ def reset; end
2429
+ def rspec_is_quitting; end
2430
+ def rspec_is_quitting=(_arg0); end
2431
+ def shared_example_group_registry; end
2432
+ def source_from_file(path); end
2433
+ def syntax_highlighter; end
2434
+ def traverse_example_group_trees_until(&block); end
2435
+ def wants_to_quit; end
2436
+ def wants_to_quit=(_arg0); end
2437
+
2438
+ private
2439
+
2440
+ def descending_declaration_line_numbers_by_file; end
2441
+ def fail_if_config_and_cli_options_invalid; end
2442
+ end
2443
+
2444
+ module RSpec::Core::World::Null
2445
+ class << self
2446
+ def all_example_groups; end
2447
+ def example_groups; end
2448
+ def non_example_failure; end
2449
+ def non_example_failure=(_); end
2450
+ def registered_example_group_files; end
2451
+ def traverse_example_group_trees_until; end
2452
+ end
2453
+ end
2454
+
2455
+ module RSpec::ExampleGroups
2456
+ extend ::RSpec::Support::RecursiveConstMethods
2457
+
2458
+ class << self
2459
+ def assign_const(group); end
2460
+ def base_name_for(group); end
2461
+ def constant_scope_for(group); end
2462
+ def disambiguate(name, const_scope); end
2463
+ def remove_all_constants; end
2464
+ end
2465
+ end
2466
+
2467
+ RSpec::MODULES_TO_AUTOLOAD = T.let(T.unsafe(nil), Hash)
2468
+ RSpec::SharedContext = RSpec::Core::SharedContext