autosign 0.1.4 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7cea4888327d41b345649b2eee66159c1bb0e7f5c72bc47181273c2288267c22
4
- data.tar.gz: e955bcf5683d7a732e5a230809249757abc85b15b3d472a19d8d1bae15888e07
3
+ metadata.gz: c0fd9cb1eddad3206e80b78f48ac1106d0867792d6f25301b2b6990647512910
4
+ data.tar.gz: 9d53aab017624b6726acf4b2932b77a6a5ac881cca499fee61253306835ac075
5
5
  SHA512:
6
- metadata.gz: 51af9e930cf1348583e03bb824a43dc6a554064d3868aea5a29aafe47ba90680ab4f139b57f8371c269dfe20917d49fb6e4cabd60f3b4dc429aacea958e9175a
7
- data.tar.gz: 32de31aabf2e38ea9ad43c9ec51d7f8fd8d3e1fd2a529f4ff504819b4f28ae7d83dcbe12e09495415c6a9fcab1d70c65e455ecbed5ef7f95c03b93db225ef49a
6
+ metadata.gz: 053bfd7899d02e4bc3e330de5f98e1f13b371fe2e9b068514cbe704118a70b00c1455c0724da52a39264005246e81d80a1c13a1b9985e8c5faa383692321429f
7
+ data.tar.gz: 56f15d997e40bd048e04a447f42b6260644f2287a8ec30f873a3aae0217948b4d49a4c78909bf3b7b2f6f965eac72baf04d399932860c5200716495db69ce560
@@ -0,0 +1,12 @@
1
+ inherit_from: .rubocop_todo.yml
2
+
3
+ # The behavior of RuboCop can be controlled via the .rubocop.yml
4
+ # configuration file. It makes it possible to enable/disable
5
+ # certain cops (checks) and to alter their behavior if they accept
6
+ # any parameters. The file can be placed either in your home
7
+ # directory or in some project directory.
8
+ #
9
+ # RuboCop will start looking for the configuration file in the directory
10
+ # where the inspected file is and continue its way up to the root directory.
11
+ #
12
+ # See https://github.com/rubocop-hq/rubocop/blob/master/manual/configuration.md
@@ -0,0 +1,659 @@
1
+ # This configuration was generated by
2
+ # `rubocop --auto-gen-config`
3
+ # on 2020-05-14 10:26:13 -0700 using RuboCop version 0.83.0.
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: 3
10
+ # Cop supports --auto-correct.
11
+ Layout/CommentIndentation:
12
+ Exclude:
13
+ - 'features/step_definitions/autosign_steps.rb'
14
+ - 'lib/autosign/config.rb'
15
+ - 'lib/autosign/journal.rb'
16
+
17
+ # Offense count: 2
18
+ # Cop supports --auto-correct.
19
+ Layout/EmptyLineAfterGuardClause:
20
+ Exclude:
21
+ - 'lib/autosign/validators/jwt.rb'
22
+
23
+ # Offense count: 4
24
+ # Cop supports --auto-correct.
25
+ # Configuration parameters: AllowAdjacentOneLineDefs, NumberOfEmptyLines.
26
+ Layout/EmptyLineBetweenDefs:
27
+ Exclude:
28
+ - 'lib/autosign/journal.rb'
29
+ - 'lib/autosign/validator.rb'
30
+ - 'lib/autosign/validators/multiplexer.rb'
31
+
32
+ # Offense count: 12
33
+ # Cop supports --auto-correct.
34
+ Layout/EmptyLines:
35
+ Exclude:
36
+ - 'bin/autosign'
37
+ - 'features/support/env.rb'
38
+ - 'lib/autosign/journal.rb'
39
+ - 'lib/autosign/validator.rb'
40
+ - 'lib/autosign/validators/multiplexer.rb'
41
+ - 'spec/specs/journal_spec.rb'
42
+ - 'spec/specs/token_spec.rb'
43
+ - 'spec/specs/validators/jwt_spec.rb'
44
+
45
+ # Offense count: 7
46
+ # Cop supports --auto-correct.
47
+ # Configuration parameters: EnforcedStyle.
48
+ # SupportedStyles: empty_lines, no_empty_lines
49
+ Layout/EmptyLinesAroundBlockBody:
50
+ Exclude:
51
+ - 'bin/autosign'
52
+ - 'spec/specs/config_spec.rb'
53
+ - 'spec/specs/journal_spec.rb'
54
+ - 'spec/specs/token_spec.rb'
55
+ - 'spec/specs/validators/jwt_spec.rb'
56
+ - 'spec/specs/validators/passwordlist_spec.rb'
57
+
58
+ # Offense count: 7
59
+ # Cop supports --auto-correct.
60
+ # Configuration parameters: EnforcedStyle.
61
+ # SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines, beginning_only, ending_only
62
+ Layout/EmptyLinesAroundClassBody:
63
+ Exclude:
64
+ - 'lib/autosign/token.rb'
65
+ - 'lib/autosign/validator.rb'
66
+ - 'lib/autosign/validators/jwt.rb'
67
+ - 'lib/autosign/validators/multiplexer.rb'
68
+ - 'lib/autosign/validators/passwordlist.rb'
69
+
70
+ # Offense count: 1
71
+ # Cop supports --auto-correct.
72
+ # Configuration parameters: EnforcedStyle.
73
+ # SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines
74
+ Layout/EmptyLinesAroundModuleBody:
75
+ Exclude:
76
+ - 'lib/autosign/validators/multiplexer.rb'
77
+
78
+ # Offense count: 4
79
+ # Cop supports --auto-correct.
80
+ # Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment.
81
+ Layout/ExtraSpacing:
82
+ Exclude:
83
+ - 'spec/specs/token_spec.rb'
84
+ - 'spec/specs/validators/jwt_spec.rb'
85
+
86
+ # Offense count: 8
87
+ # Cop supports --auto-correct.
88
+ # Configuration parameters: EnforcedStyle, IndentationWidth.
89
+ # SupportedStyles: special_inside_parentheses, consistent, align_braces
90
+ Layout/FirstHashElementIndentation:
91
+ Exclude:
92
+ - 'spec/specs/validators/jwt_spec.rb'
93
+ - 'spec/specs/validators/passwordlist_spec.rb'
94
+
95
+ # Offense count: 21
96
+ # Cop supports --auto-correct.
97
+ # Configuration parameters: AllowMultipleStyles, EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle.
98
+ # SupportedHashRocketStyles: key, separator, table
99
+ # SupportedColonStyles: key, separator, table
100
+ # SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit
101
+ Layout/HashAlignment:
102
+ Exclude:
103
+ - 'lib/autosign/config.rb'
104
+ - 'lib/autosign/decoder.rb'
105
+ - 'lib/autosign/token.rb'
106
+ - 'lib/autosign/validators/jwt.rb'
107
+ - 'spec/specs/token_spec.rb'
108
+ - 'spec/specs/validators/jwt_spec.rb'
109
+ - 'spec/specs/validators/passwordlist_spec.rb'
110
+
111
+ # Offense count: 2
112
+ # Cop supports --auto-correct.
113
+ # Configuration parameters: EnforcedStyle.
114
+ # SupportedStyles: normal, indented_internal_methods
115
+ Layout/IndentationConsistency:
116
+ Exclude:
117
+ - 'lib/autosign/validators/jwt.rb'
118
+ - 'lib/autosign/validators/passwordlist.rb'
119
+
120
+ # Offense count: 2
121
+ # Cop supports --auto-correct.
122
+ # Configuration parameters: IndentationWidth, EnforcedStyle.
123
+ # SupportedStyles: spaces, tabs
124
+ Layout/IndentationStyle:
125
+ Exclude:
126
+ - 'lib/autosign/validators/multiplexer.rb'
127
+ - 'lib/autosign/validators/passwordlist.rb'
128
+
129
+ # Offense count: 6
130
+ # Cop supports --auto-correct.
131
+ # Configuration parameters: Width, IgnoredPatterns.
132
+ Layout/IndentationWidth:
133
+ Exclude:
134
+ - 'features/step_definitions/autosign_steps.rb'
135
+ - 'lib/autosign/validators/jwt.rb'
136
+ - 'lib/autosign/validators/multiplexer.rb'
137
+ - 'lib/autosign/validators/passwordlist.rb'
138
+
139
+ # Offense count: 5
140
+ # Cop supports --auto-correct.
141
+ # Configuration parameters: AllowDoxygenCommentStyle, AllowGemfileRubyComment.
142
+ Layout/LeadingCommentSpace:
143
+ Exclude:
144
+ - 'features/step_definitions/autosign_steps.rb'
145
+ - 'lib/autosign/config.rb'
146
+ - 'lib/autosign/journal.rb'
147
+
148
+ # Offense count: 3
149
+ # Cop supports --auto-correct.
150
+ # Configuration parameters: EnforcedStyle.
151
+ # SupportedStyles: symmetrical, new_line, same_line
152
+ Layout/MultilineHashBraceLayout:
153
+ Exclude:
154
+ - 'lib/autosign/config.rb'
155
+ - 'spec/specs/validators/jwt_spec.rb'
156
+ - 'spec/specs/validators/passwordlist_spec.rb'
157
+
158
+ # Offense count: 25
159
+ # Cop supports --auto-correct.
160
+ Layout/SpaceAfterComma:
161
+ Exclude:
162
+ - 'bin/autosign'
163
+ - 'features/support/env.rb'
164
+
165
+ # Offense count: 2
166
+ # Cop supports --auto-correct.
167
+ # Configuration parameters: EnforcedStyle.
168
+ # SupportedStyles: space, no_space
169
+ Layout/SpaceAroundEqualsInParameterDefault:
170
+ Exclude:
171
+ - 'lib/autosign/token.rb'
172
+
173
+ # Offense count: 1
174
+ # Cop supports --auto-correct.
175
+ Layout/SpaceAroundKeyword:
176
+ Exclude:
177
+ - 'features/step_definitions/autosign_steps.rb'
178
+
179
+ # Offense count: 4
180
+ # Cop supports --auto-correct.
181
+ # Configuration parameters: AllowForAlignment, EnforcedStyleForExponentOperator.
182
+ # SupportedStylesForExponentOperator: space, no_space
183
+ Layout/SpaceAroundOperators:
184
+ Exclude:
185
+ - 'lib/autosign/config.rb'
186
+ - 'spec/specs/decoder_spec.rb'
187
+
188
+ # Offense count: 1
189
+ # Cop supports --auto-correct.
190
+ # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
191
+ # SupportedStyles: space, no_space
192
+ # SupportedStylesForEmptyBraces: space, no_space
193
+ Layout/SpaceBeforeBlockBraces:
194
+ Exclude:
195
+ - 'lib/autosign/validator.rb'
196
+
197
+ # Offense count: 2
198
+ # Cop supports --auto-correct.
199
+ # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBrackets.
200
+ # SupportedStyles: space, no_space, compact
201
+ # SupportedStylesForEmptyBrackets: space, no_space
202
+ Layout/SpaceInsideArrayLiteralBrackets:
203
+ Exclude:
204
+ - 'lib/autosign/config.rb'
205
+
206
+ # Offense count: 7
207
+ # Cop supports --auto-correct.
208
+ # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
209
+ # SupportedStyles: space, no_space
210
+ # SupportedStylesForEmptyBraces: space, no_space
211
+ Layout/SpaceInsideBlockBraces:
212
+ Exclude:
213
+ - 'lib/autosign/validator.rb'
214
+ - 'lib/autosign/validators/multiplexer.rb'
215
+
216
+ # Offense count: 19
217
+ # Cop supports --auto-correct.
218
+ # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
219
+ # SupportedStyles: space, no_space, compact
220
+ # SupportedStylesForEmptyBraces: space, no_space
221
+ Layout/SpaceInsideHashLiteralBraces:
222
+ Exclude:
223
+ - 'bin/autosign'
224
+ - 'lib/autosign/journal.rb'
225
+ - 'lib/autosign/token.rb'
226
+ - 'lib/autosign/validators/jwt.rb'
227
+ - 'spec/specs/decoder_spec.rb'
228
+ - 'spec/specs/journal_spec.rb'
229
+
230
+ # Offense count: 1
231
+ # Cop supports --auto-correct.
232
+ # Configuration parameters: EnforcedStyle.
233
+ # SupportedStyles: space, no_space
234
+ Layout/SpaceInsideParens:
235
+ Exclude:
236
+ - 'lib/autosign/validators/jwt.rb'
237
+
238
+ # Offense count: 2
239
+ # Cop supports --auto-correct.
240
+ # Configuration parameters: AllowInHeredoc.
241
+ Layout/TrailingWhitespace:
242
+ Exclude:
243
+ - 'lib/autosign/validators/multiplexer.rb'
244
+ - 'lib/autosign/validators/passwordlist.rb'
245
+
246
+ # Offense count: 2
247
+ Lint/IneffectiveAccessModifier:
248
+ Exclude:
249
+ - 'lib/autosign/config.rb'
250
+ - 'lib/autosign/validator.rb'
251
+
252
+ # Offense count: 4
253
+ # Cop supports --auto-correct.
254
+ # Configuration parameters: EnforcedStyle.
255
+ # SupportedStyles: runtime_error, standard_error
256
+ Lint/InheritException:
257
+ Exclude:
258
+ - 'lib/autosign/config.rb'
259
+
260
+ # Offense count: 8
261
+ # Cop supports --auto-correct.
262
+ Lint/RedundantStringCoercion:
263
+ Exclude:
264
+ - 'bin/autosign'
265
+ - 'lib/autosign/journal.rb'
266
+ - 'lib/autosign/token.rb'
267
+ - 'lib/autosign/validator.rb'
268
+ - 'lib/autosign/validators/multiplexer.rb'
269
+
270
+ # Offense count: 1
271
+ # Configuration parameters: AllowComments.
272
+ Lint/SuppressedException:
273
+ Exclude:
274
+ - 'Rakefile'
275
+
276
+ # Offense count: 1
277
+ # Cop supports --auto-correct.
278
+ Lint/ToJSON:
279
+ Exclude:
280
+ - 'lib/autosign/token.rb'
281
+
282
+ # Offense count: 2
283
+ Lint/UnreachableCode:
284
+ Exclude:
285
+ - 'bin/autosign-validator'
286
+ - 'lib/autosign/token.rb'
287
+
288
+ # Offense count: 5
289
+ # Cop supports --auto-correct.
290
+ # Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
291
+ Lint/UnusedBlockArgument:
292
+ Exclude:
293
+ - 'bin/autosign'
294
+ - 'features/step_definitions/autosign_steps.rb'
295
+
296
+ # Offense count: 4
297
+ # Cop supports --auto-correct.
298
+ # Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods.
299
+ Lint/UnusedMethodArgument:
300
+ Exclude:
301
+ - 'lib/autosign/validators/jwt.rb'
302
+ - 'lib/autosign/validators/multiplexer.rb'
303
+ - 'lib/autosign/validators/passwordlist.rb'
304
+
305
+ # Offense count: 10
306
+ # Configuration parameters: IgnoredMethods.
307
+ Metrics/AbcSize:
308
+ Max: 42
309
+
310
+ # Offense count: 8
311
+ # Configuration parameters: CountComments, ExcludedMethods.
312
+ # ExcludedMethods: refine
313
+ Metrics/BlockLength:
314
+ Max: 92
315
+
316
+ # Offense count: 1
317
+ # Configuration parameters: CountComments.
318
+ Metrics/ClassLength:
319
+ Max: 118
320
+
321
+ # Offense count: 2
322
+ # Configuration parameters: IgnoredMethods.
323
+ Metrics/CyclomaticComplexity:
324
+ Max: 9
325
+
326
+ # Offense count: 12
327
+ # Configuration parameters: CountComments, ExcludedMethods.
328
+ Metrics/MethodLength:
329
+ Max: 40
330
+
331
+ # Offense count: 1
332
+ # Configuration parameters: IgnoredMethods.
333
+ Metrics/PerceivedComplexity:
334
+ Max: 11
335
+
336
+ # Offense count: 2
337
+ Naming/AccessorMethodName:
338
+ Exclude:
339
+ - 'lib/autosign/validator.rb'
340
+ - 'lib/autosign/validators/jwt.rb'
341
+
342
+ # Offense count: 1
343
+ # Configuration parameters: NamePrefix, ForbiddenPrefixes, AllowedMethods, MethodDefinitionMacros.
344
+ # NamePrefix: is_, has_, have_
345
+ # ForbiddenPrefixes: is_, has_, have_
346
+ # AllowedMethods: is_a?
347
+ # MethodDefinitionMacros: define_method, define_singleton_method
348
+ Naming/PredicateName:
349
+ Exclude:
350
+ - 'spec/**/*'
351
+ - 'lib/autosign/validators/jwt.rb'
352
+
353
+ # Offense count: 1
354
+ Security/Eval:
355
+ Exclude:
356
+ - 'Rakefile'
357
+
358
+ # Offense count: 1
359
+ # Cop supports --auto-correct.
360
+ Security/YAMLLoad:
361
+ Exclude:
362
+ - 'lib/autosign/config.rb'
363
+
364
+ # Offense count: 3
365
+ # Cop supports --auto-correct.
366
+ # Configuration parameters: EnforcedStyle.
367
+ # SupportedStyles: always, conditionals
368
+ Style/AndOr:
369
+ Exclude:
370
+ - 'lib/autosign/config.rb'
371
+ - 'lib/autosign/validators/jwt.rb'
372
+
373
+ # Offense count: 1
374
+ # Cop supports --auto-correct.
375
+ Style/BlockComments:
376
+ Exclude:
377
+ - 'spec/spec_helper.rb'
378
+
379
+ # Offense count: 5
380
+ # Cop supports --auto-correct.
381
+ # Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, IgnoredMethods, AllowBracesOnProceduralOneLiners, BracesRequiredMethods.
382
+ # SupportedStyles: line_count_based, semantic, braces_for_chaining, always_braces
383
+ # ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
384
+ # FunctionalMethods: let, let!, subject, watch
385
+ # IgnoredMethods: lambda, proc, it
386
+ Style/BlockDelimiters:
387
+ Exclude:
388
+ - 'lib/autosign/config.rb'
389
+ - 'lib/autosign/validator.rb'
390
+ - 'lib/autosign/validators/multiplexer.rb'
391
+ - 'spec/specs/validators/jwt_spec.rb'
392
+ - 'spec/specs/validators/passwordlist_spec.rb'
393
+
394
+ # Offense count: 2
395
+ # Cop supports --auto-correct.
396
+ Style/DefWithParentheses:
397
+ Exclude:
398
+ - 'lib/autosign/token.rb'
399
+ - 'lib/autosign/validator.rb'
400
+
401
+ # Offense count: 1
402
+ # Cop supports --auto-correct.
403
+ Style/Dir:
404
+ Exclude:
405
+ - 'features/support/env.rb'
406
+
407
+ # Offense count: 1
408
+ Style/Documentation:
409
+ Exclude:
410
+ - 'spec/**/*'
411
+ - 'test/**/*'
412
+ - 'lib/autosign/token.rb'
413
+
414
+ # Offense count: 4
415
+ Style/DoubleNegation:
416
+ Exclude:
417
+ - 'lib/autosign/journal.rb'
418
+ - 'lib/autosign/token.rb'
419
+
420
+ # Offense count: 1
421
+ # Cop supports --auto-correct.
422
+ # Configuration parameters: EnforcedStyle.
423
+ # SupportedStyles: empty, nil, both
424
+ Style/EmptyElse:
425
+ Exclude:
426
+ - 'lib/autosign/decoder.rb'
427
+
428
+ # Offense count: 23
429
+ # Cop supports --auto-correct.
430
+ # Configuration parameters: EnforcedStyle.
431
+ # SupportedStyles: always, always_true, never
432
+ Style/FrozenStringLiteralComment:
433
+ Enabled: false
434
+
435
+ # Offense count: 2
436
+ # Configuration parameters: AllowedVariables.
437
+ Style/GlobalVars:
438
+ Exclude:
439
+ - 'features/step_definitions/autosign_steps.rb'
440
+ - 'features/support/env.rb'
441
+
442
+ # Offense count: 1
443
+ # Configuration parameters: MinBodyLength.
444
+ Style/GuardClause:
445
+ Exclude:
446
+ - 'lib/autosign/journal.rb'
447
+
448
+ # Offense count: 19
449
+ # Cop supports --auto-correct.
450
+ # Configuration parameters: UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
451
+ # SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
452
+ Style/HashSyntax:
453
+ EnforcedStyle: hash_rockets
454
+
455
+ # Offense count: 2
456
+ # Cop supports --auto-correct.
457
+ Style/IfUnlessModifier:
458
+ Exclude:
459
+ - 'lib/autosign/token.rb'
460
+
461
+ # Offense count: 1
462
+ Style/MixinUsage:
463
+ Exclude:
464
+ - 'bin/autosign'
465
+
466
+ # Offense count: 2
467
+ # Cop supports --auto-correct.
468
+ # Configuration parameters: EnforcedStyle.
469
+ # SupportedStyles: literals, strict
470
+ Style/MutableConstant:
471
+ Exclude:
472
+ - 'lib/autosign/version.rb'
473
+
474
+ # Offense count: 1
475
+ # Cop supports --auto-correct.
476
+ # Configuration parameters: EnforcedStyle.
477
+ # SupportedStyles: both, prefix, postfix
478
+ Style/NegatedIf:
479
+ Exclude:
480
+ - 'bin/autosign'
481
+
482
+ # Offense count: 2
483
+ # Cop supports --auto-correct.
484
+ # Configuration parameters: Strict.
485
+ Style/NumericLiterals:
486
+ MinDigits: 7
487
+
488
+ # Offense count: 3
489
+ # Cop supports --auto-correct.
490
+ # Configuration parameters: AutoCorrect, EnforcedStyle, IgnoredMethods.
491
+ # SupportedStyles: predicate, comparison
492
+ Style/NumericPredicate:
493
+ Exclude:
494
+ - 'spec/**/*'
495
+ - 'lib/autosign/token.rb'
496
+ - 'lib/autosign/validators/multiplexer.rb'
497
+
498
+ # Offense count: 2
499
+ Style/OptionalArguments:
500
+ Exclude:
501
+ - 'lib/autosign/token.rb'
502
+
503
+ # Offense count: 1
504
+ # Cop supports --auto-correct.
505
+ # Configuration parameters: AllowSafeAssignment, AllowInMultilineConditions.
506
+ Style/ParenthesesAroundCondition:
507
+ Exclude:
508
+ - 'lib/autosign/validators/jwt.rb'
509
+
510
+ # Offense count: 27
511
+ # Cop supports --auto-correct.
512
+ # Configuration parameters: AllowMultipleReturnValues.
513
+ Style/RedundantReturn:
514
+ Exclude:
515
+ - 'lib/autosign/config.rb'
516
+ - 'lib/autosign/decoder.rb'
517
+ - 'lib/autosign/journal.rb'
518
+ - 'lib/autosign/token.rb'
519
+ - 'lib/autosign/validator.rb'
520
+ - 'lib/autosign/validators/jwt.rb'
521
+ - 'lib/autosign/validators/multiplexer.rb'
522
+ - 'lib/autosign/validators/passwordlist.rb'
523
+
524
+ # Offense count: 11
525
+ # Cop supports --auto-correct.
526
+ Style/RedundantSelf:
527
+ Exclude:
528
+ - 'lib/autosign/journal.rb'
529
+ - 'lib/autosign/token.rb'
530
+ - 'lib/autosign/validator.rb'
531
+
532
+ # Offense count: 5
533
+ # Cop supports --auto-correct.
534
+ # Configuration parameters: EnforcedStyle, AllowInnerSlashes.
535
+ # SupportedStyles: slashes, percent_r, mixed
536
+ Style/RegexpLiteral:
537
+ Exclude:
538
+ - 'features/step_definitions/autosign_steps.rb'
539
+ - 'lib/autosign/decoder.rb'
540
+ - 'lib/autosign/token.rb'
541
+
542
+ # Offense count: 4
543
+ # Cop supports --auto-correct.
544
+ # Configuration parameters: EnforcedStyle.
545
+ # SupportedStyles: implicit, explicit
546
+ Style/RescueStandardError:
547
+ Exclude:
548
+ - 'lib/autosign/decoder.rb'
549
+ - 'lib/autosign/token.rb'
550
+
551
+ # Offense count: 1
552
+ # Cop supports --auto-correct.
553
+ # Configuration parameters: AllowAsExpressionSeparator.
554
+ Style/Semicolon:
555
+ Exclude:
556
+ - 'lib/autosign/validators/multiplexer.rb'
557
+
558
+ # Offense count: 3
559
+ # Cop supports --auto-correct.
560
+ # Configuration parameters: EnforcedStyle.
561
+ # SupportedStyles: only_raise, only_fail, semantic
562
+ Style/SignalException:
563
+ Exclude:
564
+ - 'lib/autosign/journal.rb'
565
+ - 'lib/autosign/validator.rb'
566
+
567
+ # Offense count: 1
568
+ # Cop supports --auto-correct.
569
+ # Configuration parameters: .
570
+ # SupportedStyles: use_perl_names, use_english_names
571
+ Style/SpecialGlobalVars:
572
+ EnforcedStyle: use_perl_names
573
+
574
+ # Offense count: 1
575
+ # Cop supports --auto-correct.
576
+ Style/StderrPuts:
577
+ Exclude:
578
+ - 'bin/autosign-validator'
579
+
580
+ # Offense count: 125
581
+ # Cop supports --auto-correct.
582
+ # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
583
+ # SupportedStyles: single_quotes, double_quotes
584
+ Style/StringLiterals:
585
+ Exclude:
586
+ - 'bin/autosign'
587
+ - 'bin/autosign-validator'
588
+ - 'features/step_definitions/autosign_steps.rb'
589
+ - 'lib/autosign/config.rb'
590
+ - 'lib/autosign/decoder.rb'
591
+ - 'lib/autosign/journal.rb'
592
+ - 'lib/autosign/token.rb'
593
+ - 'lib/autosign/validator.rb'
594
+ - 'lib/autosign/validators/jwt.rb'
595
+ - 'lib/autosign/validators/multiplexer.rb'
596
+ - 'lib/autosign/validators/passwordlist.rb'
597
+ - 'spec/spec_helper.rb'
598
+ - 'spec/specs/decoder_spec.rb'
599
+ - 'spec/specs/token_spec.rb'
600
+
601
+ # Offense count: 1
602
+ # Cop supports --auto-correct.
603
+ # Configuration parameters: EnforcedStyle.
604
+ # SupportedStyles: single_quotes, double_quotes
605
+ Style/StringLiteralsInInterpolation:
606
+ Exclude:
607
+ - 'lib/autosign/token.rb'
608
+
609
+ # Offense count: 12
610
+ # Cop supports --auto-correct.
611
+ # Configuration parameters: MinSize.
612
+ # SupportedStyles: percent, brackets
613
+ Style/SymbolArray:
614
+ EnforcedStyle: brackets
615
+
616
+ # Offense count: 1
617
+ # Cop supports --auto-correct.
618
+ # Configuration parameters: EnforcedStyle, AllowSafeAssignment.
619
+ # SupportedStyles: require_parentheses, require_no_parentheses, require_parentheses_when_complex
620
+ Style/TernaryParentheses:
621
+ Exclude:
622
+ - 'lib/autosign/token.rb'
623
+
624
+ # Offense count: 2
625
+ # Cop supports --auto-correct.
626
+ # Configuration parameters: EnforcedStyleForMultiline.
627
+ # SupportedStylesForMultiline: comma, consistent_comma, no_comma
628
+ Style/TrailingCommaInHashLiteral:
629
+ Exclude:
630
+ - 'lib/autosign/config.rb'
631
+ - 'lib/autosign/validators/multiplexer.rb'
632
+
633
+ # Offense count: 2
634
+ # Cop supports --auto-correct.
635
+ # Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, IgnoreClassMethods, AllowedMethods.
636
+ # AllowedMethods: to_ary, to_a, to_c, to_enum, to_h, to_hash, to_i, to_int, to_io, to_open, to_path, to_proc, to_r, to_regexp, to_str, to_s, to_sym
637
+ Style/TrivialAccessors:
638
+ Exclude:
639
+ - 'lib/autosign/token.rb'
640
+
641
+ # Offense count: 1
642
+ # Cop supports --auto-correct.
643
+ Style/UnlessElse:
644
+ Exclude:
645
+ - 'lib/autosign/token.rb'
646
+
647
+ # Offense count: 2
648
+ # Cop supports --auto-correct.
649
+ # Configuration parameters: MinSize, WordRegex.
650
+ # SupportedStyles: percent, brackets
651
+ Style/WordArray:
652
+ EnforcedStyle: brackets
653
+
654
+ # Offense count: 160
655
+ # Cop supports --auto-correct.
656
+ # Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
657
+ # URISchemes: http, https
658
+ Layout/LineLength:
659
+ Max: 495