chefstyle 2.0.4 → 2.0.5
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 +8 -0
- data/config/upstream.yml +36 -3
- 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: 4b08c659e1eca34204d6714da4ef791a40178b0d91967c4924623c9989c1bcdb
|
4
|
+
data.tar.gz: 897d0470cb32aa60667bfdc8629f535a3f1eb850bb172215f77044f8c4f6536c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a438e90b3d9f12782bea3fadcc7d0f04dca03e4a732787f9602e346da22e0818760a60cec6a98bf3fd019b2585e2145e504d8c5ea62e517dd4747896c4befff
|
7
|
+
data.tar.gz: b9a051fd0213bafd8981dcb17e0780f22046ff4feabc7093ab5e49c4f7351e01930d2da1a575b2fddf72cddfab7094164d3011947cbf2e9b57237816b1c83cf9
|
data/config/disable_all.yml
CHANGED
@@ -275,6 +275,8 @@ Lint/EmptyExpression:
|
|
275
275
|
Enabled: false
|
276
276
|
Lint/EmptyFile:
|
277
277
|
Enabled: false
|
278
|
+
Lint/EmptyInPattern:
|
279
|
+
Enabled: false
|
278
280
|
Lint/EmptyInterpolation:
|
279
281
|
Enabled: false
|
280
282
|
Lint/EmptyWhen:
|
@@ -667,6 +669,8 @@ Style/IfWithSemicolon:
|
|
667
669
|
Enabled: false
|
668
670
|
Style/ImplicitRuntimeError:
|
669
671
|
Enabled: false
|
672
|
+
Style/InPatternThen:
|
673
|
+
Enabled: false
|
670
674
|
Style/InfiniteLoop:
|
671
675
|
Enabled: false
|
672
676
|
Style/InverseMethods:
|
@@ -687,6 +691,8 @@ Style/MethodCallWithoutArgsParentheses:
|
|
687
691
|
Enabled: false
|
688
692
|
Style/MethodCallWithArgsParentheses:
|
689
693
|
Enabled: false
|
694
|
+
Style/MultilineInPatternThen:
|
695
|
+
Enabled: false
|
690
696
|
Style/RedundantAssignment:
|
691
697
|
Enabled: false
|
692
698
|
Style/RedundantFetchBlock:
|
@@ -787,6 +793,8 @@ Style/PreferredHashMethods:
|
|
787
793
|
Enabled: false
|
788
794
|
Style/Proc:
|
789
795
|
Enabled: false
|
796
|
+
Style/QuotedSymbols:
|
797
|
+
Enabled: false
|
790
798
|
Style/RaiseArgs:
|
791
799
|
Enabled: false
|
792
800
|
Style/RandomWithOffset:
|
data/config/upstream.yml
CHANGED
@@ -377,10 +377,11 @@ 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
|
@@ -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
|
@@ -1645,6 +1646,12 @@ Lint/EmptyFile:
|
|
1645
1646
|
AllowComments: true
|
1646
1647
|
VersionAdded: '0.90'
|
1647
1648
|
|
1649
|
+
Lint/EmptyInPattern:
|
1650
|
+
Description: 'Checks for the presence of `in` pattern branches without a body.'
|
1651
|
+
Enabled: pending
|
1652
|
+
AllowComments: true
|
1653
|
+
VersionAdded: '1.16'
|
1654
|
+
|
1648
1655
|
Lint/EmptyInterpolation:
|
1649
1656
|
Description: 'Checks for empty string interpolation.'
|
1650
1657
|
Enabled: true
|
@@ -2092,6 +2099,7 @@ Lint/SymbolConversion:
|
|
2092
2099
|
Description: 'Checks for unnecessary symbol conversions.'
|
2093
2100
|
Enabled: pending
|
2094
2101
|
VersionAdded: '1.9'
|
2102
|
+
VersionChanged: '1.16'
|
2095
2103
|
EnforcedStyle: strict
|
2096
2104
|
SupportedStyles:
|
2097
2105
|
- strict
|
@@ -3490,8 +3498,10 @@ Style/HashEachMethods:
|
|
3490
3498
|
Description: 'Use Hash#each_key and Hash#each_value.'
|
3491
3499
|
StyleGuide: '#hash-each'
|
3492
3500
|
Enabled: true
|
3493
|
-
VersionAdded: '0.80'
|
3494
3501
|
Safe: false
|
3502
|
+
VersionAdded: '0.80'
|
3503
|
+
VersionChanged: '1.16'
|
3504
|
+
AllowedReceivers: []
|
3495
3505
|
|
3496
3506
|
Style/HashExcept:
|
3497
3507
|
Description: >-
|
@@ -3554,6 +3564,7 @@ Style/IdenticalConditionalBranches:
|
|
3554
3564
|
out of the conditional.
|
3555
3565
|
Enabled: true
|
3556
3566
|
VersionAdded: '0.36'
|
3567
|
+
VersionChanged: '1.16'
|
3557
3568
|
|
3558
3569
|
Style/IfInsideElse:
|
3559
3570
|
Description: 'Finds if nodes inside else, which can be converted to elsif.'
|
@@ -3600,6 +3611,12 @@ Style/ImplicitRuntimeError:
|
|
3600
3611
|
Enabled: false
|
3601
3612
|
VersionAdded: '0.41'
|
3602
3613
|
|
3614
|
+
Style/InPatternThen:
|
3615
|
+
Description: 'Checks for `in;` uses in `case` expressions.'
|
3616
|
+
StyleGuide: '#no-in-pattern-semicolons'
|
3617
|
+
Enabled: pending
|
3618
|
+
VersionAdded: '1.16'
|
3619
|
+
|
3603
3620
|
Style/InfiniteLoop:
|
3604
3621
|
Description: >-
|
3605
3622
|
Use Kernel#loop for infinite loops.
|
@@ -3828,6 +3845,12 @@ Style/MultilineIfThen:
|
|
3828
3845
|
VersionAdded: '0.9'
|
3829
3846
|
VersionChanged: '0.26'
|
3830
3847
|
|
3848
|
+
Style/MultilineInPatternThen:
|
3849
|
+
Description: 'Do not use `then` for multi-line `in` statement.'
|
3850
|
+
StyleGuide: '#no-then'
|
3851
|
+
Enabled: pending
|
3852
|
+
VersionAdded: '1.16'
|
3853
|
+
|
3831
3854
|
Style/MultilineMemoization:
|
3832
3855
|
Description: 'Wrap multiline memoizations in a `begin` and `end` block.'
|
3833
3856
|
Enabled: true
|
@@ -4186,6 +4209,16 @@ Style/Proc:
|
|
4186
4209
|
VersionAdded: '0.9'
|
4187
4210
|
VersionChanged: '0.18'
|
4188
4211
|
|
4212
|
+
Style/QuotedSymbols:
|
4213
|
+
Description: 'Use a consistent style for quoted symbols.'
|
4214
|
+
Enabled: pending
|
4215
|
+
VersionAdded: '1.16'
|
4216
|
+
EnforcedStyle: same_as_string_literals
|
4217
|
+
SupportedStyles:
|
4218
|
+
- same_as_string_literals
|
4219
|
+
- single_quotes
|
4220
|
+
- double_quotes
|
4221
|
+
|
4189
4222
|
Style/RaiseArgs:
|
4190
4223
|
Description: 'Checks the arguments passed to raise/fail.'
|
4191
4224
|
StyleGuide: '#exception-class-messages'
|
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.5
|
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-06-17 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.17.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.17.0
|
27
27
|
description:
|
28
28
|
email:
|
29
29
|
- oss@chef.io
|