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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6a0f7601383deef0fffbf9851fbdf87fa42a6fe908145bc8ce6a8bbaab4bea86
4
- data.tar.gz: cbe17c553d5dbf697b8039d2b3fb915481e9a6cc1d7470b8fcd8a7bf70edb583
3
+ metadata.gz: 388c63af17bc8af6ccee78b056d4fb74972c443a91737363f54d4dc41b1e1042
4
+ data.tar.gz: 23310602f2fba3002f6d4853881f5a432025473ea8c368b33b23b1798659974b
5
5
  SHA512:
6
- metadata.gz: 64c98d3b8afc0ab594dd2b605b0a51ec77aab8d98abf7b10fac83240c993000c25a63138c8e374fd7d0cabedcef627363e08d1ab1fc242f9b7ad50fb81187475
7
- data.tar.gz: 699d25ff3e3f7f3879ec6ee32901c9a2de6658be54f9499487e77a9a35e87a17e7bdb94f9645f0bc2564b602066cc769e14f55147ddfe94e831f40d1f85802ea
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
  module Cookstyle
3
- VERSION = "8.4.0" # rubocop: disable Style/StringLiterals
4
- RUBOCOP_VERSION = '1.79.2'
3
+ VERSION = "8.5.0" # rubocop: disable Style/StringLiterals
4
+ RUBOCOP_VERSION = '1.81.0'
5
5
  end
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.0
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: 1980-01-02 00:00:00.000000000 Z
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.79.2
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.79.2
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.6.9
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