warp-dir 1.6.2 → 1.7.0

Sign up to get free protection for your applications and to get access to all the features.
data/.rubocop_todo.yml ADDED
@@ -0,0 +1,685 @@
1
+ # This configuration was generated by
2
+ # `rubocop --auto-gen-config`
3
+ # on 2022-05-26 02:37:54 UTC using RuboCop version 1.29.1.
4
+ # The point is for the user to remove these configuration records
5
+ # one by one as the offenses are removed from the code base.
6
+ # Note that changes in the inspected code, or installation of new
7
+ # versions of RuboCop, may require this file to be generated again.
8
+
9
+ # Offense count: 1
10
+ # Configuration parameters: Include.
11
+ # Include: **/*.gemspec
12
+ Gemspec/RequiredRubyVersion:
13
+ Exclude:
14
+ - 'warp-dir.gemspec'
15
+
16
+ # Offense count: 4
17
+ # This cop supports safe auto-correction (--auto-correct).
18
+ # Configuration parameters: EnforcedStyle, IndentOneStep, IndentationWidth.
19
+ # SupportedStyles: case, end
20
+ Layout/CaseIndentation:
21
+ Exclude:
22
+ - 'lib/warp/dir/app/cli.rb'
23
+ - 'lib/warp/dir/formatter.rb'
24
+
25
+ # Offense count: 1
26
+ # This cop supports safe auto-correction (--auto-correct).
27
+ Layout/ClosingHeredocIndentation:
28
+ Exclude:
29
+ - 'lib/warp/dir.rb'
30
+
31
+ # Offense count: 1
32
+ # This cop supports safe auto-correction (--auto-correct).
33
+ Layout/ClosingParenthesisIndentation:
34
+ Exclude:
35
+ - 'lib/warp/dir/command.rb'
36
+
37
+ # Offense count: 1
38
+ # This cop supports safe auto-correction (--auto-correct).
39
+ # Configuration parameters: AllowForAlignment.
40
+ Layout/CommentIndentation:
41
+ Exclude:
42
+ - 'lib/warp/dir/command/install.rb'
43
+
44
+ # Offense count: 1
45
+ # This cop supports safe auto-correction (--auto-correct).
46
+ Layout/ElseAlignment:
47
+ Exclude:
48
+ - 'lib/warp/dir/command/warp.rb'
49
+
50
+ # Offense count: 21
51
+ # This cop supports safe auto-correction (--auto-correct).
52
+ Layout/EmptyLineAfterGuardClause:
53
+ Exclude:
54
+ - 'lib/colored.rb'
55
+ - 'lib/warp/dir/app/response.rb'
56
+ - 'lib/warp/dir/command/warp.rb'
57
+ - 'lib/warp/dir/commander.rb'
58
+ - 'lib/warp/dir/point.rb'
59
+ - 'lib/warp/dir/serializer/dotfile.rb'
60
+ - 'lib/warp/dir/store.rb'
61
+
62
+ # Offense count: 1
63
+ # This cop supports safe auto-correction (--auto-correct).
64
+ # Configuration parameters: EmptyLineBetweenMethodDefs, EmptyLineBetweenClassDefs, EmptyLineBetweenModuleDefs, AllowAdjacentOneLineDefs, NumberOfEmptyLines.
65
+ Layout/EmptyLineBetweenDefs:
66
+ Exclude:
67
+ - 'lib/colored.rb'
68
+
69
+ # Offense count: 6
70
+ # This cop supports safe auto-correction (--auto-correct).
71
+ Layout/EmptyLines:
72
+ Exclude:
73
+ - 'lib/warp/dir/command/help.rb'
74
+ - 'lib/warp/dir/point.rb'
75
+ - 'spec/warp/dir/app/response_spec.rb'
76
+ - 'spec/warp/dir/command_spec.rb'
77
+ - 'spec/warp/dir/formatter_spec.rb'
78
+ - 'spec/warp/dir/point_spec.rb'
79
+
80
+ # Offense count: 10
81
+ # This cop supports safe auto-correction (--auto-correct).
82
+ # Configuration parameters: EnforcedStyle.
83
+ # SupportedStyles: empty_lines, no_empty_lines
84
+ Layout/EmptyLinesAroundBlockBody:
85
+ Exclude:
86
+ - 'spec/support/cli_expectations.rb'
87
+ - 'spec/warp/dir/app/cli_spec.rb'
88
+ - 'spec/warp/dir/commands/add_spec.rb'
89
+ - 'spec/warp/dir/commands/install_spec.rb'
90
+ - 'spec/warp/dir/commands/list_spec.rb'
91
+ - 'spec/warp/dir/config_spec.rb'
92
+ - 'spec/warp/dir/store_spec.rb'
93
+
94
+ # Offense count: 9
95
+ # This cop supports safe auto-correction (--auto-correct).
96
+ # Configuration parameters: EnforcedStyle.
97
+ # SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines, beginning_only, ending_only
98
+ Layout/EmptyLinesAroundClassBody:
99
+ Exclude:
100
+ - 'lib/warp/dir.rb'
101
+ - 'lib/warp/dir/app/response.rb'
102
+ - 'lib/warp/dir/command/help.rb'
103
+ - 'lib/warp/dir/command/install.rb'
104
+ - 'lib/warp/dir/config.rb'
105
+ - 'lib/warp/dir/point.rb'
106
+ - 'lib/warp/dir/serializer/dotfile.rb'
107
+
108
+ # Offense count: 4
109
+ # This cop supports safe auto-correction (--auto-correct).
110
+ # Configuration parameters: EnforcedStyle.
111
+ # SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines
112
+ Layout/EmptyLinesAroundModuleBody:
113
+ Exclude:
114
+ - 'lib/warp.rb'
115
+ - 'lib/warp/dir.rb'
116
+ - 'lib/warp/dir/store.rb'
117
+ - 'spec/support/cli_expectations.rb'
118
+
119
+ # Offense count: 2
120
+ # This cop supports safe auto-correction (--auto-correct).
121
+ # Configuration parameters: EnforcedStyleAlignWith, Severity.
122
+ # SupportedStylesAlignWith: keyword, variable, start_of_line
123
+ Layout/EndAlignment:
124
+ Exclude:
125
+ - 'lib/warp/dir.rb'
126
+ - 'lib/warp/dir/command/warp.rb'
127
+
128
+ # Offense count: 4
129
+ # This cop supports safe auto-correction (--auto-correct).
130
+ # Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment.
131
+ Layout/ExtraSpacing:
132
+ Exclude:
133
+ - 'Guardfile'
134
+ - 'lib/warp/dir/command/ls.rb'
135
+ - 'lib/warp/dir/commander.rb'
136
+
137
+ # Offense count: 14
138
+ # This cop supports safe auto-correction (--auto-correct).
139
+ # Configuration parameters: AllowMultipleStyles, EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle.
140
+ # SupportedHashRocketStyles: key, separator, table
141
+ # SupportedColonStyles: key, separator, table
142
+ # SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit
143
+ Layout/HashAlignment:
144
+ Exclude:
145
+ - 'lib/colored.rb'
146
+ - 'lib/warp/dir/config.rb'
147
+
148
+ # Offense count: 5
149
+ # This cop supports safe auto-correction (--auto-correct).
150
+ Layout/HeredocIndentation:
151
+ Exclude:
152
+ - 'lib/warp/dir.rb'
153
+ - 'lib/warp/dir/command/help.rb'
154
+
155
+ # Offense count: 3
156
+ # This cop supports safe auto-correction (--auto-correct).
157
+ # Configuration parameters: Width, AllowedPatterns, IgnoredPatterns.
158
+ Layout/IndentationWidth:
159
+ Exclude:
160
+ - 'lib/warp/dir/command/warp.rb'
161
+ - 'lib/warp/dir/store.rb'
162
+
163
+ # Offense count: 1
164
+ # This cop supports safe auto-correction (--auto-correct).
165
+ # Configuration parameters: AllowDoxygenCommentStyle, AllowGemfileRubyComment.
166
+ Layout/LeadingCommentSpace:
167
+ Exclude:
168
+ - 'Guardfile'
169
+
170
+ # Offense count: 1
171
+ # This cop supports safe auto-correction (--auto-correct).
172
+ # Configuration parameters: EnforcedStyle.
173
+ # SupportedStyles: symmetrical, new_line, same_line
174
+ Layout/MultilineArrayBraceLayout:
175
+ Exclude:
176
+ - 'Rakefile'
177
+
178
+ # Offense count: 3
179
+ # This cop supports safe auto-correction (--auto-correct).
180
+ # Configuration parameters: EnforcedStyle.
181
+ # SupportedStyles: symmetrical, new_line, same_line
182
+ Layout/MultilineMethodCallBraceLayout:
183
+ Exclude:
184
+ - 'lib/warp/dir/app/response.rb'
185
+ - 'lib/warp/dir/command.rb'
186
+ - 'lib/warp/dir/point.rb'
187
+
188
+ # Offense count: 1
189
+ # This cop supports safe auto-correction (--auto-correct).
190
+ # Configuration parameters: EnforcedStyle, IndentationWidth.
191
+ # SupportedStyles: aligned, indented
192
+ Layout/MultilineOperationIndentation:
193
+ Exclude:
194
+ - 'lib/warp/dir/command/clean.rb'
195
+
196
+ # Offense count: 2
197
+ # This cop supports safe auto-correction (--auto-correct).
198
+ Layout/SpaceAfterComma:
199
+ Exclude:
200
+ - 'lib/warp/dir/app/cli.rb'
201
+ - 'lib/warp/dir/serializer/dotfile.rb'
202
+
203
+ # Offense count: 2
204
+ # This cop supports safe auto-correction (--auto-correct).
205
+ # Configuration parameters: AllowForAlignment, EnforcedStyleForExponentOperator.
206
+ # SupportedStylesForExponentOperator: space, no_space
207
+ Layout/SpaceAroundOperators:
208
+ Exclude:
209
+ - 'lib/warp/dir/store.rb'
210
+
211
+ # Offense count: 13
212
+ # This cop supports safe auto-correction (--auto-correct).
213
+ # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBrackets.
214
+ # SupportedStyles: space, no_space, compact
215
+ # SupportedStylesForEmptyBrackets: space, no_space
216
+ Layout/SpaceInsideArrayLiteralBrackets:
217
+ Exclude:
218
+ - 'Rakefile'
219
+ - 'spec/warp/dir/app/cli_spec.rb'
220
+
221
+ # Offense count: 7
222
+ # This cop supports safe auto-correction (--auto-correct).
223
+ # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
224
+ # SupportedStyles: space, no_space
225
+ # SupportedStylesForEmptyBraces: space, no_space
226
+ Layout/SpaceInsideBlockBraces:
227
+ Exclude:
228
+ - 'Guardfile'
229
+ - 'lib/warp/dir.rb'
230
+ - 'lib/warp/dir/command/help.rb'
231
+ - 'spec/spec_helper.rb'
232
+ - 'spec/warp/dir/app/cli_spec.rb'
233
+ - 'spec/warp/dir/store_spec.rb'
234
+
235
+ # Offense count: 3
236
+ # This cop supports safe auto-correction (--auto-correct).
237
+ # Configuration parameters: EnforcedStyle.
238
+ # SupportedStyles: final_newline, final_blank_line
239
+ Layout/TrailingEmptyLines:
240
+ Exclude:
241
+ - 'Guardfile'
242
+ - 'lib/colored.rb'
243
+ - 'lib/warp/dir/formatter.rb'
244
+
245
+ # Offense count: 1
246
+ # This cop supports safe auto-correction (--auto-correct).
247
+ # Configuration parameters: AllowInHeredoc.
248
+ Layout/TrailingWhitespace:
249
+ Exclude:
250
+ - 'Gemfile'
251
+
252
+ # Offense count: 5
253
+ # Configuration parameters: IgnoredMethods.
254
+ Lint/AmbiguousBlockAssociation:
255
+ Exclude:
256
+ - 'spec/warp/dir/app/cli_spec.rb'
257
+
258
+ # Offense count: 4
259
+ # Configuration parameters: AllowedMethods.
260
+ # AllowedMethods: enums
261
+ Lint/ConstantDefinitionInBlock:
262
+ Exclude:
263
+ - 'spec/warp/dir/command_spec.rb'
264
+
265
+ # Offense count: 1
266
+ # This cop supports safe auto-correction (--auto-correct).
267
+ Lint/DeprecatedClassMethods:
268
+ Exclude:
269
+ - 'spec/warp/dir/store_spec.rb'
270
+
271
+ # Offense count: 1
272
+ # This cop supports unsafe auto-correction (--auto-correct-all).
273
+ Lint/DisjunctiveAssignmentInConstructor:
274
+ Exclude:
275
+ - 'lib/warp/dir/commander.rb'
276
+
277
+ # Offense count: 2
278
+ Lint/MissingSuper:
279
+ Exclude:
280
+ - 'lib/warp/dir/command.rb'
281
+ - 'lib/warp/dir/serializer/base.rb'
282
+
283
+ # Offense count: 1
284
+ # This cop supports safe auto-correction (--auto-correct).
285
+ Lint/RedundantRequireStatement:
286
+ Exclude:
287
+ - 'lib/warp/dir/formatter.rb'
288
+
289
+ # Offense count: 2
290
+ Lint/RescueException:
291
+ Exclude:
292
+ - 'lib/warp/dir/app/cli.rb'
293
+ - 'spec/support/cli_expectations.rb'
294
+
295
+ # Offense count: 2
296
+ # This cop supports safe auto-correction (--auto-correct).
297
+ Lint/ScriptPermission:
298
+ Exclude:
299
+ - 'Guardfile'
300
+ - 'lib/warp/dir/app/cli.rb'
301
+
302
+ # Offense count: 1
303
+ # This cop supports safe auto-correction (--auto-correct).
304
+ Lint/SendWithMixinArgument:
305
+ Exclude:
306
+ - 'lib/colored.rb'
307
+
308
+ # Offense count: 1
309
+ Lint/ShadowingOuterLocalVariable:
310
+ Exclude:
311
+ - 'lib/colored.rb'
312
+
313
+ # Offense count: 2
314
+ # Configuration parameters: AllowComments, AllowNil.
315
+ Lint/SuppressedException:
316
+ Exclude:
317
+ - 'Rakefile'
318
+ - 'lib/warp/dir/command/warp.rb'
319
+
320
+ # Offense count: 6
321
+ # This cop supports safe auto-correction (--auto-correct).
322
+ # Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
323
+ Lint/UnusedBlockArgument:
324
+ Exclude:
325
+ - 'lib/colored.rb'
326
+ - 'lib/warp/dir/point.rb'
327
+ - 'lib/warp/dir/store.rb'
328
+ - 'spec/support/cli_expectations.rb'
329
+
330
+ # Offense count: 8
331
+ # This cop supports safe auto-correction (--auto-correct).
332
+ # Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods.
333
+ Lint/UnusedMethodArgument:
334
+ Exclude:
335
+ - 'lib/warp/dir/app/cli.rb'
336
+ - 'lib/warp/dir/command/add.rb'
337
+ - 'lib/warp/dir/command/help.rb'
338
+ - 'lib/warp/dir/command/install.rb'
339
+ - 'lib/warp/dir/command/list.rb'
340
+ - 'lib/warp/dir/command/ls.rb'
341
+ - 'lib/warp/dir/command/remove.rb'
342
+ - 'lib/warp/dir/command/warp.rb'
343
+
344
+ # Offense count: 1
345
+ # This cop supports safe auto-correction (--auto-correct).
346
+ Naming/BinaryOperatorParameterName:
347
+ Exclude:
348
+ - 'lib/warp/dir/point.rb'
349
+
350
+ # Offense count: 1
351
+ # This cop supports safe auto-correction (--auto-correct).
352
+ # Configuration parameters: EnforcedStyle.
353
+ # SupportedStyles: lowercase, uppercase
354
+ Naming/HeredocDelimiterCase:
355
+ Exclude:
356
+ - 'lib/warp/dir.rb'
357
+
358
+ # Offense count: 10
359
+ # Configuration parameters: ForbiddenDelimiters.
360
+ # ForbiddenDelimiters: (?-mix:(^|\s)(EO[A-Z]{1}|END)(\s|$))
361
+ Naming/HeredocDelimiterNaming:
362
+ Exclude:
363
+ - 'Rakefile'
364
+ - 'lib/warp/dir/command/help.rb'
365
+ - 'lib/warp/dir/version.rb'
366
+
367
+ # Offense count: 8
368
+ # This cop supports safe auto-correction (--auto-correct).
369
+ # Configuration parameters: EnforcedStyle.
370
+ # SupportedStyles: percent_q, bare_percent
371
+ Style/BarePercentLiterals:
372
+ Exclude:
373
+ - 'lib/warp/dir/app/response.rb'
374
+ - 'lib/warp/dir/point.rb'
375
+ - 'spec/warp/dir/app/response_spec.rb'
376
+ - 'spec/warp/dir/commands/list_spec.rb'
377
+ - 'spec/warp/dir/point_spec.rb'
378
+
379
+ # Offense count: 10
380
+ # This cop supports safe auto-correction (--auto-correct).
381
+ # Configuration parameters: EnforcedStyle.
382
+ # SupportedStyles: nested, compact
383
+ Style/ClassAndModuleChildren:
384
+ Exclude:
385
+ - 'lib/warp/dir/command/add.rb'
386
+ - 'lib/warp/dir/command/clean.rb'
387
+ - 'lib/warp/dir/command/help.rb'
388
+ - 'lib/warp/dir/command/install.rb'
389
+ - 'lib/warp/dir/command/list.rb'
390
+ - 'lib/warp/dir/command/remove.rb'
391
+ - 'spec/warp/dir/command_spec.rb'
392
+
393
+ # Offense count: 1
394
+ # This cop supports safe auto-correction (--auto-correct).
395
+ # Configuration parameters: EnforcedStyle.
396
+ # SupportedStyles: is_a?, kind_of?
397
+ Style/ClassCheck:
398
+ Exclude:
399
+ - 'lib/warp/dir/app/response.rb'
400
+
401
+ # Offense count: 1
402
+ Style/ClassVars:
403
+ Exclude:
404
+ - 'lib/colored.rb'
405
+
406
+ # Offense count: 1
407
+ # This cop supports safe auto-correction (--auto-correct).
408
+ # Configuration parameters: EnforcedStyle, AllowInnerBackticks.
409
+ # SupportedStyles: backticks, percent_x, mixed
410
+ Style/CommandLiteral:
411
+ Exclude:
412
+ - 'lib/warp/dir.rb'
413
+
414
+ # Offense count: 1
415
+ # This cop supports safe auto-correction (--auto-correct).
416
+ # Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions.
417
+ # SupportedStyles: assign_to_condition, assign_inside_condition
418
+ Style/ConditionalAssignment:
419
+ Exclude:
420
+ - 'lib/warp/dir/command/help.rb'
421
+
422
+ # Offense count: 1
423
+ # This cop supports safe auto-correction (--auto-correct).
424
+ # Configuration parameters: EnforcedStyle.
425
+ # SupportedStyles: empty, nil, both
426
+ Style/EmptyElse:
427
+ Exclude:
428
+ - 'spec/support/cli_expectations.rb'
429
+
430
+ # Offense count: 4
431
+ # This cop supports safe auto-correction (--auto-correct).
432
+ # Configuration parameters: EnforcedStyle.
433
+ # SupportedStyles: compact, expanded
434
+ Style/EmptyMethod:
435
+ Exclude:
436
+ - 'lib/warp/dir/app/response.rb'
437
+ - 'spec/spec_helper.rb'
438
+ - 'spec/warp/dir/command_spec.rb'
439
+
440
+ # Offense count: 4
441
+ # Configuration parameters: MaxUnannotatedPlaceholdersAllowed, IgnoredMethods.
442
+ # SupportedStyles: annotated, template, unannotated
443
+ Style/FormatStringToken:
444
+ EnforcedStyle: unannotated
445
+
446
+ # Offense count: 40
447
+ # This cop supports safe auto-correction (--auto-correct).
448
+ # Configuration parameters: EnforcedStyle.
449
+ # SupportedStyles: always, always_true, never
450
+ Style/FrozenStringLiteralComment:
451
+ Enabled: false
452
+
453
+ # Offense count: 5
454
+ # Configuration parameters: MinBodyLength, AllowConsecutiveConditionals.
455
+ Style/GuardClause:
456
+ Exclude:
457
+ - 'lib/warp/dir/app/cli.rb'
458
+ - 'lib/warp/dir/command.rb'
459
+ - 'lib/warp/dir/command/install.rb'
460
+ - 'spec/support/cli_expectations.rb'
461
+
462
+ # Offense count: 11
463
+ # This cop supports safe auto-correction (--auto-correct).
464
+ # Configuration parameters: EnforcedStyle, EnforcedShorthandSyntax, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
465
+ # SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
466
+ # SupportedShorthandSyntax: always, never, either
467
+ Style/HashSyntax:
468
+ Exclude:
469
+ - 'Rakefile'
470
+ - 'lib/colored.rb'
471
+
472
+ # Offense count: 1
473
+ # This cop supports safe auto-correction (--auto-correct).
474
+ # Configuration parameters: AllowIfModifier.
475
+ Style/IfInsideElse:
476
+ Exclude:
477
+ - 'lib/warp/dir/command/warp.rb'
478
+
479
+ # Offense count: 1
480
+ # This cop supports safe auto-correction (--auto-correct).
481
+ # Configuration parameters: IgnoredMethods.
482
+ Style/MethodCallWithoutArgsParentheses:
483
+ Exclude:
484
+ - 'spec/warp/dir/store_spec.rb'
485
+
486
+ # Offense count: 3
487
+ # This cop supports safe auto-correction (--auto-correct).
488
+ # Configuration parameters: EnforcedStyle.
489
+ # SupportedStyles: require_parentheses, require_no_parentheses, require_no_parentheses_except_multiline
490
+ Style/MethodDefParentheses:
491
+ Exclude:
492
+ - 'lib/warp/dir/errors.rb'
493
+ - 'lib/warp/dir/serializer/base.rb'
494
+
495
+ # Offense count: 1
496
+ Style/MissingRespondToMissing:
497
+ Exclude:
498
+ - 'lib/warp/dir/config.rb'
499
+
500
+ # Offense count: 2
501
+ # This cop supports safe auto-correction (--auto-correct).
502
+ Style/MultilineIfThen:
503
+ Exclude:
504
+ - 'lib/warp/dir/app/response.rb'
505
+ - 'lib/warp/dir/command/install.rb'
506
+
507
+ # Offense count: 1
508
+ # This cop supports safe auto-correction (--auto-correct).
509
+ # Configuration parameters: AllowMethodComparison.
510
+ Style/MultipleComparison:
511
+ Exclude:
512
+ - 'spec/support/cli_expectations.rb'
513
+
514
+ # Offense count: 14
515
+ # This cop supports safe auto-correction (--auto-correct).
516
+ # Configuration parameters: EnforcedStyle.
517
+ # SupportedStyles: literals, strict
518
+ Style/MutableConstant:
519
+ Exclude:
520
+ - 'lib/colored.rb'
521
+ - 'lib/warp/dir.rb'
522
+ - 'lib/warp/dir/app/response.rb'
523
+ - 'lib/warp/dir/command/help.rb'
524
+ - 'lib/warp/dir/config.rb'
525
+ - 'lib/warp/dir/serializer.rb'
526
+
527
+ # Offense count: 4
528
+ # This cop supports safe auto-correction (--auto-correct).
529
+ # Configuration parameters: AllowedMethods.
530
+ # AllowedMethods: be, be_a, be_an, be_between, be_falsey, be_kind_of, be_instance_of, be_truthy, be_within, eq, eql, end_with, include, match, raise_error, respond_to, start_with
531
+ Style/NestedParenthesizedCalls:
532
+ Exclude:
533
+ - 'spec/warp/dir/command_spec.rb'
534
+
535
+ # Offense count: 1
536
+ # This cop supports safe auto-correction (--auto-correct).
537
+ # Configuration parameters: AllowSafeAssignment, AllowInMultilineConditions.
538
+ Style/ParenthesesAroundCondition:
539
+ Exclude:
540
+ - 'lib/warp/dir/app/cli.rb'
541
+
542
+ # Offense count: 4
543
+ # This cop supports safe auto-correction (--auto-correct).
544
+ # Configuration parameters: EnforcedStyle.
545
+ # SupportedStyles: lower_case_q, upper_case_q
546
+ Style/PercentQLiterals:
547
+ Exclude:
548
+ - 'lib/warp/dir/app/response.rb'
549
+ - 'spec/warp/dir/app/response_spec.rb'
550
+ - 'spec/warp/dir/commands/list_spec.rb'
551
+
552
+ # Offense count: 19
553
+ # This cop supports safe auto-correction (--auto-correct).
554
+ # Configuration parameters: EnforcedStyle, AllowedCompactTypes.
555
+ # SupportedStyles: compact, exploded
556
+ Style/RaiseArgs:
557
+ Exclude:
558
+ - 'lib/warp/dir/app/cli.rb'
559
+ - 'lib/warp/dir/app/response.rb'
560
+ - 'lib/warp/dir/command/warp.rb'
561
+ - 'lib/warp/dir/commander.rb'
562
+ - 'lib/warp/dir/formatter.rb'
563
+ - 'lib/warp/dir/point.rb'
564
+ - 'lib/warp/dir/serializer/base.rb'
565
+ - 'lib/warp/dir/store.rb'
566
+ - 'spec/support/cli_expectations.rb'
567
+
568
+ # Offense count: 1
569
+ # This cop supports safe auto-correction (--auto-correct).
570
+ Style/RedundantCondition:
571
+ Exclude:
572
+ - 'lib/warp/dir/errors.rb'
573
+
574
+ # Offense count: 1
575
+ # This cop supports safe auto-correction (--auto-correct).
576
+ Style/RedundantInterpolation:
577
+ Exclude:
578
+ - 'lib/warp/dir/command/install.rb'
579
+
580
+ # Offense count: 17
581
+ # This cop supports safe auto-correction (--auto-correct).
582
+ Style/RedundantPercentQ:
583
+ Exclude:
584
+ - 'Rakefile'
585
+ - 'lib/warp/dir/app/response.rb'
586
+ - 'lib/warp/dir/command/add.rb'
587
+ - 'lib/warp/dir/command/clean.rb'
588
+ - 'lib/warp/dir/command/install.rb'
589
+ - 'lib/warp/dir/command/list.rb'
590
+ - 'lib/warp/dir/command/ls.rb'
591
+ - 'lib/warp/dir/command/remove.rb'
592
+ - 'lib/warp/dir/command/warp.rb'
593
+ - 'spec/warp/dir/app/response_spec.rb'
594
+ - 'spec/warp/dir/commands/list_spec.rb'
595
+
596
+ # Offense count: 1
597
+ # This cop supports safe auto-correction (--auto-correct).
598
+ # Configuration parameters: AllowMultipleReturnValues.
599
+ Style/RedundantReturn:
600
+ Exclude:
601
+ - 'lib/warp/dir/store.rb'
602
+
603
+ # Offense count: 42
604
+ # This cop supports safe auto-correction (--auto-correct).
605
+ Style/RedundantSelf:
606
+ Exclude:
607
+ - 'lib/warp/dir.rb'
608
+ - 'lib/warp/dir/app/cli.rb'
609
+ - 'lib/warp/dir/app/response.rb'
610
+ - 'lib/warp/dir/command.rb'
611
+ - 'lib/warp/dir/command/clean.rb'
612
+ - 'lib/warp/dir/command/install.rb'
613
+ - 'lib/warp/dir/commander.rb'
614
+ - 'lib/warp/dir/config.rb'
615
+ - 'lib/warp/dir/point.rb'
616
+ - 'lib/warp/dir/serializer/base.rb'
617
+ - 'lib/warp/dir/store.rb'
618
+ - 'spec/spec_helper.rb'
619
+
620
+ # Offense count: 3
621
+ # This cop supports unsafe auto-correction (--auto-correct-all).
622
+ Style/RedundantSort:
623
+ Exclude:
624
+ - 'lib/warp/dir/formatter.rb'
625
+ - 'lib/warp/dir/store.rb'
626
+
627
+ # Offense count: 12
628
+ # This cop supports safe auto-correction (--auto-correct).
629
+ # Configuration parameters: EnforcedStyle, AllowInnerSlashes.
630
+ # SupportedStyles: slashes, percent_r, mixed
631
+ Style/RegexpLiteral:
632
+ Exclude:
633
+ - 'Guardfile'
634
+ - 'Rakefile'
635
+ - 'lib/warp/dir.rb'
636
+ - 'lib/warp/dir/errors.rb'
637
+ - 'spec/warp/dir/app/cli_spec.rb'
638
+ - 'spec/warp/dir/commands/add_spec.rb'
639
+ - 'spec/warp/dir/point_spec.rb'
640
+
641
+ # Offense count: 1
642
+ # This cop supports safe auto-correction (--auto-correct).
643
+ # Configuration parameters: ConvertCodeThatCanStartToReturnNil, AllowedMethods, MaxChainLength.
644
+ # AllowedMethods: present?, blank?, presence, try, try!
645
+ Style/SafeNavigation:
646
+ Exclude:
647
+ - 'exe/warp-dir'
648
+
649
+ # Offense count: 8
650
+ # This cop supports safe auto-correction (--auto-correct).
651
+ Style/StderrPuts:
652
+ Exclude:
653
+ - 'lib/warp/dir/app/cli.rb'
654
+ - 'lib/warp/dir/command/ls.rb'
655
+ - 'lib/warp/dir/serializer/dotfile.rb'
656
+ - 'spec/support/cli_expectations.rb'
657
+
658
+ # Offense count: 3
659
+ # This cop supports safe auto-correction (--auto-correct).
660
+ # Configuration parameters: EnforcedStyle.
661
+ # SupportedStyles: single_quotes, double_quotes
662
+ Style/StringLiteralsInInterpolation:
663
+ Exclude:
664
+ - 'lib/warp/dir/app/response.rb'
665
+ - 'lib/warp/dir/command/help.rb'
666
+
667
+ # Offense count: 1
668
+ # This cop supports safe auto-correction (--auto-correct).
669
+ Style/StructInheritance:
670
+ Exclude:
671
+ - 'lib/warp/dir/app/response.rb'
672
+
673
+ # Offense count: 1
674
+ # This cop supports safe auto-correction (--auto-correct).
675
+ # Configuration parameters: EnforcedStyle, AllowSafeAssignment.
676
+ # SupportedStyles: require_parentheses, require_no_parentheses, require_parentheses_when_complex
677
+ Style/TernaryParentheses:
678
+ Exclude:
679
+ - 'lib/warp/dir/store.rb'
680
+
681
+ # Offense count: 1
682
+ # This cop supports unsafe auto-correction (--auto-correct-all).
683
+ Style/ZeroLengthPredicate:
684
+ Exclude:
685
+ - 'spec/warp/dir/point_spec.rb'
data/Gemfile CHANGED
@@ -4,7 +4,6 @@ source 'https://rubygems.org'
4
4
 
5
5
  gemspec
6
6
 
7
- gem 'rubocop'
8
7
  if RUBY_VERSION.to_f > 2.3
9
- gem 'simplecov'
10
- end
8
+ gem 'simplecov', '=0.17.1'
9
+ end
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2012 Konstantin Gredeskoul
1
+ Copyright © 2012-2022 Konstantin Gredeskoul
2
2
 
3
3
  MIT License
4
4
 
@@ -19,4 +19,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
19
  NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
20
  LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
21
  OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.