muina 0.2.7 → 0.3.0

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