dear_inventory 1.4.0 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +13 -4
  3. data/Gemfile +14 -0
  4. data/README.md +1 -10
  5. data/dear_inventory.gemspec +5 -15
  6. data/lib/dear_inventory/config.rb +12 -25
  7. data/lib/dear_inventory/environment.rb +1 -2
  8. data/lib/dear_inventory/error.rb +1 -6
  9. data/lib/dear_inventory/errors/api_limit.rb +0 -1
  10. data/lib/dear_inventory/errors/bad_request.rb +0 -1
  11. data/lib/dear_inventory/errors/no_more_pages.rb +0 -1
  12. data/lib/dear_inventory/errors/not_paginated.rb +0 -9
  13. data/lib/dear_inventory/errors/request.rb +1 -11
  14. data/lib/dear_inventory/errors/validation.rb +0 -1
  15. data/lib/dear_inventory/lib/date_time.rb +1 -6
  16. data/lib/dear_inventory/lib/endpoint_class.rb +4 -25
  17. data/lib/dear_inventory/lib/is_a_subclass.rb +1 -7
  18. data/lib/dear_inventory/lib/request.rb +10 -35
  19. data/lib/dear_inventory/lib/strings/urlize.rb +0 -4
  20. data/lib/dear_inventory/model.rb +26 -59
  21. data/lib/dear_inventory/models/additional_attributes.rb +0 -3
  22. data/lib/dear_inventory/models/address.rb +0 -3
  23. data/lib/dear_inventory/models/advanced_purchase.rb +0 -3
  24. data/lib/dear_inventory/models/attachment.rb +0 -3
  25. data/lib/dear_inventory/models/bill_of_materials_product.rb +0 -3
  26. data/lib/dear_inventory/models/bill_of_materials_service.rb +0 -3
  27. data/lib/dear_inventory/models/customer.rb +0 -3
  28. data/lib/dear_inventory/models/customers/address.rb +0 -3
  29. data/lib/dear_inventory/models/customers/contact.rb +0 -3
  30. data/lib/dear_inventory/models/customers.rb +0 -3
  31. data/lib/dear_inventory/models/inventory_movement.rb +0 -3
  32. data/lib/dear_inventory/models/product.rb +0 -3
  33. data/lib/dear_inventory/models/product_availability.rb +0 -3
  34. data/lib/dear_inventory/models/product_availability_results.rb +0 -3
  35. data/lib/dear_inventory/models/products/movement.rb +0 -3
  36. data/lib/dear_inventory/models/products.rb +0 -3
  37. data/lib/dear_inventory/models/purchase.rb +0 -3
  38. data/lib/dear_inventory/models/purchases/additional_charge.rb +0 -3
  39. data/lib/dear_inventory/models/purchases/advanced/credit_note.rb +0 -3
  40. data/lib/dear_inventory/models/purchases/advanced/invoice.rb +0 -3
  41. data/lib/dear_inventory/models/purchases/advanced/manual_journal.rb +0 -3
  42. data/lib/dear_inventory/models/purchases/advanced/put_away.rb +0 -3
  43. data/lib/dear_inventory/models/purchases/advanced/put_away_line.rb +0 -3
  44. data/lib/dear_inventory/models/purchases/advanced/stock.rb +0 -3
  45. data/lib/dear_inventory/models/purchases/advanced/stock_line.rb +0 -3
  46. data/lib/dear_inventory/models/purchases/credit_note.rb +0 -3
  47. data/lib/dear_inventory/models/purchases/inventory_movement.rb +0 -3
  48. data/lib/dear_inventory/models/purchases/invoice.rb +0 -3
  49. data/lib/dear_inventory/models/purchases/invoice_additional_charge.rb +0 -3
  50. data/lib/dear_inventory/models/purchases/invoice_line.rb +0 -3
  51. data/lib/dear_inventory/models/purchases/line.rb +0 -3
  52. data/lib/dear_inventory/models/purchases/manual_journal.rb +0 -3
  53. data/lib/dear_inventory/models/purchases/manual_journal_line.rb +0 -3
  54. data/lib/dear_inventory/models/purchases/order.rb +0 -3
  55. data/lib/dear_inventory/models/purchases/payment_line.rb +0 -3
  56. data/lib/dear_inventory/models/purchases/stock.rb +0 -3
  57. data/lib/dear_inventory/models/purchases/stock_line.rb +0 -3
  58. data/lib/dear_inventory/models/purchases/unstock_line.rb +0 -3
  59. data/lib/dear_inventory/models/purchases.rb +3 -8
  60. data/lib/dear_inventory/models/purchases_results.rb +0 -3
  61. data/lib/dear_inventory/models/reorder_level.rb +0 -3
  62. data/lib/dear_inventory/models/request.rb +5 -16
  63. data/lib/dear_inventory/models/sale.rb +0 -3
  64. data/lib/dear_inventory/models/sales/additional_charge.rb +0 -3
  65. data/lib/dear_inventory/models/sales/credit_note.rb +0 -3
  66. data/lib/dear_inventory/models/sales/fulfilment.rb +0 -3
  67. data/lib/dear_inventory/models/sales/fulfilments/pick_pack.rb +0 -3
  68. data/lib/dear_inventory/models/sales/fulfilments/pick_pack_line.rb +0 -3
  69. data/lib/dear_inventory/models/sales/fulfilments/ship.rb +0 -3
  70. data/lib/dear_inventory/models/sales/fulfilments/ship_line.rb +0 -3
  71. data/lib/dear_inventory/models/sales/invoice.rb +0 -3
  72. data/lib/dear_inventory/models/sales/invoice_additional_charge.rb +0 -3
  73. data/lib/dear_inventory/models/sales/invoice_line.rb +0 -3
  74. data/lib/dear_inventory/models/sales/line.rb +0 -3
  75. data/lib/dear_inventory/models/sales/manual_journal.rb +0 -3
  76. data/lib/dear_inventory/models/sales/manual_journal_line.rb +0 -3
  77. data/lib/dear_inventory/models/sales/order.rb +0 -3
  78. data/lib/dear_inventory/models/sales/payment_line.rb +0 -3
  79. data/lib/dear_inventory/models/sales/quote.rb +0 -3
  80. data/lib/dear_inventory/models/sales.rb +1 -6
  81. data/lib/dear_inventory/models/sales_results.rb +0 -3
  82. data/lib/dear_inventory/models/shipping_address.rb +0 -3
  83. data/lib/dear_inventory/models/supplier.rb +0 -3
  84. data/lib/dear_inventory/models/test_request.rb +5 -20
  85. data/lib/dear_inventory/models/transaction.rb +0 -3
  86. data/lib/dear_inventory/parameters/advanced_purchase/show.rb +0 -3
  87. data/lib/dear_inventory/parameters/customer/create.rb +170 -0
  88. data/lib/dear_inventory/parameters/customer/index.rb +0 -3
  89. data/lib/dear_inventory/parameters/customer/show.rb +170 -0
  90. data/lib/dear_inventory/parameters/customer/update.rb +175 -0
  91. data/lib/dear_inventory/parameters/product/index.rb +0 -3
  92. data/lib/dear_inventory/parameters/product_availability/index.rb +0 -3
  93. data/lib/dear_inventory/parameters/purchase/index.rb +0 -3
  94. data/lib/dear_inventory/parameters/purchase/show.rb +0 -3
  95. data/lib/dear_inventory/parameters/sale/delete.rb +0 -3
  96. data/lib/dear_inventory/parameters/sale/index.rb +0 -3
  97. data/lib/dear_inventory/parameters/sale/show.rb +0 -3
  98. data/lib/dear_inventory/parameters.rb +16 -97
  99. data/lib/dear_inventory/resource.rb +4 -15
  100. data/lib/dear_inventory/resources/advanced_purchase.rb +0 -7
  101. data/lib/dear_inventory/resources/customer.rb +17 -10
  102. data/lib/dear_inventory/resources/product.rb +0 -7
  103. data/lib/dear_inventory/resources/product_availability.rb +1 -9
  104. data/lib/dear_inventory/resources/purchase.rb +0 -12
  105. data/lib/dear_inventory/resources/sale.rb +3 -22
  106. data/lib/dear_inventory/response.rb +25 -73
  107. data/lib/dear_inventory/test_response.rb +9 -24
  108. data/lib/dear_inventory/validator.rb +10 -38
  109. data/lib/dear_inventory/validators/array.rb +15 -0
  110. data/lib/dear_inventory/validators/boolean.rb +0 -4
  111. data/lib/dear_inventory/validators/enum.rb +2 -6
  112. data/lib/dear_inventory/validators/guid.rb +4 -11
  113. data/lib/dear_inventory/validators/integer.rb +0 -4
  114. data/lib/dear_inventory/validators/required.rb +0 -4
  115. data/lib/dear_inventory/validators/string.rb +0 -4
  116. data/lib/dear_inventory/validators/time.rb +0 -4
  117. data/lib/dear_inventory/version.rb +1 -2
  118. data/lib/dear_inventory.rb +6 -12
  119. metadata +22 -219
  120. data/sorbet/config +0 -2
  121. data/sorbet/rbi/gems/addressable.rbi +0 -199
  122. data/sorbet/rbi/gems/ast.rbi +0 -48
  123. data/sorbet/rbi/gems/byebug.rbi +0 -1040
  124. data/sorbet/rbi/gems/coderay.rbi +0 -92
  125. data/sorbet/rbi/gems/crack.rbi +0 -48
  126. data/sorbet/rbi/gems/domain_name.rbi +0 -52
  127. data/sorbet/rbi/gems/dotenv.rbi +0 -68
  128. data/sorbet/rbi/gems/ffi-compiler.rbi +0 -27
  129. data/sorbet/rbi/gems/ffi.rbi +0 -560
  130. data/sorbet/rbi/gems/hashdiff.rbi +0 -66
  131. data/sorbet/rbi/gems/http-cookie.rbi +0 -93
  132. data/sorbet/rbi/gems/http-form_data.rbi +0 -76
  133. data/sorbet/rbi/gems/http-parser.rbi +0 -121
  134. data/sorbet/rbi/gems/http.rbi +0 -616
  135. data/sorbet/rbi/gems/jaro_winkler.rbi +0 -15
  136. data/sorbet/rbi/gems/method_source.rbi +0 -64
  137. data/sorbet/rbi/gems/parallel.rbi +0 -82
  138. data/sorbet/rbi/gems/parser.rbi +0 -857
  139. data/sorbet/rbi/gems/pry-byebug.rbi +0 -155
  140. data/sorbet/rbi/gems/pry.rbi +0 -1965
  141. data/sorbet/rbi/gems/public_suffix.rbi +0 -104
  142. data/sorbet/rbi/gems/rainbow.rbi +0 -118
  143. data/sorbet/rbi/gems/rake.rbi +0 -646
  144. data/sorbet/rbi/gems/rspec-core.rbi +0 -1732
  145. data/sorbet/rbi/gems/rspec-expectations.rbi +0 -388
  146. data/sorbet/rbi/gems/rspec-mocks.rbi +0 -820
  147. data/sorbet/rbi/gems/rspec-support.rbi +0 -269
  148. data/sorbet/rbi/gems/rspec.rbi +0 -15
  149. data/sorbet/rbi/gems/rubocop-performance.rbi +0 -277
  150. data/sorbet/rbi/gems/rubocop-rspec.rbi +0 -887
  151. data/sorbet/rbi/gems/rubocop.rbi +0 -6952
  152. data/sorbet/rbi/gems/ruby-progressbar.rbi +0 -305
  153. data/sorbet/rbi/gems/unf.rbi +0 -19
  154. data/sorbet/rbi/gems/unicode-display_width.rbi +0 -17
  155. data/sorbet/rbi/gems/vcr.rbi +0 -572
  156. data/sorbet/rbi/gems/webmock.rbi +0 -569
  157. data/sorbet/rbi/hidden-definitions/errors.txt +0 -11809
  158. data/sorbet/rbi/hidden-definitions/hidden.rbi +0 -20623
  159. data/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +0 -8684
  160. data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +0 -276
  161. data/sorbet/rbi/sorbet-typed/lib/ruby/all/gem.rbi +0 -4222
  162. data/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +0 -111
  163. data/sorbet/rbi/sorbet-typed/lib/ruby/all/resolv.rbi +0 -543
  164. data/sorbet/rbi/todo.rbi +0 -11
