chefstyle 1.7.2 → 1.7.4

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: 9d423d3b6c1aef64ba7af6404723876508d480d05050d92368032aa704306d7d
4
- data.tar.gz: b002fe1d27979f8101b7ed79d8c6a0d2f7c201c6dc1f09ee2f140ab533fce3d2
3
+ metadata.gz: e9f848cc66621a3289bdfb404e143df08d23361d21b95f4c628b2ebcead2e980
4
+ data.tar.gz: 22df81f00aff843c8c692199a3f3cdec0ceac9a847c106918d3d267596d557f2
5
5
  SHA512:
6
- metadata.gz: e597e3beddb923eb33a914d38e33eb1883a9b98c8cfe6b3fdae72b393d89b9cf050635f0ba3e2098fc1ea7f4ab92fd41cf29600da905fc529d7c397742b04799
7
- data.tar.gz: aad4a9c602ddb9498a5dac5fec9aba55d33c976b713823e6246be096fbfcc81eb22d187825aa242bdab5669fbdf65668ce967f9a53e68920f281f1e516cf1012
6
+ metadata.gz: d17fde1788327c44ed3252b414b347ac01b87e1ca71e98ceec814a18a9d9c9bc6cf6f572d52b140227953566a78a647eb8ef06763c3331b727035b00b7b7efa0
7
+ data.tar.gz: dcbdeaa805818f00871aa53c6d6cd8cbe66eab9e4e9b0952d7711c9931c589e55d290b1e125f1c3c08a91d41ac2dca18cc99407c29135dce2beb7e60b095b98c
@@ -851,6 +851,8 @@ Style/StabbyLambdaParentheses:
851
851
  Enabled: false
852
852
  Style/StderrPuts:
853
853
  Enabled: false
854
+ Style/StringChars:
855
+ Enabled: false
854
856
  Style/StringConcatenation:
855
857
  Enabled: false
856
858
  Style/StringHashKeys:
data/config/upstream.yml CHANGED
@@ -2055,13 +2055,18 @@ Lint/SuppressedException:
2055
2055
  StyleGuide: '#dont-hide-exceptions'
2056
2056
  Enabled: true
2057
2057
  AllowComments: true
2058
+ AllowNil: true
2058
2059
  VersionAdded: '0.9'
2059
- VersionChanged: '0.81'
2060
+ VersionChanged: '1.12'
2060
2061
 
2061
2062
  Lint/SymbolConversion:
2062
2063
  Description: 'Checks for unnecessary symbol conversions.'
2063
2064
  Enabled: pending
2064
2065
  VersionAdded: '1.9'
2066
+ EnforcedStyle: strict
2067
+ SupportedStyles:
2068
+ - strict
2069
+ - consistent
2065
2070
 
2066
2071
  Lint/Syntax:
2067
2072
  Description: 'Checks for syntax errors.'
@@ -2489,6 +2494,7 @@ Naming/MemoizedInstanceVariableName:
2489
2494
  - disallowed
2490
2495
  - required
2491
2496
  - optional
2497
+ Safe: false
2492
2498
 
2493
2499
  Naming/MethodName:
2494
2500
  Description: 'Use the configured style when naming methods.'
@@ -3174,6 +3180,7 @@ Style/Documentation:
3174
3180
  Description: 'Document classes and non-namespace modules.'
3175
3181
  Enabled: true
3176
3182
  VersionAdded: '0.9'
3183
+ AllowedConstants: []
3177
3184
  Exclude:
3178
3185
  - 'spec/**/*'
3179
3186
  - 'test/**/*'
@@ -3672,6 +3679,7 @@ Style/MethodCallWithArgsParentheses:
3672
3679
  AllowParenthesesInMultilineCall: false
3673
3680
  AllowParenthesesInChaining: false
3674
3681
  AllowParenthesesInCamelCaseMethod: false
3682
+ AllowParenthesesInStringInterpolation: false
3675
3683
  EnforcedStyle: require_parentheses
3676
3684
  SupportedStyles:
3677
3685
  - require_parentheses
@@ -4491,6 +4499,13 @@ Style/StderrPuts:
4491
4499
  Enabled: true
4492
4500
  VersionAdded: '0.51'
4493
4501
 
4502
+ Style/StringChars:
4503
+ Description: 'Checks for uses of `String#split` with empty string or regexp literal argument.'
4504
+ StyleGuide: '#string-chars'
4505
+ Enabled: pending
4506
+ Safe: false
4507
+ VersionAdded: '1.12'
4508
+
4494
4509
  Style/StringConcatenation:
4495
4510
  Description: 'Checks for places where string concatenation can be replaced with string interpolation.'
4496
4511
  StyleGuide: '#string-interpolation'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
  module Chefstyle
3
- VERSION = "1.7.2"
4
- RUBOCOP_VERSION = "1.11.0"
3
+ VERSION = "1.7.4"
4
+ RUBOCOP_VERSION = "1.12.0"
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.7.2
4
+ version: 1.7.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-03-09 00:00:00.000000000 Z
11
+ date: 2021-03-24 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.11.0
19
+ version: 1.12.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.11.0
26
+ version: 1.12.0
27
27
  description:
28
28
  email:
29
29
  - oss@chef.io