chefstyle 2.0.3 → 2.0.4
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 +2 -0
- data/config/upstream.yml +11 -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: 24a70093af7e575252cbf8d6c0d791192b517d9d508b72697f43cb309471cfed
|
4
|
+
data.tar.gz: 39aff8e7080a8830d4f13f6d9d45e45d70ed7e179ca5c32b5a71c96b5e33de8c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa0a29d52c983bc46dbcdb79ff2d1df62ef64104ff81fb7365df606dc38a7b86a721d53de2bb7c7a224417b9cfc5da5d511112530befe334a92927957a249786
|
7
|
+
data.tar.gz: 163fcb0121d79699af424ce281b30e2e89338b471770e7903514a3efde7b56fa7145c80807d42ab15331acf23c1fe738adf80a0998662c03750acae613ec9ff7
|
data/config/disable_all.yml
CHANGED
data/config/upstream.yml
CHANGED
@@ -1612,7 +1612,7 @@ Lint/EmptyBlock:
|
|
1612
1612
|
Description: 'This cop checks for blocks without a body.'
|
1613
1613
|
Enabled: pending
|
1614
1614
|
VersionAdded: '1.1'
|
1615
|
-
VersionChanged: '1.
|
1615
|
+
VersionChanged: '1.15'
|
1616
1616
|
AllowComments: true
|
1617
1617
|
AllowEmptyLambdas: true
|
1618
1618
|
|
@@ -3480,6 +3480,7 @@ Style/HashAsLastArrayItem:
|
|
3480
3480
|
|
3481
3481
|
Style/HashConversion:
|
3482
3482
|
Description: 'Avoid Hash[] in favor of ary.to_h or literal hashes.'
|
3483
|
+
StyleGuide: '#avoid-hash-constructor'
|
3483
3484
|
Enabled: pending
|
3484
3485
|
VersionAdded: '1.10'
|
3485
3486
|
VersionChanged: '1.11'
|
@@ -3998,6 +3999,7 @@ Style/NilLambda:
|
|
3998
3999
|
Description: 'Prefer `-> {}` to `-> { nil }`.'
|
3999
4000
|
Enabled: pending
|
4000
4001
|
VersionAdded: '1.3'
|
4002
|
+
VersionChanged: '1.15'
|
4001
4003
|
|
4002
4004
|
Style/NonNilCheck:
|
4003
4005
|
Description: 'Checks for redundant nil checks.'
|
@@ -4651,6 +4653,12 @@ Style/TernaryParentheses:
|
|
4651
4653
|
- require_parentheses_when_complex
|
4652
4654
|
AllowSafeAssignment: true
|
4653
4655
|
|
4656
|
+
Style/TopLevelMethodDefinition:
|
4657
|
+
Description: 'This cop looks for top-level method definitions.'
|
4658
|
+
StyleGuide: '#top-level-methods'
|
4659
|
+
Enabled: false
|
4660
|
+
VersionAdded: '1.15'
|
4661
|
+
|
4654
4662
|
Style/TrailingBodyOnClass:
|
4655
4663
|
Description: 'Class body goes below class statement.'
|
4656
4664
|
Enabled: true
|
@@ -4737,7 +4745,7 @@ Style/TrivialAccessors:
|
|
4737
4745
|
StyleGuide: '#attr_family'
|
4738
4746
|
Enabled: true
|
4739
4747
|
VersionAdded: '0.9'
|
4740
|
-
VersionChanged: '
|
4748
|
+
VersionChanged: '1.15'
|
4741
4749
|
# When set to `false` the cop will suggest the use of accessor methods
|
4742
4750
|
# in situations like:
|
4743
4751
|
#
|
@@ -4756,7 +4764,7 @@ Style/TrivialAccessors:
|
|
4756
4764
|
# on_exception :restart
|
4757
4765
|
#
|
4758
4766
|
# Commonly used in DSLs
|
4759
|
-
AllowDSLWriters:
|
4767
|
+
AllowDSLWriters: true
|
4760
4768
|
IgnoreClassMethods: false
|
4761
4769
|
AllowedMethods:
|
4762
4770
|
- to_ary
|
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.4
|
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-05-
|
11
|
+
date: 2021-05-27 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.15.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.15.0
|
27
27
|
description:
|
28
28
|
email:
|
29
29
|
- oss@chef.io
|