rspec-sorbet 1.8.1 → 1.8.2

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