mootool 0.1.0 → 0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.DS_Store +0 -0
- data/.github/workflows/ci.yml +37 -0
- data/.github/workflows/gem-push.yml +44 -0
- data/.overcommit.yml +79 -0
- data/.rubocop.yml +144 -0
- data/.ruby-version +1 -1
- data/.run/All Specs.run.xml +46 -0
- data/CODE_OF_CONDUCT.md +2 -1
- data/Gemfile +14 -11
- data/Gemfile.lock +93 -34
- data/README.md +12 -6
- data/bin/tapioca +27 -0
- data/lib/mootool/command.rb +1 -0
- data/lib/mootool/controller_base.rb +4 -1
- data/lib/mootool/controllers/dwarf.rb +8 -0
- data/lib/mootool/controllers/dyld_linker.rb +8 -0
- data/lib/mootool/controllers/dyld_shared_cache.rb +8 -0
- data/lib/mootool/controllers/fat_binary.rb +8 -0
- data/lib/mootool/controllers/kernel_collection.rb +21 -15
- data/lib/mootool/controllers/sections.rb +8 -0
- data/lib/mootool/core_extensions.rb +26 -0
- data/lib/mootool/models/device_tree.rb +85 -0
- data/lib/mootool/models/img4.rb +49 -0
- data/lib/mootool/models/ipsw.rb +19 -0
- data/lib/mootool/version.rb +1 -1
- data/lib/mootool/views/sections.full.erb +2 -2
- data/lib/mootool.rb +10 -3
- data/mootool.gemspec +17 -14
- data/sorbet/rbi/annotations/rainbow.rbi +269 -0
- data/sorbet/rbi/gems/ast@2.4.2.rbi +618 -0
- data/sorbet/rbi/gems/childprocess@4.1.0.rbi +447 -0
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +8 -0
- data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +1219 -0
- data/sorbet/rbi/gems/iniparse@1.5.0.rbi +1007 -0
- data/sorbet/rbi/gems/json@2.6.2.rbi +1650 -0
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +8 -0
- data/sorbet/rbi/gems/netrc@0.11.0.rbi +186 -0
- data/sorbet/rbi/gems/overcommit@0.59.1.rbi +2747 -0
- data/sorbet/rbi/gems/parallel@1.22.1.rbi +353 -0
- data/sorbet/rbi/gems/parser@3.1.2.1.rbi +6198 -0
- data/sorbet/rbi/gems/plist@3.6.0.rbi +212 -0
- data/sorbet/rbi/gems/pry@0.14.1.rbi +8 -0
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +452 -0
- data/sorbet/rbi/gems/rake@13.0.6.rbi +3587 -0
- data/sorbet/rbi/gems/rbi@0.0.15.rbi +3619 -0
- data/sorbet/rbi/gems/regexp_parser@2.5.0.rbi +3927 -0
- data/sorbet/rbi/gems/rexml@3.2.5.rbi +5238 -0
- data/sorbet/rbi/gems/rspec-core@3.11.0.rbi +12834 -0
- data/sorbet/rbi/gems/rspec-expectations@3.11.0.rbi +9151 -0
- data/sorbet/rbi/gems/rspec-mocks@3.11.1.rbi +6506 -0
- data/sorbet/rbi/gems/rspec-support@3.11.0.rbi +2040 -0
- data/sorbet/rbi/gems/rspec@3.11.0.rbi +120 -0
- data/sorbet/rbi/gems/rubocop-ast@1.21.0.rbi +7990 -0
- data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +413 -0
- data/sorbet/rbi/gems/rubocop-rspec@2.12.1.rbi +7604 -0
- data/sorbet/rbi/gems/rubocop@1.35.0.rbi +62260 -0
- data/sorbet/rbi/gems/ruby-macho@3.0.0.rbi +5039 -0
- data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +1445 -0
- data/sorbet/rbi/gems/rubyzip@2.3.2.rbi +2868 -0
- data/sorbet/rbi/gems/spoom@1.1.12.rbi +2829 -0
- data/sorbet/rbi/gems/tapioca@0.9.3.rbi +2151 -0
- data/sorbet/rbi/gems/thor@1.2.1.rbi +4532 -0
- data/sorbet/rbi/gems/unicode-display_width@2.2.0.rbi +60 -0
- data/sorbet/rbi/gems/unparser@0.6.5.rbi +8 -0
- data/sorbet/rbi/gems/webrick@1.7.0.rbi +3075 -0
- data/sorbet/rbi/gems/yard-sorbet@0.6.1.rbi +458 -0
- data/sorbet/rbi/gems/yard@0.9.28.rbi +20844 -0
- data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +72 -24
- data/sorbet/rbi/sorbet-typed/lib/rake/all/rake.rbi +1697 -385
- data/sorbet/rbi/sorbet-typed/lib/rspec-core/all/rspec-core.rbi +30 -7
- data/sorbet/rbi/sorbet-typed/lib/rubocop/>=1.8/rubocop.rbi +3 -1
- data/sorbet/rbi/todo.rbi +7 -0
- data/sorbet/tapioca/config.yml +13 -0
- data/sorbet/tapioca/require.rb +4 -0
- metadata +95 -14
@@ -0,0 +1,413 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `rubocop-rake` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem rubocop-rake`.
|
6
|
+
|
7
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/rake/version.rb:3
|
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
|
21
|
+
|
22
|
+
# @deprecated IgnoredPattern class has been replaced with AllowedPattern.
|
23
|
+
#
|
24
|
+
# source://rubocop-1.35.0/lib/rubocop/cop/mixin/allowed_pattern.rb:46
|
25
|
+
RuboCop::Cop::IgnoredPattern = RuboCop::Cop::AllowedPattern
|
26
|
+
|
27
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/cop/rake/helper/class_definition.rb:5
|
28
|
+
module RuboCop::Cop::Rake
|
29
|
+
;
|
30
|
+
end
|
31
|
+
|
32
|
+
# This cop detects class or module definition in a task or namespace,
|
33
|
+
# because it is defined to the top level.
|
34
|
+
# It is confusing because the scope looks in the task or namespace,
|
35
|
+
# but actually it is defined to the top level.
|
36
|
+
#
|
37
|
+
# @example
|
38
|
+
# # bad
|
39
|
+
# task :foo do
|
40
|
+
# class C
|
41
|
+
# end
|
42
|
+
# end
|
43
|
+
#
|
44
|
+
# # bad
|
45
|
+
# namespace :foo do
|
46
|
+
# module M
|
47
|
+
# end
|
48
|
+
# end
|
49
|
+
#
|
50
|
+
# # good - It is also defined to the top level,
|
51
|
+
# # but it looks expected behavior.
|
52
|
+
# class C
|
53
|
+
# end
|
54
|
+
# task :foo do
|
55
|
+
# end
|
56
|
+
#
|
57
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/cop/rake/class_definition_in_task.rb:31
|
58
|
+
class RuboCop::Cop::Rake::ClassDefinitionInTask < ::RuboCop::Cop::Base
|
59
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/cop/rake/class_definition_in_task.rb:34
|
60
|
+
def on_class(node)
|
61
|
+
;
|
62
|
+
end
|
63
|
+
|
64
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/cop/rake/class_definition_in_task.rb:34
|
65
|
+
def on_module(node)
|
66
|
+
;
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/cop/rake/class_definition_in_task.rb:32
|
71
|
+
RuboCop::Cop::Rake::ClassDefinitionInTask::MSG = T.let(T.unsafe(nil), String)
|
72
|
+
|
73
|
+
# Rake task definition should have a description with `desc` method.
|
74
|
+
# It is useful as a documentation of task. And Rake does not display
|
75
|
+
# task that does not have `desc` by `rake -T`.
|
76
|
+
#
|
77
|
+
# Note: This cop does not require description for the default task,
|
78
|
+
# because the default task is executed with `rake` without command.
|
79
|
+
#
|
80
|
+
# @example
|
81
|
+
# # bad
|
82
|
+
# task :do_something
|
83
|
+
#
|
84
|
+
# # bad
|
85
|
+
# task :do_something do
|
86
|
+
# end
|
87
|
+
#
|
88
|
+
# # good
|
89
|
+
# desc 'Do something'
|
90
|
+
# task :do_something
|
91
|
+
#
|
92
|
+
# # good
|
93
|
+
# desc 'Do something'
|
94
|
+
# task :do_something do
|
95
|
+
# end
|
96
|
+
#
|
97
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/cop/rake/desc.rb:30
|
98
|
+
class RuboCop::Cop::Rake::Desc < ::RuboCop::Cop::Base
|
99
|
+
include ::RuboCop::Cop::Rake::Helper::OnTask
|
100
|
+
extend ::RuboCop::Cop::AutoCorrector
|
101
|
+
|
102
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/cop/rake/desc.rb:40
|
103
|
+
def on_task(node)
|
104
|
+
;
|
105
|
+
end
|
106
|
+
|
107
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/cop/rake/desc.rb:36
|
108
|
+
def prerequisites(param0 = T.unsafe(nil))
|
109
|
+
;
|
110
|
+
end
|
111
|
+
|
112
|
+
private
|
113
|
+
|
114
|
+
# @return [Boolean]
|
115
|
+
#
|
116
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/cop/rake/desc.rb:76
|
117
|
+
def can_insert_desc_to?(parent)
|
118
|
+
;
|
119
|
+
end
|
120
|
+
|
121
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/cop/rake/desc.rb:62
|
122
|
+
def parent_and_task(task_node)
|
123
|
+
;
|
124
|
+
end
|
125
|
+
|
126
|
+
# @return [Boolean]
|
127
|
+
#
|
128
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/cop/rake/desc.rb:50
|
129
|
+
def task_with_desc?(node)
|
130
|
+
;
|
131
|
+
end
|
132
|
+
end
|
133
|
+
|
134
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/cop/rake/desc.rb:34
|
135
|
+
RuboCop::Cop::Rake::Desc::MSG = T.let(T.unsafe(nil), String)
|
136
|
+
|
137
|
+
# If namespaces are defined with the same name, Rake executes the both namespaces
|
138
|
+
# in definition order.
|
139
|
+
# It is redundant. You should squash them into one definition.
|
140
|
+
# This cop detects it.
|
141
|
+
#
|
142
|
+
# @example
|
143
|
+
# # bad
|
144
|
+
# namespace :foo do
|
145
|
+
# task :bar do
|
146
|
+
# end
|
147
|
+
# end
|
148
|
+
# namespace :foo do
|
149
|
+
# task :hoge do
|
150
|
+
# end
|
151
|
+
# end
|
152
|
+
#
|
153
|
+
# # good
|
154
|
+
# namespace :foo do
|
155
|
+
# task :bar do
|
156
|
+
# end
|
157
|
+
# task :hoge do
|
158
|
+
# end
|
159
|
+
# end
|
160
|
+
#
|
161
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/cop/rake/duplicate_namespace.rb:30
|
162
|
+
class RuboCop::Cop::Rake::DuplicateNamespace < ::RuboCop::Cop::Base
|
163
|
+
include ::RuboCop::Cop::Rake::Helper::OnNamespace
|
164
|
+
|
165
|
+
# @return [DuplicateNamespace] a new instance of DuplicateNamespace
|
166
|
+
#
|
167
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/cop/rake/duplicate_namespace.rb:35
|
168
|
+
def initialize(*_arg0)
|
169
|
+
;
|
170
|
+
end
|
171
|
+
|
172
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/cop/rake/duplicate_namespace.rb:67
|
173
|
+
def message_for_dup(previous:, current:, namespace:)
|
174
|
+
;
|
175
|
+
end
|
176
|
+
|
177
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/cop/rake/duplicate_namespace.rb:53
|
178
|
+
def namespaces(node)
|
179
|
+
;
|
180
|
+
end
|
181
|
+
|
182
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/cop/rake/duplicate_namespace.rb:40
|
183
|
+
def on_namespace(node)
|
184
|
+
;
|
185
|
+
end
|
186
|
+
|
187
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/cop/rake/duplicate_namespace.rb:76
|
188
|
+
def source_location(node)
|
189
|
+
;
|
190
|
+
end
|
191
|
+
end
|
192
|
+
|
193
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/cop/rake/duplicate_namespace.rb:33
|
194
|
+
RuboCop::Cop::Rake::DuplicateNamespace::MSG = T.let(T.unsafe(nil), String)
|
195
|
+
|
196
|
+
# If tasks are defined with the same name, Rake executes the both tasks
|
197
|
+
# in definition order.
|
198
|
+
# It is misleading sometimes. You should squash them into one definition.
|
199
|
+
# This cop detects it.
|
200
|
+
#
|
201
|
+
# @example
|
202
|
+
# # bad
|
203
|
+
# task :foo do
|
204
|
+
# p 'foo 1'
|
205
|
+
# end
|
206
|
+
# task :foo do
|
207
|
+
# p 'foo 2'
|
208
|
+
# end
|
209
|
+
#
|
210
|
+
# # good
|
211
|
+
# task :foo do
|
212
|
+
# p 'foo 1'
|
213
|
+
# p 'foo 2'
|
214
|
+
# end
|
215
|
+
#
|
216
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/cop/rake/duplicate_task.rb:26
|
217
|
+
class RuboCop::Cop::Rake::DuplicateTask < ::RuboCop::Cop::Base
|
218
|
+
include ::RuboCop::Cop::Rake::Helper::OnTask
|
219
|
+
|
220
|
+
# @return [DuplicateTask] a new instance of DuplicateTask
|
221
|
+
#
|
222
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/cop/rake/duplicate_task.rb:31
|
223
|
+
def initialize(*_arg0)
|
224
|
+
;
|
225
|
+
end
|
226
|
+
|
227
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/cop/rake/duplicate_task.rb:66
|
228
|
+
def message_for_dup(previous:, current:, task_name:)
|
229
|
+
;
|
230
|
+
end
|
231
|
+
|
232
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/cop/rake/duplicate_task.rb:52
|
233
|
+
def namespaces(node)
|
234
|
+
;
|
235
|
+
end
|
236
|
+
|
237
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/cop/rake/duplicate_task.rb:36
|
238
|
+
def on_task(node)
|
239
|
+
;
|
240
|
+
end
|
241
|
+
|
242
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/cop/rake/duplicate_task.rb:75
|
243
|
+
def source_location(node)
|
244
|
+
;
|
245
|
+
end
|
246
|
+
end
|
247
|
+
|
248
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/cop/rake/duplicate_task.rb:29
|
249
|
+
RuboCop::Cop::Rake::DuplicateTask::MSG = T.let(T.unsafe(nil), String)
|
250
|
+
|
251
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/cop/rake/helper/class_definition.rb:6
|
252
|
+
module RuboCop::Cop::Rake::Helper
|
253
|
+
;
|
254
|
+
end
|
255
|
+
|
256
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/cop/rake/helper/class_definition.rb:7
|
257
|
+
module RuboCop::Cop::Rake::Helper::ClassDefinition
|
258
|
+
extend ::RuboCop::AST::NodePattern::Macros
|
259
|
+
extend ::RuboCop::Cop::Rake::Helper::ClassDefinition
|
260
|
+
|
261
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/cop/rake/helper/class_definition.rb:11
|
262
|
+
def class_definition?(param0 = T.unsafe(nil))
|
263
|
+
;
|
264
|
+
end
|
265
|
+
|
266
|
+
# @return [Boolean]
|
267
|
+
#
|
268
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/cop/rake/helper/class_definition.rb:22
|
269
|
+
def in_class_definition?(node)
|
270
|
+
;
|
271
|
+
end
|
272
|
+
end
|
273
|
+
|
274
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/cop/rake/helper/on_namespace.rb:7
|
275
|
+
module RuboCop::Cop::Rake::Helper::OnNamespace
|
276
|
+
extend ::RuboCop::AST::NodePattern::Macros
|
277
|
+
|
278
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/cop/rake/helper/on_namespace.rb:10
|
279
|
+
def namespace?(param0 = T.unsafe(nil))
|
280
|
+
;
|
281
|
+
end
|
282
|
+
|
283
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/cop/rake/helper/on_namespace.rb:14
|
284
|
+
def on_send(node)
|
285
|
+
;
|
286
|
+
end
|
287
|
+
end
|
288
|
+
|
289
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/cop/rake/helper/on_task.rb:7
|
290
|
+
module RuboCop::Cop::Rake::Helper::OnTask
|
291
|
+
extend ::RuboCop::AST::NodePattern::Macros
|
292
|
+
|
293
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/cop/rake/helper/on_task.rb:14
|
294
|
+
def on_send(node)
|
295
|
+
;
|
296
|
+
end
|
297
|
+
|
298
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/cop/rake/helper/on_task.rb:10
|
299
|
+
def task?(param0 = T.unsafe(nil))
|
300
|
+
;
|
301
|
+
end
|
302
|
+
end
|
303
|
+
|
304
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/cop/rake/helper/task_definition.rb:7
|
305
|
+
module RuboCop::Cop::Rake::Helper::TaskDefinition
|
306
|
+
extend ::RuboCop::AST::NodePattern::Macros
|
307
|
+
extend ::RuboCop::Cop::Rake::Helper::TaskDefinition
|
308
|
+
|
309
|
+
# @return [Boolean]
|
310
|
+
#
|
311
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/cop/rake/helper/task_definition.rb:19
|
312
|
+
def in_task_or_namespace?(node)
|
313
|
+
;
|
314
|
+
end
|
315
|
+
|
316
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/cop/rake/helper/task_definition.rb:11
|
317
|
+
def task_or_namespace?(param0 = T.unsafe(nil))
|
318
|
+
;
|
319
|
+
end
|
320
|
+
end
|
321
|
+
|
322
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/cop/rake/helper/task_name.rb:7
|
323
|
+
module RuboCop::Cop::Rake::Helper::TaskName
|
324
|
+
extend ::RuboCop::Cop::Rake::Helper::TaskName
|
325
|
+
|
326
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/cop/rake/helper/task_name.rb:10
|
327
|
+
def task_name(node)
|
328
|
+
;
|
329
|
+
end
|
330
|
+
end
|
331
|
+
|
332
|
+
# This cop detects method definition in a task or namespace,
|
333
|
+
# because it is defined to the top level.
|
334
|
+
# It is confusing because the scope looks in the task or namespace,
|
335
|
+
# but actually it is defined to the top level.
|
336
|
+
#
|
337
|
+
# @example
|
338
|
+
# # bad
|
339
|
+
# task :foo do
|
340
|
+
# def helper_method
|
341
|
+
# do_something
|
342
|
+
# end
|
343
|
+
# end
|
344
|
+
#
|
345
|
+
# # bad
|
346
|
+
# namespace :foo do
|
347
|
+
# def helper_method
|
348
|
+
# do_something
|
349
|
+
# end
|
350
|
+
# end
|
351
|
+
#
|
352
|
+
# # good - It is also defined to the top level,
|
353
|
+
# # but it looks expected behavior.
|
354
|
+
# def helper_method
|
355
|
+
# end
|
356
|
+
# task :foo do
|
357
|
+
# end
|
358
|
+
#
|
359
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/cop/rake/method_definition_in_task.rb:33
|
360
|
+
class RuboCop::Cop::Rake::MethodDefinitionInTask < ::RuboCop::Cop::Base
|
361
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/cop/rake/method_definition_in_task.rb:36
|
362
|
+
def on_def(node)
|
363
|
+
;
|
364
|
+
end
|
365
|
+
|
366
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/cop/rake/method_definition_in_task.rb:36
|
367
|
+
def on_defs(node)
|
368
|
+
;
|
369
|
+
end
|
370
|
+
end
|
371
|
+
|
372
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/cop/rake/method_definition_in_task.rb:34
|
373
|
+
RuboCop::Cop::Rake::MethodDefinitionInTask::MSG = T.let(T.unsafe(nil), String)
|
374
|
+
|
375
|
+
# source://rubocop-1.35.0/lib/rubocop/ast_aliases.rb:5
|
376
|
+
RuboCop::NodePattern = RuboCop::AST::NodePattern
|
377
|
+
|
378
|
+
# source://rubocop-1.35.0/lib/rubocop/ast_aliases.rb:6
|
379
|
+
RuboCop::ProcessedSource = RuboCop::AST::ProcessedSource
|
380
|
+
|
381
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/rake/version.rb:4
|
382
|
+
module RuboCop::Rake
|
383
|
+
;
|
384
|
+
end
|
385
|
+
|
386
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/rake.rb:12
|
387
|
+
RuboCop::Rake::CONFIG = T.let(T.unsafe(nil), Hash)
|
388
|
+
|
389
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/rake.rb:11
|
390
|
+
RuboCop::Rake::CONFIG_DEFAULT = T.let(T.unsafe(nil), Pathname)
|
391
|
+
|
392
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/rake.rb:8
|
393
|
+
class RuboCop::Rake::Error < ::StandardError; end
|
394
|
+
|
395
|
+
# Because RuboCop doesn't yet support plugins, we have to monkey patch in a
|
396
|
+
# bit of our configuration.
|
397
|
+
#
|
398
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/rake/inject.rb:9
|
399
|
+
module RuboCop::Rake::Inject
|
400
|
+
class << self
|
401
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/rake/inject.rb:10
|
402
|
+
def defaults!; end
|
403
|
+
end
|
404
|
+
end
|
405
|
+
|
406
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/rake.rb:10
|
407
|
+
RuboCop::Rake::PROJECT_ROOT = T.let(T.unsafe(nil), Pathname)
|
408
|
+
|
409
|
+
# source://rubocop-rake-0.6.0/lib/rubocop/rake/version.rb:5
|
410
|
+
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
|