chefstyle 1.5.1 → 1.5.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9bd6b5ab8e9f76500ae01a2f2bef633534cb5f3e92567c0eca54627743f1f121
4
- data.tar.gz: 6870c8ef17247f5eb13683a6f0036cc496950018c375321b94c538d6d4c5308e
3
+ metadata.gz: bbf6452b0cab1ef46383080fe18fa78d21aa00066abc1df2bbc0705a6721d753
4
+ data.tar.gz: be21de8c4bc2f9681e8da6f23f0cff755e50b4a4300e84b03df4d2bbd92f829a
5
5
  SHA512:
6
- metadata.gz: 10de957e5aa133094336624705910075a9a8d19020c7a5943b1573047b8261213c80cf95ca9afc3d78576fdb70cffcdff37c02434379eb21e81ba580f7a64704
7
- data.tar.gz: c35d511fc1dae3b3ffce5a3138686d483dd00bca254d506a88879ee1b3e600dddb5b5bd4717891167eb08da296c0aa2612061e93a5b710cb7c50b018980b3553
6
+ metadata.gz: e77886f2e3067aa56a3202803dba4ac0d5f18533f0dc2d65c0bc5431fe17be09e9a00126f157bfb12d81649c4001a4d4eb2420ef672f80af28c7ec719d6dd0e7
7
+ data.tar.gz: dbb8488366023a4d1986e5694cb7a09b38683b5392d8e6ca4a520cdd11b1bc73597a46b5af180aba81cd20e8e96dffcd0dd19bf545221feab9a54f9d121415e6
@@ -1176,7 +1176,7 @@ Layout/SpaceBeforeBlockBraces:
1176
1176
  SupportedStylesForEmptyBraces:
1177
1177
  - space
1178
1178
  - no_space
1179
- VersionChanged: '0.52.1'
1179
+ VersionChanged: '0.52'
1180
1180
 
1181
1181
  Layout/SpaceBeforeComma:
1182
1182
  Description: 'No spaces before commas.'
@@ -1401,7 +1401,10 @@ Lint/ConstantDefinitionInBlock:
1401
1401
  Enabled: true
1402
1402
  VersionAdded: '0.91'
1403
1403
  VersionChanged: '1.3'
1404
- AllowedMethods: []
1404
+ # `enums` for Typed Enums via T::Enum in Sorbet.
1405
+ # https://sorbet.org/docs/tenum
1406
+ AllowedMethods:
1407
+ - enums
1405
1408
 
1406
1409
  Lint/ConstantResolution:
1407
1410
  Description: 'Check that constants are fully qualified with `::`.'
@@ -1862,7 +1865,7 @@ Lint/RescueException:
1862
1865
  StyleGuide: '#no-blind-rescues'
1863
1866
  Enabled: true
1864
1867
  VersionAdded: '0.9'
1865
- VersionChanged: '0.27.1'
1868
+ VersionChanged: '0.27'
1866
1869
 
1867
1870
  Lint/RescueType:
1868
1871
  Description: 'Avoid rescuing from non constants that could result in a `TypeError`.'
@@ -3917,7 +3920,7 @@ Style/PercentLiteralDelimiters:
3917
3920
  '%r': '{}'
3918
3921
  '%w': '[]'
3919
3922
  '%W': '[]'
3920
- VersionChanged: '0.48.1'
3923
+ VersionChanged: '0.48'
3921
3924
 
3922
3925
  Style/PercentQLiterals:
3923
3926
  Description: 'Checks if uses of %Q/%q match the configured preference.'
@@ -4324,7 +4327,7 @@ Style/StringMethods:
4324
4327
  Description: 'Checks if configured preferred methods are used over non-preferred.'
4325
4328
  Enabled: false
4326
4329
  VersionAdded: '0.34'
4327
- VersionChanged: '0.34.2'
4330
+ VersionChanged: '0.34'
4328
4331
  # Mapping from undesired method to desired_method
4329
4332
  # e.g. to use `to_sym` over `intern`:
4330
4333
  #
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
  module Chefstyle
3
- VERSION = "1.5.1"
4
- RUBOCOP_VERSION = "1.3.0"
3
+ VERSION = "1.5.2"
4
+ RUBOCOP_VERSION = "1.3.1"
5
5
  end
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.5.1
4
+ version: 1.5.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: 2020-11-12 00:00:00.000000000 Z
11
+ date: 2020-11-16 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.3.0
19
+ version: 1.3.1
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.3.0
26
+ version: 1.3.1
27
27
  description:
28
28
  email:
29
29
  - oss@chef.io