sord 0.10.0 → 3.0.0

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