bhook 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. checksums.yaml +7 -0
  2. data/.rspec +3 -0
  3. data/.rubocop.yml +3 -0
  4. data/.ruby-version +1 -0
  5. data/Gemfile +6 -0
  6. data/Gemfile.lock +82 -0
  7. data/LICENSE.txt +21 -0
  8. data/README.md +27 -0
  9. data/Rakefile +13 -0
  10. data/bin/bhook +11 -0
  11. data/lib/bhook/args_parser.rb +55 -0
  12. data/lib/bhook/converter/html.rb +51 -0
  13. data/lib/bhook/directory.rb +62 -0
  14. data/lib/bhook/md_file.rb +50 -0
  15. data/lib/bhook/theme/_after_h1.erb +7 -0
  16. data/lib/bhook/theme/page.erb +71 -0
  17. data/lib/bhook/version.rb +6 -0
  18. data/lib/bhook/workspace.rb +45 -0
  19. data/lib/bhook.rb +22 -0
  20. data/sorbet/config +3 -0
  21. data/sorbet/rbi/gems/ast.rbi +49 -0
  22. data/sorbet/rbi/gems/bhook.rbi +15 -0
  23. data/sorbet/rbi/gems/git.rbi +531 -0
  24. data/sorbet/rbi/gems/kramdown.rbi +255 -0
  25. data/sorbet/rbi/gems/listen.rbi +304 -0
  26. data/sorbet/rbi/gems/parallel.rbi +83 -0
  27. data/sorbet/rbi/gems/parser.rbi +1440 -0
  28. data/sorbet/rbi/gems/rainbow.rbi +122 -0
  29. data/sorbet/rbi/gems/rake.rbi +644 -0
  30. data/sorbet/rbi/gems/rchardet.rbi +181 -0
  31. data/sorbet/rbi/gems/regexp_parser.rbi +929 -0
  32. data/sorbet/rbi/gems/rexml.rbi +599 -0
  33. data/sorbet/rbi/gems/rspec-core.rbi +1898 -0
  34. data/sorbet/rbi/gems/rspec-expectations.rbi +1171 -0
  35. data/sorbet/rbi/gems/rspec-mocks.rbi +1094 -0
  36. data/sorbet/rbi/gems/rspec-support.rbi +280 -0
  37. data/sorbet/rbi/gems/rspec.rbi +15 -0
  38. data/sorbet/rbi/gems/rubocop-ast.rbi +1385 -0
  39. data/sorbet/rbi/gems/rubocop-rake.rbi +85 -0
  40. data/sorbet/rbi/gems/rubocop-rspec.rbi +1044 -0
  41. data/sorbet/rbi/gems/rubocop.rbi +8593 -0
  42. data/sorbet/rbi/gems/ruby-progressbar.rbi +304 -0
  43. data/sorbet/rbi/gems/unicode-display_width.rbi +20 -0
  44. data/sorbet/rbi/hidden-definitions/errors.txt +4944 -0
  45. data/sorbet/rbi/hidden-definitions/hidden.rbi +10044 -0
  46. data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +276 -0
  47. data/sorbet/rbi/sorbet-typed/lib/rake/all/rake.rbi +645 -0
  48. data/sorbet/rbi/sorbet-typed/lib/rspec-core/all/rspec-core.rbi +24 -0
  49. data/sorbet/rbi/sorbet-typed/lib/rubocop/>=1.8/rubocop.rbi +12 -0
  50. data/sorbet/rbi/todo.rbi +7 -0
  51. metadata +235 -0
