chefstyle 1.7.1 → 1.7.2
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 +4 -4
- data/config/disable_all.yml +2 -0
- data/config/upstream.yml +13 -0
- 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: 9d423d3b6c1aef64ba7af6404723876508d480d05050d92368032aa704306d7d
|
|
4
|
+
data.tar.gz: b002fe1d27979f8101b7ed79d8c6a0d2f7c201c6dc1f09ee2f140ab533fce3d2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e597e3beddb923eb33a914d38e33eb1883a9b98c8cfe6b3fdae72b393d89b9cf050635f0ba3e2098fc1ea7f4ab92fd41cf29600da905fc529d7c397742b04799
|
|
7
|
+
data.tar.gz: aad4a9c602ddb9498a5dac5fec9aba55d33c976b713823e6246be096fbfcc81eb22d187825aa242bdab5669fbdf65668ce967f9a53e68920f281f1e516cf1012
|
data/config/disable_all.yml
CHANGED
data/config/upstream.yml
CHANGED
|
@@ -3446,6 +3446,8 @@ Style/HashConversion:
|
|
|
3446
3446
|
Description: 'Avoid Hash[] in favor of ary.to_h or literal hashes.'
|
|
3447
3447
|
Enabled: pending
|
|
3448
3448
|
VersionAdded: '1.10'
|
|
3449
|
+
VersionChanged: '1.11'
|
|
3450
|
+
AllowSplatArgument: true
|
|
3449
3451
|
|
|
3450
3452
|
Style/HashEachMethods:
|
|
3451
3453
|
Description: 'Use Hash#each_key and Hash#each_value.'
|
|
@@ -4586,6 +4588,7 @@ Style/SymbolProc:
|
|
|
4586
4588
|
Safe: false
|
|
4587
4589
|
VersionAdded: '0.26'
|
|
4588
4590
|
VersionChanged: '1.5'
|
|
4591
|
+
AllowMethodsWithArguments: false
|
|
4589
4592
|
# A list of method names to be ignored by the check.
|
|
4590
4593
|
# The names should be fairly unique, otherwise you'll end up ignoring lots of code.
|
|
4591
4594
|
IgnoredMethods:
|
|
@@ -4738,6 +4741,16 @@ Style/UnlessElse:
|
|
|
4738
4741
|
Enabled: true
|
|
4739
4742
|
VersionAdded: '0.9'
|
|
4740
4743
|
|
|
4744
|
+
Style/UnlessLogicalOperators:
|
|
4745
|
+
Description: >-
|
|
4746
|
+
Checks for use of logical operators in an unless condition.
|
|
4747
|
+
Enabled: false
|
|
4748
|
+
VersionAdded: '1.11'
|
|
4749
|
+
EnforcedStyle: forbid_mixed_logical_operators
|
|
4750
|
+
SupportedStyles:
|
|
4751
|
+
- forbid_mixed_logical_operators
|
|
4752
|
+
- forbid_logical_operators
|
|
4753
|
+
|
|
4741
4754
|
Style/UnpackFirst:
|
|
4742
4755
|
Description: >-
|
|
4743
4756
|
Checks for accessing the first element of `String#unpack`
|
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: 1.7.
|
|
4
|
+
version: 1.7.2
|
|
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-03-09 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.11.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.11.0
|
|
27
27
|
description:
|
|
28
28
|
email:
|
|
29
29
|
- oss@chef.io
|