@@ -1,1732 +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.9.0
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_groups; end
808
- def exclusion_filter; end
809
- def fail_if_config_and_cli_options_invalid; end
810
- def filter_manager; end
811
- def filtered_examples; end
812
- def inclusion_filter; end
813
- def initialize(configuration = nil); end
814
- def non_example_failure; end
815
- def non_example_failure=(arg0); end
816
- def num_example_groups_defined_in(file); end
817
- def ordered_example_groups; end
818
- def preceding_declaration_line(absolute_file_name, filter_line); end
819
- def prepare_example_filtering; end
820
- def record(example_group); end
821
- def registered_example_group_files; end
822
- def report_filter_message(message); end
823
- def reporter; end
824
- def reset; end
825
- def shared_example_group_registry; end
826
- def source_from_file(path); end
827
- def syntax_highlighter; end
828
- def traverse_example_group_trees_until(&block); end
829
- def wants_to_quit; end
830
- def wants_to_quit=(arg0); end
831
- end
832
- module RSpec::Core::World::Null
833
- def self.all_example_groups; end
834
- def self.example_groups; end
835
- def self.non_example_failure; end
836
- def self.non_example_failure=(_); end
837
- def self.registered_example_group_files; end
838
- def self.traverse_example_group_trees_until; end
839
- end
840
- class RSpec::Core::BacktraceFormatter
841
- def backtrace_line(line); end
842
- def exclude?(line); end
843
- def exclusion_patterns; end
844
- def exclusion_patterns=(arg0); end
845
- def filter_gem(gem_name); end
846
- def format_backtrace(backtrace, options = nil); end
847
- def full_backtrace=(arg0); end
848
- def full_backtrace?; end
849
- def inclusion_patterns; end
850
- def inclusion_patterns=(arg0); end
851
- def initialize; end
852
- def matches?(patterns, line); end
853
- end
854
- module RSpec::Core::RubyProject
855
- def add_dir_to_load_path(dir); end
856
- def add_to_load_path(*dirs); end
857
- def ascend_until; end
858
- def determine_root; end
859
- def find_first_parent_containing(dir); end
860
- def root; end
861
- def self.add_dir_to_load_path(dir); end
862
- def self.add_to_load_path(*dirs); end
863
- def self.ascend_until; end
864
- def self.determine_root; end
865
- def self.find_first_parent_containing(dir); end
866
- def self.root; end
867
- end
868
- class RSpec::Core::Formatters::DeprecationFormatter
869
- def count; end
870
- def deprecation(notification); end
871
- def deprecation_message_for(data); end
872
- def deprecation_stream; end
873
- def deprecation_summary(_notification); end
874
- def initialize(deprecation_stream, summary_stream); end
875
- def output; end
876
- def printer; end
877
- def summary_stream; end
878
- end
879
- class RSpec::Core::Formatters::DeprecationFormatter::SpecifiedDeprecationMessage < Struct
880
- def deprecation_type_for(data); end
881
- def initialize(data); end
882
- def output_formatted(str); end
883
- def self.[](*arg0); end
884
- def self.inspect; end
885
- def self.members; end
886
- def self.new(*arg0); end
887
- def to_s; end
888
- def too_many_warnings_message; end
889
- def type; end
890
- def type=(_); end
891
- end
892
- class RSpec::Core::Formatters::DeprecationFormatter::GeneratedDeprecationMessage < Struct
893
- def initialize(data); end
894
- def self.[](*arg0); end
895
- def self.inspect; end
896
- def self.members; end
897
- def self.new(*arg0); end
898
- def to_s; end
899
- def too_many_warnings_message; end
900
- def type; end
901
- def type=(_); end
902
- end
903
- class RSpec::Core::Formatters::DeprecationFormatter::ImmediatePrinter
904
- def deprecation_formatter; end
905
- def deprecation_stream; end
906
- def deprecation_summary; end
907
- def initialize(deprecation_stream, summary_stream, deprecation_formatter); end
908
- def print_deprecation_message(data); end
909
- def summary_stream; end
910
- end
911
- class RSpec::Core::Formatters::DeprecationFormatter::DelayedPrinter
912
- def deprecation_formatter; end
913
- def deprecation_stream; end
914
- def deprecation_summary; end
915
- def initialize(deprecation_stream, summary_stream, deprecation_formatter); end
916
- def print_deferred_deprecation_warnings; end
917
- def print_deprecation_message(data); end
918
- def stash_deprecation_message(deprecation_message); end
919
- def summary_stream; end
920
- end
921
- class RSpec::Core::Formatters::DeprecationFormatter::RaiseErrorStream
922
- def puts(message); end
923
- def summarize(summary_stream, deprecation_count); end
924
- end
925
- class RSpec::Core::Formatters::DeprecationFormatter::FileStream
926
- def initialize(file); end
927
- def puts(*args); end
928
- def summarize(summary_stream, deprecation_count); end
929
- end
930
- class RSpec::Core::DeprecationError < StandardError
931
- end
932
- class RSpec::Core::OutputWrapper
933
- def <<(*args, &block); end
934
- def advise(*args, &block); end
935
- def autoclose=(*args, &block); end
936
- def autoclose?(*args, &block); end
937
- def beep(*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 check_winsize_changed(*args, &block); end
943
- def clear_screen(*args, &block); end
944
- def close(*args, &block); end
945
- def close_on_exec=(*args, &block); end
946
- def close_on_exec?(*args, &block); end
947
- def close_read(*args, &block); end
948
- def close_write(*args, &block); end
949
- def closed?(*args, &block); end
950
- def codepoints(*args, &block); end
951
- def console_mode(*args, &block); end
952
- def console_mode=(*args, &block); end
953
- def cooked!(*args, &block); end
954
- def cooked(*args, &block); end
955
- def cursor(*args, &block); end
956
- def cursor=(*args, &block); end
957
- def cursor_down(*args, &block); end
958
- def cursor_left(*args, &block); end
959
- def cursor_right(*args, &block); end
960
- def cursor_up(*args, &block); end
961
- def each(*args, &block); end
962
- def each_byte(*args, &block); end
963
- def each_char(*args, &block); end
964
- def each_codepoint(*args, &block); end
965
- def each_line(*args, &block); end
966
- def echo=(*args, &block); end
967
- def echo?(*args, &block); end
968
- def eof(*args, &block); end
969
- def eof?(*args, &block); end
970
- def erase_line(*args, &block); end
971
- def erase_screen(*args, &block); end
972
- def external_encoding(*args, &block); end
973
- def fcntl(*args, &block); end
974
- def fdatasync(*args, &block); end
975
- def fileno(*args, &block); end
976
- def flush(*args, &block); end
977
- def fsync(*args, &block); end
978
- def getbyte(*args, &block); end
979
- def getc(*args, &block); end
980
- def getch(*args, &block); end
981
- def getpass(*args, &block); end
982
- def gets(*args, &block); end
983
- def goto(*args, &block); end
984
- def goto_column(*args, &block); end
985
- def iflush(*args, &block); end
986
- def initialize(output); end
987
- def inspect(*args, &block); end
988
- def internal_encoding(*args, &block); end
989
- def ioctl(*args, &block); end
990
- def ioflush(*args, &block); end
991
- def isatty(*args, &block); end
992
- def lineno(*args, &block); end
993
- def lineno=(*args, &block); end
994
- def lines(*args, &block); end
995
- def method_missing(name, *args, &block); end
996
- def noecho(*args, &block); end
997
- def nonblock(*args, &block); end
998
- def nonblock=(*args, &block); end
999
- def nonblock?(*args, &block); end
1000
- def nread(*args, &block); end
1001
- def oflush(*args, &block); end
1002
- def output; end
1003
- def output=(arg0); end
1004
- def pathconf(*args, &block); end
1005
- def pid(*args, &block); end
1006
- def pos(*args, &block); end
1007
- def pos=(*args, &block); end
1008
- def pread(*args, &block); end
1009
- def pressed?(*args, &block); end
1010
- def print(*args, &block); end
1011
- def printf(*args, &block); end
1012
- def putc(*args, &block); end
1013
- def puts(*args, &block); end
1014
- def pwrite(*args, &block); end
1015
- def raw!(*args, &block); end
1016
- def raw(*args, &block); end
1017
- def read(*args, &block); end
1018
- def read_nonblock(*args, &block); end
1019
- def readbyte(*args, &block); end
1020
- def readchar(*args, &block); end
1021
- def readline(*args, &block); end
1022
- def readlines(*args, &block); end
1023
- def readpartial(*args, &block); end
1024
- def ready?(*args, &block); end
1025
- def reopen(*args, &block); end
1026
- def respond_to?(name, priv = nil); end
1027
- def rewind(*args, &block); end
1028
- def scroll_backward(*args, &block); end
1029
- def scroll_forward(*args, &block); end
1030
- def seek(*args, &block); end
1031
- def set_encoding(*args, &block); end
1032
- def set_encoding_by_bom(*args, &block); end
1033
- def stat(*args, &block); end
1034
- def sync(*args, &block); end
1035
- def sync=(*args, &block); end
1036
- def sysread(*args, &block); end
1037
- def sysseek(*args, &block); end
1038
- def syswrite(*args, &block); end
1039
- def tell(*args, &block); end
1040
- def to_i(*args, &block); end
1041
- def to_io(*args, &block); end
1042
- def tty?(*args, &block); end
1043
- def ungetbyte(*args, &block); end
1044
- def ungetc(*args, &block); end
1045
- def wait(*args, &block); end
1046
- def wait_readable(*args, &block); end
1047
- def wait_writable(*args, &block); end
1048
- def winsize(*args, &block); end
1049
- def winsize=(*args, &block); end
1050
- def write(*args, &block); end
1051
- def write_nonblock(*args, &block); end
1052
- end
1053
- class RSpec::Core::Configuration
1054
- def absolute_pattern?(pattern); end
1055
- def add_formatter(formatter, output = nil); end
1056
- def add_hook_to_existing_matching_groups(meta, scope, &block); end
1057
- def add_setting(name, opts = nil); end
1058
- def after(scope = nil, *meta, &block); end
1059
- def alias_example_group_to(new_name, *args); end
1060
- def alias_example_to(name, *args); end
1061
- def alias_it_behaves_like_to(new_name, report_label = nil); end
1062
- def alias_it_should_behave_like_to(new_name, report_label = nil); end
1063
- def append_after(scope = nil, *meta, &block); end
1064
- def append_before(scope = nil, *meta, &block); end
1065
- def apply_derived_metadata_to(metadata); end
1066
- def around(scope = nil, *meta, &block); end
1067
- def assert_no_example_groups_defined(config_option); end
1068
- def backtrace_exclusion_patterns; end
1069
- def backtrace_exclusion_patterns=(patterns); end
1070
- def backtrace_formatter; end
1071
- def backtrace_inclusion_patterns; end
1072
- def backtrace_inclusion_patterns=(patterns); end
1073
- def before(scope = nil, *meta, &block); end
1074
- def bisect_runner; end
1075
- def bisect_runner=(value); end
1076
- def bisect_runner_class; end
1077
- def clear_values_derived_from_example_status_persistence_file_path; end
1078
- def color; end
1079
- def color=(arg0); end
1080
- def color_enabled?(output = nil); end
1081
- def color_mode; end
1082
- def color_mode=(arg0); end
1083
- def command; end
1084
- def conditionally_disable_expectations_monkey_patching; end
1085
- def conditionally_disable_mocks_monkey_patching; end
1086
- def configure_example(example, example_hooks); end
1087
- def configure_expectation_framework; end
1088
- def configure_group(group); end
1089
- def configure_group_with(group, module_list, application_method); end
1090
- def configure_mock_framework; end
1091
- def default_color; end
1092
- def default_color=(arg0); end
1093
- def default_color?; end
1094
- def default_formatter; end
1095
- def default_formatter=(value); end
1096
- def default_path; end
1097
- def default_path=(path); end
1098
- def default_path?; end
1099
- def define_built_in_hooks; end
1100
- def define_derived_metadata(*filters, &block); end
1101
- def define_mixed_in_module(mod, filters, mod_list, config_method, &block); end
1102
- def deprecation_stream; end
1103
- def deprecation_stream=(value); end
1104
- def detail_color; end
1105
- def detail_color=(arg0); end
1106
- def detail_color?; end
1107
- def disable_monkey_patching!; end
1108
- def disable_monkey_patching; end
1109
- def disable_monkey_patching=(arg0); end
1110
- def drb; end
1111
- def drb=(arg0); end
1112
- def drb?; end
1113
- def drb_port; end
1114
- def drb_port=(arg0); end
1115
- def drb_port?; end
1116
- def dry_run; end
1117
- def dry_run=(arg0); end
1118
- def dry_run?; end
1119
- def error_stream; end
1120
- def error_stream=(arg0); end
1121
- def error_stream?; end
1122
- def example_status_persistence_file_path; end
1123
- def example_status_persistence_file_path=(value); end
1124
- def exclude_pattern; end
1125
- def exclude_pattern=(value); end
1126
- def exclusion_filter; end
1127
- def exclusion_filter=(filter); end
1128
- def expect_with(*frameworks); end
1129
- def expectation_framework=(framework); end
1130
- def expectation_frameworks; end
1131
- def expose_current_running_example_as(method_name); end
1132
- def expose_dsl_globally=(value); end
1133
- def expose_dsl_globally?; end
1134
- def extend(mod, *filters); end
1135
- def extract_location(path); end
1136
- def fail_fast; end
1137
- def fail_fast=(value); end
1138
- def fail_if_no_examples; end
1139
- def fail_if_no_examples=(arg0); end
1140
- def fail_if_no_examples?; end
1141
- def failure_color; end
1142
- def failure_color=(arg0); end
1143
- def failure_color?; end
1144
- def failure_exit_code; end
1145
- def failure_exit_code=(arg0); end
1146
- def failure_exit_code?; end
1147
- def file_glob_from(path, pattern); end
1148
- def files_or_directories_to_run=(*files); end
1149
- def files_to_run; end
1150
- def files_to_run=(arg0); end
1151
- def filter; end
1152
- def filter=(filter); end
1153
- def filter_gems_from_backtrace(*gem_names); end
1154
- def filter_manager; end
1155
- def filter_manager=(arg0); end
1156
- def filter_run(*args); end
1157
- def filter_run_excluding(*args); end
1158
- def filter_run_including(*args); end
1159
- def filter_run_when_matching(*args); end
1160
- def fixed_color; end
1161
- def fixed_color=(arg0); end
1162
- def fixed_color?; end
1163
- def force(hash); end
1164
- def format_docstrings(&block); end
1165
- def format_docstrings_block; end
1166
- def formatter=(formatter, output = nil); end
1167
- def formatter_loader; end
1168
- def formatters; end
1169
- def full_backtrace=(true_or_false); end
1170
- def full_backtrace?; end
1171
- def full_description; end
1172
- def full_description=(description); end
1173
- def gather_directories(path); end
1174
- def get_files_to_run(paths); end
1175
- def get_matching_files(path, pattern); end
1176
- def handle_suite_hook(scope, meta); end
1177
- def hooks; end
1178
- def in_project_source_dir_regex; end
1179
- def include(mod, *filters); end
1180
- def include_context(shared_group_name, *filters); end
1181
- def inclusion_filter; end
1182
- def inclusion_filter=(filter); end
1183
- def initialize; end
1184
- def last_run_statuses; end
1185
- def libs; end
1186
- def libs=(libs); end
1187
- def load_file_handling_errors(method, file); end
1188
- def load_spec_files; end
1189
- def loaded_spec_files; end
1190
- def max_displayed_failure_line_count; end
1191
- def max_displayed_failure_line_count=(arg0); end
1192
- def max_displayed_failure_line_count?; end
1193
- def metadata_applies_to_group?(meta, group); end
1194
- def mock_framework; end
1195
- def mock_framework=(framework); end
1196
- def mock_with(framework); end
1197
- def on_example_group_definition(&block); end
1198
- def on_example_group_definition_callbacks; end
1199
- def on_existing_matching_groups(meta); end
1200
- def only_failures; end
1201
- def only_failures?; end
1202
- def only_failures_but_not_configured?; end
1203
- def order=(*args, &block); end
1204
- def ordering_manager; end
1205
- def ordering_registry(*args, &block); end
1206
- def output_stream; end
1207
- def output_stream=(value); end
1208
- def output_to_tty?(output = nil); end
1209
- def output_wrapper; end
1210
- def paths_to_check(paths); end
1211
- def pattern; end
1212
- def pattern=(value); end
1213
- def pattern_might_load_specs_from_vendored_dirs?; end
1214
- def pending_color; end
1215
- def pending_color=(arg0); end
1216
- def pending_color?; end
1217
- def prepend(mod, *filters); end
1218
- def prepend_after(scope = nil, *meta, &block); end
1219
- def prepend_before(scope = nil, *meta, &block); end
1220
- def profile_examples; end
1221
- def profile_examples=(arg0); end
1222
- def profile_examples?; end
1223
- def project_source_dirs; end
1224
- def project_source_dirs=(arg0); end
1225
- def project_source_dirs?; end
1226
- def raise_errors_for_deprecations!; end
1227
- def raise_on_warning=(value); end
1228
- def register_ordering(*args, &block); end
1229
- def reporter; end
1230
- def requires; end
1231
- def requires=(paths); end
1232
- def reset; end
1233
- def reset_filters; end
1234
- def reset_reporter; end
1235
- def rspec_expectations_loaded?; end
1236
- def rspec_mocks_loaded?; end
1237
- def run_all_when_everything_filtered; end
1238
- def run_all_when_everything_filtered=(arg0); end
1239
- def run_all_when_everything_filtered?; end
1240
- def run_suite_hooks(hook_description, hooks); end
1241
- def safe_extend(mod, host); end
1242
- def safe_include(mod, host); end
1243
- def safe_prepend(mod, host); end
1244
- def seed(*args, &block); end
1245
- def seed=(*args, &block); end
1246
- def seed_used?(*args, &block); end
1247
- def self.add_read_only_setting(name, opts = nil); end
1248
- def self.add_setting(name, opts = nil); end
1249
- def self.define_aliases(name, alias_name); end
1250
- def self.define_predicate_for(*names); end
1251
- def self.define_reader(name); end
1252
- def self.delegate_to_ordering_manager(*methods); end
1253
- def shared_context_metadata_behavior; end
1254
- def shared_context_metadata_behavior=(value); end
1255
- def silence_filter_announcements; end
1256
- def silence_filter_announcements=(arg0); end
1257
- def silence_filter_announcements?; end
1258
- def spec_files_with_failures; end
1259
- def start_time; end
1260
- def start_time=(arg0); end
1261
- def start_time?; end
1262
- def static_config_filter_manager; end
1263
- def static_config_filter_manager=(arg0); end
1264
- def success_color; end
1265
- def success_color=(arg0); end
1266
- def success_color?; end
1267
- def threadsafe; end
1268
- def threadsafe=(arg0); end
1269
- def threadsafe?; end
1270
- def treat_symbols_as_metadata_keys_with_true_values=(_value); end
1271
- def tty; end
1272
- def tty=(arg0); end
1273
- def tty?; end
1274
- def update_pattern_attr(name, value); end
1275
- def value_for(key); end
1276
- def warnings=(value); end
1277
- def warnings?; end
1278
- def when_first_matching_example_defined(*filters); end
1279
- def with_suite_hooks; end
1280
- def world; end
1281
- def world=(arg0); end
1282
- include RSpec::Core::Configuration::Readers
1283
- include RSpec::Core::Hooks
1284
- end
1285
- module RSpec::Core::Configuration::Readers
1286
- def default_color; end
1287
- def default_path; end
1288
- def deprecation_stream; end
1289
- def detail_color; end
1290
- def drb; end
1291
- def drb_port; end
1292
- def dry_run; end
1293
- def error_stream; end
1294
- def example_status_persistence_file_path; end
1295
- def exclude_pattern; end
1296
- def fail_fast; end
1297
- def fail_if_no_examples; end
1298
- def failure_color; end
1299
- def failure_exit_code; end
1300
- def fixed_color; end
1301
- def libs; end
1302
- def max_displayed_failure_line_count; end
1303
- def only_failures; end
1304
- def output_stream; end
1305
- def pattern; end
1306
- def pending_color; end
1307
- def profile_examples; end
1308
- def project_source_dirs; end
1309
- def requires; end
1310
- def run_all_when_everything_filtered; end
1311
- def shared_context_metadata_behavior; end
1312
- def silence_filter_announcements; end
1313
- def start_time; end
1314
- def success_color; end
1315
- def threadsafe; end
1316
- def tty; end
1317
- end
1318
- class RSpec::Core::Configuration::MustBeConfiguredBeforeExampleGroupsError < StandardError
1319
- end
1320
- class RSpec::Core::Configuration::DeprecationReporterBuffer
1321
- def deprecation(*args); end
1322
- def initialize; end
1323
- def play_onto(reporter); end
1324
- end
1325
- module RSpec::Core::Configuration::ExposeCurrentExample
1326
- end
1327
- class RSpec::Core::Parser
1328
- def add_tag_filter(options, filter_type, tag_name, value = nil); end
1329
- def configure_only_failures(options); end
1330
- def initialize(original_args); end
1331
- def original_args; end
1332
- def parse(source = nil); end
1333
- def parser(options); end
1334
- def self.parse(args, source = nil); end
1335
- def set_fail_fast(options, value); end
1336
- end
1337
- class RSpec::Core::ConfigurationOptions
1338
- def args; end
1339
- def args_from_options_file(path); end
1340
- def command_line_options; end
1341
- def configure(config); end
1342
- def configure_filter_manager(filter_manager); end
1343
- def custom_options; end
1344
- def custom_options_file; end
1345
- def env_options; end
1346
- def file_options; end
1347
- def force?(key); end
1348
- def global_options; end
1349
- def global_options_file; end
1350
- def home_options_file_path; end
1351
- def initialize(args); end
1352
- def load_formatters_into(config); end
1353
- def local_options; end
1354
- def local_options_file; end
1355
- def options; end
1356
- def options_file_as_erb_string(path); end
1357
- def options_from(path); end
1358
- def order(keys); end
1359
- def organize_options; end
1360
- def parse_args_ignoring_files_or_dirs_to_run(args, source); end
1361
- def process_options_into(config); end
1362
- def project_options; end
1363
- def project_options_file; end
1364
- def resolve_xdg_config_home; end
1365
- def xdg_options_file_if_exists; end
1366
- def xdg_options_file_path; end
1367
- end
1368
- class RSpec::Core::Runner
1369
- def configuration; end
1370
- def configure(err, out); end
1371
- def initialize(options, configuration = nil, world = nil); end
1372
- def options; end
1373
- def persist_example_statuses; end
1374
- def run(err, out); end
1375
- def run_specs(example_groups); end
1376
- def self.autorun; end
1377
- def self.autorun_disabled?; end
1378
- def self.disable_autorun!; end
1379
- def self.handle_interrupt; end
1380
- def self.installed_at_exit?; end
1381
- def self.invoke; end
1382
- def self.perform_at_exit; end
1383
- def self.run(args, err = nil, out = nil); end
1384
- def self.running_in_drb?; end
1385
- def self.trap_interrupt; end
1386
- def setup(err, out); end
1387
- def world; end
1388
- end
1389
- module RSpec::Core::Invocations
1390
- end
1391
- class RSpec::Core::Invocations::InitializeProject
1392
- def call(*_args); end
1393
- end
1394
- class RSpec::Core::Invocations::DRbWithFallback
1395
- def call(options, err, out); end
1396
- end
1397
- class RSpec::Core::Invocations::Bisect
1398
- def bisect_formatter_klass_for(argument); end
1399
- def call(options, err, out); end
1400
- end
1401
- class RSpec::Core::Invocations::PrintVersion
1402
- def call(_options, _err, out); end
1403
- end
1404
- class RSpec::Core::Invocations::PrintHelp < Struct
1405
- def call(_options, _err, out); end
1406
- def hidden_options; end
1407
- def hidden_options=(_); end
1408
- def parser; end
1409
- def parser=(_); end
1410
- def self.[](*arg0); end
1411
- def self.inspect; end
1412
- def self.members; end
1413
- def self.new(*arg0); end
1414
- end
1415
- class RSpec::Core::Example
1416
- def assign_generated_description; end
1417
- def clock; end
1418
- def clock=(arg0); end
1419
- def description; end
1420
- def display_exception; end
1421
- def display_exception=(ex); end
1422
- def duplicate_with(metadata_overrides = nil); end
1423
- def example_group; end
1424
- def example_group_instance; end
1425
- def exception; end
1426
- def execution_result; end
1427
- def fail_with_exception(reporter, exception); end
1428
- def file_path; end
1429
- def finish(reporter); end
1430
- def full_description; end
1431
- def generate_description; end
1432
- def hooks; end
1433
- def id; end
1434
- def initialize(example_group_class, description, user_metadata, example_block = nil); end
1435
- def inspect; end
1436
- def inspect_output; end
1437
- def instance_exec(*args, &block); end
1438
- def location; end
1439
- def location_description; end
1440
- def location_rerun_argument; end
1441
- def metadata; end
1442
- def mocks_need_verification?; end
1443
- def pending; end
1444
- def pending?; end
1445
- def record_finished(status, reporter); end
1446
- def reporter; end
1447
- def rerun_argument; end
1448
- def run(example_group_instance, reporter); end
1449
- def run_after_example; end
1450
- def run_before_example; end
1451
- def self.delegate_to_metadata(key); end
1452
- def self.parse_id(id); end
1453
- def set_aggregate_failures_exception(exception); end
1454
- def set_exception(exception); end
1455
- def skip; end
1456
- def skip_with_exception(reporter, exception); end
1457
- def skipped?; end
1458
- def start(reporter); end
1459
- def to_s; end
1460
- def update_inherited_metadata(updates); end
1461
- def verify_mocks; end
1462
- def with_around_and_singleton_context_hooks; end
1463
- def with_around_example_hooks; end
1464
- end
1465
- class RSpec::Core::Example::Procsy
1466
- def <<(*a, &b); end
1467
- def ===(*a, &b); end
1468
- def >>(*a, &b); end
1469
- def [](*a, &b); end
1470
- def arity(*a, &b); end
1471
- def binding(*a, &b); end
1472
- def call(*args, &block); end
1473
- def clock(*a, &b); end
1474
- def clock=(*a, &b); end
1475
- def clone(*a, &b); end
1476
- def curry(*a, &b); end
1477
- def description(*a, &b); end
1478
- def dup(*a, &b); end
1479
- def duplicate_with(*a, &b); end
1480
- def example; end
1481
- def example_group(*a, &b); end
1482
- def example_group_instance(*a, &b); end
1483
- def exception(*a, &b); end
1484
- def executed?; end
1485
- def execution_result(*a, &b); end
1486
- def file_path(*a, &b); end
1487
- def full_description(*a, &b); end
1488
- def hash(*a, &b); end
1489
- def id(*a, &b); end
1490
- def initialize(example, &block); end
1491
- def inspect; end
1492
- def inspect_output(*a, &b); end
1493
- def lambda?(*a, &b); end
1494
- def location(*a, &b); end
1495
- def location_rerun_argument(*a, &b); end
1496
- def metadata(*a, &b); end
1497
- def parameters(*a, &b); end
1498
- def pending(*a, &b); end
1499
- def pending?(*a, &b); end
1500
- def reporter(*a, &b); end
1501
- def rerun_argument(*a, &b); end
1502
- def ruby2_keywords(*a, &b); end
1503
- def run(*args, &block); end
1504
- def skip(*a, &b); end
1505
- def skipped?(*a, &b); end
1506
- def source_location(*a, &b); end
1507
- def to_proc; end
1508
- def update_inherited_metadata(*a, &b); end
1509
- def wrap(&block); end
1510
- def yield(*a, &b); end
1511
- end
1512
- class RSpec::Core::Example::ExecutionResult
1513
- def calculate_run_time(finished_at); end
1514
- def ensure_timing_set(clock); end
1515
- def example_skipped?; end
1516
- def exception; end
1517
- def exception=(arg0); end
1518
- def finished_at; end
1519
- def finished_at=(arg0); end
1520
- def get_value(name); end
1521
- def hash_for_delegation; end
1522
- def issue_deprecation(_method_name, *_args); end
1523
- def pending_exception; end
1524
- def pending_exception=(arg0); end
1525
- def pending_fixed; end
1526
- def pending_fixed=(arg0); end
1527
- def pending_fixed?; end
1528
- def pending_message; end
1529
- def pending_message=(arg0); end
1530
- def record_finished(status, finished_at); end
1531
- def run_time; end
1532
- def run_time=(arg0); end
1533
- def set_value(name, value); end
1534
- def started_at; end
1535
- def started_at=(arg0); end
1536
- def status; end
1537
- def status=(arg0); end
1538
- extend RSpec::Core::HashImitatable::ClassMethods
1539
- include RSpec::Core::HashImitatable
1540
- end
1541
- class RSpec::Core::SuiteHookContext < RSpec::Core::Example
1542
- def initialize(hook_description, reporter); end
1543
- def set_exception(exception); end
1544
- end
1545
- class RSpec::Core::SharedExampleGroupModule < Module
1546
- def definition; end
1547
- def include_in(klass, inclusion_line, args, customization_block); end
1548
- def included(klass); end
1549
- def initialize(description, definition, metadata); end
1550
- def inspect; end
1551
- def to_s; end
1552
- end
1553
- module RSpec::Core::SharedExampleGroup
1554
- def shared_context(name, *args, &block); end
1555
- def shared_examples(name, *args, &block); end
1556
- def shared_examples_for(name, *args, &block); end
1557
- end
1558
- module RSpec::Core::SharedExampleGroup::TopLevelDSL
1559
- def self.definitions; end
1560
- def self.expose_globally!; end
1561
- def self.exposed_globally?; end
1562
- def self.remove_globally!; end
1563
- end
1564
- class RSpec::Core::SharedExampleGroup::Registry
1565
- def add(context, name, *metadata_args, &block); end
1566
- def ensure_block_has_source_location(_block); end
1567
- def find(lookup_contexts, name); end
1568
- def formatted_location(block); end
1569
- def legacy_add(context, name, *metadata_args, &block); end
1570
- def shared_example_groups; end
1571
- def valid_name?(candidate); end
1572
- def warn_if_key_taken(context, key, new_block); end
1573
- end
1574
- class RSpec::Core::ExampleGroup
1575
- def described_class; end
1576
- def initialize(inspect_output = nil); end
1577
- def inspect; end
1578
- def method_missing(name, *args); end
1579
- def self.add_example(example); end
1580
- def self.before_context_ivars; end
1581
- def self.children; end
1582
- def self.context(*args, &example_group_block); end
1583
- def self.currently_executing_a_context_hook?; end
1584
- def self.declaration_locations; end
1585
- def self.define_example_group_method(name, metadata = nil); end
1586
- def self.define_example_method(name, extra_options = nil); end
1587
- def self.define_nested_shared_group_method(new_name, report_label = nil); end
1588
- def self.delegate_to_metadata(*names); end
1589
- def self.descendant_filtered_examples; end
1590
- def self.descendants; end
1591
- def self.describe(*args, &example_group_block); end
1592
- def self.described_class; end
1593
- def self.description; end
1594
- def self.each_instance_variable_for_example(group); end
1595
- def self.ensure_example_groups_are_configured; end
1596
- def self.example(*all_args, &block); end
1597
- def self.example_group(*args, &example_group_block); end
1598
- def self.examples; end
1599
- def self.fcontext(*args, &example_group_block); end
1600
- def self.fdescribe(*args, &example_group_block); end
1601
- def self.fexample(*all_args, &block); end
1602
- def self.file_path; end
1603
- def self.filtered_examples; end
1604
- def self.find_and_eval_shared(label, name, inclusion_location, *args, &customization_block); end
1605
- def self.fit(*all_args, &block); end
1606
- def self.focus(*all_args, &block); end
1607
- def self.for_filtered_examples(reporter, &block); end
1608
- def self.fspecify(*all_args, &block); end
1609
- def self.id; end
1610
- def self.idempotently_define_singleton_method(name, &definition); end
1611
- def self.include_context(name, *args, &block); end
1612
- def self.include_examples(name, *args, &block); end
1613
- def self.it(*all_args, &block); end
1614
- def self.it_behaves_like(name, *args, &customization_block); end
1615
- def self.it_should_behave_like(name, *args, &customization_block); end
1616
- def self.location; end
1617
- def self.metadata; end
1618
- def self.method_missing(name, *args); end
1619
- def self.next_runnable_index_for(file); end
1620
- def self.ordering_strategy; end
1621
- def self.parent_groups; end
1622
- def self.pending(*all_args, &block); end
1623
- def self.remove_example(example); end
1624
- def self.reset_memoized; end
1625
- def self.run(reporter = nil); end
1626
- def self.run_after_context_hooks(example_group_instance); end
1627
- def self.run_before_context_hooks(example_group_instance); end
1628
- def self.run_examples(reporter); end
1629
- def self.set_it_up(description, args, registration_collection, &example_group_block); end
1630
- def self.set_ivars(instance, ivars); end
1631
- def self.skip(*all_args, &block); end
1632
- def self.specify(*all_args, &block); end
1633
- def self.store_before_context_ivars(example_group_instance); end
1634
- def self.subclass(parent, description, args, registration_collection, &example_group_block); end
1635
- def self.superclass_before_context_ivars; end
1636
- def self.superclass_metadata; end
1637
- def self.top_level?; end
1638
- def self.top_level_description; end
1639
- def self.traverse_tree_until(&block); end
1640
- def self.update_inherited_metadata(updates); end
1641
- def self.with_replaced_metadata(meta); end
1642
- def self.xcontext(*args, &example_group_block); end
1643
- def self.xdescribe(*args, &example_group_block); end
1644
- def self.xexample(*all_args, &block); end
1645
- def self.xit(*all_args, &block); end
1646
- def self.xspecify(*all_args, &block); end
1647
- extend RSpec::Core::Hooks
1648
- extend RSpec::Core::MemoizedHelpers::ClassMethods
1649
- extend RSpec::Core::SharedExampleGroup
1650
- include RSpec::Core::MemoizedHelpers
1651
- include RSpec::Core::Pending
1652
- end
1653
- class RSpec::Core::ExampleGroup::WrongScopeError < NoMethodError
1654
- end
1655
- class RSpec::Core::AnonymousExampleGroup < RSpec::Core::ExampleGroup
1656
- def self.metadata; end
1657
- end
1658
- class RSpec::Core::SharedExampleGroupInclusionStackFrame
1659
- def description; end
1660
- def formatted_inclusion_location; end
1661
- def inclusion_location; end
1662
- def initialize(shared_group_name, inclusion_location); end
1663
- def self.current_backtrace; end
1664
- def self.shared_example_group_inclusions; end
1665
- def self.with_frame(name, location); end
1666
- def shared_group_name; end
1667
- end
1668
- module RSpec::ExampleGroups
1669
- def self.assign_const(group); end
1670
- def self.base_name_for(group); end
1671
- def self.constant_scope_for(group); end
1672
- def self.disambiguate(name, const_scope); end
1673
- def self.remove_all_constants; end
1674
- extend RSpec::Support::RecursiveConstMethods
1675
- end
1676
- module RSpec::Support
1677
- def self.require_rspec_core(f); end
1678
- end
1679
- class RSpec::Core::Time
1680
- def self.now(*arg0); end
1681
- end
1682
- class Module
1683
- end
1684
- module RSpec::Core::MockingAdapters
1685
- end
1686
- module RSpec::Core::MockingAdapters::RSpec
1687
- def self.configuration; end
1688
- def self.framework_name; end
1689
- def setup_mocks_for_rspec; end
1690
- def teardown_mocks_for_rspec; end
1691
- def verify_mocks_for_rspec; end
1692
- include RSpec::Mocks::ExampleMethods
1693
- include RSpec::Mocks::ExampleMethods::ExpectHost
1694
- end
1695
- class RSpec::Core::ExampleStatusPersister
1696
- def dump_statuses(unparsed_previous_runs); end
1697
- def initialize(examples, file_name); end
1698
- def persist; end
1699
- def self.load_from(file_name); end
1700
- def self.persist(examples, file_name); end
1701
- def statuses_from_this_run; end
1702
- end
1703
- class RSpec::Core::ExampleStatusMerger
1704
- def delete_previous_examples_that_no_longer_exist; end
1705
- def example_must_no_longer_exist?(ex_id); end
1706
- def hash_from(example_list); end
1707
- def initialize(this_run, from_previous_runs); end
1708
- def loaded_spec_files; end
1709
- def merge; end
1710
- def self.merge(this_run, from_previous_runs); end
1711
- def sort_value_from(example); end
1712
- def spec_file_from(ex_id); end
1713
- end
1714
- class RSpec::Core::ExampleStatusDumper
1715
- def column_widths; end
1716
- def dump; end
1717
- def formatted_header_rows; end
1718
- def formatted_row_from(row_values); end
1719
- def formatted_value_rows; end
1720
- def headers; end
1721
- def initialize(examples); end
1722
- def rows; end
1723
- def self.dump(examples); end
1724
- end
1725
- class RSpec::Core::ExampleStatusParser
1726
- def headers; end
1727
- def initialize(string); end
1728
- def parse; end
1729
- def parse_row(line); end
1730
- def self.parse(string); end
1731
- def split_line(line); end
1732
- end