@@ -0,0 +1,1044 @@
1
+ # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
+ # srb rbi gems
3
+
4
+ # typed: strict
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/rubocop-rspec/all/rubocop-rspec.rbi
9
+ #
10
+ # rubocop-rspec-2.8.0
11
+
12
+ module RuboCop
13
+ end
14
+ module RuboCop::RSpec
15
+ end
16
+ module RuboCop::RSpec::Version
17
+ end
18
+ module RuboCop::RSpec::Inject
19
+ def self.defaults!; end
20
+ end
21
+ module RuboCop::RSpec::Node
22
+ def recursive_literal_or_const?; end
23
+ end
24
+ class RuboCop::RSpec::Wording
25
+ def append_suffix(word, suffix); end
26
+ def ignored_word?(word); end
27
+ def ignores; end
28
+ def initialize(text, ignore:, replace:); end
29
+ def remove_should_and_pluralize; end
30
+ def replace_prefix(pattern, replacement); end
31
+ def replacements; end
32
+ def rewrite; end
33
+ def substitute(word); end
34
+ def text; end
35
+ def uppercase?(word); end
36
+ end
37
+ module RuboCop::RSpec::Language
38
+ def example?(param0 = nil); end
39
+ def example_group?(param0 = nil); end
40
+ def example_group_with_body?(param0 = nil); end
41
+ def hook?(param0 = nil); end
42
+ def include?(param0 = nil); end
43
+ def let?(param0 = nil); end
44
+ def rspec?(param0 = nil); end
45
+ def self.config; end
46
+ def self.config=(arg0); end
47
+ def shared_group?(param0 = nil); end
48
+ def spec_group?(param0 = nil); end
49
+ def subject?(param0 = nil); end
50
+ extend RuboCop::AST::NodePattern::Macros
51
+ extend RuboCop::RSpec::Language::NodePattern
52
+ end
53
+ module RuboCop::RSpec::Language::NodePattern
54
+ def block_pattern(string); end
55
+ def send_pattern(string); end
56
+ end
57
+ module RuboCop::RSpec::Language::ExampleGroups
58
+ def self.all(element); end
59
+ def self.focused(element); end
60
+ def self.regular(element); end
61
+ def self.skipped(element); end
62
+ end
63
+ module RuboCop::RSpec::Language::Examples
64
+ def self.all(element); end
65
+ def self.focused(element); end
66
+ def self.pending(element); end
67
+ def self.regular(element); end
68
+ def self.skipped(element); end
69
+ end
70
+ module RuboCop::RSpec::Language::Expectations
71
+ def self.all(element); end
72
+ end
73
+ module RuboCop::RSpec::Language::Helpers
74
+ def self.all(element); end
75
+ end
76
+ module RuboCop::RSpec::Language::Hooks
77
+ def self.all(element); end
78
+ end
79
+ module RuboCop::RSpec::Language::HookScopes
80
+ def self.all(element); end
81
+ end
82
+ module RuboCop::RSpec::Language::Includes
83
+ def self.all(element); end
84
+ def self.context(element); end
85
+ def self.examples(element); end
86
+ end
87
+ module RuboCop::RSpec::Language::Runners
88
+ def self.all(element); end
89
+ end
90
+ module RuboCop::RSpec::Language::SharedGroups
91
+ def self.all(element); end
92
+ def self.context(element); end
93
+ def self.examples(element); end
94
+ end
95
+ module RuboCop::RSpec::Language::Subjects
96
+ def self.all(element); end
97
+ end
98
+ module RuboCop::RSpec::Language::ALL
99
+ def self.all(element); end
100
+ end
101
+ module RuboCop::RSpec::FactoryBot
102
+ def self.attribute_defining_methods; end
103
+ def self.reserved_methods; end
104
+ end
105
+ module RuboCop::RSpec::FactoryBot::Language
106
+ def factory_bot?(param0 = nil); end
107
+ extend RuboCop::AST::NodePattern::Macros
108
+ end
109
+ module RuboCop::Cop
110
+ end
111
+ module RuboCop::Cop::RSpec
112
+ end
113
+ module RuboCop::Cop::RSpec::TopLevelGroup
114
+ def on_new_investigation; end
115
+ def on_top_level_example_group(_node); end
116
+ def on_top_level_group(_node); end
117
+ def root_node; end
118
+ def top_level_group?(node); end
119
+ def top_level_groups; end
120
+ def top_level_nodes(node); end
121
+ extend RuboCop::AST::NodePattern::Macros
122
+ end
123
+ module RuboCop::Cop::RSpec::Variable
124
+ def variable_definition?(param0 = nil); end
125
+ extend RuboCop::AST::NodePattern::Macros
126
+ end
127
+ module RuboCop::Cop::RSpec::FinalEndLocation
128
+ def final_end_location(start_node); end
129
+ end
130
+ module RuboCop::Cop::RSpec::CommentsHelp
131
+ def begin_pos_with_comment(node); end
132
+ def buffer; end
133
+ def end_line_position(node); end
134
+ def source_range_with_comment(node); end
135
+ def start_line_position(node); end
136
+ include RuboCop::Cop::RSpec::FinalEndLocation
137
+ end
138
+ module RuboCop::Cop::RSpec::EmptyLineSeparation
139
+ def last_child?(node); end
140
+ def missing_separating_line(node); end
141
+ def missing_separating_line_offense(node); end
142
+ def offending_loc(last_line); end
143
+ include RuboCop::Cop::RSpec::FinalEndLocation
144
+ include RuboCop::Cop::RangeHelp
145
+ end
146
+ module RuboCop::Cop::RSpec::InsideExampleGroup
147
+ def example_group_root?(node); end
148
+ def example_group_root_with_siblings?(node); end
149
+ def inside_example_group?(node); end
150
+ end
151
+ class RuboCop::RSpec::Concept
152
+ def ==(other); end
153
+ def eql?(other); end
154
+ def hash; end
155
+ def initialize(node); end
156
+ def node; end
157
+ def to_node; end
158
+ extend RuboCop::AST::NodePattern::Macros
159
+ extend RuboCop::RSpec::Language::NodePattern
160
+ include RuboCop::RSpec::Language
161
+ end
162
+ class RuboCop::RSpec::ExampleGroup < RuboCop::RSpec::Concept
163
+ def examples; end
164
+ def find_all(node, predicate); end
165
+ def find_all_in_scope(node, predicate); end
166
+ def hooks; end
167
+ def lets; end
168
+ def scope_change?(param0 = nil); end
169
+ def subjects; end
170
+ end
171
+ class RuboCop::RSpec::Example < RuboCop::RSpec::Concept
172
+ def definition; end
173
+ def doc_string; end
174
+ def extract_doc_string(param0 = nil); end
175
+ def extract_implementation(param0 = nil); end
176
+ def extract_metadata(param0 = nil); end
177
+ def implementation; end
178
+ def metadata; end
179
+ end
180
+ class RuboCop::RSpec::Hook < RuboCop::RSpec::Concept
181
+ def example?; end
182
+ def extract_metadata(param0 = nil); end
183
+ def knowable_scope?; end
184
+ def metadata; end
185
+ def name; end
186
+ def scope; end
187
+ def scope_argument; end
188
+ def scope_name; end
189
+ def transform_metadata(meta); end
190
+ def transform_true(node); end
191
+ def valid_scope?(node); end
192
+ end
193
+ class RuboCop::Cop::RSpec::Base < RuboCop::Cop::Base
194
+ def on_new_investigation; end
195
+ def self.inherited(subclass); end
196
+ extend RuboCop::RSpec::Language::NodePattern
197
+ include RuboCop::RSpec::Language
198
+ end
199
+ class RuboCop::RSpec::AlignLetBrace
200
+ def adjacent_let_chunks; end
201
+ def indent_for(node); end
202
+ def initialize(root, token); end
203
+ def let_group_for(let); end
204
+ def let_token(node); end
205
+ def offending_tokens; end
206
+ def root; end
207
+ def single_line_lets; end
208
+ def target_column_for(let); end
209
+ def token; end
210
+ include RuboCop::Cop::Util
211
+ include RuboCop::RSpec::Language
212
+ end
213
+ module RuboCop::RSpec::Corrector
214
+ end
215
+ class RuboCop::RSpec::Corrector::MoveNode
216
+ def corrector; end
217
+ def initialize(node, corrector, processed_source); end
218
+ def move_after(other); end
219
+ def move_before(other); end
220
+ def node_range(node); end
221
+ def node_range_with_surrounding_space(node); end
222
+ def original; end
223
+ def processed_source; end
224
+ def source(node); end
225
+ include RuboCop::Cop::RSpec::CommentsHelp
226
+ include RuboCop::Cop::RSpec::FinalEndLocation
227
+ include RuboCop::Cop::RangeHelp
228
+ end
229
+ module RuboCop::Cop::RSpec::Capybara
230
+ end
231
+ class RuboCop::Cop::RSpec::Capybara::CurrentPathExpectation < RuboCop::Cop::RSpec::Base
232
+ def add_ignore_query_options(corrector, node); end
233
+ def as_is_matcher(param0 = nil); end
234
+ def autocorrect(corrector, node); end
235
+ def convert_regexp_str_to_literal(corrector, matcher_node, regexp_str); end
236
+ def expectation_set_on_current_path(param0 = nil); end
237
+ def on_send(node); end
238
+ def regexp_str_matcher(param0 = nil); end
239
+ def rewrite_expectation(corrector, node, to_symbol, matcher_node); end
240
+ extend RuboCop::Cop::AutoCorrector
241
+ end
242
+ class RuboCop::Cop::RSpec::Capybara::FeatureMethods < RuboCop::Cop::RSpec::Base
243
+ def capybara_speak(param0 = nil); end
244
+ def enabled?(method_name); end
245
+ def enabled_methods; end
246
+ def feature_method(param0 = nil); end
247
+ def message(range); end
248
+ def on_block(node); end
249
+ extend RuboCop::Cop::AutoCorrector
250
+ include RuboCop::Cop::RSpec::InsideExampleGroup
251
+ end
252
+ class RuboCop::Cop::RSpec::Capybara::VisibilityMatcher < RuboCop::Cop::RSpec::Base
253
+ def capybara_matcher?(method_name); end
254
+ def on_send(node); end
255
+ def visible_false?(param0 = nil); end
256
+ def visible_true?(param0 = nil); end
257
+ end
258
+ module RuboCop::Cop::RSpec::FactoryBot
259
+ end
260
+ class RuboCop::Cop::RSpec::FactoryBot::AttributeDefinedStatically < RuboCop::Cop::RSpec::Base
261
+ def association?(param0 = nil); end
262
+ def attribute_defining_method?(method_name); end
263
+ def autocorrect(corrector, node); end
264
+ def autocorrect_replacing_parens(corrector, node); end
265
+ def autocorrect_without_parens(corrector, node); end
266
+ def braces(node); end
267
+ def factory_attributes(param0 = nil); end
268
+ def offensive_receiver?(receiver, node); end
269
+ def on_block(node); end
270
+ def proc?(attribute); end
271
+ def receiver_matches_first_block_argument?(receiver, node); end
272
+ def reserved_method?(method_name); end
273
+ def value_hash_without_braces?(node); end
274
+ def value_matcher(param0 = nil); end
275
+ extend RuboCop::Cop::AutoCorrector
276
+ end
277
+ class RuboCop::Cop::RSpec::FactoryBot::CreateList < RuboCop::Cop::RSpec::Base
278
+ def contains_only_factory?(node); end
279
+ def factory_call(param0 = nil); end
280
+ def factory_list_call(param0 = nil); end
281
+ def n_times_block_without_arg?(param0 = nil); end
282
+ def on_block(node); end
283
+ def on_send(node); end
284
+ extend RuboCop::Cop::AutoCorrector
285
+ include RuboCop::Cop::ConfigurableEnforcedStyle
286
+ include RuboCop::RSpec::FactoryBot::Language
287
+ end
288
+ module RuboCop::Cop::RSpec::FactoryBot::CreateList::Corrector
289
+ def build_options_string(options); end
290
+ def format_method_call(node, method, arguments); end
291
+ def format_receiver(receiver); end
292
+ end
293
+ class RuboCop::Cop::RSpec::FactoryBot::CreateList::TimesCorrector
294
+ def call(corrector); end
295
+ def generate_n_times_block(node); end
296
+ def initialize(node); end
297
+ def node; end
298
+ include RuboCop::Cop::RSpec::FactoryBot::CreateList::Corrector
299
+ end
300
+ class RuboCop::Cop::RSpec::FactoryBot::CreateList::CreateListCorrector
301
+ def build_arguments(node, count); end
302
+ def call(corrector); end
303
+ def call_replacement(node); end
304
+ def call_with_block_replacement(node); end
305
+ def format_block(node); end
306
+ def format_multiline_block(node); end
307
+ def format_singeline_block(node); end
308
+ def initialize(node); end
309
+ def node; end
310
+ include RuboCop::Cop::RSpec::FactoryBot::CreateList::Corrector
311
+ end
312
+ class RuboCop::Cop::RSpec::FactoryBot::FactoryClassName < RuboCop::Cop::RSpec::Base
313
+ def allowed?(const_name); end
314
+ def class_name(param0 = nil); end
315
+ def on_send(node); end
316
+ extend RuboCop::Cop::AutoCorrector
317
+ end
318
+ class RuboCop::Cop::RSpec::FactoryBot::SyntaxMethods < RuboCop::Cop::RSpec::Base
319
+ def crime_scene(node); end
320
+ def offense(node); end
321
+ def on_send(node); end
322
+ extend RuboCop::Cop::AutoCorrector
323
+ include RuboCop::Cop::RSpec::InsideExampleGroup
324
+ include RuboCop::Cop::RangeHelp
325
+ include RuboCop::RSpec::FactoryBot::Language
326
+ end
327
+ module RuboCop::Cop::RSpec::Rails
328
+ end
329
+ class RuboCop::Cop::RSpec::Rails::AvoidSetupHook < RuboCop::Cop::RSpec::Base
330
+ def on_block(node); end
331
+ def setup_call(param0 = nil); end
332
+ extend RuboCop::Cop::AutoCorrector
333
+ end
334
+ class RuboCop::Cop::RSpec::AlignLeftLetBrace < RuboCop::Cop::RSpec::Base
335
+ def on_new_investigation; end
336
+ def self.autocorrect_incompatible_with; end
337
+ def token_aligner; end
338
+ extend RuboCop::Cop::AutoCorrector
339
+ end
340
+ class RuboCop::Cop::RSpec::AlignRightLetBrace < RuboCop::Cop::RSpec::Base
341
+ def on_new_investigation; end
342
+ def self.autocorrect_incompatible_with; end
343
+ def token_aligner; end
344
+ extend RuboCop::Cop::AutoCorrector
345
+ end
346
+ class RuboCop::Cop::RSpec::AnyInstance < RuboCop::Cop::RSpec::Base
347
+ def on_send(node); end
348
+ end
349
+ class RuboCop::Cop::RSpec::AroundBlock < RuboCop::Cop::RSpec::Base
350
+ def add_no_arg_offense(node); end
351
+ def check_for_unused_proxy(block, proxy); end
352
+ def find_arg_usage(param0); end
353
+ def hook(param0 = nil); end
354
+ def on_block(node); end
355
+ end
356
+ class RuboCop::Cop::RSpec::Be < RuboCop::Cop::RSpec::Base
357
+ def be_without_args(param0 = nil); end
358
+ def on_send(node); end
359
+ end
360
+ class RuboCop::Cop::RSpec::BeEql < RuboCop::Cop::RSpec::Base
361
+ def eql_type_with_identity(param0 = nil); end
362
+ def on_send(node); end
363
+ extend RuboCop::Cop::AutoCorrector
364
+ end
365
+ class RuboCop::Cop::RSpec::BeforeAfterAll < RuboCop::Cop::RSpec::Base
366
+ def before_or_after_all(param0 = nil); end
367
+ def on_send(node); end
368
+ end
369
+ class RuboCop::Cop::RSpec::ContextMethod < RuboCop::Cop::RSpec::Base
370
+ def context_method(param0 = nil); end
371
+ def method_name?(description); end
372
+ def on_block(node); end
373
+ extend RuboCop::Cop::AutoCorrector
374
+ end
375
+ class RuboCop::Cop::RSpec::ContextWording < RuboCop::Cop::RSpec::Base
376
+ def bad_prefix?(description); end
377
+ def context_wording(param0 = nil); end
378
+ def joined_prefixes; end
379
+ def on_block(node); end
380
+ def prefix_regex; end
381
+ def prefixes; end
382
+ end
383
+ class RuboCop::Cop::RSpec::DescribeClass < RuboCop::Cop::RSpec::Base
384
+ def example_group_with_ignored_metadata?(param0 = nil); end
385
+ def ignored_metadata; end
386
+ def ignored_metadata?(node); end
387
+ def not_a_const_described(param0 = nil); end
388
+ def on_top_level_group(node); end
389
+ def string_constant?(described); end
390
+ def sym_pair(param0 = nil); end
391
+ include RuboCop::Cop::RSpec::TopLevelGroup
392
+ end
393
+ class RuboCop::Cop::RSpec::DescribeMethod < RuboCop::Cop::RSpec::Base
394
+ def on_top_level_group(node); end
395
+ def second_argument(param0 = nil); end
396
+ include RuboCop::Cop::RSpec::TopLevelGroup
397
+ end
398
+ class RuboCop::Cop::RSpec::DescribeSymbol < RuboCop::Cop::RSpec::Base
399
+ def describe_symbol?(param0 = nil); end
400
+ def on_send(node); end
401
+ end
402
+ class RuboCop::Cop::RSpec::DescribedClass < RuboCop::Cop::RSpec::Base
403
+ def autocorrect(corrector, match); end
404
+ def collapse_namespace(namespace, const); end
405
+ def common_instance_exec_closure?(param0 = nil); end
406
+ def const_name(node); end
407
+ def contains_described_class?(param0); end
408
+ def described_constant(param0 = nil); end
409
+ def find_usage(node, &block); end
410
+ def full_const_name(node); end
411
+ def message(offense); end
412
+ def namespace(node); end
413
+ def offensive?(node); end
414
+ def offensive_described_class?(node); end
415
+ def on_block(node); end
416
+ def rspec_block?(param0 = nil); end
417
+ def scope_change?(node); end
418
+ def scope_changing_syntax?(param0 = nil); end
419
+ def skip_blocks?; end
420
+ def skippable_block?(node); end
421
+ extend RuboCop::Cop::AutoCorrector
422
+ include RuboCop::Cop::ConfigurableEnforcedStyle
423
+ end
424
+ class RuboCop::Cop::RSpec::DescribedClassModuleWrapping < RuboCop::Cop::RSpec::Base
425
+ def find_rspec_blocks(param0); end
426
+ def on_module(node); end
427
+ end
428
+ class RuboCop::Cop::RSpec::Dialect < RuboCop::Cop::RSpec::Base
429
+ def on_send(node); end
430
+ def rspec_method?(param0 = nil); end
431
+ extend RuboCop::Cop::AutoCorrector
432
+ include RuboCop::Cop::MethodPreference
433
+ end
434
+ class RuboCop::Cop::RSpec::EmptyExampleGroup < RuboCop::Cop::RSpec::Base
435
+ def conditionals_with_examples?(body); end
436
+ def example_group_body(param0 = nil); end
437
+ def example_or_group_or_include?(param0 = nil); end
438
+ def examples?(param0 = nil); end
439
+ def examples_directly_or_in_block?(param0 = nil); end
440
+ def examples_in_branches?(if_node); end
441
+ def examples_inside_block?(param0 = nil); end
442
+ def offensive?(body); end
443
+ def on_block(node); end
444
+ end
445
+ class RuboCop::Cop::RSpec::EmptyHook < RuboCop::Cop::RSpec::Base
446
+ def empty_hook?(param0 = nil); end
447
+ def on_block(node); end
448
+ extend RuboCop::Cop::AutoCorrector
449
+ include RuboCop::Cop::RangeHelp
450
+ end
451
+ class RuboCop::Cop::RSpec::EmptyLineAfterExample < RuboCop::Cop::RSpec::Base
452
+ def allow_consecutive_one_liners?; end
453
+ def allowed_one_liner?(node); end
454
+ def consecutive_one_liner?(node); end
455
+ def next_one_line_example?(node); end
456
+ def next_sibling(node); end
457
+ def on_block(node); end
458
+ extend RuboCop::Cop::AutoCorrector
459
+ include RuboCop::Cop::RSpec::EmptyLineSeparation
460
+ end
461
+ class RuboCop::Cop::RSpec::EmptyLineAfterExampleGroup < RuboCop::Cop::RSpec::Base
462
+ def on_block(node); end
463
+ extend RuboCop::Cop::AutoCorrector
464
+ include RuboCop::Cop::RSpec::EmptyLineSeparation
465
+ end
466
+ class RuboCop::Cop::RSpec::EmptyLineAfterFinalLet < RuboCop::Cop::RSpec::Base
467
+ def on_block(node); end
468
+ extend RuboCop::Cop::AutoCorrector
469
+ include RuboCop::Cop::RSpec::EmptyLineSeparation
470
+ end
471
+ class RuboCop::Cop::RSpec::EmptyLineAfterHook < RuboCop::Cop::RSpec::Base
472
+ def on_block(node); end
473
+ extend RuboCop::Cop::AutoCorrector
474
+ include RuboCop::Cop::RSpec::EmptyLineSeparation
475
+ end
476
+ class RuboCop::Cop::RSpec::EmptyLineAfterSubject < RuboCop::Cop::RSpec::Base
477
+ def on_block(node); end
478
+ extend RuboCop::Cop::AutoCorrector
479
+ include RuboCop::Cop::RSpec::EmptyLineSeparation
480
+ include RuboCop::Cop::RSpec::InsideExampleGroup
481
+ end
482
+ class RuboCop::Cop::RSpec::ExampleLength < RuboCop::Cop::RSpec::Base
483
+ def cop_label; end
484
+ def on_block(node); end
485
+ include RuboCop::Cop::CodeLength
486
+ end
487
+ class RuboCop::Cop::RSpec::ExampleWithoutDescription < RuboCop::Cop::RSpec::Base
488
+ def check_example_without_description(node); end
489
+ def disallow_empty_description?(node); end
490
+ def example_description(param0 = nil); end
491
+ def on_block(node); end
492
+ include RuboCop::Cop::ConfigurableEnforcedStyle
493
+ end
494
+ class RuboCop::Cop::RSpec::ExampleWording < RuboCop::Cop::RSpec::Base
495
+ def add_wording_offense(node, message); end
496
+ def custom_transform; end
497
+ def docstring(node); end
498
+ def ignored_words; end
499
+ def it_description(param0 = nil); end
500
+ def on_block(node); end
501
+ def replacement_text(node); end
502
+ def text(node); end
503
+ extend RuboCop::Cop::AutoCorrector
504
+ end
505
+ class RuboCop::Cop::RSpec::ExcessiveDocstringSpacing < RuboCop::Cop::RSpec::Base
506
+ def add_whitespace_offense(node, text); end
507
+ def docstring(node); end
508
+ def example_description(param0 = nil); end
509
+ def excessive_whitespace?(text); end
510
+ def on_send(node); end
511
+ def strip_excessive_whitespace(text); end
512
+ def text(node); end
513
+ extend RuboCop::Cop::AutoCorrector
514
+ end
515
+ class RuboCop::Cop::RSpec::ExpectActual < RuboCop::Cop::RSpec::Base
516
+ def complex_literal?(node); end
517
+ def expect_literal(param0 = nil); end
518
+ def literal?(node); end
519
+ def on_send(node); end
520
+ def simple_literal?(node); end
521
+ def swap(corrector, actual, expected); end
522
+ extend RuboCop::Cop::AutoCorrector
523
+ end
524
+ class RuboCop::Cop::RSpec::ExpectChange < RuboCop::Cop::RSpec::Base
525
+ def expect_change_with_arguments(param0 = nil); end
526
+ def expect_change_with_block(param0 = nil); end
527
+ def on_block(node); end
528
+ def on_send(node); end
529
+ extend RuboCop::Cop::AutoCorrector
530
+ include RuboCop::Cop::ConfigurableEnforcedStyle
531
+ end
532
+ class RuboCop::Cop::RSpec::ExpectInHook < RuboCop::Cop::RSpec::Base
533
+ def expectation(param0); end
534
+ def message(expect, hook); end
535
+ def on_block(node); end
536
+ end
537
+ class RuboCop::Cop::RSpec::ExpectOutput < RuboCop::Cop::RSpec::Base
538
+ def inside_example_scope?(node); end
539
+ def on_gvasgn(node); end
540
+ end
541
+ class RuboCop::Cop::RSpec::FilePath < RuboCop::Cop::RSpec::Base
542
+ def camel_to_snake_case(string); end
543
+ def custom_transform; end
544
+ def ensure_correct_file_path(send_node, example_group, arguments); end
545
+ def example_group(param0 = nil); end
546
+ def expected_path(constant); end
547
+ def filename_ends_with?(pattern); end
548
+ def ignore_methods?; end
549
+ def name_pattern(method_name); end
550
+ def on_top_level_example_group(node); end
551
+ def pattern_for(example_group, method_name); end
552
+ def pattern_for_spec_suffix_only?; end
553
+ def relevant_rubocop_rspec_file?(_file); end
554
+ def routing_metadata?(param0); end
555
+ def routing_spec?(args); end
556
+ def spec_suffix_only?; end
557
+ include RuboCop::Cop::RSpec::TopLevelGroup
558
+ end
559
+ class RuboCop::Cop::RSpec::Focus < RuboCop::Cop::RSpec::Base
560
+ def correct_send(corrector, focus); end
561
+ def focus_metadata(node, &block); end
562
+ def focusable_selector?(param0 = nil); end
563
+ def focused_block?(param0 = nil); end
564
+ def metadata(param0 = nil); end
565
+ def on_send(node); end
566
+ def with_surrounding(focus); end
567
+ extend RuboCop::Cop::AutoCorrector
568
+ include RuboCop::Cop::RangeHelp
569
+ end
570
+ class RuboCop::Cop::RSpec::HookArgument < RuboCop::Cop::RSpec::Base
571
+ def argument_range(send_node); end
572
+ def check_implicit(method_send); end
573
+ def explicit_message(scope); end
574
+ def hook(node, &block); end
575
+ def implicit_style?; end
576
+ def on_block(node); end
577
+ def scoped_hook(param0 = nil); end
578
+ def unscoped_hook(param0 = nil); end
579
+ extend RuboCop::Cop::AutoCorrector
580
+ include RuboCop::Cop::ConfigurableEnforcedStyle
581
+ end
582
+ class RuboCop::Cop::RSpec::HooksBeforeExamples < RuboCop::Cop::RSpec::Base
583
+ def autocorrect(corrector, node, first_example); end
584
+ def check_hooks(node); end
585
+ def example_or_group?(param0 = nil); end
586
+ def find_first_example(node); end
587
+ def multiline_block?(block); end
588
+ def on_block(node); end
589
+ extend RuboCop::Cop::AutoCorrector
590
+ end
591
+ class RuboCop::Cop::RSpec::IdenticalEqualityAssertion < RuboCop::Cop::RSpec::Base
592
+ def equality_check?(param0 = nil); end
593
+ def on_send(node); end
594
+ end
595
+ class RuboCop::Cop::RSpec::ImplicitBlockExpectation < RuboCop::Cop::RSpec::Base
596
+ def find_subject(block_node); end
597
+ def implicit_expect(param0 = nil); end
598
+ def lambda?(param0 = nil); end
599
+ def lambda_subject?(param0 = nil); end
600
+ def multi_statement_example_group?(node); end
601
+ def nearest_subject(node); end
602
+ def on_send(node); end
603
+ end
604
+ class RuboCop::Cop::RSpec::ImplicitExpect < RuboCop::Cop::RSpec::Base
605
+ def implicit_expect(param0 = nil); end
606
+ def is_expected_range(source_map); end
607
+ def offending_expect(node); end
608
+ def offense_message(offending_source); end
609
+ def on_send(node); end
610
+ def replacement_source(offending_source); end
611
+ extend RuboCop::Cop::AutoCorrector
612
+ include RuboCop::Cop::ConfigurableEnforcedStyle
613
+ end
614
+ class RuboCop::Cop::RSpec::ImplicitSubject < RuboCop::Cop::RSpec::Base
615
+ def allowed_by_style?(example); end
616
+ def autocorrect(corrector, node); end
617
+ def implicit_subject?(param0 = nil); end
618
+ def on_send(node); end
619
+ def valid_usage?(node); end
620
+ extend RuboCop::Cop::AutoCorrector
621
+ include RuboCop::Cop::ConfigurableEnforcedStyle
622
+ end
623
+ class RuboCop::Cop::RSpec::InstanceSpy < RuboCop::Cop::RSpec::Base
624
+ def autocorrect(corrector, node); end
625
+ def have_received_usage(param0); end
626
+ def null_double(param0); end
627
+ def on_block(node); end
628
+ extend RuboCop::Cop::AutoCorrector
629
+ end
630
+ class RuboCop::Cop::RSpec::InstanceVariable < RuboCop::Cop::RSpec::Base
631
+ def assignment_only?; end
632
+ def custom_matcher?(param0 = nil); end
633
+ def dynamic_class?(param0 = nil); end
634
+ def ivar_assigned?(param0, param1); end
635
+ def ivar_usage(param0); end
636
+ def on_top_level_group(node); end
637
+ def valid_usage?(node); end
638
+ include RuboCop::Cop::RSpec::TopLevelGroup
639
+ end
640
+ class RuboCop::Cop::RSpec::ItBehavesLike < RuboCop::Cop::RSpec::Base
641
+ def example_inclusion_offense(param0 = nil, param1); end
642
+ def message(_node); end
643
+ def on_send(node); end
644
+ extend RuboCop::Cop::AutoCorrector
645
+ include RuboCop::Cop::ConfigurableEnforcedStyle
646
+ end
647
+ class RuboCop::Cop::RSpec::IteratedExpectation < RuboCop::Cop::RSpec::Base
648
+ def each?(param0 = nil); end
649
+ def expectation?(param0 = nil, param1); end
650
+ def on_block(node); end
651
+ def only_expectations?(body, arg); end
652
+ def single_expectation?(body, arg); end
653
+ end
654
+ class RuboCop::Cop::RSpec::LeadingSubject < RuboCop::Cop::RSpec::Base
655
+ def autocorrect(corrector, node, sibling); end
656
+ def check_previous_nodes(node); end
657
+ def offending?(node); end
658
+ def offending_node(node); end
659
+ def on_block(node); end
660
+ def parent(node); end
661
+ extend RuboCop::Cop::AutoCorrector
662
+ include RuboCop::Cop::RSpec::InsideExampleGroup
663
+ end
664
+ class RuboCop::Cop::RSpec::LeakyConstantDeclaration < RuboCop::Cop::RSpec::Base
665
+ def inside_describe_block?(node); end
666
+ def on_casgn(node); end
667
+ def on_class(node); end
668
+ def on_module(node); end
669
+ end
670
+ class RuboCop::Cop::RSpec::LetBeforeExamples < RuboCop::Cop::RSpec::Base
671
+ def autocorrect(corrector, node, first_example); end
672
+ def check_let_declarations(node); end
673
+ def example_or_group?(param0 = nil); end
674
+ def find_first_example(node); end
675
+ def multiline_block?(block); end
676
+ def on_block(node); end
677
+ extend RuboCop::Cop::AutoCorrector
678
+ end
679
+ class RuboCop::Cop::RSpec::LetSetup < RuboCop::Cop::RSpec::Base
680
+ def child_let_bang(node, &block); end
681
+ def example_or_shared_group_or_including?(param0 = nil); end
682
+ def let_bang(param0 = nil); end
683
+ def method_called?(param0, param1); end
684
+ def on_block(node); end
685
+ def unused_let_bang(node); end
686
+ end
687
+ class RuboCop::Cop::RSpec::MessageChain < RuboCop::Cop::RSpec::Base
688
+ def on_send(node); end
689
+ end
690
+ class RuboCop::Cop::RSpec::MessageExpectation < RuboCop::Cop::RSpec::Base
691
+ def message_expectation(param0 = nil); end
692
+ def on_send(node); end
693
+ def preferred_style?(expectation); end
694
+ def receive_message?(param0); end
695
+ include RuboCop::Cop::ConfigurableEnforcedStyle
696
+ end
697
+ class RuboCop::Cop::RSpec::MessageSpies < RuboCop::Cop::RSpec::Base
698
+ def error_message(receiver); end
699
+ def message_expectation(param0 = nil); end
700
+ def on_send(node); end
701
+ def preferred_style?(expectation); end
702
+ def receive_message(param0); end
703
+ def receive_message_matcher(node); end
704
+ include RuboCop::Cop::ConfigurableEnforcedStyle
705
+ end
706
+ class RuboCop::Cop::RSpec::MissingExampleGroupArgument < RuboCop::Cop::RSpec::Base
707
+ def on_block(node); end
708
+ end
709
+ class RuboCop::Cop::RSpec::MultipleDescribes < RuboCop::Cop::RSpec::Base
710
+ def on_top_level_group(node); end
711
+ include RuboCop::Cop::RSpec::TopLevelGroup
712
+ end
713
+ class RuboCop::Cop::RSpec::MultipleExpectations < RuboCop::Cop::RSpec::Base
714
+ def aggregate_failures?(param0 = nil, param1); end
715
+ def aggregate_failures_block?(param0 = nil); end
716
+ def example_with_aggregate_failures?(example_node); end
717
+ def expect?(param0 = nil); end
718
+ def find_aggregate_failures(example_node); end
719
+ def find_expectation(node, &block); end
720
+ def flag_example(node, expectation_count:); end
721
+ def max_expectations; end
722
+ def on_block(node); end
723
+ include RuboCop::Cop::ConfigurableMax
724
+ end
725
+ class RuboCop::Cop::RSpec::MultipleMemoizedHelpers < RuboCop::Cop::RSpec::Base
726
+ def all_helpers(node); end
727
+ def allow_subject?; end
728
+ def example_group_memoized_helpers; end
729
+ def helpers(node); end
730
+ def max; end
731
+ def on_block(node); end
732
+ def on_new_investigation; end
733
+ def variable_nodes(node); end
734
+ include RuboCop::Cop::ConfigurableMax
735
+ include RuboCop::Cop::RSpec::Variable
736
+ end
737
+ class RuboCop::Cop::RSpec::MultipleSubjects < RuboCop::Cop::RSpec::Base
738
+ def autocorrect(corrector, subject); end
739
+ def named_subject?(node); end
740
+ def on_block(node); end
741
+ def remove_autocorrect(corrector, node); end
742
+ def rename_autocorrect(corrector, node); end
743
+ extend RuboCop::Cop::AutoCorrector
744
+ include RuboCop::Cop::RangeHelp
745
+ end
746
+ class RuboCop::Cop::RSpec::NamedSubject < RuboCop::Cop::RSpec::Base
747
+ def example_or_hook_block?(param0 = nil); end
748
+ def ignored_shared_example?(node); end
749
+ def on_block(node); end
750
+ def shared_example?(param0 = nil); end
751
+ def subject_usage(param0); end
752
+ end
753
+ class RuboCop::Cop::RSpec::NestedGroups < RuboCop::Cop::RSpec::Base
754
+ def find_nested_example_groups(node, nesting: nil, &block); end
755
+ def max_nesting; end
756
+ def max_nesting_config; end
757
+ def message(nesting); end
758
+ def on_top_level_group(node); end
759
+ include RuboCop::Cop::ConfigurableMax
760
+ include RuboCop::Cop::RSpec::TopLevelGroup
761
+ end
762
+ class RuboCop::Cop::RSpec::NotToNot < RuboCop::Cop::RSpec::Base
763
+ def message(_node); end
764
+ def not_to_not_offense(param0 = nil, param1); end
765
+ def on_send(node); end
766
+ extend RuboCop::Cop::AutoCorrector
767
+ include RuboCop::Cop::ConfigurableEnforcedStyle
768
+ end
769
+ class RuboCop::Cop::RSpec::OverwritingSetup < RuboCop::Cop::RSpec::Base
770
+ def common_setup?(node); end
771
+ def find_duplicates(node); end
772
+ def first_argument_name(param0 = nil); end
773
+ def on_block(node); end
774
+ def setup?(param0 = nil); end
775
+ end
776
+ class RuboCop::Cop::RSpec::Pending < RuboCop::Cop::RSpec::Base
777
+ def on_send(node); end
778
+ def pending_block?(param0 = nil); end
779
+ def skip_or_pending?(param0 = nil); end
780
+ def skippable?(param0 = nil); end
781
+ def skipped?(node); end
782
+ def skipped_in_metadata?(param0 = nil); end
783
+ end
784
+ module RuboCop::Cop::RSpec::InflectedHelper
785
+ def be_bool?(param0 = nil); end
786
+ def be_boolthy?(param0 = nil); end
787
+ def boolean_matcher?(node); end
788
+ def check_inflected(node); end
789
+ def message_inflected(predicate); end
790
+ def predicate?(sym); end
791
+ def predicate_in_actual?(param0 = nil); end
792
+ def remove_predicate(corrector, predicate); end
793
+ def rewrite_matcher(corrector, predicate, matcher); end
794
+ def to_predicate_matcher(name); end
795
+ def true?(to_symbol, matcher); end
796
+ extend RuboCop::AST::NodePattern::Macros
797
+ include RuboCop::RSpec::Language
798
+ end
799
+ module RuboCop::Cop::RSpec::ExplicitHelper
800
+ def allowed_explicit_matchers; end
801
+ def check_explicit(node); end
802
+ def corrector_explicit(corrector, to_node, actual, matcher, block_child); end
803
+ def message_explicit(matcher); end
804
+ def move_predicate(corrector, actual, matcher, block_child); end
805
+ def predicate_matcher?(param0 = nil); end
806
+ def predicate_matcher_block?(param0 = nil); end
807
+ def predicate_matcher_name?(name); end
808
+ def replacement_matcher(node); end
809
+ def to_predicate_method(matcher); end
810
+ extend RuboCop::AST::NodePattern::Macros
811
+ include RuboCop::RSpec::Language
812
+ end
813
+ class RuboCop::Cop::RSpec::PredicateMatcher < RuboCop::Cop::RSpec::Base
814
+ def args_loc(send_node); end
815
+ def block_loc(send_node); end
816
+ def on_block(node); end
817
+ def on_send(node); end
818
+ extend RuboCop::Cop::AutoCorrector
819
+ include RuboCop::Cop::ConfigurableEnforcedStyle
820
+ include RuboCop::Cop::RSpec::ExplicitHelper
821
+ include RuboCop::Cop::RSpec::InflectedHelper
822
+ end
823
+ class RuboCop::Cop::RSpec::ReceiveCounts < RuboCop::Cop::RSpec::Base
824
+ def autocorrect(corrector, node, range); end
825
+ def matcher_for(method, count); end
826
+ def message_for(node, source); end
827
+ def on_send(node); end
828
+ def range(node, offending_node); end
829
+ def receive_counts(param0 = nil); end
830
+ def stub?(param0); end
831
+ extend RuboCop::Cop::AutoCorrector
832
+ end
833
+ class RuboCop::Cop::RSpec::ReceiveNever < RuboCop::Cop::RSpec::Base
834
+ def autocorrect(corrector, node); end
835
+ def method_on_stub?(param0); end
836
+ def on_send(node); end
837
+ extend RuboCop::Cop::AutoCorrector
838
+ end
839
+ class RuboCop::Cop::RSpec::RepeatedDescription < RuboCop::Cop::RSpec::Base
840
+ def example_signature(example); end
841
+ def on_block(node); end
842
+ def repeated_descriptions(node); end
843
+ end
844
+ class RuboCop::Cop::RSpec::RepeatedExample < RuboCop::Cop::RSpec::Base
845
+ def example_signature(example); end
846
+ def on_block(node); end
847
+ def repeated_examples(node); end
848
+ end
849
+ class RuboCop::Cop::RSpec::RepeatedExampleGroupBody < RuboCop::Cop::RSpec::Base
850
+ def add_repeated_lines(groups); end
851
+ def body(param0 = nil); end
852
+ def const_arg(param0 = nil); end
853
+ def message(group, repeats); end
854
+ def metadata(param0 = nil); end
855
+ def on_begin(node); end
856
+ def repeated_group_bodies(node); end
857
+ def several_example_groups?(param0 = nil); end
858
+ def signature_keys(group); end
859
+ def skip_or_pending?(param0 = nil); end
860
+ end
861
+ class RuboCop::Cop::RSpec::RepeatedExampleGroupDescription < RuboCop::Cop::RSpec::Base
862
+ def add_repeated_lines(groups); end
863
+ def doc_string_and_metadata(param0 = nil); end
864
+ def empty_description?(param0 = nil); end
865
+ def message(group, repeats); end
866
+ def on_begin(node); end
867
+ def repeated_group_descriptions(node); end
868
+ def several_example_groups?(param0 = nil); end
869
+ def skip_or_pending?(param0 = nil); end
870
+ end
871
+ class RuboCop::Cop::RSpec::RepeatedIncludeExample < RuboCop::Cop::RSpec::Base
872
+ def add_repeated_lines(items); end
873
+ def include_examples?(param0 = nil); end
874
+ def literal_include_examples?(node); end
875
+ def message(item, repeats); end
876
+ def on_begin(node); end
877
+ def repeated_include_examples(node); end
878
+ def several_include_examples?(param0 = nil); end
879
+ def shared_examples_name(param0 = nil); end
880
+ def signature_keys(item); end
881
+ end
882
+ class RuboCop::Cop::RSpec::ReturnFromStub < RuboCop::Cop::RSpec::Base
883
+ def and_return_value(param0); end
884
+ def check_and_return_call(node); end
885
+ def check_block_body(block); end
886
+ def contains_stub?(param0); end
887
+ def dynamic?(node); end
888
+ def on_block(node); end
889
+ def on_send(node); end
890
+ def stub_with_block?(param0 = nil); end
891
+ extend RuboCop::Cop::AutoCorrector
892
+ include RuboCop::Cop::ConfigurableEnforcedStyle
893
+ end
894
+ class RuboCop::Cop::RSpec::ReturnFromStub::AndReturnCallCorrector
895
+ def arg; end
896
+ def call(corrector); end
897
+ def hash_without_braces?; end
898
+ def heredoc?; end
899
+ def initialize(node); end
900
+ def node; end
901
+ def range; end
902
+ def receiver; end
903
+ def replacement; end
904
+ end
905
+ class RuboCop::Cop::RSpec::ReturnFromStub::BlockBodyCorrector
906
+ def block; end
907
+ def body; end
908
+ def call(corrector); end
909
+ def heredoc?; end
910
+ def initialize(block); end
911
+ def node; end
912
+ end
913
+ class RuboCop::Cop::RSpec::ScatteredLet < RuboCop::Cop::RSpec::Base
914
+ def check_let_declarations(body); end
915
+ def find_first_let(node); end
916
+ def on_block(node); end
917
+ extend RuboCop::Cop::AutoCorrector
918
+ end
919
+ class RuboCop::Cop::RSpec::ScatteredSetup < RuboCop::Cop::RSpec::Base
920
+ def lines_msg(numbers); end
921
+ def on_block(node); end
922
+ def repeated_hooks(node); end
923
+ end
924
+ class RuboCop::Cop::RSpec::SharedContext < RuboCop::Cop::RSpec::Base
925
+ def context?(param0); end
926
+ def context_with_only_examples(node); end
927
+ def examples?(param0); end
928
+ def examples_with_only_context(node); end
929
+ def on_block(node); end
930
+ def shared_context(param0 = nil); end
931
+ def shared_example(param0 = nil); end
932
+ extend RuboCop::Cop::AutoCorrector
933
+ end
934
+ class RuboCop::Cop::RSpec::SharedExamples < RuboCop::Cop::RSpec::Base
935
+ def on_send(node); end
936
+ def shared_examples(param0 = nil); end
937
+ extend RuboCop::Cop::AutoCorrector
938
+ end
939
+ class RuboCop::Cop::RSpec::SharedExamples::Checker
940
+ def initialize(node); end
941
+ def message; end
942
+ def node; end
943
+ def preferred_style; end
944
+ def symbol; end
945
+ def wrap_with_single_quotes(string); end
946
+ end
947
+ class RuboCop::Cop::RSpec::SingleArgumentMessageChain < RuboCop::Cop::RSpec::Base
948
+ def autocorrect(corrector, node, method, arg); end
949
+ def autocorrect_array_arg(corrector, arg); end
950
+ def autocorrect_hash_arg(corrector, arg); end
951
+ def key_to_arg(node); end
952
+ def message_chain(param0 = nil); end
953
+ def on_send(node); end
954
+ def replacement(method); end
955
+ def single_element_array?(node); end
956
+ def single_key_hash?(param0 = nil); end
957
+ def valid_usage?(node); end
958
+ extend RuboCop::Cop::AutoCorrector
959
+ end
960
+ class RuboCop::Cop::RSpec::StubbedMock < RuboCop::Cop::RSpec::Base
961
+ def configured_response?(param0 = nil); end
962
+ def expectation(param0 = nil); end
963
+ def matcher_with_blockpass(param0 = nil); end
964
+ def matcher_with_configured_response(param0 = nil); end
965
+ def matcher_with_hash(param0 = nil); end
966
+ def matcher_with_return_block(param0 = nil); end
967
+ def message_expectation?(param0 = nil); end
968
+ def msg(method_name); end
969
+ def on_expectation(expectation, method_name, matcher); end
970
+ def on_send(node); end
971
+ def replacement(method_name); end
972
+ end
973
+ class RuboCop::Cop::RSpec::SubjectDeclaration < RuboCop::Cop::RSpec::Base
974
+ def message_for(offense); end
975
+ def offensive_subject_declaration?(param0 = nil); end
976
+ def on_send(node); end
977
+ end
978
+ class RuboCop::Cop::RSpec::SubjectStub < RuboCop::Cop::RSpec::Base
979
+ def find_all_explicit(node); end
980
+ def find_subject_expectations(node, subject_names = nil, &block); end
981
+ def let?(param0 = nil); end
982
+ def message_expectation?(param0 = nil, param1); end
983
+ def message_expectation_matcher?(param0); end
984
+ def on_top_level_group(node); end
985
+ def subject?(param0 = nil); end
986
+ include RuboCop::Cop::RSpec::TopLevelGroup
987
+ end
988
+ class RuboCop::Cop::RSpec::UnspecifiedException < RuboCop::Cop::RSpec::Base
989
+ def block_with_args?(node); end
990
+ def empty_exception_matcher?(node); end
991
+ def empty_raise_error_or_exception(param0 = nil); end
992
+ def on_send(node); end
993
+ end
994
+ class RuboCop::Cop::RSpec::VariableDefinition < RuboCop::Cop::RSpec::Base
995
+ def correct_variable(variable); end
996
+ def on_send(node); end
997
+ def string?(node); end
998
+ def style_violation?(variable); end
999
+ def symbol?(node); end
1000
+ extend RuboCop::Cop::AutoCorrector
1001
+ include RuboCop::Cop::ConfigurableEnforcedStyle
1002
+ include RuboCop::Cop::RSpec::Variable
1003
+ end
1004
+ class RuboCop::Cop::RSpec::VariableName < RuboCop::Cop::RSpec::Base
1005
+ def message(style); end
1006
+ def on_send(node); end
1007
+ include RuboCop::Cop::ConfigurableNaming
1008
+ include RuboCop::Cop::IgnoredPattern
1009
+ include RuboCop::Cop::RSpec::Variable
1010
+ end
1011
+ class RuboCop::Cop::RSpec::VerifiedDoubles < RuboCop::Cop::RSpec::Base
1012
+ def on_send(node); end
1013
+ def symbol?(name); end
1014
+ def unverified_double(param0 = nil); end
1015
+ end
1016
+ class RuboCop::Cop::RSpec::VoidExpect < RuboCop::Cop::RSpec::Base
1017
+ def check_expect(node); end
1018
+ def expect?(param0 = nil); end
1019
+ def expect_block?(param0 = nil); end
1020
+ def on_block(node); end
1021
+ def on_send(node); end
1022
+ def void?(expect); end
1023
+ end
1024
+ class RuboCop::Cop::RSpec::Yield < RuboCop::Cop::RSpec::Base
1025
+ def autocorrect(corrector, node, range); end
1026
+ def block_arg(param0 = nil); end
1027
+ def block_call?(param0 = nil, param1); end
1028
+ def block_range(node); end
1029
+ def calling_block?(node, block); end
1030
+ def convert_block_to_yield(node); end
1031
+ def generate_replacement(node); end
1032
+ def method_on_stub?(param0); end
1033
+ def on_block(node); end
1034
+ extend RuboCop::Cop::AutoCorrector
1035
+ include RuboCop::Cop::RangeHelp
1036
+ end
1037
+ module RuboCop::Cop::Layout
1038
+ end
1039
+ class RuboCop::Cop::Layout::ExtraSpacing < RuboCop::Cop::Base
1040
+ def self.autocorrect_incompatible_with; end
1041
+ end
1042
+ class RuboCop::AST::Node < Parser::AST::Node
1043
+ include RuboCop::RSpec::Node
1044
+ end