mootool 0.2.7 → 0.2.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +7 -0
- data/Gemfile +1 -0
- data/Gemfile.lock +71 -67
- data/lib/mootool/command.rb +1 -0
- data/lib/mootool/controller_base.rb +1 -0
- data/lib/mootool/controllers/dwarf.rb +2 -1
- data/lib/mootool/controllers/dyld_linker.rb +1 -0
- data/lib/mootool/controllers/dyld_shared_cache.rb +1 -0
- data/lib/mootool/controllers/fat_binary.rb +1 -0
- data/lib/mootool/controllers/kernel_collection.rb +4 -3
- data/lib/mootool/controllers/sections.rb +1 -0
- data/lib/mootool/core_extensions.rb +3 -3
- data/lib/mootool/models/decompressor.rb +5 -2
- data/lib/mootool/models/device_tree.rb +5 -3
- data/lib/mootool/models/img4.rb +2 -1
- data/lib/mootool/models/ipsw.rb +5 -1
- data/lib/mootool/version.rb +2 -1
- data/lib/mootool.rb +1 -0
- data/sorbet/config +1 -1
- data/sorbet/rbi/annotations/.gitattributes +1 -0
- data/sorbet/rbi/annotations/rainbow.rbi +2 -2
- data/sorbet/rbi/gems/.gitattributes +1 -0
- data/sorbet/rbi/gems/ast@2.4.2.rbi +48 -82
- data/sorbet/rbi/gems/childprocess@4.1.0.rbi +107 -153
- data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +192 -332
- data/sorbet/rbi/gems/docile@1.4.0.rbi +376 -0
- data/sorbet/rbi/gems/erubi@1.12.0.rbi +146 -0
- data/sorbet/rbi/gems/iniparse@1.5.0.rbi +166 -276
- data/sorbet/rbi/gems/{json@2.6.2.rbi → json@2.6.3.rbi} +119 -228
- data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +14237 -0
- data/sorbet/rbi/gems/lzfse@0.0.2.rbi +55 -0
- data/sorbet/rbi/gems/lzss@0.1.rbi +8 -0
- data/sorbet/rbi/gems/netrc@0.11.0.rbi +52 -80
- data/sorbet/rbi/gems/{overcommit@0.59.1.rbi → overcommit@0.60.0.rbi} +534 -887
- data/sorbet/rbi/gems/parallel@1.23.0.rbi +273 -0
- data/sorbet/rbi/gems/parser@3.2.2.4.rbi +5451 -0
- data/sorbet/rbi/gems/{plist@3.6.0.rbi → plist@3.7.0.rbi} +125 -3
- data/sorbet/rbi/gems/prettier_print@1.2.1.rbi +951 -0
- data/sorbet/rbi/gems/prism@0.17.1.rbi +27700 -0
- data/sorbet/rbi/gems/racc@1.7.3.rbi +161 -0
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +141 -191
- data/sorbet/rbi/gems/rake@13.1.0.rbi +2887 -0
- data/sorbet/rbi/gems/{rbi@0.0.15.rbi → rbi@0.1.4.rbi} +979 -1676
- data/sorbet/rbi/gems/regexp_parser@2.8.2.rbi +3749 -0
- data/sorbet/rbi/gems/{rexml@3.2.5.rbi → rexml@3.2.6.rbi} +811 -1268
- data/sorbet/rbi/gems/{rspec-core@3.11.0.rbi → rspec-core@3.12.2.rbi} +2662 -4722
- data/sorbet/rbi/gems/{rspec-expectations@3.11.0.rbi → rspec-expectations@3.12.3.rbi} +1557 -2608
- data/sorbet/rbi/gems/rspec-mocks@3.12.6.rbi +5306 -0
- data/sorbet/rbi/gems/rspec-support@3.12.1.rbi +1609 -0
- data/sorbet/rbi/gems/rspec@3.12.0.rbi +82 -0
- data/sorbet/rbi/gems/rubocop-ast@1.30.0.rbi +7090 -0
- data/sorbet/rbi/gems/rubocop-capybara@2.19.0.rbi +1125 -0
- data/sorbet/rbi/gems/rubocop-factory_bot@2.24.0.rbi +878 -0
- data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +88 -173
- data/sorbet/rbi/gems/rubocop-rspec@2.25.0.rbi +7997 -0
- data/sorbet/rbi/gems/rubocop@1.57.2.rbi +56813 -0
- data/sorbet/rbi/gems/ruby-lzma@0.4.3.rbi +19 -0
- data/sorbet/rbi/gems/ruby-macho@3.0.0.rbi +899 -1237
- data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1317 -0
- data/sorbet/rbi/gems/rubyzip@2.3.2.rbi +808 -1275
- data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +216 -0
- data/sorbet/rbi/gems/simplecov@0.22.0.rbi +2148 -0
- data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +8 -0
- data/sorbet/rbi/gems/spoom@1.2.4.rbi +3777 -0
- data/sorbet/rbi/gems/syntax_tree@6.2.0.rbi +23136 -0
- data/sorbet/rbi/gems/tapioca@0.11.12.rbi +3507 -0
- data/sorbet/rbi/gems/unicode-display_width@2.5.0.rbi +65 -0
- data/sorbet/rbi/gems/yard-sorbet@0.8.1.rbi +428 -0
- data/sorbet/rbi/gems/{yard@0.9.28.rbi → yard@0.9.34.rbi} +4531 -7160
- data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +24 -72
- data/sorbet/rbi/sorbet-typed/lib/rake/all/rake.rbi +385 -1697
- data/sorbet/rbi/sorbet-typed/lib/rspec-core/all/rspec-core.rbi +7 -30
- data/sorbet/rbi/sorbet-typed/lib/rubocop/>=1.8/rubocop.rbi +1 -3
- data/sorbet/rbi/sorbet-typed/lib/thor/all/thor.rbi +905 -0
- data/sorbet/rbi/sorbet-typed/lib/yard/all/yard.rbi +35 -0
- data/sorbet/tapioca/require.rb +13 -1
- metadata +47 -35
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +0 -8
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +0 -8
- data/sorbet/rbi/gems/parallel@1.22.1.rbi +0 -353
- data/sorbet/rbi/gems/parser@3.1.2.1.rbi +0 -6198
- data/sorbet/rbi/gems/pry@0.14.1.rbi +0 -8
- data/sorbet/rbi/gems/rake@13.0.6.rbi +0 -3587
- data/sorbet/rbi/gems/regexp_parser@2.5.0.rbi +0 -3927
- data/sorbet/rbi/gems/rspec-mocks@3.11.1.rbi +0 -6506
- data/sorbet/rbi/gems/rspec-support@3.11.0.rbi +0 -2040
- data/sorbet/rbi/gems/rspec@3.11.0.rbi +0 -120
- data/sorbet/rbi/gems/rubocop-ast@1.21.0.rbi +0 -7990
- data/sorbet/rbi/gems/rubocop-rspec@2.12.1.rbi +0 -7604
- data/sorbet/rbi/gems/rubocop@1.35.0.rbi +0 -62260
- data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +0 -1445
- data/sorbet/rbi/gems/spoom@1.1.12.rbi +0 -2829
- data/sorbet/rbi/gems/tapioca@0.9.3.rbi +0 -2151
- data/sorbet/rbi/gems/thor@1.2.1.rbi +0 -4532
- data/sorbet/rbi/gems/unicode-display_width@2.2.0.rbi +0 -60
- data/sorbet/rbi/gems/unparser@0.6.5.rbi +0 -8
- data/sorbet/rbi/gems/webrick@1.7.0.rbi +0 -3075
- data/sorbet/rbi/gems/yard-sorbet@0.6.1.rbi +0 -458
- data/sorbet/rbi/todo.rbi +0 -7
@@ -4,30 +4,14 @@
|
|
4
4
|
# This is an autogenerated file for types exported from the `rubocop-rake` gem.
|
5
5
|
# Please instead update this file by running `bin/tapioca gem rubocop-rake`.
|
6
6
|
|
7
|
-
# source://rubocop-rake
|
8
|
-
module RuboCop
|
9
|
-
;
|
10
|
-
end
|
11
|
-
|
12
|
-
# source://rubocop-rake-0.6.0/lib/rubocop/cop/rake/helper/class_definition.rb:4
|
13
|
-
module RuboCop::Cop
|
14
|
-
;
|
15
|
-
end
|
16
|
-
|
17
|
-
# @deprecated IgnoredMethods class has been replaced with AllowedMethods.
|
18
|
-
#
|
19
|
-
# source://rubocop-1.35.0/lib/rubocop/cop/mixin/allowed_methods.rb:33
|
20
|
-
RuboCop::Cop::IgnoredMethods = RuboCop::Cop::AllowedMethods
|
7
|
+
# source://rubocop-rake//lib/rubocop/rake/version.rb#3
|
8
|
+
module RuboCop; end
|
21
9
|
|
22
|
-
#
|
23
|
-
|
24
|
-
# source://rubocop-1.35.0/lib/rubocop/cop/mixin/allowed_pattern.rb:46
|
25
|
-
RuboCop::Cop::IgnoredPattern = RuboCop::Cop::AllowedPattern
|
10
|
+
# source://rubocop-rake//lib/rubocop/cop/rake/helper/class_definition.rb#4
|
11
|
+
module RuboCop::Cop; end
|
26
12
|
|
27
|
-
# source://rubocop-rake
|
28
|
-
module RuboCop::Cop::Rake
|
29
|
-
;
|
30
|
-
end
|
13
|
+
# source://rubocop-rake//lib/rubocop/cop/rake/helper/class_definition.rb#5
|
14
|
+
module RuboCop::Cop::Rake; end
|
31
15
|
|
32
16
|
# This cop detects class or module definition in a task or namespace,
|
33
17
|
# because it is defined to the top level.
|
@@ -54,20 +38,16 @@ end
|
|
54
38
|
# task :foo do
|
55
39
|
# end
|
56
40
|
#
|
57
|
-
# source://rubocop-rake
|
41
|
+
# source://rubocop-rake//lib/rubocop/cop/rake/class_definition_in_task.rb#31
|
58
42
|
class RuboCop::Cop::Rake::ClassDefinitionInTask < ::RuboCop::Cop::Base
|
59
|
-
# source://rubocop-rake
|
60
|
-
def on_class(node)
|
61
|
-
;
|
62
|
-
end
|
43
|
+
# source://rubocop-rake//lib/rubocop/cop/rake/class_definition_in_task.rb#34
|
44
|
+
def on_class(node); end
|
63
45
|
|
64
|
-
# source://rubocop-rake
|
65
|
-
def on_module(node)
|
66
|
-
;
|
67
|
-
end
|
46
|
+
# source://rubocop-rake//lib/rubocop/cop/rake/class_definition_in_task.rb#34
|
47
|
+
def on_module(node); end
|
68
48
|
end
|
69
49
|
|
70
|
-
# source://rubocop-rake
|
50
|
+
# source://rubocop-rake//lib/rubocop/cop/rake/class_definition_in_task.rb#32
|
71
51
|
RuboCop::Cop::Rake::ClassDefinitionInTask::MSG = T.let(T.unsafe(nil), String)
|
72
52
|
|
73
53
|
# Rake task definition should have a description with `desc` method.
|
@@ -94,44 +74,34 @@ RuboCop::Cop::Rake::ClassDefinitionInTask::MSG = T.let(T.unsafe(nil), String)
|
|
94
74
|
# task :do_something do
|
95
75
|
# end
|
96
76
|
#
|
97
|
-
# source://rubocop-rake
|
77
|
+
# source://rubocop-rake//lib/rubocop/cop/rake/desc.rb#30
|
98
78
|
class RuboCop::Cop::Rake::Desc < ::RuboCop::Cop::Base
|
99
79
|
include ::RuboCop::Cop::Rake::Helper::OnTask
|
100
80
|
extend ::RuboCop::Cop::AutoCorrector
|
101
81
|
|
102
|
-
# source://rubocop-rake
|
103
|
-
def on_task(node)
|
104
|
-
;
|
105
|
-
end
|
82
|
+
# source://rubocop-rake//lib/rubocop/cop/rake/desc.rb#40
|
83
|
+
def on_task(node); end
|
106
84
|
|
107
|
-
# source://rubocop-rake
|
108
|
-
def prerequisites(param0 = T.unsafe(nil))
|
109
|
-
;
|
110
|
-
end
|
85
|
+
# source://rubocop-rake//lib/rubocop/cop/rake/desc.rb#36
|
86
|
+
def prerequisites(param0 = T.unsafe(nil)); end
|
111
87
|
|
112
88
|
private
|
113
89
|
|
114
90
|
# @return [Boolean]
|
115
91
|
#
|
116
|
-
# source://rubocop-rake
|
117
|
-
def can_insert_desc_to?(parent)
|
118
|
-
;
|
119
|
-
end
|
92
|
+
# source://rubocop-rake//lib/rubocop/cop/rake/desc.rb#76
|
93
|
+
def can_insert_desc_to?(parent); end
|
120
94
|
|
121
|
-
# source://rubocop-rake
|
122
|
-
def parent_and_task(task_node)
|
123
|
-
;
|
124
|
-
end
|
95
|
+
# source://rubocop-rake//lib/rubocop/cop/rake/desc.rb#62
|
96
|
+
def parent_and_task(task_node); end
|
125
97
|
|
126
98
|
# @return [Boolean]
|
127
99
|
#
|
128
|
-
# source://rubocop-rake
|
129
|
-
def task_with_desc?(node)
|
130
|
-
;
|
131
|
-
end
|
100
|
+
# source://rubocop-rake//lib/rubocop/cop/rake/desc.rb#50
|
101
|
+
def task_with_desc?(node); end
|
132
102
|
end
|
133
103
|
|
134
|
-
# source://rubocop-rake
|
104
|
+
# source://rubocop-rake//lib/rubocop/cop/rake/desc.rb#34
|
135
105
|
RuboCop::Cop::Rake::Desc::MSG = T.let(T.unsafe(nil), String)
|
136
106
|
|
137
107
|
# If namespaces are defined with the same name, Rake executes the both namespaces
|
@@ -158,39 +128,29 @@ RuboCop::Cop::Rake::Desc::MSG = T.let(T.unsafe(nil), String)
|
|
158
128
|
# end
|
159
129
|
# end
|
160
130
|
#
|
161
|
-
# source://rubocop-rake
|
131
|
+
# source://rubocop-rake//lib/rubocop/cop/rake/duplicate_namespace.rb#30
|
162
132
|
class RuboCop::Cop::Rake::DuplicateNamespace < ::RuboCop::Cop::Base
|
163
133
|
include ::RuboCop::Cop::Rake::Helper::OnNamespace
|
164
134
|
|
165
135
|
# @return [DuplicateNamespace] a new instance of DuplicateNamespace
|
166
136
|
#
|
167
|
-
# source://rubocop-rake
|
168
|
-
def initialize(*_arg0)
|
169
|
-
;
|
170
|
-
end
|
137
|
+
# source://rubocop-rake//lib/rubocop/cop/rake/duplicate_namespace.rb#35
|
138
|
+
def initialize(*_arg0); end
|
171
139
|
|
172
|
-
# source://rubocop-rake
|
173
|
-
def message_for_dup(previous:, current:, namespace:)
|
174
|
-
;
|
175
|
-
end
|
140
|
+
# source://rubocop-rake//lib/rubocop/cop/rake/duplicate_namespace.rb#67
|
141
|
+
def message_for_dup(previous:, current:, namespace:); end
|
176
142
|
|
177
|
-
# source://rubocop-rake
|
178
|
-
def namespaces(node)
|
179
|
-
;
|
180
|
-
end
|
143
|
+
# source://rubocop-rake//lib/rubocop/cop/rake/duplicate_namespace.rb#53
|
144
|
+
def namespaces(node); end
|
181
145
|
|
182
|
-
# source://rubocop-rake
|
183
|
-
def on_namespace(node)
|
184
|
-
;
|
185
|
-
end
|
146
|
+
# source://rubocop-rake//lib/rubocop/cop/rake/duplicate_namespace.rb#40
|
147
|
+
def on_namespace(node); end
|
186
148
|
|
187
|
-
# source://rubocop-rake
|
188
|
-
def source_location(node)
|
189
|
-
;
|
190
|
-
end
|
149
|
+
# source://rubocop-rake//lib/rubocop/cop/rake/duplicate_namespace.rb#76
|
150
|
+
def source_location(node); end
|
191
151
|
end
|
192
152
|
|
193
|
-
# source://rubocop-rake
|
153
|
+
# source://rubocop-rake//lib/rubocop/cop/rake/duplicate_namespace.rb#33
|
194
154
|
RuboCop::Cop::Rake::DuplicateNamespace::MSG = T.let(T.unsafe(nil), String)
|
195
155
|
|
196
156
|
# If tasks are defined with the same name, Rake executes the both tasks
|
@@ -213,120 +173,90 @@ RuboCop::Cop::Rake::DuplicateNamespace::MSG = T.let(T.unsafe(nil), String)
|
|
213
173
|
# p 'foo 2'
|
214
174
|
# end
|
215
175
|
#
|
216
|
-
# source://rubocop-rake
|
176
|
+
# source://rubocop-rake//lib/rubocop/cop/rake/duplicate_task.rb#26
|
217
177
|
class RuboCop::Cop::Rake::DuplicateTask < ::RuboCop::Cop::Base
|
218
178
|
include ::RuboCop::Cop::Rake::Helper::OnTask
|
219
179
|
|
220
180
|
# @return [DuplicateTask] a new instance of DuplicateTask
|
221
181
|
#
|
222
|
-
# source://rubocop-rake
|
223
|
-
def initialize(*_arg0)
|
224
|
-
;
|
225
|
-
end
|
182
|
+
# source://rubocop-rake//lib/rubocop/cop/rake/duplicate_task.rb#31
|
183
|
+
def initialize(*_arg0); end
|
226
184
|
|
227
|
-
# source://rubocop-rake
|
228
|
-
def message_for_dup(previous:, current:, task_name:)
|
229
|
-
;
|
230
|
-
end
|
185
|
+
# source://rubocop-rake//lib/rubocop/cop/rake/duplicate_task.rb#66
|
186
|
+
def message_for_dup(previous:, current:, task_name:); end
|
231
187
|
|
232
|
-
# source://rubocop-rake
|
233
|
-
def namespaces(node)
|
234
|
-
;
|
235
|
-
end
|
188
|
+
# source://rubocop-rake//lib/rubocop/cop/rake/duplicate_task.rb#52
|
189
|
+
def namespaces(node); end
|
236
190
|
|
237
|
-
# source://rubocop-rake
|
238
|
-
def on_task(node)
|
239
|
-
;
|
240
|
-
end
|
191
|
+
# source://rubocop-rake//lib/rubocop/cop/rake/duplicate_task.rb#36
|
192
|
+
def on_task(node); end
|
241
193
|
|
242
|
-
# source://rubocop-rake
|
243
|
-
def source_location(node)
|
244
|
-
;
|
245
|
-
end
|
194
|
+
# source://rubocop-rake//lib/rubocop/cop/rake/duplicate_task.rb#75
|
195
|
+
def source_location(node); end
|
246
196
|
end
|
247
197
|
|
248
|
-
# source://rubocop-rake
|
198
|
+
# source://rubocop-rake//lib/rubocop/cop/rake/duplicate_task.rb#29
|
249
199
|
RuboCop::Cop::Rake::DuplicateTask::MSG = T.let(T.unsafe(nil), String)
|
250
200
|
|
251
|
-
# source://rubocop-rake
|
252
|
-
module RuboCop::Cop::Rake::Helper
|
253
|
-
;
|
254
|
-
end
|
201
|
+
# source://rubocop-rake//lib/rubocop/cop/rake/helper/class_definition.rb#6
|
202
|
+
module RuboCop::Cop::Rake::Helper; end
|
255
203
|
|
256
|
-
# source://rubocop-rake
|
204
|
+
# source://rubocop-rake//lib/rubocop/cop/rake/helper/class_definition.rb#7
|
257
205
|
module RuboCop::Cop::Rake::Helper::ClassDefinition
|
258
206
|
extend ::RuboCop::AST::NodePattern::Macros
|
259
207
|
extend ::RuboCop::Cop::Rake::Helper::ClassDefinition
|
260
208
|
|
261
|
-
# source://rubocop-rake
|
262
|
-
def class_definition?(param0 = T.unsafe(nil))
|
263
|
-
;
|
264
|
-
end
|
209
|
+
# source://rubocop-rake//lib/rubocop/cop/rake/helper/class_definition.rb#11
|
210
|
+
def class_definition?(param0 = T.unsafe(nil)); end
|
265
211
|
|
266
212
|
# @return [Boolean]
|
267
213
|
#
|
268
|
-
# source://rubocop-rake
|
269
|
-
def in_class_definition?(node)
|
270
|
-
;
|
271
|
-
end
|
214
|
+
# source://rubocop-rake//lib/rubocop/cop/rake/helper/class_definition.rb#22
|
215
|
+
def in_class_definition?(node); end
|
272
216
|
end
|
273
217
|
|
274
|
-
# source://rubocop-rake
|
218
|
+
# source://rubocop-rake//lib/rubocop/cop/rake/helper/on_namespace.rb#7
|
275
219
|
module RuboCop::Cop::Rake::Helper::OnNamespace
|
276
220
|
extend ::RuboCop::AST::NodePattern::Macros
|
277
221
|
|
278
|
-
# source://rubocop-rake
|
279
|
-
def namespace?(param0 = T.unsafe(nil))
|
280
|
-
;
|
281
|
-
end
|
222
|
+
# source://rubocop-rake//lib/rubocop/cop/rake/helper/on_namespace.rb#10
|
223
|
+
def namespace?(param0 = T.unsafe(nil)); end
|
282
224
|
|
283
|
-
# source://rubocop-rake
|
284
|
-
def on_send(node)
|
285
|
-
;
|
286
|
-
end
|
225
|
+
# source://rubocop-rake//lib/rubocop/cop/rake/helper/on_namespace.rb#14
|
226
|
+
def on_send(node); end
|
287
227
|
end
|
288
228
|
|
289
|
-
# source://rubocop-rake
|
229
|
+
# source://rubocop-rake//lib/rubocop/cop/rake/helper/on_task.rb#7
|
290
230
|
module RuboCop::Cop::Rake::Helper::OnTask
|
291
231
|
extend ::RuboCop::AST::NodePattern::Macros
|
292
232
|
|
293
|
-
# source://rubocop-rake
|
294
|
-
def on_send(node)
|
295
|
-
;
|
296
|
-
end
|
233
|
+
# source://rubocop-rake//lib/rubocop/cop/rake/helper/on_task.rb#14
|
234
|
+
def on_send(node); end
|
297
235
|
|
298
|
-
# source://rubocop-rake
|
299
|
-
def task?(param0 = T.unsafe(nil))
|
300
|
-
;
|
301
|
-
end
|
236
|
+
# source://rubocop-rake//lib/rubocop/cop/rake/helper/on_task.rb#10
|
237
|
+
def task?(param0 = T.unsafe(nil)); end
|
302
238
|
end
|
303
239
|
|
304
|
-
# source://rubocop-rake
|
240
|
+
# source://rubocop-rake//lib/rubocop/cop/rake/helper/task_definition.rb#7
|
305
241
|
module RuboCop::Cop::Rake::Helper::TaskDefinition
|
306
242
|
extend ::RuboCop::AST::NodePattern::Macros
|
307
243
|
extend ::RuboCop::Cop::Rake::Helper::TaskDefinition
|
308
244
|
|
309
245
|
# @return [Boolean]
|
310
246
|
#
|
311
|
-
# source://rubocop-rake
|
312
|
-
def in_task_or_namespace?(node)
|
313
|
-
;
|
314
|
-
end
|
247
|
+
# source://rubocop-rake//lib/rubocop/cop/rake/helper/task_definition.rb#19
|
248
|
+
def in_task_or_namespace?(node); end
|
315
249
|
|
316
|
-
# source://rubocop-rake
|
317
|
-
def task_or_namespace?(param0 = T.unsafe(nil))
|
318
|
-
;
|
319
|
-
end
|
250
|
+
# source://rubocop-rake//lib/rubocop/cop/rake/helper/task_definition.rb#11
|
251
|
+
def task_or_namespace?(param0 = T.unsafe(nil)); end
|
320
252
|
end
|
321
253
|
|
322
|
-
# source://rubocop-rake
|
254
|
+
# source://rubocop-rake//lib/rubocop/cop/rake/helper/task_name.rb#7
|
323
255
|
module RuboCop::Cop::Rake::Helper::TaskName
|
324
256
|
extend ::RuboCop::Cop::Rake::Helper::TaskName
|
325
257
|
|
326
|
-
# source://rubocop-rake
|
327
|
-
def task_name(node)
|
328
|
-
;
|
329
|
-
end
|
258
|
+
# source://rubocop-rake//lib/rubocop/cop/rake/helper/task_name.rb#10
|
259
|
+
def task_name(node); end
|
330
260
|
end
|
331
261
|
|
332
262
|
# This cop detects method definition in a task or namespace,
|
@@ -356,58 +286,43 @@ end
|
|
356
286
|
# task :foo do
|
357
287
|
# end
|
358
288
|
#
|
359
|
-
# source://rubocop-rake
|
289
|
+
# source://rubocop-rake//lib/rubocop/cop/rake/method_definition_in_task.rb#33
|
360
290
|
class RuboCop::Cop::Rake::MethodDefinitionInTask < ::RuboCop::Cop::Base
|
361
|
-
# source://rubocop-rake
|
362
|
-
def on_def(node)
|
363
|
-
;
|
364
|
-
end
|
291
|
+
# source://rubocop-rake//lib/rubocop/cop/rake/method_definition_in_task.rb#36
|
292
|
+
def on_def(node); end
|
365
293
|
|
366
|
-
# source://rubocop-rake
|
367
|
-
def on_defs(node)
|
368
|
-
;
|
369
|
-
end
|
294
|
+
# source://rubocop-rake//lib/rubocop/cop/rake/method_definition_in_task.rb#36
|
295
|
+
def on_defs(node); end
|
370
296
|
end
|
371
297
|
|
372
|
-
# source://rubocop-rake
|
298
|
+
# source://rubocop-rake//lib/rubocop/cop/rake/method_definition_in_task.rb#34
|
373
299
|
RuboCop::Cop::Rake::MethodDefinitionInTask::MSG = T.let(T.unsafe(nil), String)
|
374
300
|
|
375
|
-
# source://rubocop-
|
376
|
-
RuboCop::
|
377
|
-
|
378
|
-
# source://rubocop-1.35.0/lib/rubocop/ast_aliases.rb:6
|
379
|
-
RuboCop::ProcessedSource = RuboCop::AST::ProcessedSource
|
301
|
+
# source://rubocop-rake//lib/rubocop/rake/version.rb#4
|
302
|
+
module RuboCop::Rake; end
|
380
303
|
|
381
|
-
# source://rubocop-rake
|
382
|
-
module RuboCop::Rake
|
383
|
-
;
|
384
|
-
end
|
385
|
-
|
386
|
-
# source://rubocop-rake-0.6.0/lib/rubocop/rake.rb:12
|
304
|
+
# source://rubocop-rake//lib/rubocop/rake.rb#12
|
387
305
|
RuboCop::Rake::CONFIG = T.let(T.unsafe(nil), Hash)
|
388
306
|
|
389
|
-
# source://rubocop-rake
|
307
|
+
# source://rubocop-rake//lib/rubocop/rake.rb#11
|
390
308
|
RuboCop::Rake::CONFIG_DEFAULT = T.let(T.unsafe(nil), Pathname)
|
391
309
|
|
392
|
-
# source://rubocop-rake
|
310
|
+
# source://rubocop-rake//lib/rubocop/rake.rb#8
|
393
311
|
class RuboCop::Rake::Error < ::StandardError; end
|
394
312
|
|
395
313
|
# Because RuboCop doesn't yet support plugins, we have to monkey patch in a
|
396
314
|
# bit of our configuration.
|
397
315
|
#
|
398
|
-
# source://rubocop-rake
|
316
|
+
# source://rubocop-rake//lib/rubocop/rake/inject.rb#9
|
399
317
|
module RuboCop::Rake::Inject
|
400
318
|
class << self
|
401
|
-
# source://rubocop-rake
|
319
|
+
# source://rubocop-rake//lib/rubocop/rake/inject.rb#10
|
402
320
|
def defaults!; end
|
403
321
|
end
|
404
322
|
end
|
405
323
|
|
406
|
-
# source://rubocop-rake
|
324
|
+
# source://rubocop-rake//lib/rubocop/rake.rb#10
|
407
325
|
RuboCop::Rake::PROJECT_ROOT = T.let(T.unsafe(nil), Pathname)
|
408
326
|
|
409
|
-
# source://rubocop-rake
|
327
|
+
# source://rubocop-rake//lib/rubocop/rake/version.rb#5
|
410
328
|
RuboCop::Rake::VERSION = T.let(T.unsafe(nil), String)
|
411
|
-
|
412
|
-
# source://rubocop-1.35.0/lib/rubocop/ast_aliases.rb:7
|
413
|
-
RuboCop::Token = RuboCop::AST::Token
|