cookstyle 7.3.11 → 7.4.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: eb3a7e36c658c852bc788ee0f1ee9c0f0d4950be89d0ef6b0c499ea4efd4abcb
4
- data.tar.gz: cc49327d8000de38e72bc06288b589aac453bfea9053b6754a30d1a04c5b85fb
3
+ metadata.gz: afe67bc1be4b70753843d22598cd29dd7edded20c3762230d4cbfb08ba2ed240
4
+ data.tar.gz: f4f3c739c446a6560b8f9319c63b87dc48c2d338ad45316369a1ed848d40222a
5
5
  SHA512:
6
- metadata.gz: babafe578701a7478598faee40918bd3c7b0afe81068794faa9eae3be56eecaa97c0a8e0dc7e5eb232db307e567f91c1570ef969ea5b2eb157b8029ec6b41783
7
- data.tar.gz: 2ad51cd32ec595555379194e579a07f3a6bf0502710fd161c6fa201fe5938f987cc301db45fc59704407a7dbb665d40b5d59ef84638f382904fc7ca99e691ffa
6
+ metadata.gz: 64ec5f89be1438ba7e29f1e19e9f8b6ebbac1320550f5b32d2a5d58b7ea1994ed4fe08f1243a1328beb46acca4da67608d6ba4b0f3944487adc8af90f9e8fc5e
7
+ data.tar.gz: 7b6118d966b9585555db7cd3d7b61114e5229a792d9bd9ee23e71a0330ca004187f8ca11cda4b6922c57007ddd0d8e57d30e925f957517dce27ee24532da7cfa
@@ -3209,9 +3209,10 @@ Style/ExponentialNotation:
3209
3209
  Style/FloatDivision:
3210
3210
  Description: 'For performing float division, coerce one side only.'
3211
3211
  StyleGuide: '#float-division'
3212
- Reference: 'https://github.com/rubocop-hq/ruby-style-guide/issues/628'
3212
+ Reference: 'https://blog.rubystyle.guide/ruby/2019/06/21/float-division.html'
3213
3213
  Enabled: true
3214
3214
  VersionAdded: '0.72'
3215
+ VersionChanged: '1.6'
3215
3216
  EnforcedStyle: single_coerce
3216
3217
  SupportedStyles:
3217
3218
  - left_coerce
@@ -4025,6 +4026,7 @@ Style/RedundantArgument:
4025
4026
  Enabled: pending
4026
4027
  Safe: false
4027
4028
  VersionAdded: '1.4'
4029
+ VersionChanged: '1.6'
4028
4030
  Methods:
4029
4031
  # Array#join
4030
4032
  join: ''
@@ -4272,7 +4274,7 @@ Style/SingleLineBlockParams:
4272
4274
  Description: 'Enforces the names of some block params.'
4273
4275
  Enabled: false
4274
4276
  VersionAdded: '0.16'
4275
- VersionChanged: '0.47'
4277
+ VersionChanged: '1.6'
4276
4278
  Methods:
4277
4279
  - reduce:
4278
4280
  - acc
@@ -4345,6 +4347,7 @@ Style/StringConcatenation:
4345
4347
  Enabled: true
4346
4348
  Safe: false
4347
4349
  VersionAdded: '0.89'
4350
+ VersionChanged: '1.6'
4348
4351
 
4349
4352
  Style/StringHashKeys:
4350
4353
  Description: 'Prefer symbols instead of strings as hash keys.'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
  module Cookstyle
3
- VERSION = "7.3.11" # rubocop: disable Style/StringLiterals
4
- RUBOCOP_VERSION = '1.5.2'
3
+ VERSION = "7.4.0" # rubocop: disable Style/StringLiterals
4
+ RUBOCOP_VERSION = '1.6.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cookstyle
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.3.11
4
+ version: 7.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thom May
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-12-04 00:00:00.000000000 Z
12
+ date: 2020-12-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rubocop
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - '='
19
19
  - !ruby/object:Gem::Version
20
- version: 1.5.2
20
+ version: 1.6.1
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - '='
26
26
  - !ruby/object:Gem::Version
27
- version: 1.5.2
27
+ version: 1.6.1
28
28
  description:
29
29
  email:
30
30
  - thom@chef.io