cookstyle 8.4.0 → 8.5.0
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/chefstyle.yml +4 -0
- data/config/cookstyle.yml +4 -0
- data/lib/cookstyle/version.rb +2 -2
- metadata +9 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 388c63af17bc8af6ccee78b056d4fb74972c443a91737363f54d4dc41b1e1042
|
4
|
+
data.tar.gz: 23310602f2fba3002f6d4853881f5a432025473ea8c368b33b23b1798659974b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf74fe8aab73053ef3c723cdecb8a6d5a077bcba200a5986b90e5116fca9c2cd64eebfb3736355642a58df3b2c3960b99b6b23f7bfb2e432b1bdfb62f9b398d0
|
7
|
+
data.tar.gz: aa8ae4575701d1d4dae566277c429402c39f0785b5d36789d7d2740c91feafbaa3a179c3ab940e7caecfb17f4921fa5598985ff8e945b4adbed11e48878ee860
|
data/config/chefstyle.yml
CHANGED
@@ -868,6 +868,10 @@ Lint/UselessDefaultValueArgument:
|
|
868
868
|
Style/CollectionQuerying:
|
869
869
|
Enabled: true
|
870
870
|
|
871
|
+
# use `include?(element)` instead of `intersect?([element])`
|
872
|
+
Style/ArrayIntersectWithSingleElement:
|
873
|
+
Enabled: true
|
874
|
+
|
871
875
|
Chef/Deprecations/Ruby27KeywordArgumentWarnings:
|
872
876
|
Description: Pass options to shell_out helpers without the brackets to avoid Ruby 2.7 deprecation warnings.
|
873
877
|
Enabled: true
|
data/config/cookstyle.yml
CHANGED
@@ -3297,3 +3297,7 @@ Lint/UselessDefaultValueArgument:
|
|
3297
3297
|
# use helpers like .any?, .none?, and .one? instead of using count on collections which is much slower
|
3298
3298
|
Style/CollectionQuerying:
|
3299
3299
|
Enabled: true
|
3300
|
+
|
3301
|
+
# use `include?(element)` instead of `intersect?([element])`
|
3302
|
+
Style/ArrayIntersectWithSingleElement:
|
3303
|
+
Enabled: true
|
data/lib/cookstyle/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cookstyle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 8.
|
4
|
+
version: 8.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thom May
|
8
8
|
- Tim Smith
|
9
|
+
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date:
|
12
|
+
date: 2025-09-25 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: rubocop
|
@@ -16,14 +17,15 @@ dependencies:
|
|
16
17
|
requirements:
|
17
18
|
- - '='
|
18
19
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
20
|
+
version: 1.81.0
|
20
21
|
type: :runtime
|
21
22
|
prerelease: false
|
22
23
|
version_requirements: !ruby/object:Gem::Requirement
|
23
24
|
requirements:
|
24
25
|
- - '='
|
25
26
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.
|
27
|
+
version: 1.81.0
|
28
|
+
description:
|
27
29
|
email:
|
28
30
|
- thom@chef.io
|
29
31
|
- tsmith84@gmail.com
|
@@ -323,6 +325,7 @@ metadata:
|
|
323
325
|
source_code_uri: https://github.com/chef/cookstyle
|
324
326
|
documentation_uri: https://docs.chef.io/workstation/cookstyle/
|
325
327
|
bug_tracker_uri: https://github.com/chef/cookstyle/issues
|
328
|
+
post_install_message:
|
326
329
|
rdoc_options: []
|
327
330
|
require_paths:
|
328
331
|
- lib
|
@@ -337,7 +340,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
337
340
|
- !ruby/object:Gem::Version
|
338
341
|
version: '0'
|
339
342
|
requirements: []
|
340
|
-
rubygems_version: 3.
|
343
|
+
rubygems_version: 3.3.27
|
344
|
+
signing_key:
|
341
345
|
specification_version: 4
|
342
346
|
summary: Cookstyle is a code linting tool that helps you to write better Chef Infra
|
343
347
|
cookbooks by detecting and automatically correcting style, syntax, and logic mistakes
|