sorbet-struct-comparable 1.1.0 → 1.2.0

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