take2 0.0.4 → 0.0.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e1527877f8368992454961e227f3c12d5eee2249bb2585accfd2cd0f6d395d12
4
- data.tar.gz: 06a69e8b6404ac91625766cff5dbc5ac4bd1cf8f137986ab5c541d4fc36da82f
3
+ metadata.gz: acfd63c354cf04ae963d43d3aac5674c09e14812be5a8641369aca9531b482ea
4
+ data.tar.gz: ddf1dc96cb20c3fd9cc7296a0dbda95bbc45e276d0d0dbdda7f84b072342ee58
5
5
  SHA512:
6
- metadata.gz: d2691c3b01a60440020e9e68585cf3b1245b3c4a7985f1216686353b0d030494e1a4b8520bb46b44f701b5b1e88fa3d28032b515da09d93335b9cea7b89164ac
7
- data.tar.gz: d5ff1f23f6d487b86f3d3b3cf023fb8e568237c2578015bd350ccee011c5544efbb08478afb84f93c2bc5b57c6f010eec0b807e0bebba8c3f40617d87151d018
6
+ metadata.gz: 589514e2648a9ebac2c687e6fa160134c7b0a68c2bca6bccfc59def42ee94496aa8b348fc5436cfb23fada557aab3947391819a9e71ee930bbee44d16783debb
7
+ data.tar.gz: a839b2e092071f2b8113c263aab9b840c86e9f60c33129d2026d1a8a5a3c08e7d4d379ac22efe2517292a5a9f9ad61cfe2b397941db87ad011c63c6fc818b7e3
@@ -7,7 +7,7 @@ jobs:
7
7
  build:
8
8
  docker:
9
9
  # specify the version you desire here
10
- - image: circleci/ruby:2.4-node
10
+ - image: circleci/ruby:2.5.1-node-browsers-legacy
11
11
 
12
12
  # Specify service dependencies here if necessary
13
13
  # CircleCI maintains a library of pre-built images
