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