oauth-bwergemn 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 07ce46f170807caef36e443c70c11954953f0c466f573d572728c9b6ed957813
4
+ data.tar.gz: 771bbfc1a4cb1609816b976621d5d3fa2b21d74d488a02e0623f9bff16932d72
5
+ SHA512:
6
+ metadata.gz: bbcc7c13acce1623efb50bdd09d1392fa84f4fc710d3ac29bc8da1bce3c2fe3df6a3aede554fa09c89e113c05ab326a8b04ee8a714ee06103bb0f31fa70b2027
7
+ data.tar.gz: 024eb4e419d18d4a947b5994892f08d053eb98e8e8eed1c030a3ba7f9cec57c508524b9566bbe1214e4ffef13ea9ca0b868429dbc62ede33ccf10515ace93dae
data/.gitignore ADDED
@@ -0,0 +1,14 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
12
+
13
+ # editor
14
+ .idea
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --require spec_helper
2
+ --color
data/.rubocop.yml ADDED
@@ -0,0 +1,1149 @@
1
+ require:
2
+ - rubocop-performance
3
+
4
+ AllCops:
5
+ # Prevent RuboCop from exploding when it finds an older-than-2.3 .ruby-version
6
+ TargetRubyVersion: 2.6.3
7
+ DisabledByDefault: true
8
+ Exclude:
9
+ - '**/templates/**/*'
10
+ - '**/vendor/**/*'
11
+ - '**/vendor/**/.*'
12
+ - '**/node_modules/**/*'
13
+ - 'actionpack/lib/action_dispatch/journey/parser.rb'
14
+ - 'db/**/*'
15
+ - 'config/**/*'
16
+ - 'script/**/*'
17
+ - 'bin/*'
18
+ - 'public/views/*'
19
+ - 'bin/**/*'
20
+ - 'config/**/*'
21
+ - 'db/**/*'
22
+ - 'spec/spec_helper.rb'
23
+ - 'spec/rails_helper.rb'
24
+ - 'Rakefile'
25
+ - !ruby/regexp /old_and_unused\.rb$/
26
+
27
+ Bundler/InsecureProtocolSource:
28
+ Enabled: true
29
+ Include:
30
+ - '**/*.gemfile'
31
+ - '**/Gemfile'
32
+ - '**/gems.rb'
33
+
34
+ Bundler/DuplicatedGem:
35
+ Enabled: true
36
+ Include:
37
+ - '**/*.gemfile'
38
+ - '**/Gemfile'
39
+ - '**/gems.rb'
40
+
41
+ Bundler/GemComment:
42
+ Enabled: true
43
+
44
+ Bundler/OrderedGems:
45
+ Enabled: true
46
+ Include:
47
+ - '**/*.gemfile'
48
+ - '**/Gemfile'
49
+ - '**/gems.rb'
50
+
51
+ Gemspec/DuplicatedAssignment:
52
+ Enabled: true
53
+ Include:
54
+ - '**/*.gemspec'
55
+
56
+ Gemspec/OrderedDependencies:
57
+ Enabled: true
58
+ Include:
59
+ - '**/*.gemspec'
60
+
61
+ Layout/AccessModifierIndentation:
62
+ Enabled: true
63
+ EnforcedStyle: indent
64
+ IndentationWidth: ~
65
+
66
+ Layout/ArgumentAlignment:
67
+ Enabled: true
68
+ EnforcedStyle: with_first_argument
69
+
70
+ Layout/ArrayAlignment:
71
+ Enabled: true
72
+
73
+ Layout/HashAlignment:
74
+ Enabled: true
75
+ EnforcedColonStyle: table
76
+ EnforcedLastArgumentHashStyle: always_inspect
77
+ EnforcedHashRocketStyle: table
78
+
79
+ Layout/ParameterAlignment:
80
+ Enabled: true
81
+ EnforcedStyle: with_fixed_indentation
82
+ IndentationWidth: ~
83
+
84
+ Layout/BlockAlignment:
85
+ Enabled: true
86
+ EnforcedStyleAlignWith: either
87
+
88
+ Layout/BlockEndNewline:
89
+ Enabled: true
90
+
91
+ # Disabled because IndentOneStep can't be configured for one-liner cases. See:
92
+ # https://github.com/rubocop-hq/rubocop/issues/6447
93
+ # Layout/CaseIndentation:
94
+ # Enabled: true
95
+
96
+ Layout/ClosingHeredocIndentation:
97
+ Enabled: true
98
+
99
+ Layout/ClosingParenthesisIndentation:
100
+ Enabled: true
101
+
102
+ Layout/CommentIndentation:
103
+ Enabled: true
104
+
105
+ Layout/ConditionPosition:
106
+ Enabled: true
107
+
108
+ Layout/DefEndAlignment:
109
+ Enabled: true
110
+ EnforcedStyleAlignWith: start_of_line
111
+ AutoCorrect: false
112
+ Severity: warning
113
+
114
+ Layout/DotPosition:
115
+ Enabled: true
116
+ EnforcedStyle: leading
117
+
118
+ Layout/ElseAlignment:
119
+ Enabled: true
120
+
121
+ Layout/EmptyComment:
122
+ Enabled: true
123
+ AllowBorderComment: true
124
+ AllowMarginComment: true
125
+
126
+ Layout/EmptyLineAfterMagicComment:
127
+ Enabled: true
128
+
129
+ Layout/EmptyLineBetweenDefs:
130
+ Enabled: true
131
+ AllowAdjacentOneLineDefs: false
132
+ NumberOfEmptyLines: 1
133
+
134
+ Layout/EmptyLines:
135
+ Enabled: true
136
+
137
+ Layout/EmptyLinesAroundAccessModifier:
138
+ Enabled: true
139
+
140
+ Layout/EmptyLinesAroundArguments:
141
+ Enabled: true
142
+
143
+ Layout/EmptyLinesAroundBeginBody:
144
+ Enabled: true
145
+
146
+ Layout/EmptyLinesAroundBlockBody:
147
+ Enabled: true
148
+ EnforcedStyle: no_empty_lines
149
+
150
+ Layout/EmptyLinesAroundClassBody:
151
+ Enabled: true
152
+ EnforcedStyle: no_empty_lines
153
+
154
+ Layout/EmptyLinesAroundExceptionHandlingKeywords:
155
+ Enabled: true
156
+
157
+ Layout/EmptyLinesAroundMethodBody:
158
+ Enabled: true
159
+
160
+ Layout/EmptyLinesAroundModuleBody:
161
+ Enabled: true
162
+ EnforcedStyle: no_empty_lines
163
+
164
+ Layout/EndAlignment:
165
+ Enabled: true
166
+ AutoCorrect: true
167
+ EnforcedStyleAlignWith: variable
168
+ Severity: warning
169
+
170
+ Layout/EndOfLine:
171
+ Enabled: true
172
+ EnforcedStyle: native
173
+
174
+ Layout/ExtraSpacing:
175
+ Enabled: true
176
+ AllowForAlignment: true
177
+ AllowBeforeTrailingComments: true
178
+ ForceEqualSignAlignment: false
179
+
180
+ Layout/FirstArgumentIndentation:
181
+ Enabled: true
182
+ EnforcedStyle: consistent
183
+ IndentationWidth: ~
184
+
185
+ Layout/FirstArrayElementIndentation:
186
+ Enabled: true
187
+ EnforcedStyle: consistent
188
+ IndentationWidth: ~
189
+
190
+ Layout/AssignmentIndentation:
191
+ Enabled: true
192
+ IndentationWidth: ~
193
+
194
+ Layout/FirstHashElementIndentation:
195
+ Enabled: true
196
+ EnforcedStyle: consistent
197
+ IndentationWidth: ~
198
+
199
+ Layout/HeredocIndentation:
200
+ Enabled: true
201
+ EnforcedStyle: squiggly
202
+
203
+ Layout/IndentationConsistency:
204
+ Enabled: true
205
+ EnforcedStyle: normal
206
+
207
+ Layout/IndentationWidth:
208
+ Enabled: true
209
+ Width: 2
210
+ IgnoredPatterns: []
211
+
212
+ Layout/InitialIndentation:
213
+ Enabled: true
214
+
215
+ Layout/LeadingEmptyLines:
216
+ Enabled: true
217
+
218
+ Layout/LeadingCommentSpace:
219
+ Enabled: true
220
+
221
+ Layout/MultilineArrayBraceLayout:
222
+ Enabled: true
223
+ EnforcedStyle: symmetrical
224
+
225
+ Layout/MultilineBlockLayout:
226
+ Enabled: true
227
+
228
+ Layout/MultilineHashBraceLayout:
229
+ Enabled: true
230
+ EnforcedStyle: symmetrical
231
+
232
+ Layout/MultilineMethodCallBraceLayout:
233
+ Enabled: true
234
+ EnforcedStyle: symmetrical
235
+
236
+ Layout/MultilineMethodCallIndentation:
237
+ Enabled: true
238
+ EnforcedStyle: indented
239
+ IndentationWidth: ~
240
+
241
+ Layout/MultilineMethodDefinitionBraceLayout:
242
+ Enabled: true
243
+ EnforcedStyle: symmetrical
244
+
245
+ Layout/MultilineOperationIndentation:
246
+ Enabled: true
247
+ EnforcedStyle: indented
248
+ IndentationWidth: ~
249
+
250
+ Layout/RescueEnsureAlignment:
251
+ Enabled: true
252
+
253
+ Layout/SpaceAfterColon:
254
+ Enabled: true
255
+
256
+ Layout/SpaceAfterComma:
257
+ Enabled: true
258
+
259
+ Layout/SpaceAfterMethodName:
260
+ Enabled: true
261
+
262
+ Layout/SpaceAfterNot:
263
+ Enabled: true
264
+
265
+ Layout/SpaceAfterSemicolon:
266
+ Enabled: true
267
+
268
+ Layout/SpaceAroundBlockParameters:
269
+ Enabled: true
270
+ EnforcedStyleInsidePipes: no_space
271
+
272
+ Layout/SpaceAroundEqualsInParameterDefault:
273
+ Enabled: true
274
+ EnforcedStyle: space
275
+
276
+ Layout/SpaceAroundKeyword:
277
+ Enabled: true
278
+
279
+ Layout/SpaceAroundOperators:
280
+ Enabled: true
281
+ AllowForAlignment: true
282
+
283
+ Layout/SpaceBeforeBlockBraces:
284
+ Enabled: true
285
+ EnforcedStyle: space
286
+ EnforcedStyleForEmptyBraces: space
287
+
288
+ Layout/SpaceBeforeComma:
289
+ Enabled: true
290
+
291
+ Layout/SpaceBeforeComment:
292
+ Enabled: true
293
+
294
+ Layout/SpaceBeforeFirstArg:
295
+ Enabled: true
296
+ AllowForAlignment: true
297
+
298
+ Layout/SpaceBeforeSemicolon:
299
+ Enabled: true
300
+
301
+ Layout/SpaceInLambdaLiteral:
302
+ Enabled: true
303
+ EnforcedStyle: require_no_space
304
+
305
+ Layout/SpaceInsideArrayLiteralBrackets:
306
+ Enabled: true
307
+ EnforcedStyle: no_space
308
+ EnforcedStyleForEmptyBrackets: no_space
309
+
310
+ Layout/SpaceInsideArrayPercentLiteral:
311
+ Enabled: true
312
+
313
+ Layout/SpaceInsideBlockBraces:
314
+ Enabled: true
315
+ EnforcedStyle: space
316
+ EnforcedStyleForEmptyBraces: no_space
317
+ SpaceBeforeBlockParameters: true
318
+
319
+ Layout/SpaceInsideHashLiteralBraces:
320
+ Enabled: true
321
+ EnforcedStyle: space
322
+ EnforcedStyleForEmptyBraces: no_space
323
+
324
+ Layout/SpaceInsideParens:
325
+ Enabled: true
326
+ EnforcedStyle: no_space
327
+
328
+ Layout/SpaceInsidePercentLiteralDelimiters:
329
+ Enabled: true
330
+
331
+ Layout/SpaceInsideRangeLiteral:
332
+ Enabled: true
333
+
334
+ Layout/SpaceInsideReferenceBrackets:
335
+ Enabled: true
336
+ EnforcedStyle: no_space
337
+ EnforcedStyleForEmptyBrackets: no_space
338
+
339
+ Layout/SpaceInsideStringInterpolation:
340
+ Enabled: true
341
+ EnforcedStyle: no_space
342
+
343
+ Layout/Tab:
344
+ Enabled: true
345
+ IndentationWidth: ~
346
+
347
+ Layout/TrailingEmptyLines:
348
+ Enabled: true
349
+ EnforcedStyle: final_newline
350
+
351
+ Layout/TrailingWhitespace:
352
+ Enabled: true
353
+ AllowInHeredoc: false
354
+
355
+ Lint/AmbiguousOperator:
356
+ Enabled: true
357
+
358
+ Lint/AmbiguousRegexpLiteral:
359
+ Enabled: true
360
+
361
+ Lint/AssignmentInCondition:
362
+ Enabled: true
363
+ AllowSafeAssignment: true
364
+
365
+ Lint/BigDecimalNew:
366
+ Enabled: true
367
+
368
+ Lint/BooleanSymbol:
369
+ Enabled: true
370
+
371
+ Lint/CircularArgumentReference:
372
+ Enabled: true
373
+
374
+ Lint/Debugger:
375
+ Enabled: true
376
+
377
+ Lint/DeprecatedClassMethods:
378
+ Enabled: true
379
+
380
+ Lint/DuplicateCaseCondition:
381
+ Enabled: true
382
+
383
+ Lint/DuplicateMethods:
384
+ Enabled: true
385
+
386
+ Lint/DuplicateHashKey:
387
+ Enabled: true
388
+
389
+ Lint/EachWithObjectArgument:
390
+ Enabled: true
391
+
392
+ Lint/ElseLayout:
393
+ Enabled: true
394
+
395
+ Lint/EmptyEnsure:
396
+ Enabled: true
397
+ AutoCorrect: false
398
+
399
+ Lint/EmptyExpression:
400
+ Enabled: true
401
+
402
+ Lint/EmptyInterpolation:
403
+ Enabled: true
404
+
405
+ Lint/EmptyWhen:
406
+ Enabled: true
407
+
408
+ Lint/EndInMethod:
409
+ Enabled: true
410
+
411
+ Lint/EnsureReturn:
412
+ Enabled: true
413
+
414
+ Lint/ErbNewArguments:
415
+ Enabled: true
416
+
417
+ Lint/FlipFlop:
418
+ Enabled: true
419
+
420
+ Lint/FloatOutOfRange:
421
+ Enabled: true
422
+
423
+ Lint/FormatParameterMismatch:
424
+ Enabled: true
425
+
426
+ Lint/ImplicitStringConcatenation:
427
+ Enabled: true
428
+
429
+ Lint/IneffectiveAccessModifier:
430
+ Enabled: true
431
+
432
+ Lint/InheritException:
433
+ Enabled: true
434
+ EnforcedStyle: runtime_error
435
+
436
+ Lint/InterpolationCheck:
437
+ Enabled: true
438
+
439
+ Lint/LiteralAsCondition:
440
+ Enabled: true
441
+
442
+ Lint/LiteralInInterpolation:
443
+ Enabled: true
444
+
445
+ Lint/Loop:
446
+ Enabled: true
447
+
448
+ Lint/MissingCopEnableDirective:
449
+ Enabled: true
450
+ MaximumRangeSize: .inf
451
+
452
+ Lint/MultipleComparison:
453
+ Enabled: true
454
+
455
+ Lint/NestedMethodDefinition:
456
+ Enabled: true
457
+
458
+ Lint/NestedPercentLiteral:
459
+ Enabled: true
460
+
461
+ Lint/NextWithoutAccumulator:
462
+ Enabled: true
463
+
464
+ Lint/NonLocalExitFromIterator:
465
+ Enabled: true
466
+
467
+ Lint/OrderedMagicComments:
468
+ Enabled: true
469
+
470
+ Lint/ParenthesesAsGroupedExpression:
471
+ Enabled: true
472
+
473
+ Lint/PercentSymbolArray:
474
+ Enabled: true
475
+
476
+ Lint/RandOne:
477
+ Enabled: true
478
+
479
+ Lint/RedundantWithIndex:
480
+ Enabled: true
481
+
482
+ Lint/RedundantWithObject:
483
+ Enabled: true
484
+
485
+ Lint/RegexpAsCondition:
486
+ Enabled: true
487
+
488
+ Lint/RequireParentheses:
489
+ Enabled: true
490
+
491
+ Lint/RescueException:
492
+ Enabled: true
493
+
494
+ Lint/RescueType:
495
+ Enabled: true
496
+
497
+ Lint/ReturnInVoidContext:
498
+ Enabled: true
499
+
500
+ Lint/SafeNavigationChain:
501
+ Enabled: true
502
+ AllowedMethods:
503
+ - present?
504
+ - blank?
505
+ - presence
506
+ - try
507
+ - try!
508
+
509
+ Lint/SafeNavigationConsistency:
510
+ Enabled: true
511
+ AllowedMethods:
512
+ - present?
513
+ - blank?
514
+ - presence
515
+ - try
516
+ - try!
517
+
518
+ Lint/ShadowedArgument:
519
+ Enabled: true
520
+ IgnoreImplicitReferences: false
521
+
522
+ Lint/ShadowedException:
523
+ Enabled: true
524
+
525
+ Lint/RedundantStringCoercion:
526
+ Enabled: true
527
+
528
+ Lint/Syntax:
529
+ Enabled: true
530
+
531
+ Lint/UnderscorePrefixedVariableName:
532
+ Enabled: true
533
+
534
+ Lint/UnifiedInteger:
535
+ Enabled: true
536
+
537
+ Lint/RedundantRequireStatement:
538
+ Enabled: true
539
+
540
+ Lint/RedundantSplatExpansion:
541
+ Enabled: true
542
+
543
+ Lint/UnreachableCode:
544
+ Enabled: true
545
+
546
+ Lint/UriEscapeUnescape:
547
+ Enabled: true
548
+
549
+ Lint/UriRegexp:
550
+ Enabled: true
551
+
552
+ Lint/UselessAssignment:
553
+ Enabled: true
554
+
555
+ Lint/UselessComparison:
556
+ Enabled: true
557
+
558
+ Lint/UselessElseWithoutRescue:
559
+ Enabled: true
560
+
561
+ Lint/UselessSetterCall:
562
+ Enabled: true
563
+
564
+ Lint/Void:
565
+ Enabled: true
566
+ CheckForMethodsWithNoSideEffects: false
567
+
568
+ Naming/AsciiIdentifiers:
569
+ Enabled: true
570
+
571
+ Naming/BinaryOperatorParameterName:
572
+ Enabled: true
573
+
574
+ Naming/ClassAndModuleCamelCase:
575
+ Enabled: true
576
+
577
+ Naming/ConstantName:
578
+ Enabled: true
579
+
580
+ Naming/HeredocDelimiterCase:
581
+ Enabled: true
582
+ EnforcedStyle: uppercase
583
+
584
+ Naming/MethodName:
585
+ Enabled: true
586
+ EnforcedStyle: snake_case
587
+
588
+ Naming/BlockParameterName:
589
+ Enabled: true
590
+ MinNameLength: 1
591
+ AllowNamesEndingInNumbers: true
592
+ AllowedNames: []
593
+ ForbiddenNames: []
594
+
595
+ Naming/VariableName:
596
+ Enabled: true
597
+ EnforcedStyle: snake_case
598
+
599
+ Performance/Caller:
600
+ Enabled: true
601
+
602
+ Performance/CompareWithBlock:
603
+ Enabled: true
604
+
605
+ Performance/Count:
606
+ Enabled: true
607
+
608
+ Performance/Detect:
609
+ Enabled: true
610
+
611
+ Performance/DoubleStartEndWith:
612
+ Enabled: true
613
+ IncludeActiveSupportAliases: false
614
+
615
+ Performance/EndWith:
616
+ Enabled: true
617
+ SafeAutoCorrect: false
618
+ AutoCorrect: false
619
+
620
+ Performance/FixedSize:
621
+ Enabled: true
622
+
623
+ Performance/FlatMap:
624
+ Enabled: true
625
+ EnabledForFlattenWithoutParams: false
626
+
627
+ Performance/InefficientHashSearch:
628
+ Enabled: true
629
+ Safe: false
630
+
631
+ Performance/RangeInclude:
632
+ Enabled: true
633
+ Safe: false
634
+
635
+ Performance/RedundantMatch:
636
+ Enabled: true
637
+
638
+ Performance/RedundantMerge:
639
+ Enabled: true
640
+ MaxKeyValuePairs: 2
641
+
642
+ Performance/RegexpMatch:
643
+ Enabled: true
644
+
645
+ Performance/ReverseEach:
646
+ Enabled: true
647
+
648
+ Performance/Size:
649
+ Enabled: true
650
+
651
+ Performance/StartWith:
652
+ Enabled: true
653
+ SafeAutoCorrect: false
654
+ AutoCorrect: false
655
+
656
+ Performance/StringReplacement:
657
+ Enabled: true
658
+
659
+ Performance/UnfreezeString:
660
+ Enabled: true
661
+
662
+ Performance/UriDefaultParser:
663
+ Enabled: true
664
+
665
+ Security/Eval:
666
+ Enabled: true
667
+
668
+ Security/JSONLoad:
669
+ Enabled: true
670
+ AutoCorrect: false
671
+ SafeAutoCorrect: false
672
+
673
+ Security/Open:
674
+ Enabled: true
675
+ Safe: false
676
+
677
+ Security/YAMLLoad:
678
+ Enabled: true
679
+ SafeAutoCorrect: false
680
+
681
+ Style/FrozenStringLiteralComment:
682
+ Enabled: true
683
+
684
+ Style/Alias:
685
+ Enabled: true
686
+ EnforcedStyle: prefer_alias
687
+
688
+ Style/AndOr:
689
+ Enabled: true
690
+ EnforcedStyle: always
691
+
692
+ Style/ArrayJoin:
693
+ Enabled: true
694
+
695
+ Style/Attr:
696
+ Enabled: true
697
+
698
+ Style/BarePercentLiterals:
699
+ Enabled: true
700
+ EnforcedStyle: bare_percent
701
+
702
+ Style/BeginBlock:
703
+ Enabled: true
704
+
705
+ Style/BlockComments:
706
+ Enabled: true
707
+
708
+ Style/CharacterLiteral:
709
+ Enabled: true
710
+
711
+ Style/ClassCheck:
712
+ Enabled: true
713
+ EnforcedStyle: is_a?
714
+
715
+ Style/ClassMethods:
716
+ Enabled: true
717
+
718
+ #Style/ColonMethodCall:
719
+ # Enabled: true
720
+
721
+ Style/ColonMethodDefinition:
722
+ Enabled: true
723
+
724
+ #Style/CommandLiteral:
725
+ # Enabled: true
726
+ # EnforcedStyle: mixed
727
+ # AllowInnerBackticks: false
728
+
729
+ Style/CommentedKeyword:
730
+ Enabled: true
731
+
732
+ Style/ConditionalAssignment:
733
+ Enabled: true
734
+ EnforcedStyle: assign_to_condition
735
+ SingleLineConditionsOnly: true
736
+ IncludeTernaryExpressions: true
737
+
738
+ Style/DefWithParentheses:
739
+ Enabled: true
740
+
741
+ Style/Dir:
742
+ Enabled: true
743
+
744
+ Style/EachForSimpleLoop:
745
+ Enabled: true
746
+
747
+ Style/EachWithObject:
748
+ Enabled: true
749
+
750
+ Style/EmptyBlockParameter:
751
+ Enabled: true
752
+
753
+ Style/EmptyCaseCondition:
754
+ Enabled: true
755
+
756
+ Style/EmptyElse:
757
+ Enabled: true
758
+ EnforcedStyle: both
759
+
760
+ Style/EmptyLambdaParameter:
761
+ Enabled: true
762
+
763
+ Style/EmptyLiteral:
764
+ Enabled: true
765
+
766
+ Style/EmptyMethod:
767
+ Enabled: true
768
+ EnforcedStyle: expanded
769
+
770
+ Style/Encoding:
771
+ Enabled: true
772
+
773
+ Style/EndBlock:
774
+ Enabled: true
775
+
776
+ Style/EvalWithLocation:
777
+ Enabled: true
778
+
779
+ Style/For:
780
+ Enabled: true
781
+ EnforcedStyle: each
782
+
783
+ Style/GlobalVars:
784
+ Enabled: true
785
+ AllowedVariables: []
786
+
787
+ Style/HashSyntax:
788
+ Enabled: true
789
+ EnforcedStyle: ruby19_no_mixed_keys
790
+
791
+ Style/IdenticalConditionalBranches:
792
+ Enabled: true
793
+
794
+ Style/IfInsideElse:
795
+ Enabled: true
796
+
797
+ Style/IfUnlessModifierOfIfUnless:
798
+ Enabled: true
799
+
800
+ Style/IfWithSemicolon:
801
+ Enabled: true
802
+
803
+ Style/InfiniteLoop:
804
+ Enabled: true
805
+ SafeAutoCorrect: true
806
+
807
+ Style/LambdaCall:
808
+ Enabled: true
809
+ EnforcedStyle: call
810
+
811
+ Style/LineEndConcatenation:
812
+ Enabled: true
813
+ SafeAutoCorrect: false
814
+
815
+ Style/MethodCallWithoutArgsParentheses:
816
+ Enabled: true
817
+ IgnoredMethods: []
818
+
819
+ Style/MethodMissingSuper:
820
+ Enabled: true
821
+
822
+ Style/MissingRespondToMissing:
823
+ Enabled: true
824
+
825
+ Style/MixinGrouping:
826
+ Enabled: true
827
+ EnforcedStyle: separated
828
+
829
+ Style/MixinUsage:
830
+ Enabled: true
831
+
832
+ Style/MultilineIfModifier:
833
+ Enabled: true
834
+
835
+ Style/MultilineIfThen:
836
+ Enabled: true
837
+
838
+ Style/MultilineMemoization:
839
+ Enabled: true
840
+ EnforcedStyle: keyword
841
+
842
+ Style/NegatedIf:
843
+ Enabled: true
844
+ EnforcedStyle: both
845
+
846
+ Style/NegatedWhile:
847
+ Enabled: true
848
+
849
+ Style/NestedModifier:
850
+ Enabled: true
851
+
852
+ Style/NestedParenthesizedCalls:
853
+ Enabled: true
854
+ AllowedMethods:
855
+ - be
856
+ - be_a
857
+ - be_an
858
+ - be_between
859
+ - be_falsey
860
+ - be_kind_of
861
+ - be_instance_of
862
+ - be_truthy
863
+ - be_within
864
+ - eq
865
+ - eql
866
+ - end_with
867
+ - include
868
+ - match
869
+ - raise_error
870
+ - respond_to
871
+ - start_with
872
+
873
+ Style/NestedTernaryOperator:
874
+ Enabled: true
875
+
876
+ Style/NilComparison:
877
+ Enabled: true
878
+ EnforcedStyle: predicate
879
+
880
+ Style/NonNilCheck:
881
+ Enabled: true
882
+ IncludeSemanticChanges: false
883
+
884
+ Style/Not:
885
+ Enabled: true
886
+
887
+ Style/NumericLiteralPrefix:
888
+ Enabled: true
889
+ EnforcedOctalStyle: zero_with_o
890
+
891
+ Style/OneLineConditional:
892
+ Enabled: true
893
+
894
+ Style/OptionalArguments:
895
+ Enabled: true
896
+
897
+ Style/OrAssignment:
898
+ Enabled: true
899
+
900
+ Style/ParenthesesAroundCondition:
901
+ Enabled: true
902
+ AllowSafeAssignment: true
903
+ AllowInMultilineConditions: false
904
+
905
+ Style/PercentLiteralDelimiters:
906
+ Enabled: true
907
+ PreferredDelimiters:
908
+ default: ()
909
+ '%i': '[]'
910
+ '%I': '[]'
911
+ '%r': '{}'
912
+ '%w': '[]'
913
+ '%W': '[]'
914
+
915
+ Style/PercentQLiterals:
916
+ Enabled: true
917
+ EnforcedStyle: lower_case_q
918
+
919
+ Style/PreferredHashMethods:
920
+ Enabled: true
921
+ EnforcedStyle: short
922
+
923
+ Style/Proc:
924
+ Enabled: true
925
+
926
+ Style/RandomWithOffset:
927
+ Enabled: true
928
+
929
+ Style/RedundantBegin:
930
+ Enabled: true
931
+
932
+ Style/RedundantConditional:
933
+ Enabled: true
934
+
935
+ Style/RedundantException:
936
+ Enabled: true
937
+
938
+ Style/RedundantFreeze:
939
+ Enabled: true
940
+
941
+ Style/RedundantParentheses:
942
+ Enabled: true
943
+
944
+ Style/RedundantReturn:
945
+ Enabled: true
946
+ AllowMultipleReturnValues: false
947
+
948
+ Style/RedundantSelf:
949
+ Enabled: true
950
+
951
+ Style/RedundantSortBy:
952
+ Enabled: true
953
+
954
+ Style/RescueModifier:
955
+ Enabled: true
956
+
957
+ Style/RescueStandardError:
958
+ Enabled: true
959
+ EnforcedStyle: implicit
960
+
961
+ Style/SafeNavigation:
962
+ Enabled: true
963
+ ConvertCodeThatCanStartToReturnNil: false
964
+ AllowedMethods:
965
+ - present?
966
+ - blank?
967
+ - presence
968
+ - try
969
+ - try!
970
+
971
+ Style/Sample:
972
+ Enabled: true
973
+
974
+ Style/SelfAssignment:
975
+ Enabled: true
976
+
977
+ Style/Semicolon:
978
+ Enabled: true
979
+ AllowAsExpressionSeparator: false
980
+
981
+ Style/SingleLineMethods:
982
+ Enabled: true
983
+ AllowIfMethodIsEmpty: false
984
+
985
+ Style/StabbyLambdaParentheses:
986
+ Enabled: true
987
+ EnforcedStyle: require_parentheses
988
+
989
+ Style/StderrPuts:
990
+ Enabled: true
991
+
992
+ Style/StringLiterals:
993
+ Enabled: true
994
+ EnforcedStyle: single_quotes
995
+ ConsistentQuotesInMultiline: false
996
+
997
+ Style/StringLiteralsInInterpolation:
998
+ Enabled: true
999
+ EnforcedStyle: single_quotes
1000
+
1001
+ Style/Strip:
1002
+ Enabled: true
1003
+
1004
+ Style/SymbolLiteral:
1005
+ Enabled: true
1006
+
1007
+ Style/TernaryParentheses:
1008
+ Enabled: true
1009
+ EnforcedStyle: require_no_parentheses
1010
+ AllowSafeAssignment: true
1011
+
1012
+ Style/TrailingBodyOnClass:
1013
+ Enabled: true
1014
+
1015
+ Style/TrailingBodyOnMethodDefinition:
1016
+ Enabled: true
1017
+
1018
+ Style/TrailingBodyOnModule:
1019
+ Enabled: true
1020
+
1021
+ Style/TrailingCommaInArrayLiteral:
1022
+ Enabled: true
1023
+ EnforcedStyleForMultiline: no_comma
1024
+
1025
+ Style/TrailingCommaInHashLiteral:
1026
+ Enabled: true
1027
+ EnforcedStyleForMultiline: no_comma
1028
+
1029
+ Style/TrailingMethodEndStatement:
1030
+ Enabled: true
1031
+
1032
+ Style/TrivialAccessors:
1033
+ Enabled: true
1034
+ ExactNameMatch: true
1035
+ AllowPredicates: true
1036
+ AllowDSLWriters: false
1037
+ IgnoreClassMethods: false
1038
+ AllowedMethods:
1039
+ - to_ary
1040
+ - to_a
1041
+ - to_c
1042
+ - to_enum
1043
+ - to_h
1044
+ - to_hash
1045
+ - to_i
1046
+ - to_int
1047
+ - to_io
1048
+ - to_open
1049
+ - to_path
1050
+ - to_proc
1051
+ - to_r
1052
+ - to_regexp
1053
+ - to_str
1054
+ - to_s
1055
+ - to_sym
1056
+
1057
+ Style/UnlessElse:
1058
+ Enabled: true
1059
+
1060
+ Style/RedundantCapitalW:
1061
+ Enabled: true
1062
+
1063
+ Style/RedundantCondition:
1064
+ Enabled: true
1065
+
1066
+ Style/RedundantInterpolation:
1067
+ Enabled: true
1068
+
1069
+ Style/RedundantPercentQ:
1070
+ Enabled: true
1071
+
1072
+ Style/RedundantSort:
1073
+ Enabled: true
1074
+
1075
+ Style/UnpackFirst:
1076
+ Enabled: true
1077
+
1078
+ Style/VariableInterpolation:
1079
+ Enabled: true
1080
+
1081
+ Style/WhenThen:
1082
+ Enabled: true
1083
+
1084
+ Style/WhileUntilDo:
1085
+ Enabled: true
1086
+
1087
+ Style/YodaCondition:
1088
+ Enabled: true
1089
+ EnforcedStyle: forbid_for_all_comparison_operators
1090
+
1091
+ ####Style
1092
+
1093
+ # Do not use braces for hash literals when they are the last argument of a
1094
+ # method call.
1095
+ Style/BracesAroundHashParameters:
1096
+ Enabled: true
1097
+ EnforcedStyle: context_dependent
1098
+
1099
+ # Timeout.timeout(500) { "oke" }, not Timeout::timeout(500) { "oke" }
1100
+ Style/ColonMethodCall:
1101
+ Enabled: true
1102
+
1103
+ Style/CommandLiteral:
1104
+ EnforcedStyle: backticks
1105
+ AllowInnerBackticks: false
1106
+
1107
+ # Time.iso8601('2016-06-29'), not DateTime.iso8601('2016-06-29')
1108
+ Style/ConstantVisibility:
1109
+ Enabled: true
1110
+
1111
+ Style/ClassAndModuleChildren:
1112
+ Enabled: false
1113
+
1114
+ Style/Documentation:
1115
+ Enabled: false
1116
+
1117
+ Style/ClassVars:
1118
+ Enabled: false
1119
+
1120
+ Metrics/BlockLength:
1121
+ Enabled: false
1122
+
1123
+ Metrics/MethodLength:
1124
+ Enabled: false
1125
+
1126
+ Metrics/PerceivedComplexity:
1127
+ Enabled: false
1128
+
1129
+ Metrics/AbcSize:
1130
+ Enabled: false
1131
+
1132
+ Metrics/ClassLength:
1133
+ Enabled: false
1134
+
1135
+ Metrics/CyclomaticComplexity:
1136
+ Enabled: false
1137
+
1138
+ Naming/AccessorMethodName:
1139
+ Enabled: false
1140
+
1141
+ Naming/MethodParameterName:
1142
+ Enabled: true
1143
+ MinNameLength: 1
1144
+ AllowedNames:
1145
+ - _
1146
+
1147
+ Layout/ClassStructure:
1148
+ Enabled: true
1149
+