workos 2.9.0 → 2.11.0

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