@@ -0,0 +1,3 @@
1
+ rubocop:
2
+ config_file: .rubocop.yml
3
+ version: 0.59.2
@@ -0,0 +1,1201 @@
1
+ AllCops:
2
+ TargetRubyVersion: 2.5.1
3
+ Exclude:
4
+ - take2.gemspec
5
+ - Rakefile
6
+ DisabledByDefault: true
7
+
8
+ Layout/AccessModifierIndentation:
9
+ EnforcedStyle: indent
10
+ SupportedStyles:
11
+ - outdent
12
+ - indent
13
+ IndentationWidth:
14
+
15
+ Style/Alias:
16
+ EnforcedStyle: prefer_alias_method
17
+ SupportedStyles:
18
+ - prefer_alias
19
+ - prefer_alias_method
20
+
21
+ Layout/AlignHash:
22
+ EnforcedHashRocketStyle: key
23
+ EnforcedColonStyle: key
24
+ EnforcedLastArgumentHashStyle: ignore_implicit
25
+ SupportedLastArgumentHashStyles:
26
+ - always_inspect
27
+ - always_ignore
28
+ - ignore_implicit
29
+ - ignore_explicit
30
+
31
+ Layout/AlignParameters:
32
+ EnforcedStyle: with_fixed_indentation
33
+ SupportedStyles:
34
+ - with_first_parameter
35
+ - with_fixed_indentation
36
+ IndentationWidth:
37
+
38
+ Style/AndOr:
39
+ EnforcedStyle: always
40
+ SupportedStyles:
41
+ - always
42
+ - conditionals
43
+
44
+ Style/BarePercentLiterals:
45
+ EnforcedStyle: bare_percent
46
+ SupportedStyles:
47
+ - percent_q
48
+ - bare_percent
49
+
50
+ Style/BlockDelimiters:
51
+ EnforcedStyle: line_count_based
52
+ SupportedStyles:
53
+ - line_count_based
54
+ - semantic
55
+ - braces_for_chaining
56
+ ProceduralMethods:
57
+ - benchmark
58
+ - bm
59
+ - bmbm
60
+ - create
61
+ - each_with_object
62
+ - measure
63
+ - new
64
+ - realtime
65
+ - tap
66
+ - with_object
67
+ FunctionalMethods:
68
+ - let
69
+ - let!
70
+ - subject
71
+ - watch
72
+ IgnoredMethods:
73
+ - lambda
74
+ - proc
75
+ - it
76
+
77
+ Style/BracesAroundHashParameters:
78
+ EnforcedStyle: no_braces
79
+ SupportedStyles:
80
+ - braces
81
+ - no_braces
82
+ - context_dependent
83
+
84
+ Layout/CaseIndentation:
85
+ EnforcedStyle: end
86
+ SupportedStyles:
87
+ - case
88
+ - end
89
+ IndentOneStep: false
90
+ IndentationWidth:
91
+
92
+ Style/ClassAndModuleChildren:
93
+ EnforcedStyle: nested
94
+ SupportedStyles:
95
+ - nested
96
+ - compact
97
+
98
+ Style/ClassCheck:
99
+ EnforcedStyle: is_a?
100
+ SupportedStyles:
101
+ - is_a?
102
+ - kind_of?
103
+
104
+ Style/CommandLiteral:
105
+ EnforcedStyle: percent_x
106
+ SupportedStyles:
107
+ - backticks
108
+ - percent_x
109
+ - mixed
110
+ AllowInnerBackticks: false
111
+
112
+ Style/CommentAnnotation:
113
+ Keywords:
114
+ - TODO
115
+ - FIXME
116
+ - OPTIMIZE
117
+ - HACK
118
+ - REVIEW
119
+
120
+ Style/ConditionalAssignment:
121
+ EnforcedStyle: assign_to_condition
122
+ SupportedStyles:
123
+ - assign_to_condition
124
+ - assign_inside_condition
125
+ SingleLineConditionsOnly: true
126
+
127
+ Layout/DotPosition:
128
+ EnforcedStyle: leading
129
+ SupportedStyles:
130
+ - leading
131
+ - trailing
132
+
133
+ Style/EmptyElse:
134
+ EnforcedStyle: both
135
+ SupportedStyles:
136
+ - empty
137
+ - nil
138
+ - both
139
+
140
+ Layout/EmptyLineBetweenDefs:
141
+ AllowAdjacentOneLineDefs: false
142
+
143
+ Layout/EmptyLinesAroundBlockBody:
144
+ EnforcedStyle: no_empty_lines
145
+ SupportedStyles:
146
+ - empty_lines
147
+ - no_empty_lines
148
+
149
+ Layout/EmptyLinesAroundClassBody:
150
+ EnforcedStyle: no_empty_lines
151
+ SupportedStyles:
152
+ - empty_lines
153
+ - empty_lines_except_namespace
154
+ - no_empty_lines
155
+
156
+ Layout/EmptyLinesAroundModuleBody:
157
+ EnforcedStyle: no_empty_lines
158
+ SupportedStyles:
159
+ - empty_lines
160
+ - empty_lines_except_namespace
161
+ - no_empty_lines
162
+
163
+ Layout/ExtraSpacing:
164
+ AllowForAlignment: true
165
+ ForceEqualSignAlignment: false
166
+
167
+ Naming/FileName:
168
+ Exclude: []
169
+ ExpectMatchingDefinition: false
170
+ Regex:
171
+ IgnoreExecutableScripts: true
172
+
173
+ Layout/FirstParameterIndentation:
174
+ EnforcedStyle: consistent
175
+ SupportedStyles:
176
+ - consistent
177
+ - special_for_inner_method_call
178
+ - special_for_inner_method_call_in_parentheses
179
+ IndentationWidth:
180
+
181
+ Style/For:
182
+ EnforcedStyle: each
183
+ SupportedStyles:
184
+ - for
185
+ - each
186
+
187
+ Style/FormatString:
188
+ EnforcedStyle: format
189
+ SupportedStyles:
190
+ - format
191
+ - sprintf
192
+ - percent
193
+
194
+ Style/FrozenStringLiteralComment:
195
+ Details: >-
196
+ Add `# frozen_string_literal: true` to the top of the file. Frozen string
197
+ literals will become the default in a future Ruby version, and we want to
198
+ make sure we're ready.
199
+ EnforcedStyle: when_needed
200
+ SupportedStyles:
201
+ - when_needed
202
+ - always
203
+ - never
204
+
205
+ Style/GlobalVars:
206
+ AllowedVariables: []
207
+
208
+ Style/HashSyntax:
209
+ EnforcedStyle: ruby19
210
+ SupportedStyles:
211
+ - ruby19
212
+ - hash_rockets
213
+ - no_mixed_keys
214
+ - ruby19_no_mixed_keys
215
+ UseHashRocketsWithSymbolValues: false
216
+ PreferHashRocketsForNonAlnumEndingSymbols: false
217
+
218
+ Layout/IndentationConsistency:
219
+ EnforcedStyle: normal
220
+ SupportedStyles:
221
+ - normal
222
+ - rails
223
+
224
+ Layout/IndentationWidth:
225
+ Width: 2
226
+
227
+ Layout/IndentArray:
228
+ EnforcedStyle: consistent
229
+ SupportedStyles:
230
+ - special_inside_parentheses
231
+ - consistent
232
+ - align_brackets
233
+ IndentationWidth:
234
+
235
+ Layout/IndentAssignment:
236
+ IndentationWidth:
237
+
238
+ Layout/IndentHash:
239
+ EnforcedStyle: consistent
240
+ SupportedStyles:
241
+ - special_inside_parentheses
242
+ - consistent
243
+ - align_braces
244
+ IndentationWidth:
245
+
246
+ Style/LambdaCall:
247
+ EnforcedStyle: call
248
+ SupportedStyles:
249
+ - call
250
+ - braces
251
+
252
+ Style/Next:
253
+ EnforcedStyle: skip_modifier_ifs
254
+ MinBodyLength: 3
255
+ SupportedStyles:
256
+ - skip_modifier_ifs
257
+ - always
258
+
259
+ Style/NonNilCheck:
260
+ IncludeSemanticChanges: false
261
+
262
+ Style/MethodCallWithArgsParentheses:
263
+ Enabled: true
264
+ IgnoreMacros: true
265
+ IgnoredMethods:
266
+ - require
267
+ - require_relative
268
+ - require_dependency
269
+ - yield
270
+ - raise
271
+ - puts
272
+ - error
273
+ - run
274
+ - to
275
+ - describe
276
+ - eql
277
+ Exclude:
278
+ - Gemfile
279
+
280
+ Style/MethodDefParentheses:
281
+ EnforcedStyle: require_parentheses
282
+ SupportedStyles:
283
+ - require_parentheses
284
+ - require_no_parentheses
285
+ - require_no_parentheses_except_multiline
286
+
287
+ Naming/MethodName:
288
+ EnforcedStyle: snake_case
289
+ SupportedStyles:
290
+ - snake_case
291
+ - camelCase
292
+
293
+ Layout/MultilineArrayBraceLayout:
294
+ EnforcedStyle: symmetrical
295
+ SupportedStyles:
296
+ - symmetrical
297
+ - new_line
298
+ - same_line
299
+
300
+ Layout/MultilineHashBraceLayout:
301
+ EnforcedStyle: symmetrical
302
+ SupportedStyles:
303
+ - symmetrical
304
+ - new_line
305
+ - same_line
306
+
307
+ Layout/MultilineMethodCallBraceLayout:
308
+ EnforcedStyle: symmetrical
309
+ SupportedStyles:
310
+ - symmetrical
311
+ - new_line
312
+ - same_line
313
+
314
+ Layout/MultilineMethodCallIndentation:
315
+ EnforcedStyle: indented
316
+ SupportedStyles:
317
+ - aligned
318
+ - indented
319
+ - indented_relative_to_receiver
320
+ IndentationWidth: 2
321
+
322
+ Layout/MultilineMethodDefinitionBraceLayout:
323
+ EnforcedStyle: symmetrical
324
+ SupportedStyles:
325
+ - symmetrical
326
+ - new_line
327
+ - same_line
328
+
329
+ Style/NumericLiteralPrefix:
330
+ EnforcedOctalStyle: zero_only
331
+ SupportedOctalStyles:
332
+ - zero_with_o
333
+ - zero_only
334
+
335
+ Style/ParenthesesAroundCondition:
336
+ AllowSafeAssignment: true
337
+
338
+ Style/PercentLiteralDelimiters:
339
+ PreferredDelimiters:
340
+ '%': '()'
341
+ '%i': '()'
342
+ '%q': '()'
343
+ '%Q': '()'
344
+ '%r': '{}'
345
+ '%s': '()'
346
+ '%w': '()'
347
+ '%W': '()'
348
+ '%x': '()'
349
+
350
+ Style/PercentQLiterals:
351
+ EnforcedStyle: lower_case_q
352
+ SupportedStyles:
353
+ - lower_case_q
354
+ - upper_case_q
355
+
356
+ Naming/PredicateName:
357
+ NamePrefix:
358
+ - is_
359
+ NamePrefixBlacklist:
360
+ - is_
361
+ NameWhitelist:
362
+ - is_a?
363
+ Exclude:
364
+ - 'spec/**/*'
365
+
366
+ Style/PreferredHashMethods:
367
+ EnforcedStyle: short
368
+ SupportedStyles:
369
+ - short
370
+ - verbose
371
+
372
+ Style/RaiseArgs:
373
+ EnforcedStyle: exploded
374
+ SupportedStyles:
375
+ - compact
376
+ - exploded
377
+
378
+ Style/RedundantReturn:
379
+ AllowMultipleReturnValues: false
380
+
381
+ Style/RegexpLiteral:
382
+ EnforcedStyle: mixed
383
+ SupportedStyles:
384
+ - slashes
385
+ - percent_r
386
+ - mixed
387
+ AllowInnerSlashes: false
388
+
389
+ Style/SafeNavigation:
390
+ ConvertCodeThatCanStartToReturnNil: false
391
+ Enabled: true
392
+
393
+ Lint/SafeNavigationChain:
394
+ Enabled: true
395
+
396
+ Style/Semicolon:
397
+ AllowAsExpressionSeparator: false
398
+
399
+ Style/SignalException:
400
+ EnforcedStyle: only_raise
401
+ SupportedStyles:
402
+ - only_raise
403
+ - only_fail
404
+ - semantic
405
+
406
+ Style/SingleLineMethods:
407
+ AllowIfMethodIsEmpty: true
408
+
409
+ Layout/SpaceBeforeFirstArg:
410
+ AllowForAlignment: true
411
+
412
+ Style/SpecialGlobalVars:
413
+ EnforcedStyle: use_english_names
414
+ SupportedStyles:
415
+ - use_perl_names
416
+ - use_english_names
417
+
418
+ Style/StabbyLambdaParentheses:
419
+ EnforcedStyle: require_parentheses
420
+ SupportedStyles:
421
+ - require_parentheses
422
+ - require_no_parentheses
423
+
424
+ Style/StringLiteralsInInterpolation:
425
+ EnforcedStyle: single_quotes
426
+ SupportedStyles:
427
+ - single_quotes
428
+ - double_quotes
429
+
430
+ Layout/SpaceAroundBlockParameters:
431
+ EnforcedStyleInsidePipes: no_space
432
+ SupportedStylesInsidePipes:
433
+ - space
434
+ - no_space
435
+
436
+ Layout/SpaceAroundEqualsInParameterDefault:
437
+ EnforcedStyle: space
438
+ SupportedStyles:
439
+ - space
440
+ - no_space
441
+
442
+ Layout/SpaceAroundOperators:
443
+ AllowForAlignment: true
444
+
445
+ Layout/SpaceBeforeBlockBraces:
446
+ EnforcedStyle: space
447
+ EnforcedStyleForEmptyBraces: space
448
+ SupportedStyles:
449
+ - space
450
+ - no_space
451
+
452
+ Layout/SpaceInsideBlockBraces:
453
+ EnforcedStyle: space
454
+ SupportedStyles:
455
+ - space
456
+ - no_space
457
+ EnforcedStyleForEmptyBraces: no_space
458
+ SpaceBeforeBlockParameters: true
459
+
460
+ Layout/SpaceInsideHashLiteralBraces:
461
+ EnforcedStyle: space
462
+ EnforcedStyleForEmptyBraces: no_space
463
+ SupportedStyles:
464
+ - space
465
+ - no_space
466
+ - compact
467
+
468
+ Layout/SpaceInsideStringInterpolation:
469
+ EnforcedStyle: no_space
470
+ SupportedStyles:
471
+ - space
472
+ - no_space
473
+
474
+ Style/SymbolProc:
475
+ IgnoredMethods:
476
+ - respond_to
477
+ - define_method
478
+
479
+ Style/TernaryParentheses:
480
+ EnforcedStyle: require_no_parentheses
481
+ SupportedStyles:
482
+ - require_parentheses
483
+ - require_no_parentheses
484
+ AllowSafeAssignment: true
485
+
486
+ Layout/TrailingBlankLines:
487
+ EnforcedStyle: final_newline
488
+ SupportedStyles:
489
+ - final_newline
490
+ - final_blank_line
491
+
492
+ Style/TrivialAccessors:
493
+ ExactNameMatch: true
494
+ AllowPredicates: true
495
+ AllowDSLWriters: false
496
+ IgnoreClassMethods: false
497
+ Whitelist:
498
+ - to_ary
499
+ - to_a
500
+ - to_c
501
+ - to_enum
502
+ - to_h
503
+ - to_hash
504
+ - to_i
505
+ - to_int
506
+ - to_io
507
+ - to_open
508
+ - to_path
509
+ - to_proc
510
+ - to_r
511
+ - to_regexp
512
+ - to_str
513
+ - to_s
514
+ - to_sym
515
+
516
+ Naming/VariableName:
517
+ EnforcedStyle: snake_case
518
+ SupportedStyles:
519
+ - snake_case
520
+ - camelCase
521
+
522
+ Style/WhileUntilModifier:
523
+ Enabled: true
524
+
525
+ Style/WordArray:
526
+ EnforcedStyle: percent
527
+ SupportedStyles:
528
+ - percent
529
+ - brackets
530
+ MinSize: 0
531
+ WordRegex: !ruby/regexp /\A[\p{Word}\n\t]+\z/
532
+
533
+ Metrics/BlockNesting:
534
+ Max: 3
535
+
536
+ Metrics/LineLength:
537
+ Max: 120
538
+ AllowHeredoc: true
539
+ AllowURI: true
540
+ URISchemes:
541
+ - http
542
+ - https
543
+ IgnoreCopDirectives: false
544
+ IgnoredPatterns:
545
+ - '\A\s*(remote_)?test(_\w+)?\s.*(do|->)(\s|\Z)'
546
+
547
+ Metrics/ParameterLists:
548
+ Max: 5
549
+ CountKeywordArgs: false
550
+
551
+ Layout/BlockAlignment:
552
+ EnforcedStyleAlignWith: either
553
+ SupportedStylesAlignWith:
554
+ - either
555
+ - start_of_block
556
+ - start_of_line
557
+
558
+ Layout/EndAlignment:
559
+ EnforcedStyleAlignWith: variable
560
+ SupportedStylesAlignWith:
561
+ - keyword
562
+ - variable
563
+ - start_of_line
564
+
565
+ Layout/DefEndAlignment:
566
+ EnforcedStyleAlignWith: start_of_line
567
+ SupportedStylesAlignWith:
568
+ - start_of_line
569
+ - def
570
+
571
+ Lint/InheritException:
572
+ EnforcedStyle: runtime_error
573
+ SupportedStyles:
574
+ - runtime_error
575
+ - standard_error
576
+
577
+ Lint/UnusedBlockArgument:
578
+ IgnoreEmptyBlocks: true
579
+ AllowUnusedKeywordArguments: false
580
+
581
+ Lint/UnusedMethodArgument:
582
+ AllowUnusedKeywordArguments: false
583
+ IgnoreEmptyMethods: true
584
+
585
+ Performance/RedundantMerge:
586
+ MaxKeyValuePairs: 2
587
+
588
+ Rails/ActionFilter:
589
+ EnforcedStyle: action
590
+ SupportedStyles:
591
+ - action
592
+ - filter
593
+ Include:
594
+ - app/controllers/**/*.rb
595
+
596
+ Rails/Date:
597
+ EnforcedStyle: flexible
598
+ SupportedStyles:
599
+ - strict
600
+ - flexible
601
+
602
+ Rails/DynamicFindBy:
603
+ Whitelist:
604
+ - find_by_sql
605
+
606
+ Rails/Exit:
607
+ Include:
608
+ - app/**/*.rb
609
+ - config/**/*.rb
610
+ - lib/**/*.rb
611
+ Exclude:
612
+ - 'lib/**/*.rake'
613
+
614
+ Rails/FindBy:
615
+ Include:
616
+ - app/models/**/*.rb
617
+
618
+ Rails/FindEach:
619
+ Include:
620
+ - app/models/**/*.rb
621
+
622
+ Rails/HasAndBelongsToMany:
623
+ Include:
624
+ - app/models/**/*.rb
625
+
626
+ Rails/NotNullColumn:
627
+ Include:
628
+ - db/migrate/*.rb
629
+
630
+ Rails/Output:
631
+ Include:
632
+ - app/**/*.rb
633
+ - config/**/*.rb
634
+ - db/**/*.rb
635
+ - lib/**/*.rb
636
+
637
+ Rails/ReadWriteAttribute:
638
+ Include:
639
+ - app/models/**/*.rb
640
+
641
+ Rails/RequestReferer:
642
+ EnforcedStyle: referer
643
+ SupportedStyles:
644
+ - referer
645
+ - referrer
646
+
647
+ Rails/SafeNavigation:
648
+ ConvertTry: false
649
+
650
+ Rails/ScopeArgs:
651
+ Include:
652
+ - app/models/**/*.rb
653
+
654
+ Rails/TimeZone:
655
+ EnforcedStyle: flexible
656
+ SupportedStyles:
657
+ - strict
658
+ - flexible
659
+
660
+ Rails/UniqBeforePluck:
661
+ EnforcedStyle: conservative
662
+ SupportedStyles:
663
+ - conservative
664
+ - aggressive
665
+
666
+ Rails/Validation:
667
+ Include:
668
+ - app/models/**/*.rb
669
+
670
+ Naming/AccessorMethodName:
671
+ Enabled: true
672
+
673
+ Layout/AlignArray:
674
+ Enabled: true
675
+
676
+ Style/ArrayJoin:
677
+ Enabled: true
678
+
679
+ Naming/AsciiIdentifiers:
680
+ Enabled: true
681
+
682
+ Style/Attr:
683
+ Enabled: true
684
+
685
+ Style/BeginBlock:
686
+ Enabled: true
687
+
688
+ Style/BlockComments:
689
+ Enabled: true
690
+
691
+ Layout/BlockEndNewline:
692
+ Enabled: true
693
+
694
+ Style/CaseEquality:
695
+ Enabled: true
696
+
697
+ Style/CharacterLiteral:
698
+ Enabled: true
699
+
700
+ Naming/ClassAndModuleCamelCase:
701
+ Enabled: true
702
+
703
+ Style/ClassMethods:
704
+ Enabled: true
705
+
706
+ Style/ClassVars:
707
+ Enabled: true
708
+
709
+ Layout/ClosingParenthesisIndentation:
710
+ Enabled: true
711
+
712
+ Style/ColonMethodCall:
713
+ Enabled: true
714
+
715
+ Layout/CommentIndentation:
716
+ Enabled: true
717
+
718
+ Naming/ConstantName:
719
+ Enabled: true
720
+
721
+ Style/DateTime:
722
+ Enabled: true
723
+
724
+ Style/DefWithParentheses:
725
+ Enabled: true
726
+
727
+ Style/EachForSimpleLoop:
728
+ Enabled: true
729
+
730
+ Style/EachWithObject:
731
+ Enabled: true
732
+
733
+ Layout/ElseAlignment:
734
+ Enabled: true
735
+
736
+ Style/EmptyCaseCondition:
737
+ Enabled: true
738
+
739
+ Layout/EmptyLines:
740
+ Enabled: true
741
+
742
+ Layout/EmptyLinesAroundAccessModifier:
743
+ Enabled: true
744
+
745
+ Layout/EmptyLinesAroundMethodBody:
746
+ Enabled: true
747
+
748
+ Style/EmptyLiteral:
749
+ Enabled: true
750
+
751
+ Style/EndBlock:
752
+ Enabled: true
753
+
754
+ Layout/EndOfLine:
755
+ Enabled: true
756
+
757
+ Style/EvenOdd:
758
+ Enabled: true
759
+
760
+ Layout/InitialIndentation:
761
+ Enabled: true
762
+
763
+ Style/FlipFlop:
764
+ Enabled: true
765
+
766
+ Style/IfInsideElse:
767
+ Enabled: true
768
+
769
+ Style/IfUnlessModifierOfIfUnless:
770
+ Enabled: true
771
+
772
+ Style/IfWithSemicolon:
773
+ Enabled: true
774
+
775
+ Style/IdenticalConditionalBranches:
776
+ Enabled: true
777
+
778
+ Style/InfiniteLoop:
779
+ Enabled: true
780
+
781
+ Layout/LeadingCommentSpace:
782
+ Enabled: true
783
+
784
+ Style/LineEndConcatenation:
785
+ Enabled: true
786
+
787
+ Style/MethodCallWithoutArgsParentheses:
788
+ Enabled: true
789
+
790
+ Style/MethodMissingSuper:
791
+ Enabled: true
792
+
793
+ Style/MissingRespondToMissing:
794
+ Enabled: true
795
+
796
+ Layout/MultilineBlockLayout:
797
+ Enabled: true
798
+
799
+ Style/MultilineIfThen:
800
+ Enabled: true
801
+
802
+ Style/MultilineMemoization:
803
+ Enabled: true
804
+
805
+ Style/MultilineTernaryOperator:
806
+ Enabled: true
807
+
808
+ Style/NegatedIf:
809
+ Enabled: true
810
+
811
+ Style/NegatedWhile:
812
+ Enabled: true
813
+
814
+ Style/NestedModifier:
815
+ Enabled: true
816
+
817
+ Style/NestedParenthesizedCalls:
818
+ Enabled: true
819
+
820
+ Style/NestedTernaryOperator:
821
+ Enabled: true
822
+
823
+ Style/NilComparison:
824
+ Enabled: true
825
+
826
+ Style/Not:
827
+ Enabled: true
828
+
829
+ Style/OneLineConditional:
830
+ Enabled: true
831
+
832
+ Naming/BinaryOperatorParameterName:
833
+ Enabled: true
834
+
835
+ Style/OptionalArguments:
836
+ Enabled: true
837
+
838
+ Style/ParallelAssignment:
839
+ Enabled: true
840
+
841
+ Style/PerlBackrefs:
842
+ Enabled: true
843
+
844
+ Style/Proc:
845
+ Enabled: true
846
+
847
+ Style/RedundantBegin:
848
+ Enabled: false
849
+
850
+ Style/RedundantException:
851
+ Enabled: true
852
+
853
+ Style/RedundantFreeze:
854
+ Enabled: true
855
+
856
+ Style/RedundantParentheses:
857
+ Enabled: true
858
+
859
+ Style/RedundantSelf:
860
+ Enabled: true
861
+
862
+ Layout/RescueEnsureAlignment:
863
+ Enabled: true
864
+
865
+ Style/RescueModifier:
866
+ Enabled: true
867
+
868
+ Style/SelfAssignment:
869
+ Enabled: true
870
+
871
+ Layout/SpaceAfterColon:
872
+ Enabled: true
873
+
874
+ Layout/SpaceAfterComma:
875
+ Enabled: true
876
+
877
+ Layout/SpaceAfterMethodName:
878
+ Enabled: true
879
+
880
+ Layout/SpaceAfterNot:
881
+ Enabled: true
882
+
883
+ Layout/SpaceAfterSemicolon:
884
+ Enabled: true
885
+
886
+ Layout/SpaceBeforeComma:
887
+ Enabled: true
888
+
889
+ Layout/SpaceBeforeComment:
890
+ Enabled: true
891
+
892
+ Layout/SpaceBeforeSemicolon:
893
+ Enabled: true
894
+
895
+ Layout/SpaceAroundKeyword:
896
+ Enabled: true
897
+
898
+ Layout/SpaceInsideArrayPercentLiteral:
899
+ Enabled: true
900
+
901
+ Layout/SpaceInsidePercentLiteralDelimiters:
902
+ Enabled: true
903
+
904
+ Layout/SpaceInsideArrayLiteralBrackets:
905
+ Enabled: true
906
+
907
+ Layout/SpaceInsideParens:
908
+ Enabled: true
909
+
910
+ Layout/SpaceInsideRangeLiteral:
911
+ Enabled: true
912
+
913
+ Style/SymbolLiteral:
914
+ Enabled: true
915
+
916
+ Layout/Tab:
917
+ Enabled: true
918
+
919
+ Layout/TrailingWhitespace:
920
+ Enabled: true
921
+
922
+ Style/UnlessElse:
923
+ Enabled: true
924
+
925
+ Style/UnneededCapitalW:
926
+ Enabled: true
927
+
928
+ Style/UnneededInterpolation:
929
+ Enabled: true
930
+
931
+ Style/UnneededPercentQ:
932
+ Enabled: true
933
+
934
+ Style/VariableInterpolation:
935
+ Enabled: true
936
+
937
+ Style/WhenThen:
938
+ Enabled: true
939
+
940
+ Style/WhileUntilDo:
941
+ Enabled: true
942
+
943
+ Style/ZeroLengthPredicate:
944
+ Enabled: true
945
+
946
+ Layout/IndentHeredoc:
947
+ EnforcedStyle: squiggly
948
+
949
+ Lint/AmbiguousOperator:
950
+ Enabled: true
951
+
952
+ Lint/AmbiguousRegexpLiteral:
953
+ Enabled: true
954
+
955
+ Lint/CircularArgumentReference:
956
+ Enabled: true
957
+
958
+ Layout/ConditionPosition:
959
+ Enabled: true
960
+
961
+ Lint/Debugger:
962
+ Enabled: true
963
+
964
+ Lint/DeprecatedClassMethods:
965
+ Enabled: true
966
+
967
+ Lint/DuplicateMethods:
968
+ Enabled: true
969
+
970
+ Lint/DuplicatedKey:
971
+ Enabled: true
972
+
973
+ Lint/EachWithObjectArgument:
974
+ Enabled: true
975
+
976
+ Lint/ElseLayout:
977
+ Enabled: true
978
+
979
+ Lint/EmptyEnsure:
980
+ Enabled: true
981
+
982
+ Lint/EmptyInterpolation:
983
+ Enabled: true
984
+
985
+ Lint/EndInMethod:
986
+ Enabled: true
987
+
988
+ Lint/EnsureReturn:
989
+ Enabled: true
990
+
991
+ Lint/FloatOutOfRange:
992
+ Enabled: true
993
+
994
+ Lint/FormatParameterMismatch:
995
+ Enabled: true
996
+
997
+ Lint/HandleExceptions:
998
+ Enabled: true
999
+
1000
+ Lint/ImplicitStringConcatenation:
1001
+ Description: Checks for adjacent string literals on the same line, which could
1002
+ better be represented as a single string literal.
1003
+
1004
+ Lint/IneffectiveAccessModifier:
1005
+ Description: Checks for attempts to use `private` or `protected` to set the visibility
1006
+ of a class method, which does not work.
1007
+
1008
+ Lint/LiteralAsCondition:
1009
+ Enabled: true
1010
+
1011
+ Lint/LiteralInInterpolation:
1012
+ Enabled: true
1013
+
1014
+ Lint/Loop:
1015
+ Description: Use Kernel#loop with break rather than begin/end/until or begin/end/while
1016
+ for post-loop tests.
1017
+
1018
+ Lint/NestedMethodDefinition:
1019
+ Enabled: true
1020
+
1021
+ Lint/NextWithoutAccumulator:
1022
+ Description: Do not omit the accumulator when calling `next` in a `reduce`/`inject`
1023
+ block.
1024
+
1025
+ Lint/NonLocalExitFromIterator:
1026
+ Enabled: true
1027
+
1028
+ Lint/ParenthesesAsGroupedExpression:
1029
+ Enabled: true
1030
+
1031
+ Lint/PercentStringArray:
1032
+ Enabled: true
1033
+
1034
+ Lint/PercentSymbolArray:
1035
+ Enabled: true
1036
+
1037
+ Lint/RandOne:
1038
+ Description: Checks for `rand(1)` calls. Such calls always return `0` and most
1039
+ likely a mistake.
1040
+
1041
+ Lint/RequireParentheses:
1042
+ Enabled: true
1043
+
1044
+ Lint/RescueException:
1045
+ Enabled: true
1046
+
1047
+ Lint/ShadowedException:
1048
+ Enabled: true
1049
+
1050
+ Lint/ShadowingOuterLocalVariable:
1051
+ Enabled: true
1052
+
1053
+ Lint/StringConversionInInterpolation:
1054
+ Enabled: true
1055
+
1056
+ Lint/UnderscorePrefixedVariableName:
1057
+ Enabled: true
1058
+
1059
+ Lint/UnifiedInteger:
1060
+ Enabled: true
1061
+
1062
+ Lint/UnneededCopDisableDirective:
1063
+ Enabled: true
1064
+
1065
+ Lint/UnneededCopEnableDirective:
1066
+ Enabled: true
1067
+
1068
+ Lint/UnneededSplatExpansion:
1069
+ Enabled: true
1070
+
1071
+ Lint/UnreachableCode:
1072
+ Enabled: true
1073
+
1074
+ Lint/UselessAccessModifier:
1075
+ ContextCreatingMethods: []
1076
+
1077
+ Lint/UselessAssignment:
1078
+ Enabled: true
1079
+
1080
+ Lint/UselessComparison:
1081
+ Enabled: true
1082
+
1083
+ Lint/UselessElseWithoutRescue:
1084
+ Enabled: true
1085
+
1086
+ Lint/UselessSetterCall:
1087
+ Enabled: true
1088
+
1089
+ Lint/Void:
1090
+ Enabled: true
1091
+
1092
+ Performance/CaseWhenSplat:
1093
+ Enabled: true
1094
+
1095
+ Performance/Count:
1096
+ SafeMode: true
1097
+
1098
+ Performance/Detect:
1099
+ SafeMode: true
1100
+
1101
+ Performance/DoubleStartEndWith:
1102
+ Enabled: true
1103
+
1104
+ Performance/EndWith:
1105
+ Enabled: true
1106
+
1107
+ Performance/FixedSize:
1108
+ Enabled: true
1109
+
1110
+ Performance/FlatMap:
1111
+ EnabledForFlattenWithoutParams: false
1112
+
1113
+ Performance/LstripRstrip:
1114
+ Enabled: true
1115
+
1116
+ Performance/RangeInclude:
1117
+ Enabled: true
1118
+
1119
+ Performance/RedundantBlockCall:
1120
+ Enabled: true
1121
+
1122
+ Performance/RedundantMatch:
1123
+ Enabled: true
1124
+
1125
+ Performance/RedundantSortBy:
1126
+ Enabled: true
1127
+
1128
+ Performance/RegexpMatch:
1129
+ Enabled: true
1130
+
1131
+ Performance/ReverseEach:
1132
+ Enabled: true
1133
+
1134
+ Performance/Sample:
1135
+ Enabled: true
1136
+
1137
+ Performance/Size:
1138
+ Enabled: true
1139
+
1140
+ Performance/CompareWithBlock:
1141
+ Enabled: true
1142
+
1143
+ Performance/StartWith:
1144
+ Enabled: true
1145
+
1146
+ Performance/StringReplacement:
1147
+ Enabled: true
1148
+
1149
+ Rails/DelegateAllowBlank:
1150
+ Enabled: true
1151
+
1152
+ Rails/HttpPositionalArguments:
1153
+ Include:
1154
+ - spec/**/*
1155
+ - test/**/*
1156
+
1157
+ Rails/InverseOf:
1158
+ Enabled: true
1159
+
1160
+ Rails/OutputSafety:
1161
+ Enabled: true
1162
+
1163
+ Rails/PluralizationGrammar:
1164
+ Enabled: true
1165
+
1166
+ Security/Eval:
1167
+ Enabled: true
1168
+
1169
+ Security/JSONLoad:
1170
+ Enabled: true
1171
+
1172
+ Security/Open:
1173
+ Enabled: true
1174
+
1175
+ Lint/BigDecimalNew:
1176
+ Enabled: true
1177
+
1178
+ Style/TrailingBodyOnClass:
1179
+ Enabled: true
1180
+
1181
+ Style/TrailingBodyOnModule:
1182
+ Enabled: true
1183
+
1184
+ Style/TrailingCommaInArrayLiteral:
1185
+ EnforcedStyleForMultiline: comma
1186
+ Enabled: true
1187
+
1188
+ Style/TrailingCommaInHashLiteral:
1189
+ EnforcedStyleForMultiline: comma
1190
+ Enabled: false
1191
+
1192
+ Layout/SpaceInsideReferenceBrackets:
1193
+ EnforcedStyle: no_space
1194
+ EnforcedStyleForEmptyBrackets: no_space
1195
+ Enabled: true
1196
+
1197
+ Style/ModuleFunction:
1198
+ EnforcedStyle: extend_self
1199
+
1200
+ Lint/OrderedMagicComments:
1201
+ Enabled: true