dry-monads-sorbet 1.1.6 → 1.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +14 -22
- data/.gitignore +3 -1
- data/CHANGELOG.md +4 -0
- data/Gemfile +1 -6
- data/bin/tapioca +29 -0
- data/dry-monads-sorbet.gemspec +3 -2
- data/lib/bundled_rbi/dry-monads.rbi +3 -3
- data/lib/dry/monads/sorbet/version.rb +1 -1
- data/nix/sources.json +14 -0
- data/nix/sources.nix +174 -0
- data/run_ci.sh +7 -0
- data/shell.nix +20 -0
- data/sorbet/config +6 -0
- data/sorbet/rbi/gems/{ast.rbi → ast@2.4.2.rbi} +28 -22
- data/sorbet/rbi/gems/byebug@11.1.3.rbi +1568 -0
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +1005 -0
- data/sorbet/rbi/gems/concurrent-ruby@1.1.9.rbi +915 -0
- data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +8 -0
- data/sorbet/rbi/gems/docile@1.4.0.rbi +54 -0
- data/sorbet/rbi/gems/dry-core@0.7.1.rbi +92 -0
- data/sorbet/rbi/gems/dry-equalizer@0.3.0.rbi +28 -0
- data/sorbet/rbi/gems/dry-monads@1.4.0.rbi +697 -0
- data/sorbet/rbi/gems/ffaker@2.20.0.rbi +3171 -0
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +72 -0
- data/sorbet/rbi/gems/parallel@1.21.0.rbi +113 -0
- data/sorbet/rbi/gems/parser@3.0.2.0.rbi +1189 -0
- data/sorbet/rbi/gems/pry-byebug@3.8.0.rbi +458 -0
- data/sorbet/rbi/gems/{pry.rbi → pry@0.14.1.rbi} +2264 -1727
- data/sorbet/rbi/gems/{rainbow.rbi → rainbow@3.0.0.rbi} +90 -55
- data/sorbet/rbi/gems/{rake.rbi → rake@13.0.6.rbi} +578 -431
- data/sorbet/rbi/gems/rb-fsevent@0.11.0.rbi +8 -0
- data/sorbet/rbi/gems/rb-readline@0.5.5.rbi +884 -0
- data/sorbet/rbi/gems/rbi@0.0.6.rbi +1405 -0
- data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +1120 -0
- data/sorbet/rbi/gems/{rexml.rbi → rexml@3.2.5.rbi} +564 -497
- data/sorbet/rbi/gems/{rspec-core.rbi → rspec-core@3.10.1.rbi} +2345 -1766
- data/sorbet/rbi/gems/{rspec-expectations.rbi → rspec-expectations@3.10.1.rbi} +1149 -698
- data/sorbet/rbi/gems/{rspec-mocks.rbi → rspec-mocks@3.10.2.rbi} +1299 -936
- data/sorbet/rbi/gems/rspec-support@3.10.2.rbi +509 -0
- data/sorbet/rbi/gems/rspec@3.10.0.rbi +38 -0
- data/sorbet/rbi/gems/rubocop-ast@1.12.0.rbi +1938 -0
- data/sorbet/rbi/gems/rubocop-rspec@2.5.0.rbi +1786 -0
- data/sorbet/rbi/gems/rubocop@1.22.1.rbi +13252 -0
- data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +405 -0
- data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +89 -0
- data/sorbet/rbi/gems/simplecov@0.21.2.rbi +577 -0
- data/sorbet/rbi/gems/simplecov_json_formatter@0.1.3.rbi +8 -0
- data/sorbet/rbi/gems/spoom@1.1.5.rbi +1241 -0
- data/sorbet/rbi/gems/stackprof@0.2.17.rbi +98 -0
- data/sorbet/rbi/gems/tapioca@0.5.2.rbi +949 -0
- data/sorbet/rbi/gems/thor@1.1.0.rbi +839 -0
- data/sorbet/rbi/gems/unicode-display_width@2.1.0.rbi +26 -0
- data/sorbet/rbi/gems/unparser@0.6.0.rbi +8 -0
- data/sorbet/tapioca/require.rb +4 -0
- metadata +65 -68
- data/.ruby-version +0 -1
- data/sorbet/rbi/gems/activesupport.rbi +0 -1722
- data/sorbet/rbi/gems/byebug.rbi +0 -1041
- data/sorbet/rbi/gems/coderay.rbi +0 -285
- data/sorbet/rbi/gems/concurrent-ruby.rbi +0 -1586
- data/sorbet/rbi/gems/docile.rbi +0 -32
- data/sorbet/rbi/gems/dry-core.rbi +0 -38
- data/sorbet/rbi/gems/dry-equalizer.rbi +0 -26
- data/sorbet/rbi/gems/dry-monads.rbi +0 -510
- data/sorbet/rbi/gems/em-websocket.rbi +0 -225
- data/sorbet/rbi/gems/eventmachine.rbi +0 -489
- data/sorbet/rbi/gems/ffaker.rbi +0 -60
- data/sorbet/rbi/gems/guard.rbi +0 -397
- data/sorbet/rbi/gems/http_parser.rb.rbi +0 -37
- data/sorbet/rbi/gems/i18n.rbi +0 -133
- data/sorbet/rbi/gems/kwalify.rbi +0 -340
- data/sorbet/rbi/gems/listen.rbi +0 -324
- data/sorbet/rbi/gems/lumberjack.rbi +0 -300
- data/sorbet/rbi/gems/method_source.rbi +0 -64
- data/sorbet/rbi/gems/multi_json.rbi +0 -62
- data/sorbet/rbi/gems/nenv.rbi +0 -60
- data/sorbet/rbi/gems/notiffany.rbi +0 -215
- data/sorbet/rbi/gems/parallel.rbi +0 -82
- data/sorbet/rbi/gems/parser.rbi +0 -1846
- data/sorbet/rbi/gems/pry-byebug.rbi +0 -155
- data/sorbet/rbi/gems/rb-fsevent.rbi +0 -31
- data/sorbet/rbi/gems/rb-readline.rbi +0 -767
- data/sorbet/rbi/gems/reek.rbi +0 -1027
- data/sorbet/rbi/gems/regexp_parser.rbi +0 -913
- data/sorbet/rbi/gems/rspec-support.rbi +0 -280
- data/sorbet/rbi/gems/rspec.rbi +0 -15
- data/sorbet/rbi/gems/rubocop-ast.rbi +0 -1053
- data/sorbet/rbi/gems/rubocop-rspec.rbi +0 -937
- data/sorbet/rbi/gems/rubocop.rbi +0 -6841
- data/sorbet/rbi/gems/ruby-progressbar.rbi +0 -305
- data/sorbet/rbi/gems/shellany.rbi +0 -29
- data/sorbet/rbi/gems/shoulda-matchers.rbi +0 -1848
- data/sorbet/rbi/gems/simplecov-html.rbi +0 -35
- data/sorbet/rbi/gems/simplecov.rbi +0 -361
- data/sorbet/rbi/gems/sqlite3.rbi +0 -354
- data/sorbet/rbi/gems/stackprof.rbi +0 -52
- data/sorbet/rbi/gems/thor.rbi +0 -32
- data/sorbet/rbi/gems/thread_safe.rbi +0 -82
- data/sorbet/rbi/gems/timecop.rbi +0 -98
- data/sorbet/rbi/gems/tzinfo.rbi +0 -406
- data/sorbet/rbi/gems/unicode-display_width.rbi +0 -17
- data/sorbet/rbi/hidden-definitions/errors.txt +0 -7267
- data/sorbet/rbi/hidden-definitions/hidden.rbi +0 -14661
- data/sorbet/rbi/sorbet-typed/lib/activesupport/>=6.0.0.rc1/activesupport.rbi +0 -23
- data/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +0 -1431
- data/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +0 -108
- data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +0 -276
- data/sorbet/rbi/sorbet-typed/lib/rubocop/~>0.85/rubocop.rbi +0 -2072
- data/sorbet/rbi/sorbet-typed/lib/rubocop-rspec/~>1.39/rubocop-rspec.rbi +0 -398
- data/sorbet/rbi/todo.rbi +0 -8
@@ -0,0 +1,1786 @@
|
|
1
|
+
# DO NOT EDIT MANUALLY
|
2
|
+
# This is an autogenerated file for types exported from the `rubocop-rspec` gem.
|
3
|
+
# Please instead update this file by running `bin/tapioca gem rubocop-rspec`.
|
4
|
+
|
5
|
+
# typed: true
|
6
|
+
|
7
|
+
module RuboCop; end
|
8
|
+
module RuboCop::Cop; end
|
9
|
+
module RuboCop::Cop::Layout; end
|
10
|
+
|
11
|
+
class RuboCop::Cop::Layout::ExtraSpacing < ::RuboCop::Cop::Base
|
12
|
+
include ::RuboCop::Cop::PrecedingFollowingAlignment
|
13
|
+
include ::RuboCop::Cop::RangeHelp
|
14
|
+
extend ::RuboCop::Cop::AutoCorrector
|
15
|
+
|
16
|
+
def on_new_investigation; end
|
17
|
+
|
18
|
+
private
|
19
|
+
|
20
|
+
def align_column(asgn_token); end
|
21
|
+
def align_equal_sign(corrector, token, align_to); end
|
22
|
+
def align_equal_signs(range, corrector); end
|
23
|
+
def aligned_locations(locs); end
|
24
|
+
def aligned_tok?(token); end
|
25
|
+
def all_relevant_assignment_lines(line_number); end
|
26
|
+
def allow_for_trailing_comments?; end
|
27
|
+
def check_assignment(token); end
|
28
|
+
def check_other(token1, token2, ast); end
|
29
|
+
def check_tokens(ast, token1, token2); end
|
30
|
+
def extra_space_range(token1, token2); end
|
31
|
+
def force_equal_sign_alignment?; end
|
32
|
+
def ignored_range?(ast, start_pos); end
|
33
|
+
def ignored_ranges(ast); end
|
34
|
+
|
35
|
+
class << self
|
36
|
+
def autocorrect_incompatible_with; end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
RuboCop::Cop::Layout::ExtraSpacing::MSG_UNALIGNED_ASGN = T.let(T.unsafe(nil), String)
|
41
|
+
RuboCop::Cop::Layout::ExtraSpacing::MSG_UNNECESSARY = T.let(T.unsafe(nil), String)
|
42
|
+
module RuboCop::Cop::RSpec; end
|
43
|
+
|
44
|
+
class RuboCop::Cop::RSpec::AlignLeftLetBrace < ::RuboCop::Cop::RSpec::Base
|
45
|
+
extend ::RuboCop::Cop::AutoCorrector
|
46
|
+
|
47
|
+
def on_new_investigation; end
|
48
|
+
|
49
|
+
private
|
50
|
+
|
51
|
+
def token_aligner; end
|
52
|
+
|
53
|
+
class << self
|
54
|
+
def autocorrect_incompatible_with; end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
RuboCop::Cop::RSpec::AlignLeftLetBrace::MSG = T.let(T.unsafe(nil), String)
|
59
|
+
|
60
|
+
class RuboCop::Cop::RSpec::AlignRightLetBrace < ::RuboCop::Cop::RSpec::Base
|
61
|
+
extend ::RuboCop::Cop::AutoCorrector
|
62
|
+
|
63
|
+
def on_new_investigation; end
|
64
|
+
|
65
|
+
private
|
66
|
+
|
67
|
+
def token_aligner; end
|
68
|
+
|
69
|
+
class << self
|
70
|
+
def autocorrect_incompatible_with; end
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
RuboCop::Cop::RSpec::AlignRightLetBrace::MSG = T.let(T.unsafe(nil), String)
|
75
|
+
|
76
|
+
class RuboCop::Cop::RSpec::AnyInstance < ::RuboCop::Cop::RSpec::Base
|
77
|
+
def on_send(node); end
|
78
|
+
end
|
79
|
+
|
80
|
+
RuboCop::Cop::RSpec::AnyInstance::MSG = T.let(T.unsafe(nil), String)
|
81
|
+
RuboCop::Cop::RSpec::AnyInstance::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
82
|
+
|
83
|
+
class RuboCop::Cop::RSpec::AroundBlock < ::RuboCop::Cop::RSpec::Base
|
84
|
+
def find_arg_usage(param0); end
|
85
|
+
def hook(param0 = T.unsafe(nil)); end
|
86
|
+
def on_block(node); end
|
87
|
+
|
88
|
+
private
|
89
|
+
|
90
|
+
def add_no_arg_offense(node); end
|
91
|
+
def check_for_unused_proxy(block, proxy); end
|
92
|
+
end
|
93
|
+
|
94
|
+
RuboCop::Cop::RSpec::AroundBlock::MSG_NO_ARG = T.let(T.unsafe(nil), String)
|
95
|
+
RuboCop::Cop::RSpec::AroundBlock::MSG_UNUSED_ARG = T.let(T.unsafe(nil), String)
|
96
|
+
|
97
|
+
class RuboCop::Cop::RSpec::Base < ::RuboCop::Cop::Base
|
98
|
+
include ::RuboCop::RSpec::Language
|
99
|
+
extend ::RuboCop::RSpec::Language::NodePattern
|
100
|
+
|
101
|
+
def on_new_investigation; end
|
102
|
+
|
103
|
+
class << self
|
104
|
+
def inherited(subclass); end
|
105
|
+
end
|
106
|
+
end
|
107
|
+
|
108
|
+
class RuboCop::Cop::RSpec::Be < ::RuboCop::Cop::RSpec::Base
|
109
|
+
def be_without_args(param0 = T.unsafe(nil)); end
|
110
|
+
def on_send(node); end
|
111
|
+
end
|
112
|
+
|
113
|
+
RuboCop::Cop::RSpec::Be::MSG = T.let(T.unsafe(nil), String)
|
114
|
+
|
115
|
+
class RuboCop::Cop::RSpec::BeEql < ::RuboCop::Cop::RSpec::Base
|
116
|
+
extend ::RuboCop::Cop::AutoCorrector
|
117
|
+
|
118
|
+
def eql_type_with_identity(param0 = T.unsafe(nil)); end
|
119
|
+
def on_send(node); end
|
120
|
+
end
|
121
|
+
|
122
|
+
RuboCop::Cop::RSpec::BeEql::MSG = T.let(T.unsafe(nil), String)
|
123
|
+
RuboCop::Cop::RSpec::BeEql::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
124
|
+
|
125
|
+
class RuboCop::Cop::RSpec::BeforeAfterAll < ::RuboCop::Cop::RSpec::Base
|
126
|
+
def before_or_after_all(param0 = T.unsafe(nil)); end
|
127
|
+
def on_send(node); end
|
128
|
+
end
|
129
|
+
|
130
|
+
RuboCop::Cop::RSpec::BeforeAfterAll::MSG = T.let(T.unsafe(nil), String)
|
131
|
+
RuboCop::Cop::RSpec::BeforeAfterAll::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
132
|
+
module RuboCop::Cop::RSpec::Capybara; end
|
133
|
+
|
134
|
+
class RuboCop::Cop::RSpec::Capybara::CurrentPathExpectation < ::RuboCop::Cop::RSpec::Base
|
135
|
+
extend ::RuboCop::Cop::AutoCorrector
|
136
|
+
|
137
|
+
def as_is_matcher(param0 = T.unsafe(nil)); end
|
138
|
+
def expectation_set_on_current_path(param0 = T.unsafe(nil)); end
|
139
|
+
def on_send(node); end
|
140
|
+
def regexp_str_matcher(param0 = T.unsafe(nil)); end
|
141
|
+
|
142
|
+
private
|
143
|
+
|
144
|
+
def add_ignore_query_options(corrector, node); end
|
145
|
+
def autocorrect(corrector, node); end
|
146
|
+
def convert_regexp_str_to_literal(corrector, matcher_node, regexp_str); end
|
147
|
+
def rewrite_expectation(corrector, node, to_symbol, matcher_node); end
|
148
|
+
end
|
149
|
+
|
150
|
+
RuboCop::Cop::RSpec::Capybara::CurrentPathExpectation::MSG = T.let(T.unsafe(nil), String)
|
151
|
+
RuboCop::Cop::RSpec::Capybara::CurrentPathExpectation::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
152
|
+
|
153
|
+
class RuboCop::Cop::RSpec::Capybara::FeatureMethods < ::RuboCop::Cop::RSpec::Base
|
154
|
+
extend ::RuboCop::Cop::AutoCorrector
|
155
|
+
|
156
|
+
def capybara_speak(param0 = T.unsafe(nil)); end
|
157
|
+
def feature_method(param0 = T.unsafe(nil)); end
|
158
|
+
def message(range); end
|
159
|
+
def on_block(node); end
|
160
|
+
def spec?(param0 = T.unsafe(nil)); end
|
161
|
+
|
162
|
+
private
|
163
|
+
|
164
|
+
def enabled?(method_name); end
|
165
|
+
def enabled_methods; end
|
166
|
+
def inside_spec?(node); end
|
167
|
+
def root_node?(node); end
|
168
|
+
def root_with_siblings?(node); end
|
169
|
+
end
|
170
|
+
|
171
|
+
RuboCop::Cop::RSpec::Capybara::FeatureMethods::MAP = T.let(T.unsafe(nil), Hash)
|
172
|
+
RuboCop::Cop::RSpec::Capybara::FeatureMethods::MSG = T.let(T.unsafe(nil), String)
|
173
|
+
|
174
|
+
class RuboCop::Cop::RSpec::Capybara::VisibilityMatcher < ::RuboCop::Cop::RSpec::Base
|
175
|
+
def on_send(node); end
|
176
|
+
def visible_false?(param0 = T.unsafe(nil)); end
|
177
|
+
def visible_true?(param0 = T.unsafe(nil)); end
|
178
|
+
|
179
|
+
private
|
180
|
+
|
181
|
+
def capybara_matcher?(method_name); end
|
182
|
+
end
|
183
|
+
|
184
|
+
RuboCop::Cop::RSpec::Capybara::VisibilityMatcher::CAPYBARA_MATCHER_METHODS = T.let(T.unsafe(nil), Array)
|
185
|
+
RuboCop::Cop::RSpec::Capybara::VisibilityMatcher::MSG_FALSE = T.let(T.unsafe(nil), String)
|
186
|
+
RuboCop::Cop::RSpec::Capybara::VisibilityMatcher::MSG_TRUE = T.let(T.unsafe(nil), String)
|
187
|
+
RuboCop::Cop::RSpec::Capybara::VisibilityMatcher::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
188
|
+
|
189
|
+
module RuboCop::Cop::RSpec::CommentsHelp
|
190
|
+
include ::RuboCop::Cop::RSpec::FinalEndLocation
|
191
|
+
|
192
|
+
def begin_pos_with_comment(node); end
|
193
|
+
def buffer; end
|
194
|
+
def end_line_position(node); end
|
195
|
+
def source_range_with_comment(node); end
|
196
|
+
def start_line_position(node); end
|
197
|
+
end
|
198
|
+
|
199
|
+
class RuboCop::Cop::RSpec::ContextMethod < ::RuboCop::Cop::RSpec::Base
|
200
|
+
extend ::RuboCop::Cop::AutoCorrector
|
201
|
+
|
202
|
+
def context_method(param0 = T.unsafe(nil)); end
|
203
|
+
def on_block(node); end
|
204
|
+
|
205
|
+
private
|
206
|
+
|
207
|
+
def method_name?(description); end
|
208
|
+
end
|
209
|
+
|
210
|
+
RuboCop::Cop::RSpec::ContextMethod::MSG = T.let(T.unsafe(nil), String)
|
211
|
+
|
212
|
+
class RuboCop::Cop::RSpec::ContextWording < ::RuboCop::Cop::RSpec::Base
|
213
|
+
def context_wording(param0 = T.unsafe(nil)); end
|
214
|
+
def on_block(node); end
|
215
|
+
|
216
|
+
private
|
217
|
+
|
218
|
+
def bad_prefix?(description); end
|
219
|
+
def joined_prefixes; end
|
220
|
+
def prefix_regex; end
|
221
|
+
def prefixes; end
|
222
|
+
end
|
223
|
+
|
224
|
+
RuboCop::Cop::RSpec::ContextWording::MSG = T.let(T.unsafe(nil), String)
|
225
|
+
|
226
|
+
class RuboCop::Cop::RSpec::DescribeClass < ::RuboCop::Cop::RSpec::Base
|
227
|
+
include ::RuboCop::Cop::RSpec::TopLevelGroup
|
228
|
+
|
229
|
+
def example_group_with_ignored_metadata?(param0 = T.unsafe(nil)); end
|
230
|
+
def not_a_const_described(param0 = T.unsafe(nil)); end
|
231
|
+
def on_top_level_group(node); end
|
232
|
+
def sym_pair(param0 = T.unsafe(nil)); end
|
233
|
+
|
234
|
+
private
|
235
|
+
|
236
|
+
def ignored_metadata; end
|
237
|
+
def ignored_metadata?(node); end
|
238
|
+
def string_constant?(described); end
|
239
|
+
end
|
240
|
+
|
241
|
+
RuboCop::Cop::RSpec::DescribeClass::MSG = T.let(T.unsafe(nil), String)
|
242
|
+
|
243
|
+
class RuboCop::Cop::RSpec::DescribeMethod < ::RuboCop::Cop::RSpec::Base
|
244
|
+
include ::RuboCop::Cop::RSpec::TopLevelGroup
|
245
|
+
|
246
|
+
def on_top_level_group(node); end
|
247
|
+
def second_argument(param0 = T.unsafe(nil)); end
|
248
|
+
end
|
249
|
+
|
250
|
+
RuboCop::Cop::RSpec::DescribeMethod::MSG = T.let(T.unsafe(nil), String)
|
251
|
+
|
252
|
+
class RuboCop::Cop::RSpec::DescribeSymbol < ::RuboCop::Cop::RSpec::Base
|
253
|
+
def describe_symbol?(param0 = T.unsafe(nil)); end
|
254
|
+
def on_send(node); end
|
255
|
+
end
|
256
|
+
|
257
|
+
RuboCop::Cop::RSpec::DescribeSymbol::MSG = T.let(T.unsafe(nil), String)
|
258
|
+
RuboCop::Cop::RSpec::DescribeSymbol::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
259
|
+
|
260
|
+
class RuboCop::Cop::RSpec::DescribedClass < ::RuboCop::Cop::RSpec::Base
|
261
|
+
include ::RuboCop::Cop::ConfigurableEnforcedStyle
|
262
|
+
extend ::RuboCop::Cop::AutoCorrector
|
263
|
+
|
264
|
+
def common_instance_exec_closure?(param0 = T.unsafe(nil)); end
|
265
|
+
def contains_described_class?(param0); end
|
266
|
+
def described_constant(param0 = T.unsafe(nil)); end
|
267
|
+
def on_block(node); end
|
268
|
+
def rspec_block?(param0 = T.unsafe(nil)); end
|
269
|
+
def scope_changing_syntax?(param0 = T.unsafe(nil)); end
|
270
|
+
|
271
|
+
private
|
272
|
+
|
273
|
+
def autocorrect(corrector, match); end
|
274
|
+
def collapse_namespace(namespace, const); end
|
275
|
+
def const_name(node); end
|
276
|
+
def find_usage(node, &block); end
|
277
|
+
def full_const_name(node); end
|
278
|
+
def message(offense); end
|
279
|
+
def namespace(node); end
|
280
|
+
def offensive?(node); end
|
281
|
+
def offensive_described_class?(node); end
|
282
|
+
def scope_change?(node); end
|
283
|
+
def skip_blocks?; end
|
284
|
+
def skippable_block?(node); end
|
285
|
+
end
|
286
|
+
|
287
|
+
RuboCop::Cop::RSpec::DescribedClass::DESCRIBED_CLASS = T.let(T.unsafe(nil), String)
|
288
|
+
RuboCop::Cop::RSpec::DescribedClass::MSG = T.let(T.unsafe(nil), String)
|
289
|
+
|
290
|
+
class RuboCop::Cop::RSpec::DescribedClassModuleWrapping < ::RuboCop::Cop::RSpec::Base
|
291
|
+
def find_rspec_blocks(param0); end
|
292
|
+
def on_module(node); end
|
293
|
+
end
|
294
|
+
|
295
|
+
RuboCop::Cop::RSpec::DescribedClassModuleWrapping::MSG = T.let(T.unsafe(nil), String)
|
296
|
+
|
297
|
+
class RuboCop::Cop::RSpec::Dialect < ::RuboCop::Cop::RSpec::Base
|
298
|
+
include ::RuboCop::Cop::MethodPreference
|
299
|
+
extend ::RuboCop::Cop::AutoCorrector
|
300
|
+
|
301
|
+
def on_send(node); end
|
302
|
+
def rspec_method?(param0 = T.unsafe(nil)); end
|
303
|
+
end
|
304
|
+
|
305
|
+
RuboCop::Cop::RSpec::Dialect::MSG = T.let(T.unsafe(nil), String)
|
306
|
+
|
307
|
+
class RuboCop::Cop::RSpec::EmptyExampleGroup < ::RuboCop::Cop::RSpec::Base
|
308
|
+
def example_group_body(param0 = T.unsafe(nil)); end
|
309
|
+
def example_or_group_or_include?(param0 = T.unsafe(nil)); end
|
310
|
+
def examples?(param0 = T.unsafe(nil)); end
|
311
|
+
def examples_directly_or_in_block?(param0 = T.unsafe(nil)); end
|
312
|
+
def examples_inside_block?(param0 = T.unsafe(nil)); end
|
313
|
+
def on_block(node); end
|
314
|
+
|
315
|
+
private
|
316
|
+
|
317
|
+
def conditionals_with_examples?(body); end
|
318
|
+
def examples_in_branches?(if_node); end
|
319
|
+
def offensive?(body); end
|
320
|
+
end
|
321
|
+
|
322
|
+
RuboCop::Cop::RSpec::EmptyExampleGroup::MSG = T.let(T.unsafe(nil), String)
|
323
|
+
|
324
|
+
class RuboCop::Cop::RSpec::EmptyHook < ::RuboCop::Cop::RSpec::Base
|
325
|
+
include ::RuboCop::Cop::RangeHelp
|
326
|
+
extend ::RuboCop::Cop::AutoCorrector
|
327
|
+
|
328
|
+
def empty_hook?(param0 = T.unsafe(nil)); end
|
329
|
+
def on_block(node); end
|
330
|
+
end
|
331
|
+
|
332
|
+
RuboCop::Cop::RSpec::EmptyHook::MSG = T.let(T.unsafe(nil), String)
|
333
|
+
|
334
|
+
class RuboCop::Cop::RSpec::EmptyLineAfterExample < ::RuboCop::Cop::RSpec::Base
|
335
|
+
include ::RuboCop::Cop::RSpec::FinalEndLocation
|
336
|
+
include ::RuboCop::Cop::RangeHelp
|
337
|
+
include ::RuboCop::Cop::RSpec::EmptyLineSeparation
|
338
|
+
extend ::RuboCop::Cop::AutoCorrector
|
339
|
+
|
340
|
+
def allow_consecutive_one_liners?; end
|
341
|
+
def allowed_one_liner?(node); end
|
342
|
+
def consecutive_one_liner?(node); end
|
343
|
+
def next_one_line_example?(node); end
|
344
|
+
def next_sibling(node); end
|
345
|
+
def on_block(node); end
|
346
|
+
end
|
347
|
+
|
348
|
+
RuboCop::Cop::RSpec::EmptyLineAfterExample::MSG = T.let(T.unsafe(nil), String)
|
349
|
+
|
350
|
+
class RuboCop::Cop::RSpec::EmptyLineAfterExampleGroup < ::RuboCop::Cop::RSpec::Base
|
351
|
+
include ::RuboCop::Cop::RSpec::FinalEndLocation
|
352
|
+
include ::RuboCop::Cop::RangeHelp
|
353
|
+
include ::RuboCop::Cop::RSpec::EmptyLineSeparation
|
354
|
+
extend ::RuboCop::Cop::AutoCorrector
|
355
|
+
|
356
|
+
def on_block(node); end
|
357
|
+
end
|
358
|
+
|
359
|
+
RuboCop::Cop::RSpec::EmptyLineAfterExampleGroup::MSG = T.let(T.unsafe(nil), String)
|
360
|
+
|
361
|
+
class RuboCop::Cop::RSpec::EmptyLineAfterFinalLet < ::RuboCop::Cop::RSpec::Base
|
362
|
+
include ::RuboCop::Cop::RSpec::FinalEndLocation
|
363
|
+
include ::RuboCop::Cop::RangeHelp
|
364
|
+
include ::RuboCop::Cop::RSpec::EmptyLineSeparation
|
365
|
+
extend ::RuboCop::Cop::AutoCorrector
|
366
|
+
|
367
|
+
def on_block(node); end
|
368
|
+
end
|
369
|
+
|
370
|
+
RuboCop::Cop::RSpec::EmptyLineAfterFinalLet::MSG = T.let(T.unsafe(nil), String)
|
371
|
+
|
372
|
+
class RuboCop::Cop::RSpec::EmptyLineAfterHook < ::RuboCop::Cop::RSpec::Base
|
373
|
+
include ::RuboCop::Cop::RSpec::FinalEndLocation
|
374
|
+
include ::RuboCop::Cop::RangeHelp
|
375
|
+
include ::RuboCop::Cop::RSpec::EmptyLineSeparation
|
376
|
+
extend ::RuboCop::Cop::AutoCorrector
|
377
|
+
|
378
|
+
def on_block(node); end
|
379
|
+
end
|
380
|
+
|
381
|
+
RuboCop::Cop::RSpec::EmptyLineAfterHook::MSG = T.let(T.unsafe(nil), String)
|
382
|
+
|
383
|
+
class RuboCop::Cop::RSpec::EmptyLineAfterSubject < ::RuboCop::Cop::RSpec::Base
|
384
|
+
include ::RuboCop::Cop::RSpec::FinalEndLocation
|
385
|
+
include ::RuboCop::Cop::RangeHelp
|
386
|
+
include ::RuboCop::Cop::RSpec::EmptyLineSeparation
|
387
|
+
extend ::RuboCop::Cop::AutoCorrector
|
388
|
+
|
389
|
+
def on_block(node); end
|
390
|
+
|
391
|
+
private
|
392
|
+
|
393
|
+
def in_spec_block?(node); end
|
394
|
+
end
|
395
|
+
|
396
|
+
RuboCop::Cop::RSpec::EmptyLineAfterSubject::MSG = T.let(T.unsafe(nil), String)
|
397
|
+
|
398
|
+
module RuboCop::Cop::RSpec::EmptyLineSeparation
|
399
|
+
include ::RuboCop::Cop::RSpec::FinalEndLocation
|
400
|
+
include ::RuboCop::Cop::RangeHelp
|
401
|
+
|
402
|
+
def last_child?(node); end
|
403
|
+
def missing_separating_line(node); end
|
404
|
+
def missing_separating_line_offense(node); end
|
405
|
+
def offending_loc(last_line); end
|
406
|
+
end
|
407
|
+
|
408
|
+
class RuboCop::Cop::RSpec::ExampleLength < ::RuboCop::Cop::RSpec::Base
|
409
|
+
include ::RuboCop::Cop::CodeLength
|
410
|
+
|
411
|
+
def on_block(node); end
|
412
|
+
|
413
|
+
private
|
414
|
+
|
415
|
+
def cop_label; end
|
416
|
+
end
|
417
|
+
|
418
|
+
RuboCop::Cop::RSpec::ExampleLength::LABEL = T.let(T.unsafe(nil), String)
|
419
|
+
|
420
|
+
class RuboCop::Cop::RSpec::ExampleWithoutDescription < ::RuboCop::Cop::RSpec::Base
|
421
|
+
include ::RuboCop::Cop::ConfigurableEnforcedStyle
|
422
|
+
|
423
|
+
def example_description(param0 = T.unsafe(nil)); end
|
424
|
+
def on_block(node); end
|
425
|
+
|
426
|
+
private
|
427
|
+
|
428
|
+
def check_example_without_description(node); end
|
429
|
+
def disallow_empty_description?(node); end
|
430
|
+
end
|
431
|
+
|
432
|
+
RuboCop::Cop::RSpec::ExampleWithoutDescription::MSG_ADD_DESCRIPTION = T.let(T.unsafe(nil), String)
|
433
|
+
RuboCop::Cop::RSpec::ExampleWithoutDescription::MSG_DEFAULT_ARGUMENT = T.let(T.unsafe(nil), String)
|
434
|
+
|
435
|
+
class RuboCop::Cop::RSpec::ExampleWording < ::RuboCop::Cop::RSpec::Base
|
436
|
+
extend ::RuboCop::Cop::AutoCorrector
|
437
|
+
|
438
|
+
def it_description(param0 = T.unsafe(nil)); end
|
439
|
+
def on_block(node); end
|
440
|
+
|
441
|
+
private
|
442
|
+
|
443
|
+
def add_wording_offense(node, message); end
|
444
|
+
def custom_transform; end
|
445
|
+
def docstring(node); end
|
446
|
+
def ignored_words; end
|
447
|
+
def replacement_text(node); end
|
448
|
+
def text(node); end
|
449
|
+
end
|
450
|
+
|
451
|
+
RuboCop::Cop::RSpec::ExampleWording::IT_PREFIX = T.let(T.unsafe(nil), Regexp)
|
452
|
+
RuboCop::Cop::RSpec::ExampleWording::MSG_IT = T.let(T.unsafe(nil), String)
|
453
|
+
RuboCop::Cop::RSpec::ExampleWording::MSG_SHOULD = T.let(T.unsafe(nil), String)
|
454
|
+
RuboCop::Cop::RSpec::ExampleWording::SHOULD_PREFIX = T.let(T.unsafe(nil), Regexp)
|
455
|
+
|
456
|
+
class RuboCop::Cop::RSpec::ExcessiveDocstringSpacing < ::RuboCop::Cop::RSpec::Base
|
457
|
+
extend ::RuboCop::Cop::AutoCorrector
|
458
|
+
|
459
|
+
def example_description(param0 = T.unsafe(nil)); end
|
460
|
+
def on_send(node); end
|
461
|
+
|
462
|
+
private
|
463
|
+
|
464
|
+
def add_whitespace_offense(node, text); end
|
465
|
+
def docstring(node); end
|
466
|
+
def excessive_whitespace?(text); end
|
467
|
+
def strip_excessive_whitespace(text); end
|
468
|
+
def text(node); end
|
469
|
+
end
|
470
|
+
|
471
|
+
RuboCop::Cop::RSpec::ExcessiveDocstringSpacing::MSG = T.let(T.unsafe(nil), String)
|
472
|
+
|
473
|
+
class RuboCop::Cop::RSpec::ExpectActual < ::RuboCop::Cop::RSpec::Base
|
474
|
+
extend ::RuboCop::Cop::AutoCorrector
|
475
|
+
|
476
|
+
def expect_literal(param0 = T.unsafe(nil)); end
|
477
|
+
def on_send(node); end
|
478
|
+
|
479
|
+
private
|
480
|
+
|
481
|
+
def complex_literal?(node); end
|
482
|
+
def literal?(node); end
|
483
|
+
def simple_literal?(node); end
|
484
|
+
def swap(corrector, actual, expected); end
|
485
|
+
end
|
486
|
+
|
487
|
+
RuboCop::Cop::RSpec::ExpectActual::COMPLEX_LITERALS = T.let(T.unsafe(nil), Array)
|
488
|
+
RuboCop::Cop::RSpec::ExpectActual::MSG = T.let(T.unsafe(nil), String)
|
489
|
+
RuboCop::Cop::RSpec::ExpectActual::SIMPLE_LITERALS = T.let(T.unsafe(nil), Array)
|
490
|
+
RuboCop::Cop::RSpec::ExpectActual::SUPPORTED_MATCHERS = T.let(T.unsafe(nil), Array)
|
491
|
+
|
492
|
+
class RuboCop::Cop::RSpec::ExpectChange < ::RuboCop::Cop::RSpec::Base
|
493
|
+
include ::RuboCop::Cop::ConfigurableEnforcedStyle
|
494
|
+
extend ::RuboCop::Cop::AutoCorrector
|
495
|
+
|
496
|
+
def expect_change_with_arguments(param0 = T.unsafe(nil)); end
|
497
|
+
def expect_change_with_block(param0 = T.unsafe(nil)); end
|
498
|
+
def on_block(node); end
|
499
|
+
def on_send(node); end
|
500
|
+
end
|
501
|
+
|
502
|
+
RuboCop::Cop::RSpec::ExpectChange::MSG_BLOCK = T.let(T.unsafe(nil), String)
|
503
|
+
RuboCop::Cop::RSpec::ExpectChange::MSG_CALL = T.let(T.unsafe(nil), String)
|
504
|
+
RuboCop::Cop::RSpec::ExpectChange::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
505
|
+
|
506
|
+
class RuboCop::Cop::RSpec::ExpectInHook < ::RuboCop::Cop::RSpec::Base
|
507
|
+
def expectation(param0); end
|
508
|
+
def on_block(node); end
|
509
|
+
|
510
|
+
private
|
511
|
+
|
512
|
+
def message(expect, hook); end
|
513
|
+
end
|
514
|
+
|
515
|
+
RuboCop::Cop::RSpec::ExpectInHook::MSG = T.let(T.unsafe(nil), String)
|
516
|
+
|
517
|
+
class RuboCop::Cop::RSpec::ExpectOutput < ::RuboCop::Cop::RSpec::Base
|
518
|
+
def on_gvasgn(node); end
|
519
|
+
|
520
|
+
private
|
521
|
+
|
522
|
+
def inside_example_scope?(node); end
|
523
|
+
end
|
524
|
+
|
525
|
+
RuboCop::Cop::RSpec::ExpectOutput::MSG = T.let(T.unsafe(nil), String)
|
526
|
+
|
527
|
+
module RuboCop::Cop::RSpec::ExplicitHelper
|
528
|
+
include ::RuboCop::RSpec::Language
|
529
|
+
extend ::RuboCop::AST::NodePattern::Macros
|
530
|
+
|
531
|
+
def predicate_matcher?(param0 = T.unsafe(nil)); end
|
532
|
+
def predicate_matcher_block?(param0 = T.unsafe(nil)); end
|
533
|
+
|
534
|
+
private
|
535
|
+
|
536
|
+
def allowed_explicit_matchers; end
|
537
|
+
def check_explicit(node); end
|
538
|
+
def corrector_explicit(corrector, to_node, actual, matcher, block_child); end
|
539
|
+
def message_explicit(matcher); end
|
540
|
+
def move_predicate(corrector, actual, matcher, block_child); end
|
541
|
+
def predicate_matcher_name?(name); end
|
542
|
+
def replacement_matcher(node); end
|
543
|
+
def to_predicate_method(matcher); end
|
544
|
+
end
|
545
|
+
|
546
|
+
RuboCop::Cop::RSpec::ExplicitHelper::BUILT_IN_MATCHERS = T.let(T.unsafe(nil), Array)
|
547
|
+
RuboCop::Cop::RSpec::ExplicitHelper::MSG_EXPLICIT = T.let(T.unsafe(nil), String)
|
548
|
+
module RuboCop::Cop::RSpec::FactoryBot; end
|
549
|
+
|
550
|
+
class RuboCop::Cop::RSpec::FactoryBot::AttributeDefinedStatically < ::RuboCop::Cop::RSpec::Base
|
551
|
+
extend ::RuboCop::Cop::AutoCorrector
|
552
|
+
|
553
|
+
def association?(param0 = T.unsafe(nil)); end
|
554
|
+
def factory_attributes(param0 = T.unsafe(nil)); end
|
555
|
+
def on_block(node); end
|
556
|
+
def value_matcher(param0 = T.unsafe(nil)); end
|
557
|
+
|
558
|
+
private
|
559
|
+
|
560
|
+
def attribute_defining_method?(method_name); end
|
561
|
+
def autocorrect(corrector, node); end
|
562
|
+
def autocorrect_replacing_parens(corrector, node); end
|
563
|
+
def autocorrect_without_parens(corrector, node); end
|
564
|
+
def braces(node); end
|
565
|
+
def offensive_receiver?(receiver, node); end
|
566
|
+
def proc?(attribute); end
|
567
|
+
def receiver_matches_first_block_argument?(receiver, node); end
|
568
|
+
def reserved_method?(method_name); end
|
569
|
+
def value_hash_without_braces?(node); end
|
570
|
+
end
|
571
|
+
|
572
|
+
RuboCop::Cop::RSpec::FactoryBot::AttributeDefinedStatically::MSG = T.let(T.unsafe(nil), String)
|
573
|
+
|
574
|
+
class RuboCop::Cop::RSpec::FactoryBot::CreateList < ::RuboCop::Cop::RSpec::Base
|
575
|
+
include ::RuboCop::Cop::ConfigurableEnforcedStyle
|
576
|
+
extend ::RuboCop::Cop::AutoCorrector
|
577
|
+
|
578
|
+
def factory_call(param0 = T.unsafe(nil)); end
|
579
|
+
def factory_list_call(param0 = T.unsafe(nil)); end
|
580
|
+
def n_times_block_without_arg?(param0 = T.unsafe(nil)); end
|
581
|
+
def on_block(node); end
|
582
|
+
def on_send(node); end
|
583
|
+
|
584
|
+
private
|
585
|
+
|
586
|
+
def contains_only_factory?(node); end
|
587
|
+
end
|
588
|
+
|
589
|
+
module RuboCop::Cop::RSpec::FactoryBot::CreateList::Corrector
|
590
|
+
private
|
591
|
+
|
592
|
+
def build_options_string(options); end
|
593
|
+
def format_method_call(node, method, arguments); end
|
594
|
+
def format_receiver(receiver); end
|
595
|
+
end
|
596
|
+
|
597
|
+
class RuboCop::Cop::RSpec::FactoryBot::CreateList::CreateListCorrector
|
598
|
+
include ::RuboCop::Cop::RSpec::FactoryBot::CreateList::Corrector
|
599
|
+
|
600
|
+
def initialize(node); end
|
601
|
+
|
602
|
+
def call(corrector); end
|
603
|
+
|
604
|
+
private
|
605
|
+
|
606
|
+
def build_arguments(node, count); end
|
607
|
+
def call_replacement(node); end
|
608
|
+
def call_with_block_replacement(node); end
|
609
|
+
def format_block(node); end
|
610
|
+
def format_multiline_block(node); end
|
611
|
+
def format_singeline_block(node); end
|
612
|
+
def node; end
|
613
|
+
end
|
614
|
+
|
615
|
+
RuboCop::Cop::RSpec::FactoryBot::CreateList::MSG_CREATE_LIST = T.let(T.unsafe(nil), String)
|
616
|
+
RuboCop::Cop::RSpec::FactoryBot::CreateList::MSG_N_TIMES = T.let(T.unsafe(nil), String)
|
617
|
+
RuboCop::Cop::RSpec::FactoryBot::CreateList::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
618
|
+
|
619
|
+
class RuboCop::Cop::RSpec::FactoryBot::CreateList::TimesCorrector
|
620
|
+
include ::RuboCop::Cop::RSpec::FactoryBot::CreateList::Corrector
|
621
|
+
|
622
|
+
def initialize(node); end
|
623
|
+
|
624
|
+
def call(corrector); end
|
625
|
+
|
626
|
+
private
|
627
|
+
|
628
|
+
def generate_n_times_block(node); end
|
629
|
+
def node; end
|
630
|
+
end
|
631
|
+
|
632
|
+
class RuboCop::Cop::RSpec::FactoryBot::FactoryClassName < ::RuboCop::Cop::RSpec::Base
|
633
|
+
extend ::RuboCop::Cop::AutoCorrector
|
634
|
+
|
635
|
+
def class_name(param0 = T.unsafe(nil)); end
|
636
|
+
def on_send(node); end
|
637
|
+
|
638
|
+
private
|
639
|
+
|
640
|
+
def allowed?(const_name); end
|
641
|
+
end
|
642
|
+
|
643
|
+
RuboCop::Cop::RSpec::FactoryBot::FactoryClassName::ALLOWED_CONSTANTS = T.let(T.unsafe(nil), Array)
|
644
|
+
RuboCop::Cop::RSpec::FactoryBot::FactoryClassName::MSG = T.let(T.unsafe(nil), String)
|
645
|
+
RuboCop::Cop::RSpec::FactoryBot::FactoryClassName::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
646
|
+
|
647
|
+
class RuboCop::Cop::RSpec::FilePath < ::RuboCop::Cop::RSpec::Base
|
648
|
+
include ::RuboCop::Cop::RSpec::TopLevelGroup
|
649
|
+
|
650
|
+
def example_group(param0 = T.unsafe(nil)); end
|
651
|
+
def on_top_level_example_group(node); end
|
652
|
+
def routing_metadata?(param0); end
|
653
|
+
|
654
|
+
private
|
655
|
+
|
656
|
+
def camel_to_snake_case(string); end
|
657
|
+
def custom_transform; end
|
658
|
+
def ensure_correct_file_path(send_node, example_group, arguments); end
|
659
|
+
def expected_path(constant); end
|
660
|
+
def filename_ends_with?(pattern); end
|
661
|
+
def ignore_methods?; end
|
662
|
+
def name_pattern(method_name); end
|
663
|
+
def pattern_for(example_group, method_name); end
|
664
|
+
def pattern_for_spec_suffix_only?; end
|
665
|
+
def relevant_rubocop_rspec_file?(_file); end
|
666
|
+
def routing_spec?(args); end
|
667
|
+
def spec_suffix_only?; end
|
668
|
+
end
|
669
|
+
|
670
|
+
RuboCop::Cop::RSpec::FilePath::MSG = T.let(T.unsafe(nil), String)
|
671
|
+
|
672
|
+
module RuboCop::Cop::RSpec::FinalEndLocation
|
673
|
+
def final_end_location(start_node); end
|
674
|
+
end
|
675
|
+
|
676
|
+
class RuboCop::Cop::RSpec::Focus < ::RuboCop::Cop::RSpec::Base
|
677
|
+
include ::RuboCop::Cop::RangeHelp
|
678
|
+
extend ::RuboCop::Cop::AutoCorrector
|
679
|
+
|
680
|
+
def focusable_selector?(param0 = T.unsafe(nil)); end
|
681
|
+
def focused_block?(param0 = T.unsafe(nil)); end
|
682
|
+
def metadata(param0 = T.unsafe(nil)); end
|
683
|
+
def on_send(node); end
|
684
|
+
|
685
|
+
private
|
686
|
+
|
687
|
+
def correct_send(corrector, focus); end
|
688
|
+
def focus_metadata(node, &block); end
|
689
|
+
def with_surrounding(focus); end
|
690
|
+
end
|
691
|
+
|
692
|
+
RuboCop::Cop::RSpec::Focus::MSG = T.let(T.unsafe(nil), String)
|
693
|
+
|
694
|
+
class RuboCop::Cop::RSpec::HookArgument < ::RuboCop::Cop::RSpec::Base
|
695
|
+
include ::RuboCop::Cop::ConfigurableEnforcedStyle
|
696
|
+
extend ::RuboCop::Cop::AutoCorrector
|
697
|
+
|
698
|
+
def on_block(node); end
|
699
|
+
def scoped_hook(param0 = T.unsafe(nil)); end
|
700
|
+
def unscoped_hook(param0 = T.unsafe(nil)); end
|
701
|
+
|
702
|
+
private
|
703
|
+
|
704
|
+
def argument_range(send_node); end
|
705
|
+
def check_implicit(method_send); end
|
706
|
+
def explicit_message(scope); end
|
707
|
+
def hook(node, &block); end
|
708
|
+
def implicit_style?; end
|
709
|
+
end
|
710
|
+
|
711
|
+
RuboCop::Cop::RSpec::HookArgument::EXPLICIT_MSG = T.let(T.unsafe(nil), String)
|
712
|
+
RuboCop::Cop::RSpec::HookArgument::IMPLICIT_MSG = T.let(T.unsafe(nil), String)
|
713
|
+
|
714
|
+
class RuboCop::Cop::RSpec::HooksBeforeExamples < ::RuboCop::Cop::RSpec::Base
|
715
|
+
extend ::RuboCop::Cop::AutoCorrector
|
716
|
+
|
717
|
+
def example_or_group?(param0 = T.unsafe(nil)); end
|
718
|
+
def on_block(node); end
|
719
|
+
|
720
|
+
private
|
721
|
+
|
722
|
+
def autocorrect(corrector, node, first_example); end
|
723
|
+
def check_hooks(node); end
|
724
|
+
def find_first_example(node); end
|
725
|
+
def multiline_block?(block); end
|
726
|
+
end
|
727
|
+
|
728
|
+
RuboCop::Cop::RSpec::HooksBeforeExamples::MSG = T.let(T.unsafe(nil), String)
|
729
|
+
|
730
|
+
class RuboCop::Cop::RSpec::IdenticalEqualityAssertion < ::RuboCop::Cop::RSpec::Base
|
731
|
+
def equality_check?(param0 = T.unsafe(nil)); end
|
732
|
+
def on_send(node); end
|
733
|
+
end
|
734
|
+
|
735
|
+
RuboCop::Cop::RSpec::IdenticalEqualityAssertion::MSG = T.let(T.unsafe(nil), String)
|
736
|
+
RuboCop::Cop::RSpec::IdenticalEqualityAssertion::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
737
|
+
|
738
|
+
class RuboCop::Cop::RSpec::ImplicitBlockExpectation < ::RuboCop::Cop::RSpec::Base
|
739
|
+
def implicit_expect(param0 = T.unsafe(nil)); end
|
740
|
+
def lambda?(param0 = T.unsafe(nil)); end
|
741
|
+
def lambda_subject?(param0 = T.unsafe(nil)); end
|
742
|
+
def on_send(node); end
|
743
|
+
|
744
|
+
private
|
745
|
+
|
746
|
+
def find_subject(block_node); end
|
747
|
+
def multi_statement_example_group?(node); end
|
748
|
+
def nearest_subject(node); end
|
749
|
+
end
|
750
|
+
|
751
|
+
RuboCop::Cop::RSpec::ImplicitBlockExpectation::MSG = T.let(T.unsafe(nil), String)
|
752
|
+
RuboCop::Cop::RSpec::ImplicitBlockExpectation::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
753
|
+
|
754
|
+
class RuboCop::Cop::RSpec::ImplicitExpect < ::RuboCop::Cop::RSpec::Base
|
755
|
+
include ::RuboCop::Cop::ConfigurableEnforcedStyle
|
756
|
+
extend ::RuboCop::Cop::AutoCorrector
|
757
|
+
|
758
|
+
def implicit_expect(param0 = T.unsafe(nil)); end
|
759
|
+
def on_send(node); end
|
760
|
+
|
761
|
+
private
|
762
|
+
|
763
|
+
def is_expected_range(source_map); end
|
764
|
+
def offending_expect(node); end
|
765
|
+
def offense_message(offending_source); end
|
766
|
+
def replacement_source(offending_source); end
|
767
|
+
end
|
768
|
+
|
769
|
+
RuboCop::Cop::RSpec::ImplicitExpect::ENFORCED_REPLACEMENTS = T.let(T.unsafe(nil), Hash)
|
770
|
+
RuboCop::Cop::RSpec::ImplicitExpect::MSG = T.let(T.unsafe(nil), String)
|
771
|
+
|
772
|
+
class RuboCop::Cop::RSpec::ImplicitSubject < ::RuboCop::Cop::RSpec::Base
|
773
|
+
include ::RuboCop::Cop::ConfigurableEnforcedStyle
|
774
|
+
extend ::RuboCop::Cop::AutoCorrector
|
775
|
+
|
776
|
+
def implicit_subject?(param0 = T.unsafe(nil)); end
|
777
|
+
def on_send(node); end
|
778
|
+
|
779
|
+
private
|
780
|
+
|
781
|
+
def allowed_by_style?(example); end
|
782
|
+
def autocorrect(corrector, node); end
|
783
|
+
def valid_usage?(node); end
|
784
|
+
end
|
785
|
+
|
786
|
+
RuboCop::Cop::RSpec::ImplicitSubject::MSG = T.let(T.unsafe(nil), String)
|
787
|
+
RuboCop::Cop::RSpec::ImplicitSubject::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
788
|
+
|
789
|
+
module RuboCop::Cop::RSpec::InflectedHelper
|
790
|
+
include ::RuboCop::RSpec::Language
|
791
|
+
extend ::RuboCop::AST::NodePattern::Macros
|
792
|
+
|
793
|
+
def be_bool?(param0 = T.unsafe(nil)); end
|
794
|
+
def be_boolthy?(param0 = T.unsafe(nil)); end
|
795
|
+
def predicate_in_actual?(param0 = T.unsafe(nil)); end
|
796
|
+
|
797
|
+
private
|
798
|
+
|
799
|
+
def boolean_matcher?(node); end
|
800
|
+
def check_inflected(node); end
|
801
|
+
def message_inflected(predicate); end
|
802
|
+
def predicate?(sym); end
|
803
|
+
def remove_predicate(corrector, predicate); end
|
804
|
+
def rewrite_matcher(corrector, predicate, matcher); end
|
805
|
+
def to_predicate_matcher(name); end
|
806
|
+
def true?(to_symbol, matcher); end
|
807
|
+
end
|
808
|
+
|
809
|
+
RuboCop::Cop::RSpec::InflectedHelper::MSG_INFLECTED = T.let(T.unsafe(nil), String)
|
810
|
+
|
811
|
+
class RuboCop::Cop::RSpec::InstanceSpy < ::RuboCop::Cop::RSpec::Base
|
812
|
+
extend ::RuboCop::Cop::AutoCorrector
|
813
|
+
|
814
|
+
def have_received_usage(param0); end
|
815
|
+
def null_double(param0); end
|
816
|
+
def on_block(node); end
|
817
|
+
|
818
|
+
private
|
819
|
+
|
820
|
+
def autocorrect(corrector, node); end
|
821
|
+
end
|
822
|
+
|
823
|
+
RuboCop::Cop::RSpec::InstanceSpy::MSG = T.let(T.unsafe(nil), String)
|
824
|
+
|
825
|
+
class RuboCop::Cop::RSpec::InstanceVariable < ::RuboCop::Cop::RSpec::Base
|
826
|
+
include ::RuboCop::Cop::RSpec::TopLevelGroup
|
827
|
+
|
828
|
+
def custom_matcher?(param0 = T.unsafe(nil)); end
|
829
|
+
def dynamic_class?(param0 = T.unsafe(nil)); end
|
830
|
+
def ivar_assigned?(param0, param1); end
|
831
|
+
def ivar_usage(param0); end
|
832
|
+
def on_top_level_group(node); end
|
833
|
+
|
834
|
+
private
|
835
|
+
|
836
|
+
def assignment_only?; end
|
837
|
+
def valid_usage?(node); end
|
838
|
+
end
|
839
|
+
|
840
|
+
RuboCop::Cop::RSpec::InstanceVariable::MSG = T.let(T.unsafe(nil), String)
|
841
|
+
|
842
|
+
class RuboCop::Cop::RSpec::ItBehavesLike < ::RuboCop::Cop::RSpec::Base
|
843
|
+
include ::RuboCop::Cop::ConfigurableEnforcedStyle
|
844
|
+
extend ::RuboCop::Cop::AutoCorrector
|
845
|
+
|
846
|
+
def example_inclusion_offense(param0 = T.unsafe(nil), param1); end
|
847
|
+
def on_send(node); end
|
848
|
+
|
849
|
+
private
|
850
|
+
|
851
|
+
def message(_node); end
|
852
|
+
end
|
853
|
+
|
854
|
+
RuboCop::Cop::RSpec::ItBehavesLike::MSG = T.let(T.unsafe(nil), String)
|
855
|
+
RuboCop::Cop::RSpec::ItBehavesLike::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
856
|
+
|
857
|
+
class RuboCop::Cop::RSpec::IteratedExpectation < ::RuboCop::Cop::RSpec::Base
|
858
|
+
def each?(param0 = T.unsafe(nil)); end
|
859
|
+
def expectation?(param0 = T.unsafe(nil), param1); end
|
860
|
+
def on_block(node); end
|
861
|
+
|
862
|
+
private
|
863
|
+
|
864
|
+
def only_expectations?(body, arg); end
|
865
|
+
def single_expectation?(body, arg); end
|
866
|
+
end
|
867
|
+
|
868
|
+
RuboCop::Cop::RSpec::IteratedExpectation::MSG = T.let(T.unsafe(nil), String)
|
869
|
+
|
870
|
+
class RuboCop::Cop::RSpec::LeadingSubject < ::RuboCop::Cop::RSpec::Base
|
871
|
+
extend ::RuboCop::Cop::AutoCorrector
|
872
|
+
|
873
|
+
def check_previous_nodes(node); end
|
874
|
+
def on_block(node); end
|
875
|
+
|
876
|
+
private
|
877
|
+
|
878
|
+
def autocorrect(corrector, node, sibling); end
|
879
|
+
def in_spec_block?(node); end
|
880
|
+
def offending?(node); end
|
881
|
+
def offending_node(node); end
|
882
|
+
def parent(node); end
|
883
|
+
end
|
884
|
+
|
885
|
+
RuboCop::Cop::RSpec::LeadingSubject::MSG = T.let(T.unsafe(nil), String)
|
886
|
+
|
887
|
+
class RuboCop::Cop::RSpec::LeakyConstantDeclaration < ::RuboCop::Cop::RSpec::Base
|
888
|
+
def on_casgn(node); end
|
889
|
+
def on_class(node); end
|
890
|
+
def on_module(node); end
|
891
|
+
|
892
|
+
private
|
893
|
+
|
894
|
+
def inside_describe_block?(node); end
|
895
|
+
end
|
896
|
+
|
897
|
+
RuboCop::Cop::RSpec::LeakyConstantDeclaration::MSG_CLASS = T.let(T.unsafe(nil), String)
|
898
|
+
RuboCop::Cop::RSpec::LeakyConstantDeclaration::MSG_CONST = T.let(T.unsafe(nil), String)
|
899
|
+
RuboCop::Cop::RSpec::LeakyConstantDeclaration::MSG_MODULE = T.let(T.unsafe(nil), String)
|
900
|
+
|
901
|
+
class RuboCop::Cop::RSpec::LetBeforeExamples < ::RuboCop::Cop::RSpec::Base
|
902
|
+
extend ::RuboCop::Cop::AutoCorrector
|
903
|
+
|
904
|
+
def example_or_group?(param0 = T.unsafe(nil)); end
|
905
|
+
def on_block(node); end
|
906
|
+
|
907
|
+
private
|
908
|
+
|
909
|
+
def autocorrect(corrector, node, first_example); end
|
910
|
+
def check_let_declarations(node); end
|
911
|
+
def find_first_example(node); end
|
912
|
+
def multiline_block?(block); end
|
913
|
+
end
|
914
|
+
|
915
|
+
RuboCop::Cop::RSpec::LetBeforeExamples::MSG = T.let(T.unsafe(nil), String)
|
916
|
+
|
917
|
+
class RuboCop::Cop::RSpec::LetSetup < ::RuboCop::Cop::RSpec::Base
|
918
|
+
def example_or_shared_group_or_including?(param0 = T.unsafe(nil)); end
|
919
|
+
def let_bang(param0 = T.unsafe(nil)); end
|
920
|
+
def method_called?(param0, param1); end
|
921
|
+
def on_block(node); end
|
922
|
+
|
923
|
+
private
|
924
|
+
|
925
|
+
def child_let_bang(node, &block); end
|
926
|
+
def unused_let_bang(node); end
|
927
|
+
end
|
928
|
+
|
929
|
+
RuboCop::Cop::RSpec::LetSetup::MSG = T.let(T.unsafe(nil), String)
|
930
|
+
|
931
|
+
class RuboCop::Cop::RSpec::MessageChain < ::RuboCop::Cop::RSpec::Base
|
932
|
+
def on_send(node); end
|
933
|
+
end
|
934
|
+
|
935
|
+
RuboCop::Cop::RSpec::MessageChain::MSG = T.let(T.unsafe(nil), String)
|
936
|
+
RuboCop::Cop::RSpec::MessageChain::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
937
|
+
|
938
|
+
class RuboCop::Cop::RSpec::MessageExpectation < ::RuboCop::Cop::RSpec::Base
|
939
|
+
include ::RuboCop::Cop::ConfigurableEnforcedStyle
|
940
|
+
|
941
|
+
def message_expectation(param0 = T.unsafe(nil)); end
|
942
|
+
def on_send(node); end
|
943
|
+
def receive_message?(param0); end
|
944
|
+
|
945
|
+
private
|
946
|
+
|
947
|
+
def preferred_style?(expectation); end
|
948
|
+
end
|
949
|
+
|
950
|
+
RuboCop::Cop::RSpec::MessageExpectation::MSG = T.let(T.unsafe(nil), String)
|
951
|
+
RuboCop::Cop::RSpec::MessageExpectation::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
952
|
+
RuboCop::Cop::RSpec::MessageExpectation::SUPPORTED_STYLES = T.let(T.unsafe(nil), Array)
|
953
|
+
|
954
|
+
class RuboCop::Cop::RSpec::MessageSpies < ::RuboCop::Cop::RSpec::Base
|
955
|
+
include ::RuboCop::Cop::ConfigurableEnforcedStyle
|
956
|
+
|
957
|
+
def message_expectation(param0 = T.unsafe(nil)); end
|
958
|
+
def on_send(node); end
|
959
|
+
def receive_message(param0); end
|
960
|
+
|
961
|
+
private
|
962
|
+
|
963
|
+
def error_message(receiver); end
|
964
|
+
def preferred_style?(expectation); end
|
965
|
+
def receive_message_matcher(node); end
|
966
|
+
end
|
967
|
+
|
968
|
+
RuboCop::Cop::RSpec::MessageSpies::MSG_HAVE_RECEIVED = T.let(T.unsafe(nil), String)
|
969
|
+
RuboCop::Cop::RSpec::MessageSpies::MSG_RECEIVE = T.let(T.unsafe(nil), String)
|
970
|
+
RuboCop::Cop::RSpec::MessageSpies::SUPPORTED_STYLES = T.let(T.unsafe(nil), Array)
|
971
|
+
|
972
|
+
class RuboCop::Cop::RSpec::MissingExampleGroupArgument < ::RuboCop::Cop::RSpec::Base
|
973
|
+
def on_block(node); end
|
974
|
+
end
|
975
|
+
|
976
|
+
RuboCop::Cop::RSpec::MissingExampleGroupArgument::MSG = T.let(T.unsafe(nil), String)
|
977
|
+
|
978
|
+
class RuboCop::Cop::RSpec::MultipleDescribes < ::RuboCop::Cop::RSpec::Base
|
979
|
+
include ::RuboCop::Cop::RSpec::TopLevelGroup
|
980
|
+
|
981
|
+
def on_top_level_group(node); end
|
982
|
+
end
|
983
|
+
|
984
|
+
RuboCop::Cop::RSpec::MultipleDescribes::MSG = T.let(T.unsafe(nil), String)
|
985
|
+
|
986
|
+
class RuboCop::Cop::RSpec::MultipleExpectations < ::RuboCop::Cop::RSpec::Base
|
987
|
+
include ::RuboCop::Cop::ConfigurableMax
|
988
|
+
|
989
|
+
def aggregate_failures?(param0 = T.unsafe(nil), param1); end
|
990
|
+
def aggregate_failures_block?(param0 = T.unsafe(nil)); end
|
991
|
+
def expect?(param0 = T.unsafe(nil)); end
|
992
|
+
def on_block(node); end
|
993
|
+
|
994
|
+
private
|
995
|
+
|
996
|
+
def example_with_aggregate_failures?(example_node); end
|
997
|
+
def find_aggregate_failures(example_node); end
|
998
|
+
def find_expectation(node, &block); end
|
999
|
+
def flag_example(node, expectation_count:); end
|
1000
|
+
def max_expectations; end
|
1001
|
+
end
|
1002
|
+
|
1003
|
+
RuboCop::Cop::RSpec::MultipleExpectations::ANYTHING = T.let(T.unsafe(nil), Proc)
|
1004
|
+
RuboCop::Cop::RSpec::MultipleExpectations::MSG = T.let(T.unsafe(nil), String)
|
1005
|
+
RuboCop::Cop::RSpec::MultipleExpectations::TRUE = T.let(T.unsafe(nil), Proc)
|
1006
|
+
|
1007
|
+
class RuboCop::Cop::RSpec::MultipleMemoizedHelpers < ::RuboCop::Cop::RSpec::Base
|
1008
|
+
include ::RuboCop::Cop::ConfigurableMax
|
1009
|
+
include ::RuboCop::Cop::RSpec::Variable
|
1010
|
+
|
1011
|
+
def on_block(node); end
|
1012
|
+
def on_new_investigation; end
|
1013
|
+
|
1014
|
+
private
|
1015
|
+
|
1016
|
+
def all_helpers(node); end
|
1017
|
+
def allow_subject?; end
|
1018
|
+
def example_group_memoized_helpers; end
|
1019
|
+
def helpers(node); end
|
1020
|
+
def max; end
|
1021
|
+
def variable_nodes(node); end
|
1022
|
+
end
|
1023
|
+
|
1024
|
+
RuboCop::Cop::RSpec::MultipleMemoizedHelpers::MSG = T.let(T.unsafe(nil), String)
|
1025
|
+
|
1026
|
+
class RuboCop::Cop::RSpec::MultipleSubjects < ::RuboCop::Cop::RSpec::Base
|
1027
|
+
include ::RuboCop::Cop::RangeHelp
|
1028
|
+
extend ::RuboCop::Cop::AutoCorrector
|
1029
|
+
|
1030
|
+
def on_block(node); end
|
1031
|
+
|
1032
|
+
private
|
1033
|
+
|
1034
|
+
def autocorrect(corrector, subject); end
|
1035
|
+
def named_subject?(node); end
|
1036
|
+
def remove_autocorrect(corrector, node); end
|
1037
|
+
def rename_autocorrect(corrector, node); end
|
1038
|
+
end
|
1039
|
+
|
1040
|
+
RuboCop::Cop::RSpec::MultipleSubjects::MSG = T.let(T.unsafe(nil), String)
|
1041
|
+
|
1042
|
+
class RuboCop::Cop::RSpec::NamedSubject < ::RuboCop::Cop::RSpec::Base
|
1043
|
+
def example_or_hook_block?(param0 = T.unsafe(nil)); end
|
1044
|
+
def ignored_shared_example?(node); end
|
1045
|
+
def on_block(node); end
|
1046
|
+
def shared_example?(param0 = T.unsafe(nil)); end
|
1047
|
+
def subject_usage(param0); end
|
1048
|
+
end
|
1049
|
+
|
1050
|
+
RuboCop::Cop::RSpec::NamedSubject::MSG = T.let(T.unsafe(nil), String)
|
1051
|
+
|
1052
|
+
class RuboCop::Cop::RSpec::NestedGroups < ::RuboCop::Cop::RSpec::Base
|
1053
|
+
include ::RuboCop::Cop::ConfigurableMax
|
1054
|
+
include ::RuboCop::Cop::RSpec::TopLevelGroup
|
1055
|
+
|
1056
|
+
def on_top_level_group(node); end
|
1057
|
+
|
1058
|
+
private
|
1059
|
+
|
1060
|
+
def find_nested_example_groups(node, nesting: T.unsafe(nil), &block); end
|
1061
|
+
def max_nesting; end
|
1062
|
+
def max_nesting_config; end
|
1063
|
+
def message(nesting); end
|
1064
|
+
end
|
1065
|
+
|
1066
|
+
RuboCop::Cop::RSpec::NestedGroups::DEPRECATED_MAX_KEY = T.let(T.unsafe(nil), String)
|
1067
|
+
RuboCop::Cop::RSpec::NestedGroups::DEPRECATION_WARNING = T.let(T.unsafe(nil), String)
|
1068
|
+
RuboCop::Cop::RSpec::NestedGroups::MSG = T.let(T.unsafe(nil), String)
|
1069
|
+
|
1070
|
+
class RuboCop::Cop::RSpec::NotToNot < ::RuboCop::Cop::RSpec::Base
|
1071
|
+
include ::RuboCop::Cop::ConfigurableEnforcedStyle
|
1072
|
+
extend ::RuboCop::Cop::AutoCorrector
|
1073
|
+
|
1074
|
+
def not_to_not_offense(param0 = T.unsafe(nil), param1); end
|
1075
|
+
def on_send(node); end
|
1076
|
+
|
1077
|
+
private
|
1078
|
+
|
1079
|
+
def message(_node); end
|
1080
|
+
end
|
1081
|
+
|
1082
|
+
RuboCop::Cop::RSpec::NotToNot::MSG = T.let(T.unsafe(nil), String)
|
1083
|
+
RuboCop::Cop::RSpec::NotToNot::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
1084
|
+
|
1085
|
+
class RuboCop::Cop::RSpec::OverwritingSetup < ::RuboCop::Cop::RSpec::Base
|
1086
|
+
def first_argument_name(param0 = T.unsafe(nil)); end
|
1087
|
+
def on_block(node); end
|
1088
|
+
def setup?(param0 = T.unsafe(nil)); end
|
1089
|
+
|
1090
|
+
private
|
1091
|
+
|
1092
|
+
def common_setup?(node); end
|
1093
|
+
def find_duplicates(node); end
|
1094
|
+
end
|
1095
|
+
|
1096
|
+
RuboCop::Cop::RSpec::OverwritingSetup::MSG = T.let(T.unsafe(nil), String)
|
1097
|
+
|
1098
|
+
class RuboCop::Cop::RSpec::Pending < ::RuboCop::Cop::RSpec::Base
|
1099
|
+
def on_send(node); end
|
1100
|
+
def pending_block?(param0 = T.unsafe(nil)); end
|
1101
|
+
def skip_or_pending?(param0 = T.unsafe(nil)); end
|
1102
|
+
def skippable?(param0 = T.unsafe(nil)); end
|
1103
|
+
def skipped_in_metadata?(param0 = T.unsafe(nil)); end
|
1104
|
+
|
1105
|
+
private
|
1106
|
+
|
1107
|
+
def skipped?(node); end
|
1108
|
+
end
|
1109
|
+
|
1110
|
+
RuboCop::Cop::RSpec::Pending::MSG = T.let(T.unsafe(nil), String)
|
1111
|
+
|
1112
|
+
class RuboCop::Cop::RSpec::PredicateMatcher < ::RuboCop::Cop::RSpec::Base
|
1113
|
+
include ::RuboCop::Cop::ConfigurableEnforcedStyle
|
1114
|
+
include ::RuboCop::Cop::RSpec::InflectedHelper
|
1115
|
+
include ::RuboCop::Cop::RSpec::ExplicitHelper
|
1116
|
+
extend ::RuboCop::Cop::AutoCorrector
|
1117
|
+
|
1118
|
+
def on_block(node); end
|
1119
|
+
def on_send(node); end
|
1120
|
+
|
1121
|
+
private
|
1122
|
+
|
1123
|
+
def args_loc(send_node); end
|
1124
|
+
def block_loc(send_node); end
|
1125
|
+
end
|
1126
|
+
|
1127
|
+
module RuboCop::Cop::RSpec::Rails; end
|
1128
|
+
|
1129
|
+
class RuboCop::Cop::RSpec::Rails::AvoidSetupHook < ::RuboCop::Cop::RSpec::Base
|
1130
|
+
extend ::RuboCop::Cop::AutoCorrector
|
1131
|
+
|
1132
|
+
def on_block(node); end
|
1133
|
+
def setup_call(param0 = T.unsafe(nil)); end
|
1134
|
+
end
|
1135
|
+
|
1136
|
+
RuboCop::Cop::RSpec::Rails::AvoidSetupHook::MSG = T.let(T.unsafe(nil), String)
|
1137
|
+
|
1138
|
+
class RuboCop::Cop::RSpec::ReceiveCounts < ::RuboCop::Cop::RSpec::Base
|
1139
|
+
extend ::RuboCop::Cop::AutoCorrector
|
1140
|
+
|
1141
|
+
def on_send(node); end
|
1142
|
+
def receive_counts(param0 = T.unsafe(nil)); end
|
1143
|
+
def stub?(param0); end
|
1144
|
+
|
1145
|
+
private
|
1146
|
+
|
1147
|
+
def autocorrect(corrector, node, range); end
|
1148
|
+
def matcher_for(method, count); end
|
1149
|
+
def message_for(node, source); end
|
1150
|
+
def range(node, offending_node); end
|
1151
|
+
end
|
1152
|
+
|
1153
|
+
RuboCop::Cop::RSpec::ReceiveCounts::MSG = T.let(T.unsafe(nil), String)
|
1154
|
+
RuboCop::Cop::RSpec::ReceiveCounts::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
1155
|
+
|
1156
|
+
class RuboCop::Cop::RSpec::ReceiveNever < ::RuboCop::Cop::RSpec::Base
|
1157
|
+
extend ::RuboCop::Cop::AutoCorrector
|
1158
|
+
|
1159
|
+
def method_on_stub?(param0); end
|
1160
|
+
def on_send(node); end
|
1161
|
+
|
1162
|
+
private
|
1163
|
+
|
1164
|
+
def autocorrect(corrector, node); end
|
1165
|
+
end
|
1166
|
+
|
1167
|
+
RuboCop::Cop::RSpec::ReceiveNever::MSG = T.let(T.unsafe(nil), String)
|
1168
|
+
RuboCop::Cop::RSpec::ReceiveNever::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
1169
|
+
|
1170
|
+
class RuboCop::Cop::RSpec::RepeatedDescription < ::RuboCop::Cop::RSpec::Base
|
1171
|
+
def on_block(node); end
|
1172
|
+
|
1173
|
+
private
|
1174
|
+
|
1175
|
+
def example_signature(example); end
|
1176
|
+
def repeated_descriptions(node); end
|
1177
|
+
end
|
1178
|
+
|
1179
|
+
RuboCop::Cop::RSpec::RepeatedDescription::MSG = T.let(T.unsafe(nil), String)
|
1180
|
+
|
1181
|
+
class RuboCop::Cop::RSpec::RepeatedExample < ::RuboCop::Cop::RSpec::Base
|
1182
|
+
def on_block(node); end
|
1183
|
+
|
1184
|
+
private
|
1185
|
+
|
1186
|
+
def example_signature(example); end
|
1187
|
+
def repeated_examples(node); end
|
1188
|
+
end
|
1189
|
+
|
1190
|
+
RuboCop::Cop::RSpec::RepeatedExample::MSG = T.let(T.unsafe(nil), String)
|
1191
|
+
|
1192
|
+
class RuboCop::Cop::RSpec::RepeatedExampleGroupBody < ::RuboCop::Cop::RSpec::Base
|
1193
|
+
def body(param0 = T.unsafe(nil)); end
|
1194
|
+
def const_arg(param0 = T.unsafe(nil)); end
|
1195
|
+
def metadata(param0 = T.unsafe(nil)); end
|
1196
|
+
def on_begin(node); end
|
1197
|
+
def several_example_groups?(param0 = T.unsafe(nil)); end
|
1198
|
+
def skip_or_pending?(param0 = T.unsafe(nil)); end
|
1199
|
+
|
1200
|
+
private
|
1201
|
+
|
1202
|
+
def add_repeated_lines(groups); end
|
1203
|
+
def message(group, repeats); end
|
1204
|
+
def repeated_group_bodies(node); end
|
1205
|
+
def signature_keys(group); end
|
1206
|
+
end
|
1207
|
+
|
1208
|
+
RuboCop::Cop::RSpec::RepeatedExampleGroupBody::MSG = T.let(T.unsafe(nil), String)
|
1209
|
+
|
1210
|
+
class RuboCop::Cop::RSpec::RepeatedExampleGroupDescription < ::RuboCop::Cop::RSpec::Base
|
1211
|
+
def doc_string_and_metadata(param0 = T.unsafe(nil)); end
|
1212
|
+
def empty_description?(param0 = T.unsafe(nil)); end
|
1213
|
+
def on_begin(node); end
|
1214
|
+
def several_example_groups?(param0 = T.unsafe(nil)); end
|
1215
|
+
def skip_or_pending?(param0 = T.unsafe(nil)); end
|
1216
|
+
|
1217
|
+
private
|
1218
|
+
|
1219
|
+
def add_repeated_lines(groups); end
|
1220
|
+
def message(group, repeats); end
|
1221
|
+
def repeated_group_descriptions(node); end
|
1222
|
+
end
|
1223
|
+
|
1224
|
+
RuboCop::Cop::RSpec::RepeatedExampleGroupDescription::MSG = T.let(T.unsafe(nil), String)
|
1225
|
+
|
1226
|
+
class RuboCop::Cop::RSpec::RepeatedIncludeExample < ::RuboCop::Cop::RSpec::Base
|
1227
|
+
def include_examples?(param0 = T.unsafe(nil)); end
|
1228
|
+
def on_begin(node); end
|
1229
|
+
def several_include_examples?(param0 = T.unsafe(nil)); end
|
1230
|
+
def shared_examples_name(param0 = T.unsafe(nil)); end
|
1231
|
+
|
1232
|
+
private
|
1233
|
+
|
1234
|
+
def add_repeated_lines(items); end
|
1235
|
+
def literal_include_examples?(node); end
|
1236
|
+
def message(item, repeats); end
|
1237
|
+
def repeated_include_examples(node); end
|
1238
|
+
def signature_keys(item); end
|
1239
|
+
end
|
1240
|
+
|
1241
|
+
RuboCop::Cop::RSpec::RepeatedIncludeExample::MSG = T.let(T.unsafe(nil), String)
|
1242
|
+
|
1243
|
+
class RuboCop::Cop::RSpec::ReturnFromStub < ::RuboCop::Cop::RSpec::Base
|
1244
|
+
include ::RuboCop::Cop::ConfigurableEnforcedStyle
|
1245
|
+
extend ::RuboCop::Cop::AutoCorrector
|
1246
|
+
|
1247
|
+
def and_return_value(param0); end
|
1248
|
+
def contains_stub?(param0); end
|
1249
|
+
def on_block(node); end
|
1250
|
+
def on_send(node); end
|
1251
|
+
def stub_with_block?(param0 = T.unsafe(nil)); end
|
1252
|
+
|
1253
|
+
private
|
1254
|
+
|
1255
|
+
def check_and_return_call(node); end
|
1256
|
+
def check_block_body(block); end
|
1257
|
+
def dynamic?(node); end
|
1258
|
+
end
|
1259
|
+
|
1260
|
+
class RuboCop::Cop::RSpec::ReturnFromStub::AndReturnCallCorrector
|
1261
|
+
def initialize(node); end
|
1262
|
+
|
1263
|
+
def call(corrector); end
|
1264
|
+
|
1265
|
+
private
|
1266
|
+
|
1267
|
+
def arg; end
|
1268
|
+
def hash_without_braces?; end
|
1269
|
+
def heredoc?; end
|
1270
|
+
def node; end
|
1271
|
+
def range; end
|
1272
|
+
def receiver; end
|
1273
|
+
def replacement; end
|
1274
|
+
end
|
1275
|
+
|
1276
|
+
class RuboCop::Cop::RSpec::ReturnFromStub::BlockBodyCorrector
|
1277
|
+
def initialize(block); end
|
1278
|
+
|
1279
|
+
def call(corrector); end
|
1280
|
+
|
1281
|
+
private
|
1282
|
+
|
1283
|
+
def block; end
|
1284
|
+
def body; end
|
1285
|
+
def heredoc?; end
|
1286
|
+
def node; end
|
1287
|
+
end
|
1288
|
+
|
1289
|
+
RuboCop::Cop::RSpec::ReturnFromStub::BlockBodyCorrector::NULL_BLOCK_BODY = T.let(T.unsafe(nil), T.untyped)
|
1290
|
+
RuboCop::Cop::RSpec::ReturnFromStub::MSG_AND_RETURN = T.let(T.unsafe(nil), String)
|
1291
|
+
RuboCop::Cop::RSpec::ReturnFromStub::MSG_BLOCK = T.let(T.unsafe(nil), String)
|
1292
|
+
RuboCop::Cop::RSpec::ReturnFromStub::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
1293
|
+
|
1294
|
+
class RuboCop::Cop::RSpec::ScatteredLet < ::RuboCop::Cop::RSpec::Base
|
1295
|
+
extend ::RuboCop::Cop::AutoCorrector
|
1296
|
+
|
1297
|
+
def on_block(node); end
|
1298
|
+
|
1299
|
+
private
|
1300
|
+
|
1301
|
+
def check_let_declarations(body); end
|
1302
|
+
def find_first_let(node); end
|
1303
|
+
end
|
1304
|
+
|
1305
|
+
RuboCop::Cop::RSpec::ScatteredLet::MSG = T.let(T.unsafe(nil), String)
|
1306
|
+
|
1307
|
+
class RuboCop::Cop::RSpec::ScatteredSetup < ::RuboCop::Cop::RSpec::Base
|
1308
|
+
def lines_msg(numbers); end
|
1309
|
+
def on_block(node); end
|
1310
|
+
def repeated_hooks(node); end
|
1311
|
+
end
|
1312
|
+
|
1313
|
+
RuboCop::Cop::RSpec::ScatteredSetup::MSG = T.let(T.unsafe(nil), String)
|
1314
|
+
|
1315
|
+
class RuboCop::Cop::RSpec::SharedContext < ::RuboCop::Cop::RSpec::Base
|
1316
|
+
extend ::RuboCop::Cop::AutoCorrector
|
1317
|
+
|
1318
|
+
def context?(param0); end
|
1319
|
+
def examples?(param0); end
|
1320
|
+
def on_block(node); end
|
1321
|
+
def shared_context(param0 = T.unsafe(nil)); end
|
1322
|
+
def shared_example(param0 = T.unsafe(nil)); end
|
1323
|
+
|
1324
|
+
private
|
1325
|
+
|
1326
|
+
def context_with_only_examples(node); end
|
1327
|
+
def examples_with_only_context(node); end
|
1328
|
+
end
|
1329
|
+
|
1330
|
+
RuboCop::Cop::RSpec::SharedContext::MSG_CONTEXT = T.let(T.unsafe(nil), String)
|
1331
|
+
RuboCop::Cop::RSpec::SharedContext::MSG_EXAMPLES = T.let(T.unsafe(nil), String)
|
1332
|
+
|
1333
|
+
class RuboCop::Cop::RSpec::SharedExamples < ::RuboCop::Cop::RSpec::Base
|
1334
|
+
extend ::RuboCop::Cop::AutoCorrector
|
1335
|
+
|
1336
|
+
def on_send(node); end
|
1337
|
+
def shared_examples(param0 = T.unsafe(nil)); end
|
1338
|
+
end
|
1339
|
+
|
1340
|
+
class RuboCop::Cop::RSpec::SharedExamples::Checker
|
1341
|
+
def initialize(node); end
|
1342
|
+
|
1343
|
+
def message; end
|
1344
|
+
def node; end
|
1345
|
+
def preferred_style; end
|
1346
|
+
|
1347
|
+
private
|
1348
|
+
|
1349
|
+
def symbol; end
|
1350
|
+
def wrap_with_single_quotes(string); end
|
1351
|
+
end
|
1352
|
+
|
1353
|
+
RuboCop::Cop::RSpec::SharedExamples::Checker::MSG = T.let(T.unsafe(nil), String)
|
1354
|
+
|
1355
|
+
class RuboCop::Cop::RSpec::SingleArgumentMessageChain < ::RuboCop::Cop::RSpec::Base
|
1356
|
+
extend ::RuboCop::Cop::AutoCorrector
|
1357
|
+
|
1358
|
+
def message_chain(param0 = T.unsafe(nil)); end
|
1359
|
+
def on_send(node); end
|
1360
|
+
def single_key_hash?(param0 = T.unsafe(nil)); end
|
1361
|
+
|
1362
|
+
private
|
1363
|
+
|
1364
|
+
def autocorrect(corrector, node, method, arg); end
|
1365
|
+
def autocorrect_array_arg(corrector, arg); end
|
1366
|
+
def autocorrect_hash_arg(corrector, arg); end
|
1367
|
+
def key_to_arg(node); end
|
1368
|
+
def replacement(method); end
|
1369
|
+
def single_element_array?(node); end
|
1370
|
+
def valid_usage?(node); end
|
1371
|
+
end
|
1372
|
+
|
1373
|
+
RuboCop::Cop::RSpec::SingleArgumentMessageChain::MSG = T.let(T.unsafe(nil), String)
|
1374
|
+
RuboCop::Cop::RSpec::SingleArgumentMessageChain::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
1375
|
+
|
1376
|
+
class RuboCop::Cop::RSpec::StubbedMock < ::RuboCop::Cop::RSpec::Base
|
1377
|
+
def configured_response?(param0 = T.unsafe(nil)); end
|
1378
|
+
def expectation(param0 = T.unsafe(nil)); end
|
1379
|
+
def matcher_with_blockpass(param0 = T.unsafe(nil)); end
|
1380
|
+
def matcher_with_configured_response(param0 = T.unsafe(nil)); end
|
1381
|
+
def matcher_with_hash(param0 = T.unsafe(nil)); end
|
1382
|
+
def matcher_with_return_block(param0 = T.unsafe(nil)); end
|
1383
|
+
def message_expectation?(param0 = T.unsafe(nil)); end
|
1384
|
+
def on_send(node); end
|
1385
|
+
|
1386
|
+
private
|
1387
|
+
|
1388
|
+
def msg(method_name); end
|
1389
|
+
def on_expectation(expectation, method_name, matcher); end
|
1390
|
+
def replacement(method_name); end
|
1391
|
+
end
|
1392
|
+
|
1393
|
+
RuboCop::Cop::RSpec::StubbedMock::MSG = T.let(T.unsafe(nil), String)
|
1394
|
+
|
1395
|
+
class RuboCop::Cop::RSpec::SubjectDeclaration < ::RuboCop::Cop::RSpec::Base
|
1396
|
+
def offensive_subject_declaration?(param0 = T.unsafe(nil)); end
|
1397
|
+
def on_send(node); end
|
1398
|
+
|
1399
|
+
private
|
1400
|
+
|
1401
|
+
def message_for(offense); end
|
1402
|
+
end
|
1403
|
+
|
1404
|
+
RuboCop::Cop::RSpec::SubjectDeclaration::MSG_LET = T.let(T.unsafe(nil), String)
|
1405
|
+
RuboCop::Cop::RSpec::SubjectDeclaration::MSG_REDUNDANT = T.let(T.unsafe(nil), String)
|
1406
|
+
|
1407
|
+
class RuboCop::Cop::RSpec::SubjectStub < ::RuboCop::Cop::RSpec::Base
|
1408
|
+
include ::RuboCop::Cop::RSpec::TopLevelGroup
|
1409
|
+
|
1410
|
+
def message_expectation?(param0 = T.unsafe(nil), param1); end
|
1411
|
+
def message_expectation_matcher?(param0); end
|
1412
|
+
def on_top_level_group(node); end
|
1413
|
+
def subject(param0 = T.unsafe(nil)); end
|
1414
|
+
|
1415
|
+
private
|
1416
|
+
|
1417
|
+
def find_all_explicit_subjects(node); end
|
1418
|
+
def find_subject_expectations(node, subject_names = T.unsafe(nil), &block); end
|
1419
|
+
end
|
1420
|
+
|
1421
|
+
RuboCop::Cop::RSpec::SubjectStub::MSG = T.let(T.unsafe(nil), String)
|
1422
|
+
|
1423
|
+
module RuboCop::Cop::RSpec::TopLevelGroup
|
1424
|
+
extend ::RuboCop::AST::NodePattern::Macros
|
1425
|
+
|
1426
|
+
def on_new_investigation; end
|
1427
|
+
def top_level_groups; end
|
1428
|
+
|
1429
|
+
private
|
1430
|
+
|
1431
|
+
def on_top_level_example_group(_node); end
|
1432
|
+
def on_top_level_group(_node); end
|
1433
|
+
def root_node; end
|
1434
|
+
def top_level_group?(node); end
|
1435
|
+
def top_level_nodes(node); end
|
1436
|
+
end
|
1437
|
+
|
1438
|
+
class RuboCop::Cop::RSpec::UnspecifiedException < ::RuboCop::Cop::RSpec::Base
|
1439
|
+
def block_with_args?(node); end
|
1440
|
+
def empty_exception_matcher?(node); end
|
1441
|
+
def empty_raise_error_or_exception(param0 = T.unsafe(nil)); end
|
1442
|
+
def on_send(node); end
|
1443
|
+
end
|
1444
|
+
|
1445
|
+
RuboCop::Cop::RSpec::UnspecifiedException::MSG = T.let(T.unsafe(nil), String)
|
1446
|
+
RuboCop::Cop::RSpec::UnspecifiedException::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
1447
|
+
|
1448
|
+
module RuboCop::Cop::RSpec::Variable
|
1449
|
+
extend ::RuboCop::AST::NodePattern::Macros
|
1450
|
+
|
1451
|
+
def variable_definition?(param0 = T.unsafe(nil)); end
|
1452
|
+
end
|
1453
|
+
|
1454
|
+
RuboCop::Cop::RSpec::Variable::Helpers = RuboCop::RSpec::Language::Helpers
|
1455
|
+
RuboCop::Cop::RSpec::Variable::Subjects = RuboCop::RSpec::Language::Subjects
|
1456
|
+
|
1457
|
+
class RuboCop::Cop::RSpec::VariableDefinition < ::RuboCop::Cop::RSpec::Base
|
1458
|
+
include ::RuboCop::Cop::ConfigurableEnforcedStyle
|
1459
|
+
include ::RuboCop::Cop::RSpec::Variable
|
1460
|
+
|
1461
|
+
def on_send(node); end
|
1462
|
+
|
1463
|
+
private
|
1464
|
+
|
1465
|
+
def string?(node); end
|
1466
|
+
def style_violation?(variable); end
|
1467
|
+
def symbol?(node); end
|
1468
|
+
end
|
1469
|
+
|
1470
|
+
RuboCop::Cop::RSpec::VariableDefinition::MSG = T.let(T.unsafe(nil), String)
|
1471
|
+
|
1472
|
+
class RuboCop::Cop::RSpec::VariableName < ::RuboCop::Cop::RSpec::Base
|
1473
|
+
include ::RuboCop::Cop::ConfigurableEnforcedStyle
|
1474
|
+
include ::RuboCop::Cop::ConfigurableFormatting
|
1475
|
+
include ::RuboCop::Cop::ConfigurableNaming
|
1476
|
+
include ::RuboCop::Cop::IgnoredPattern
|
1477
|
+
include ::RuboCop::Cop::RSpec::Variable
|
1478
|
+
|
1479
|
+
def on_send(node); end
|
1480
|
+
|
1481
|
+
private
|
1482
|
+
|
1483
|
+
def message(style); end
|
1484
|
+
end
|
1485
|
+
|
1486
|
+
RuboCop::Cop::RSpec::VariableName::MSG = T.let(T.unsafe(nil), String)
|
1487
|
+
|
1488
|
+
class RuboCop::Cop::RSpec::VerifiedDoubles < ::RuboCop::Cop::RSpec::Base
|
1489
|
+
def on_send(node); end
|
1490
|
+
def unverified_double(param0 = T.unsafe(nil)); end
|
1491
|
+
|
1492
|
+
private
|
1493
|
+
|
1494
|
+
def symbol?(name); end
|
1495
|
+
end
|
1496
|
+
|
1497
|
+
RuboCop::Cop::RSpec::VerifiedDoubles::MSG = T.let(T.unsafe(nil), String)
|
1498
|
+
RuboCop::Cop::RSpec::VerifiedDoubles::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
1499
|
+
|
1500
|
+
class RuboCop::Cop::RSpec::VoidExpect < ::RuboCop::Cop::RSpec::Base
|
1501
|
+
def expect?(param0 = T.unsafe(nil)); end
|
1502
|
+
def expect_block?(param0 = T.unsafe(nil)); end
|
1503
|
+
def on_block(node); end
|
1504
|
+
def on_send(node); end
|
1505
|
+
|
1506
|
+
private
|
1507
|
+
|
1508
|
+
def check_expect(node); end
|
1509
|
+
def void?(expect); end
|
1510
|
+
end
|
1511
|
+
|
1512
|
+
RuboCop::Cop::RSpec::VoidExpect::MSG = T.let(T.unsafe(nil), String)
|
1513
|
+
RuboCop::Cop::RSpec::VoidExpect::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
1514
|
+
|
1515
|
+
class RuboCop::Cop::RSpec::Yield < ::RuboCop::Cop::RSpec::Base
|
1516
|
+
include ::RuboCop::Cop::RangeHelp
|
1517
|
+
extend ::RuboCop::Cop::AutoCorrector
|
1518
|
+
|
1519
|
+
def block_arg(param0 = T.unsafe(nil)); end
|
1520
|
+
def block_call?(param0 = T.unsafe(nil), param1); end
|
1521
|
+
def method_on_stub?(param0); end
|
1522
|
+
def on_block(node); end
|
1523
|
+
|
1524
|
+
private
|
1525
|
+
|
1526
|
+
def autocorrect(corrector, node, range); end
|
1527
|
+
def block_range(node); end
|
1528
|
+
def calling_block?(node, block); end
|
1529
|
+
def convert_block_to_yield(node); end
|
1530
|
+
def generate_replacement(node); end
|
1531
|
+
end
|
1532
|
+
|
1533
|
+
RuboCop::Cop::RSpec::Yield::MSG = T.let(T.unsafe(nil), String)
|
1534
|
+
RuboCop::NodePattern = RuboCop::AST::NodePattern
|
1535
|
+
RuboCop::ProcessedSource = RuboCop::AST::ProcessedSource
|
1536
|
+
module RuboCop::RSpec; end
|
1537
|
+
|
1538
|
+
class RuboCop::RSpec::AlignLetBrace
|
1539
|
+
include ::RuboCop::RSpec::Language
|
1540
|
+
|
1541
|
+
def initialize(root, token); end
|
1542
|
+
|
1543
|
+
def indent_for(node); end
|
1544
|
+
def offending_tokens; end
|
1545
|
+
|
1546
|
+
private
|
1547
|
+
|
1548
|
+
def adjacent_let_chunks; end
|
1549
|
+
def let_group_for(let); end
|
1550
|
+
def let_token(node); end
|
1551
|
+
def root; end
|
1552
|
+
def single_line_lets; end
|
1553
|
+
def target_column_for(let); end
|
1554
|
+
def token; end
|
1555
|
+
end
|
1556
|
+
|
1557
|
+
class RuboCop::RSpec::Concept
|
1558
|
+
include ::RuboCop::RSpec::Language
|
1559
|
+
extend ::RuboCop::AST::NodePattern::Macros
|
1560
|
+
extend ::RuboCop::RSpec::Language::NodePattern
|
1561
|
+
|
1562
|
+
def initialize(node); end
|
1563
|
+
|
1564
|
+
def ==(other); end
|
1565
|
+
def eql?(other); end
|
1566
|
+
def hash; end
|
1567
|
+
def to_node; end
|
1568
|
+
|
1569
|
+
protected
|
1570
|
+
|
1571
|
+
def node; end
|
1572
|
+
end
|
1573
|
+
|
1574
|
+
module RuboCop::RSpec::Corrector; end
|
1575
|
+
|
1576
|
+
class RuboCop::RSpec::Corrector::MoveNode
|
1577
|
+
include ::RuboCop::Cop::RangeHelp
|
1578
|
+
include ::RuboCop::Cop::RSpec::FinalEndLocation
|
1579
|
+
include ::RuboCop::Cop::RSpec::CommentsHelp
|
1580
|
+
|
1581
|
+
def initialize(node, corrector, processed_source); end
|
1582
|
+
|
1583
|
+
def corrector; end
|
1584
|
+
def move_after(other); end
|
1585
|
+
def move_before(other); end
|
1586
|
+
def original; end
|
1587
|
+
def processed_source; end
|
1588
|
+
|
1589
|
+
private
|
1590
|
+
|
1591
|
+
def node_range(node); end
|
1592
|
+
def node_range_with_surrounding_space(node); end
|
1593
|
+
def source(node); end
|
1594
|
+
end
|
1595
|
+
|
1596
|
+
class RuboCop::RSpec::Example < ::RuboCop::RSpec::Concept
|
1597
|
+
def definition; end
|
1598
|
+
def doc_string; end
|
1599
|
+
def extract_doc_string(param0 = T.unsafe(nil)); end
|
1600
|
+
def extract_implementation(param0 = T.unsafe(nil)); end
|
1601
|
+
def extract_metadata(param0 = T.unsafe(nil)); end
|
1602
|
+
def implementation; end
|
1603
|
+
def metadata; end
|
1604
|
+
end
|
1605
|
+
|
1606
|
+
class RuboCop::RSpec::ExampleGroup < ::RuboCop::RSpec::Concept
|
1607
|
+
def examples; end
|
1608
|
+
def hooks; end
|
1609
|
+
def lets; end
|
1610
|
+
def scope_change?(param0 = T.unsafe(nil)); end
|
1611
|
+
def subjects; end
|
1612
|
+
|
1613
|
+
private
|
1614
|
+
|
1615
|
+
def find_all(node, predicate); end
|
1616
|
+
def find_all_in_scope(node, predicate); end
|
1617
|
+
end
|
1618
|
+
|
1619
|
+
module RuboCop::RSpec::FactoryBot
|
1620
|
+
class << self
|
1621
|
+
def attribute_defining_methods; end
|
1622
|
+
def reserved_methods; end
|
1623
|
+
end
|
1624
|
+
end
|
1625
|
+
|
1626
|
+
RuboCop::RSpec::FactoryBot::ATTRIBUTE_DEFINING_METHODS = T.let(T.unsafe(nil), Array)
|
1627
|
+
RuboCop::RSpec::FactoryBot::DEFINITION_PROXY_METHODS = T.let(T.unsafe(nil), Array)
|
1628
|
+
RuboCop::RSpec::FactoryBot::RESERVED_METHODS = T.let(T.unsafe(nil), Array)
|
1629
|
+
RuboCop::RSpec::FactoryBot::UNPROXIED_METHODS = T.let(T.unsafe(nil), Array)
|
1630
|
+
|
1631
|
+
class RuboCop::RSpec::Hook < ::RuboCop::RSpec::Concept
|
1632
|
+
def example?; end
|
1633
|
+
def extract_metadata(param0 = T.unsafe(nil)); end
|
1634
|
+
def knowable_scope?; end
|
1635
|
+
def metadata; end
|
1636
|
+
def name; end
|
1637
|
+
def scope; end
|
1638
|
+
|
1639
|
+
private
|
1640
|
+
|
1641
|
+
def scope_argument; end
|
1642
|
+
def scope_name; end
|
1643
|
+
def transform_metadata(meta); end
|
1644
|
+
def transform_true(node); end
|
1645
|
+
def valid_scope?(node); end
|
1646
|
+
end
|
1647
|
+
|
1648
|
+
module RuboCop::RSpec::Inject
|
1649
|
+
class << self
|
1650
|
+
def defaults!; end
|
1651
|
+
end
|
1652
|
+
end
|
1653
|
+
|
1654
|
+
module RuboCop::RSpec::Language
|
1655
|
+
extend ::RuboCop::AST::NodePattern::Macros
|
1656
|
+
extend ::RuboCop::RSpec::Language::NodePattern
|
1657
|
+
|
1658
|
+
def example?(param0 = T.unsafe(nil)); end
|
1659
|
+
def example_group?(param0 = T.unsafe(nil)); end
|
1660
|
+
def example_group_with_body?(param0 = T.unsafe(nil)); end
|
1661
|
+
def hook?(param0 = T.unsafe(nil)); end
|
1662
|
+
def include?(param0 = T.unsafe(nil)); end
|
1663
|
+
def let?(param0 = T.unsafe(nil)); end
|
1664
|
+
def rspec?(param0 = T.unsafe(nil)); end
|
1665
|
+
def shared_group?(param0 = T.unsafe(nil)); end
|
1666
|
+
def spec_group?(param0 = T.unsafe(nil)); end
|
1667
|
+
def subject?(param0 = T.unsafe(nil)); end
|
1668
|
+
|
1669
|
+
class << self
|
1670
|
+
def config; end
|
1671
|
+
def config=(_arg0); end
|
1672
|
+
end
|
1673
|
+
end
|
1674
|
+
|
1675
|
+
module RuboCop::RSpec::Language::ALL
|
1676
|
+
class << self
|
1677
|
+
def all(element); end
|
1678
|
+
end
|
1679
|
+
end
|
1680
|
+
|
1681
|
+
module RuboCop::RSpec::Language::ExampleGroups
|
1682
|
+
class << self
|
1683
|
+
def all(element); end
|
1684
|
+
def focused(element); end
|
1685
|
+
def regular(element); end
|
1686
|
+
def skipped(element); end
|
1687
|
+
end
|
1688
|
+
end
|
1689
|
+
|
1690
|
+
module RuboCop::RSpec::Language::Examples
|
1691
|
+
class << self
|
1692
|
+
def all(element); end
|
1693
|
+
def focused(element); end
|
1694
|
+
def pending(element); end
|
1695
|
+
def regular(element); end
|
1696
|
+
def skipped(element); end
|
1697
|
+
end
|
1698
|
+
end
|
1699
|
+
|
1700
|
+
module RuboCop::RSpec::Language::Expectations
|
1701
|
+
class << self
|
1702
|
+
def all(element); end
|
1703
|
+
end
|
1704
|
+
end
|
1705
|
+
|
1706
|
+
module RuboCop::RSpec::Language::Helpers
|
1707
|
+
class << self
|
1708
|
+
def all(element); end
|
1709
|
+
end
|
1710
|
+
end
|
1711
|
+
|
1712
|
+
module RuboCop::RSpec::Language::HookScopes
|
1713
|
+
class << self
|
1714
|
+
def all(element); end
|
1715
|
+
end
|
1716
|
+
end
|
1717
|
+
|
1718
|
+
module RuboCop::RSpec::Language::Hooks
|
1719
|
+
class << self
|
1720
|
+
def all(element); end
|
1721
|
+
end
|
1722
|
+
end
|
1723
|
+
|
1724
|
+
module RuboCop::RSpec::Language::Includes
|
1725
|
+
class << self
|
1726
|
+
def all(element); end
|
1727
|
+
def context(element); end
|
1728
|
+
def examples(element); end
|
1729
|
+
end
|
1730
|
+
end
|
1731
|
+
|
1732
|
+
module RuboCop::RSpec::Language::NodePattern
|
1733
|
+
def block_pattern(string); end
|
1734
|
+
def send_pattern(string); end
|
1735
|
+
end
|
1736
|
+
|
1737
|
+
module RuboCop::RSpec::Language::Runners
|
1738
|
+
class << self
|
1739
|
+
def all(element); end
|
1740
|
+
end
|
1741
|
+
end
|
1742
|
+
|
1743
|
+
module RuboCop::RSpec::Language::SharedGroups
|
1744
|
+
class << self
|
1745
|
+
def all(element); end
|
1746
|
+
def context(element); end
|
1747
|
+
def examples(element); end
|
1748
|
+
end
|
1749
|
+
end
|
1750
|
+
|
1751
|
+
module RuboCop::RSpec::Language::Subjects
|
1752
|
+
class << self
|
1753
|
+
def all(element); end
|
1754
|
+
end
|
1755
|
+
end
|
1756
|
+
|
1757
|
+
module RuboCop::RSpec::Node
|
1758
|
+
def recursive_literal_or_const?; end
|
1759
|
+
end
|
1760
|
+
|
1761
|
+
module RuboCop::RSpec::Version; end
|
1762
|
+
RuboCop::RSpec::Version::STRING = T.let(T.unsafe(nil), String)
|
1763
|
+
|
1764
|
+
class RuboCop::RSpec::Wording
|
1765
|
+
def initialize(text, ignore:, replace:); end
|
1766
|
+
|
1767
|
+
def rewrite; end
|
1768
|
+
|
1769
|
+
private
|
1770
|
+
|
1771
|
+
def append_suffix(word, suffix); end
|
1772
|
+
def ignored_word?(word); end
|
1773
|
+
def ignores; end
|
1774
|
+
def remove_should_and_pluralize; end
|
1775
|
+
def replace_prefix(pattern, replacement); end
|
1776
|
+
def replacements; end
|
1777
|
+
def substitute(word); end
|
1778
|
+
def text; end
|
1779
|
+
def uppercase?(word); end
|
1780
|
+
end
|
1781
|
+
|
1782
|
+
RuboCop::RSpec::Wording::ES_SUFFIX_PATTERN = T.let(T.unsafe(nil), Regexp)
|
1783
|
+
RuboCop::RSpec::Wording::IES_SUFFIX_PATTERN = T.let(T.unsafe(nil), Regexp)
|
1784
|
+
RuboCop::RSpec::Wording::SHOULDNT_BE_PREFIX = T.let(T.unsafe(nil), Regexp)
|
1785
|
+
RuboCop::RSpec::Wording::SHOULDNT_PREFIX = T.let(T.unsafe(nil), Regexp)
|
1786
|
+
RuboCop::Token = RuboCop::AST::Token
|