pigeon-http 0.1.0

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