chefstyle 2.0.4 → 2.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/disable_all.yml +16 -0
- data/config/upstream.yml +127 -36
- data/lib/chefstyle/version.rb +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ee9ad884af7ff3d70fc95dd97e401ec9d15ab69c38553a7b027032555a6d715
|
4
|
+
data.tar.gz: 7e661590446cc0df5bae5f9fb962bc49576994edb73f293bda94714d089b55a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29102b071f07ea768bb20516b5de1474b1d615111156513fa9804fa21f1da668cdaae0fa9f52758323b01f65d6db7b5a7d58c500356c403496240108e16b32a7
|
7
|
+
data.tar.gz: 5f8d653cd7b5811937ffd736bb5af468699f0ca3276bc7c92fe8d88683b97ff4339f0f52c6772ea9f0d2fffe414824ae4436b81655b705e85d99668f0276c434
|
data/config/disable_all.yml
CHANGED
@@ -123,6 +123,8 @@ Layout/LeadingCommentSpace:
|
|
123
123
|
Enabled: false
|
124
124
|
Layout/LeadingEmptyLines:
|
125
125
|
Enabled: false
|
126
|
+
Layout/LineEndStringConcatenationIndentation:
|
127
|
+
Enabled: false
|
126
128
|
Layout/LineLength:
|
127
129
|
Enabled: false
|
128
130
|
Layout/MultilineArrayBraceLayout:
|
@@ -217,6 +219,8 @@ Lint/AmbiguousBlockAssociation:
|
|
217
219
|
Enabled: false
|
218
220
|
Lint/AmbiguousOperator:
|
219
221
|
Enabled: false
|
222
|
+
Lint/AmbiguousRange:
|
223
|
+
Enabled: false
|
220
224
|
Lint/AmbiguousRegexpLiteral:
|
221
225
|
Enabled: false
|
222
226
|
Lint/AssignmentInCondition:
|
@@ -275,6 +279,8 @@ Lint/EmptyExpression:
|
|
275
279
|
Enabled: false
|
276
280
|
Lint/EmptyFile:
|
277
281
|
Enabled: false
|
282
|
+
Lint/EmptyInPattern:
|
283
|
+
Enabled: false
|
278
284
|
Lint/EmptyInterpolation:
|
279
285
|
Enabled: false
|
280
286
|
Lint/EmptyWhen:
|
@@ -485,6 +491,8 @@ Naming/HeredocDelimiterCase:
|
|
485
491
|
Enabled: false
|
486
492
|
Naming/HeredocDelimiterNaming:
|
487
493
|
Enabled: false
|
494
|
+
Naming/InclusiveLanguage:
|
495
|
+
Enabled: false
|
488
496
|
Naming/MemoizedInstanceVariableName:
|
489
497
|
Enabled: false
|
490
498
|
Naming/MethodName:
|
@@ -667,6 +675,8 @@ Style/IfWithSemicolon:
|
|
667
675
|
Enabled: false
|
668
676
|
Style/ImplicitRuntimeError:
|
669
677
|
Enabled: false
|
678
|
+
Style/InPatternThen:
|
679
|
+
Enabled: false
|
670
680
|
Style/InfiniteLoop:
|
671
681
|
Enabled: false
|
672
682
|
Style/InverseMethods:
|
@@ -687,6 +697,8 @@ Style/MethodCallWithoutArgsParentheses:
|
|
687
697
|
Enabled: false
|
688
698
|
Style/MethodCallWithArgsParentheses:
|
689
699
|
Enabled: false
|
700
|
+
Style/MultilineInPatternThen:
|
701
|
+
Enabled: false
|
690
702
|
Style/RedundantAssignment:
|
691
703
|
Enabled: false
|
692
704
|
Style/RedundantFetchBlock:
|
@@ -695,6 +707,8 @@ Style/RedundantFileExtensionInRequire:
|
|
695
707
|
Enabled: false
|
696
708
|
Style/RedundantSelfAssignment:
|
697
709
|
Enabled: false
|
710
|
+
Style/RedundantSelfAssignmentBranch:
|
711
|
+
Enabled: false
|
698
712
|
Style/SoleNestedConditional:
|
699
713
|
Enabled: false
|
700
714
|
Style/StaticClass:
|
@@ -787,6 +801,8 @@ Style/PreferredHashMethods:
|
|
787
801
|
Enabled: false
|
788
802
|
Style/Proc:
|
789
803
|
Enabled: false
|
804
|
+
Style/QuotedSymbols:
|
805
|
+
Enabled: false
|
790
806
|
Style/RaiseArgs:
|
791
807
|
Enabled: false
|
792
808
|
Style/RandomWithOffset:
|
data/config/upstream.yml
CHANGED
@@ -270,8 +270,8 @@ Layout/AccessModifierIndentation:
|
|
270
270
|
SupportedStyles:
|
271
271
|
- outdent
|
272
272
|
- indent
|
273
|
-
# By default
|
274
|
-
#
|
273
|
+
# By default the indentation width from `Layout/IndentationWidth` is used,
|
274
|
+
# but it can be overridden by setting this parameter.
|
275
275
|
IndentationWidth: ~
|
276
276
|
|
277
277
|
Layout/ArgumentAlignment:
|
@@ -299,8 +299,8 @@ Layout/ArgumentAlignment:
|
|
299
299
|
SupportedStyles:
|
300
300
|
- with_first_argument
|
301
301
|
- with_fixed_indentation
|
302
|
-
# By default
|
303
|
-
#
|
302
|
+
# By default the indentation width from `Layout/IndentationWidth` is used,
|
303
|
+
# but it can be overridden by setting this parameter.
|
304
304
|
IndentationWidth: ~
|
305
305
|
|
306
306
|
Layout/ArrayAlignment:
|
@@ -328,8 +328,8 @@ Layout/ArrayAlignment:
|
|
328
328
|
SupportedStyles:
|
329
329
|
- with_first_element
|
330
330
|
- with_fixed_indentation
|
331
|
-
# By default
|
332
|
-
#
|
331
|
+
# By default the indentation width from `Layout/IndentationWidth` is used,
|
332
|
+
# but it can be overridden by setting this parameter.
|
333
333
|
IndentationWidth: ~
|
334
334
|
|
335
335
|
Layout/AssignmentIndentation:
|
@@ -339,8 +339,8 @@ Layout/AssignmentIndentation:
|
|
339
339
|
Enabled: true
|
340
340
|
VersionAdded: '0.49'
|
341
341
|
VersionChanged: '0.77'
|
342
|
-
# By default
|
343
|
-
#
|
342
|
+
# By default the indentation width from `Layout/IndentationWidth` is used,
|
343
|
+
# but it can be overridden by setting this parameter.
|
344
344
|
IndentationWidth: ~
|
345
345
|
|
346
346
|
Layout/BeginEndAlignment:
|
@@ -377,18 +377,19 @@ Layout/BlockEndNewline:
|
|
377
377
|
VersionAdded: '0.49'
|
378
378
|
|
379
379
|
Layout/CaseIndentation:
|
380
|
-
Description: 'Indentation of when in a case/when/[else/]end.'
|
380
|
+
Description: 'Indentation of when in a case/(when|in)/[else/]end.'
|
381
381
|
StyleGuide: '#indent-when-to-case'
|
382
382
|
Enabled: true
|
383
383
|
VersionAdded: '0.49'
|
384
|
+
VersionChanged: '1.16'
|
384
385
|
EnforcedStyle: case
|
385
386
|
SupportedStyles:
|
386
387
|
- case
|
387
388
|
- end
|
388
389
|
IndentOneStep: false
|
389
|
-
# By default
|
390
|
-
#
|
391
|
-
# This only matters if `IndentOneStep` is `true
|
390
|
+
# By default the indentation width from `Layout/IndentationWidth` is used,
|
391
|
+
# but it can be overridden by setting this parameter.
|
392
|
+
# This only matters if `IndentOneStep` is `true`.
|
392
393
|
IndentationWidth: ~
|
393
394
|
|
394
395
|
Layout/ClassStructure:
|
@@ -665,8 +666,8 @@ Layout/FirstArgumentIndentation:
|
|
665
666
|
# Same as `special_for_inner_method_call` except that the special rule only
|
666
667
|
# applies if the outer method call encloses its arguments in parentheses.
|
667
668
|
- special_for_inner_method_call_in_parentheses
|
668
|
-
# By default
|
669
|
-
#
|
669
|
+
# By default the indentation width from `Layout/IndentationWidth` is used,
|
670
|
+
# but it can be overridden by setting this parameter.
|
670
671
|
IndentationWidth: ~
|
671
672
|
|
672
673
|
Layout/FirstArrayElementIndentation:
|
@@ -692,8 +693,8 @@ Layout/FirstArrayElementIndentation:
|
|
692
693
|
- special_inside_parentheses
|
693
694
|
- consistent
|
694
695
|
- align_brackets
|
695
|
-
# By default
|
696
|
-
#
|
696
|
+
# By default the indentation width from `Layout/IndentationWidth` is used,
|
697
|
+
# but it can be overridden by setting this parameter.
|
697
698
|
IndentationWidth: ~
|
698
699
|
|
699
700
|
Layout/FirstArrayElementLineBreak:
|
@@ -724,8 +725,8 @@ Layout/FirstHashElementIndentation:
|
|
724
725
|
- special_inside_parentheses
|
725
726
|
- consistent
|
726
727
|
- align_braces
|
727
|
-
# By default
|
728
|
-
#
|
728
|
+
# By default the indentation width from `Layout/IndentationWidth` is used,
|
729
|
+
# but it can be overridden by setting this parameter.
|
729
730
|
IndentationWidth: ~
|
730
731
|
|
731
732
|
Layout/FirstHashElementLineBreak:
|
@@ -760,8 +761,8 @@ Layout/FirstParameterIndentation:
|
|
760
761
|
SupportedStyles:
|
761
762
|
- consistent
|
762
763
|
- align_parentheses
|
763
|
-
# By default
|
764
|
-
#
|
764
|
+
# By default the indentation width from `Layout/IndentationWidth` is used,
|
765
|
+
# but it can be overridden by setting this parameter.
|
765
766
|
IndentationWidth: ~
|
766
767
|
|
767
768
|
Layout/HashAlignment:
|
@@ -771,7 +772,7 @@ Layout/HashAlignment:
|
|
771
772
|
Enabled: true
|
772
773
|
AllowMultipleStyles: true
|
773
774
|
VersionAdded: '0.49'
|
774
|
-
VersionChanged: '
|
775
|
+
VersionChanged: '1.16'
|
775
776
|
# Alignment of entries using hash rocket as separator. Valid values are:
|
776
777
|
#
|
777
778
|
# key - left alignment of keys
|
@@ -882,8 +883,8 @@ Layout/IndentationStyle:
|
|
882
883
|
Enabled: true
|
883
884
|
VersionAdded: '0.49'
|
884
885
|
VersionChanged: '0.82'
|
885
|
-
# By default
|
886
|
-
#
|
886
|
+
# By default the indentation width from `Layout/IndentationWidth` is used,
|
887
|
+
# but it can be overridden by setting this parameter.
|
887
888
|
# It is used during auto-correction to determine how many spaces should
|
888
889
|
# replace each tab.
|
889
890
|
IndentationWidth: ~
|
@@ -922,6 +923,20 @@ Layout/LeadingEmptyLines:
|
|
922
923
|
VersionAdded: '0.57'
|
923
924
|
VersionChanged: '0.77'
|
924
925
|
|
926
|
+
Layout/LineEndStringConcatenationIndentation:
|
927
|
+
Description: >-
|
928
|
+
Checks the indentation of the next line after a line that
|
929
|
+
ends with a string literal and a backslash.
|
930
|
+
Enabled: pending
|
931
|
+
VersionAdded: '1.18'
|
932
|
+
EnforcedStyle: aligned
|
933
|
+
SupportedStyles:
|
934
|
+
- aligned
|
935
|
+
- indented
|
936
|
+
# By default the indentation width from `Layout/IndentationWidth` is used,
|
937
|
+
# but it can be overridden by setting this parameter.
|
938
|
+
IndentationWidth: ~
|
939
|
+
|
925
940
|
Layout/LineLength:
|
926
941
|
Description: 'Checks that line length does not exceed the configured limit.'
|
927
942
|
StyleGuide: '#max-line-length'
|
@@ -1052,8 +1067,8 @@ Layout/MultilineMethodCallIndentation:
|
|
1052
1067
|
- aligned
|
1053
1068
|
- indented
|
1054
1069
|
- indented_relative_to_receiver
|
1055
|
-
# By default
|
1056
|
-
#
|
1070
|
+
# By default the indentation width from `Layout/IndentationWidth` is used,
|
1071
|
+
# but it can be overridden by setting this parameter.
|
1057
1072
|
IndentationWidth: ~
|
1058
1073
|
|
1059
1074
|
Layout/MultilineMethodDefinitionBraceLayout:
|
@@ -1082,8 +1097,8 @@ Layout/MultilineOperationIndentation:
|
|
1082
1097
|
SupportedStyles:
|
1083
1098
|
- aligned
|
1084
1099
|
- indented
|
1085
|
-
# By default
|
1086
|
-
#
|
1100
|
+
# By default the indentation width from `Layout/IndentationWidth` is used,
|
1101
|
+
# but it can be overridden by setting this parameter.
|
1087
1102
|
IndentationWidth: ~
|
1088
1103
|
|
1089
1104
|
Layout/ParameterAlignment:
|
@@ -1111,8 +1126,8 @@ Layout/ParameterAlignment:
|
|
1111
1126
|
SupportedStyles:
|
1112
1127
|
- with_first_parameter
|
1113
1128
|
- with_fixed_indentation
|
1114
|
-
# By default
|
1115
|
-
#
|
1129
|
+
# By default the indentation width from `Layout/IndentationWidth` is used,
|
1130
|
+
# but it can be overridden by setting this parameter.
|
1116
1131
|
IndentationWidth: ~
|
1117
1132
|
|
1118
1133
|
Layout/RedundantLineBreak:
|
@@ -1419,6 +1434,13 @@ Lint/AmbiguousOperator:
|
|
1419
1434
|
VersionAdded: '0.17'
|
1420
1435
|
VersionChanged: '0.83'
|
1421
1436
|
|
1437
|
+
Lint/AmbiguousRange:
|
1438
|
+
Description: Checks for ranges with ambiguous boundaries.
|
1439
|
+
Enabled: pending
|
1440
|
+
VersionAdded: '1.19'
|
1441
|
+
SafeAutoCorrect: false
|
1442
|
+
RequireParenthesesForMethodChains: false
|
1443
|
+
|
1422
1444
|
Lint/AmbiguousRegexpLiteral:
|
1423
1445
|
Description: >-
|
1424
1446
|
Checks for ambiguous regexp literals in the first argument of
|
@@ -1645,6 +1667,12 @@ Lint/EmptyFile:
|
|
1645
1667
|
AllowComments: true
|
1646
1668
|
VersionAdded: '0.90'
|
1647
1669
|
|
1670
|
+
Lint/EmptyInPattern:
|
1671
|
+
Description: 'Checks for the presence of `in` pattern branches without a body.'
|
1672
|
+
Enabled: pending
|
1673
|
+
AllowComments: true
|
1674
|
+
VersionAdded: '1.16'
|
1675
|
+
|
1648
1676
|
Lint/EmptyInterpolation:
|
1649
1677
|
Description: 'Checks for empty string interpolation.'
|
1650
1678
|
Enabled: true
|
@@ -1788,7 +1816,7 @@ Lint/MissingCopEnableDirective:
|
|
1788
1816
|
Lint/MissingSuper:
|
1789
1817
|
Description: >-
|
1790
1818
|
This cop checks for the presence of constructors and lifecycle callbacks
|
1791
|
-
without calls to `super
|
1819
|
+
without calls to `super`.
|
1792
1820
|
Enabled: true
|
1793
1821
|
VersionAdded: '0.89'
|
1794
1822
|
VersionChanged: '1.4'
|
@@ -1803,7 +1831,6 @@ Lint/MultipleComparison:
|
|
1803
1831
|
Enabled: true
|
1804
1832
|
VersionAdded: '0.47'
|
1805
1833
|
VersionChanged: '1.1'
|
1806
|
-
AllowMethodComparison: true
|
1807
1834
|
|
1808
1835
|
Lint/NestedMethodDefinition:
|
1809
1836
|
Description: 'Do not use nested method definitions.'
|
@@ -2092,6 +2119,7 @@ Lint/SymbolConversion:
|
|
2092
2119
|
Description: 'Checks for unnecessary symbol conversions.'
|
2093
2120
|
Enabled: pending
|
2094
2121
|
VersionAdded: '1.9'
|
2122
|
+
VersionChanged: '1.16'
|
2095
2123
|
EnforcedStyle: strict
|
2096
2124
|
SupportedStyles:
|
2097
2125
|
- strict
|
@@ -2512,6 +2540,32 @@ Naming/HeredocDelimiterNaming:
|
|
2512
2540
|
ForbiddenDelimiters:
|
2513
2541
|
- !ruby/regexp '/(^|\s)(EO[A-Z]{1}|END)(\s|$)/'
|
2514
2542
|
|
2543
|
+
Naming/InclusiveLanguage:
|
2544
|
+
Description: 'Recommend the use of inclusive language instead of problematic terms.'
|
2545
|
+
Enabled: pending
|
2546
|
+
VersionAdded: '1.18'
|
2547
|
+
CheckIdentifiers: true
|
2548
|
+
CheckConstants: true
|
2549
|
+
CheckVariables: true
|
2550
|
+
CheckStrings: false
|
2551
|
+
CheckSymbols: true
|
2552
|
+
CheckComments: true
|
2553
|
+
CheckFilepaths: true
|
2554
|
+
FlaggedTerms:
|
2555
|
+
whitelist:
|
2556
|
+
Regex: !ruby/regexp '/white[-_\s]?list/'
|
2557
|
+
Suggestions:
|
2558
|
+
- allowlist
|
2559
|
+
- permit
|
2560
|
+
blacklist:
|
2561
|
+
Regex: !ruby/regexp '/black[-_\s]?list/'
|
2562
|
+
Suggestions:
|
2563
|
+
- denylist
|
2564
|
+
- block
|
2565
|
+
slave:
|
2566
|
+
WholeWord: true
|
2567
|
+
Suggestions: ['replica', 'secondary', 'follower']
|
2568
|
+
|
2515
2569
|
Naming/MemoizedInstanceVariableName:
|
2516
2570
|
Description: >-
|
2517
2571
|
Memoized method name should match memo instance variable name.
|
@@ -3103,12 +3157,14 @@ Style/CommentAnnotation:
|
|
3103
3157
|
- HACK
|
3104
3158
|
- REVIEW
|
3105
3159
|
- NOTE
|
3160
|
+
RequireColon: true
|
3106
3161
|
|
3107
3162
|
Style/CommentedKeyword:
|
3108
3163
|
Description: 'Do not place comments on the same line as certain keywords.'
|
3109
3164
|
Enabled: true
|
3165
|
+
SafeAutoCorrect: false
|
3110
3166
|
VersionAdded: '0.51'
|
3111
|
-
VersionChanged: '1.
|
3167
|
+
VersionChanged: '1.19'
|
3112
3168
|
|
3113
3169
|
Style/ConditionalAssignment:
|
3114
3170
|
Description: >-
|
@@ -3490,8 +3546,10 @@ Style/HashEachMethods:
|
|
3490
3546
|
Description: 'Use Hash#each_key and Hash#each_value.'
|
3491
3547
|
StyleGuide: '#hash-each'
|
3492
3548
|
Enabled: true
|
3493
|
-
VersionAdded: '0.80'
|
3494
3549
|
Safe: false
|
3550
|
+
VersionAdded: '0.80'
|
3551
|
+
VersionChanged: '1.16'
|
3552
|
+
AllowedReceivers: []
|
3495
3553
|
|
3496
3554
|
Style/HashExcept:
|
3497
3555
|
Description: >-
|
@@ -3553,7 +3611,9 @@ Style/IdenticalConditionalBranches:
|
|
3553
3611
|
line at the end of each branch, which can validly be moved
|
3554
3612
|
out of the conditional.
|
3555
3613
|
Enabled: true
|
3614
|
+
SafeAutoCorrect: false
|
3556
3615
|
VersionAdded: '0.36'
|
3616
|
+
VersionChanged: '1.19'
|
3557
3617
|
|
3558
3618
|
Style/IfInsideElse:
|
3559
3619
|
Description: 'Finds if nodes inside else, which can be converted to elsif.'
|
@@ -3600,6 +3660,12 @@ Style/ImplicitRuntimeError:
|
|
3600
3660
|
Enabled: false
|
3601
3661
|
VersionAdded: '0.41'
|
3602
3662
|
|
3663
|
+
Style/InPatternThen:
|
3664
|
+
Description: 'Checks for `in;` uses in `case` expressions.'
|
3665
|
+
StyleGuide: '#no-in-pattern-semicolons'
|
3666
|
+
Enabled: pending
|
3667
|
+
VersionAdded: '1.16'
|
3668
|
+
|
3603
3669
|
Style/InfiniteLoop:
|
3604
3670
|
Description: >-
|
3605
3671
|
Use Kernel#loop for infinite loops.
|
@@ -3828,6 +3894,12 @@ Style/MultilineIfThen:
|
|
3828
3894
|
VersionAdded: '0.9'
|
3829
3895
|
VersionChanged: '0.26'
|
3830
3896
|
|
3897
|
+
Style/MultilineInPatternThen:
|
3898
|
+
Description: 'Do not use `then` for multi-line `in` statement.'
|
3899
|
+
StyleGuide: '#no-then'
|
3900
|
+
Enabled: pending
|
3901
|
+
VersionAdded: '1.16'
|
3902
|
+
|
3831
3903
|
Style/MultilineMemoization:
|
3832
3904
|
Description: 'Wrap multiline memoizations in a `begin` and `end` block.'
|
3833
3905
|
Enabled: true
|
@@ -3866,6 +3938,7 @@ Style/MultipleComparison:
|
|
3866
3938
|
Enabled: true
|
3867
3939
|
VersionAdded: '0.49'
|
3868
3940
|
VersionChanged: '1.1'
|
3941
|
+
AllowMethodComparison: true
|
3869
3942
|
|
3870
3943
|
Style/MutableConstant:
|
3871
3944
|
Description: 'Do not assign mutable objects to constants.'
|
@@ -4089,6 +4162,7 @@ Style/OptionHash:
|
|
4089
4162
|
- args
|
4090
4163
|
- params
|
4091
4164
|
- parameters
|
4165
|
+
Allowlist: []
|
4092
4166
|
|
4093
4167
|
Style/OptionalArguments:
|
4094
4168
|
Description: >-
|
@@ -4186,6 +4260,16 @@ Style/Proc:
|
|
4186
4260
|
VersionAdded: '0.9'
|
4187
4261
|
VersionChanged: '0.18'
|
4188
4262
|
|
4263
|
+
Style/QuotedSymbols:
|
4264
|
+
Description: 'Use a consistent style for quoted symbols.'
|
4265
|
+
Enabled: pending
|
4266
|
+
VersionAdded: '1.16'
|
4267
|
+
EnforcedStyle: same_as_string_literals
|
4268
|
+
SupportedStyles:
|
4269
|
+
- same_as_string_literals
|
4270
|
+
- single_quotes
|
4271
|
+
- double_quotes
|
4272
|
+
|
4189
4273
|
Style/RaiseArgs:
|
4190
4274
|
Description: 'Checks the arguments passed to raise/fail.'
|
4191
4275
|
StyleGuide: '#exception-class-messages'
|
@@ -4331,6 +4415,11 @@ Style/RedundantSelfAssignment:
|
|
4331
4415
|
Safe: false
|
4332
4416
|
VersionAdded: '0.90'
|
4333
4417
|
|
4418
|
+
Style/RedundantSelfAssignmentBranch:
|
4419
|
+
Description: 'Checks for places where conditional branch makes redundant self-assignment.'
|
4420
|
+
Enabled: pending
|
4421
|
+
VersionAdded: '1.19'
|
4422
|
+
|
4334
4423
|
Style/RedundantSort:
|
4335
4424
|
Description: >-
|
4336
4425
|
Use `min` instead of `sort.first`,
|
@@ -4502,6 +4591,7 @@ Style/SpecialGlobalVars:
|
|
4502
4591
|
VersionAdded: '0.13'
|
4503
4592
|
VersionChanged: '0.36'
|
4504
4593
|
SafeAutoCorrect: false
|
4594
|
+
RequireEnglish: true
|
4505
4595
|
EnforcedStyle: use_english_names
|
4506
4596
|
SupportedStyles:
|
4507
4597
|
- use_perl_names
|
@@ -4543,7 +4633,8 @@ Style/StringConcatenation:
|
|
4543
4633
|
Enabled: true
|
4544
4634
|
Safe: false
|
4545
4635
|
VersionAdded: '0.89'
|
4546
|
-
VersionChanged: '1.
|
4636
|
+
VersionChanged: '1.18'
|
4637
|
+
Mode: aggressive
|
4547
4638
|
|
4548
4639
|
Style/StringHashKeys:
|
4549
4640
|
Description: 'Prefer symbols instead of strings as hash keys.'
|
@@ -4821,7 +4912,7 @@ Style/VariableInterpolation:
|
|
4821
4912
|
|
4822
4913
|
Style/WhenThen:
|
4823
4914
|
Description: 'Use when x then ... for one-line cases.'
|
4824
|
-
StyleGuide: '#
|
4915
|
+
StyleGuide: '#no-when-semicolons'
|
4825
4916
|
Enabled: true
|
4826
4917
|
VersionAdded: '0.9'
|
4827
4918
|
|
@@ -4845,7 +4936,7 @@ Style/WordArray:
|
|
4845
4936
|
StyleGuide: '#percent-w'
|
4846
4937
|
Enabled: true
|
4847
4938
|
VersionAdded: '0.9'
|
4848
|
-
VersionChanged: '
|
4939
|
+
VersionChanged: '1.19'
|
4849
4940
|
EnforcedStyle: percent
|
4850
4941
|
SupportedStyles:
|
4851
4942
|
# percent style: %w(word1 word2)
|
data/lib/chefstyle/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chefstyle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chef Software, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-08-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: 1.19.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.
|
26
|
+
version: 1.19.0
|
27
27
|
description:
|
28
28
|
email:
|
29
29
|
- oss@chef.io
|