rubocop-gusto 10.9.4 → 10.10.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: e23aac56c0e7b184c9cc631ba70e8ac0c654aa47ec6e368737c089014d28c6ed
4
- data.tar.gz: 48ef7a1dd5fa1145b5617b42abde18ae11480ec1609e9f9199daebbdde952d66
3
+ metadata.gz: 9326f07188d8534d2cad736cf8d79c3e9a40d0296ef6630dd6d88cf859851df2
4
+ data.tar.gz: '05178b0a1c63907c768878e893529eb3c095fb1a89f88b0810d58a5ae9a91f0b'
5
5
  SHA512:
6
- metadata.gz: 5c7059ad1293db2d96cba104f20009a3f4cdd7c487c34808264673ac9e65abdb9a60a6859e83d817843674a854ae5423328b719b1146edb9b60aca3296e4dc05
7
- data.tar.gz: f9734a51d5eb38959f52c78e1c22aa028f65789e566c6067f0f38bbef4e76938d4deb5dd727709f1d2586615b93f29bdea58e39c692d38d54a69b8c328cece2f
6
+ metadata.gz: f78012905401ef80f171d1f05d50d85e4fa897225f3c36bca1f1cb508dd147b2b1809074c1fdef29ccb590c0b41f1d3b47453e6b02afab4c1be87bb6f5e7b65c
7
+ data.tar.gz: 25e25916a6a0e3096a5f64678d991674f4d6734abaac9dbb10956d825cb4189dd8f00cac23c9f0f9c28fc43efbbd638b0d48db8044dc60b159e738e09ec873ce
data/CHANGELOG.md CHANGED
@@ -3,6 +3,13 @@
3
3
  - Remove redundant `Rails: Enabled: true` from `config/rails.yml` (already set by rubocop-rails' own defaults)
4
4
  - Enable `Rails/DefaultScope` cop (disabled by default in rubocop-rails)
5
5
 
6
+ ## [10.10.0](https://github.com/Gusto/rubocop-gusto/compare/v10.9.4...v10.10.0) (2026-06-01)
7
+
8
+
9
+ ### Features
10
+
11
+ * Set EnforcedShorthandSyntax to 'always' ([#116](https://github.com/Gusto/rubocop-gusto/issues/116)) ([650a8aa](https://github.com/Gusto/rubocop-gusto/commit/650a8aa26ee5af6d7558976dce6df18f053e1925))
12
+
6
13
  ## [10.9.4](https://github.com/Gusto/rubocop-gusto/compare/v10.9.3...v10.9.4) (2026-06-01)
7
14
 
8
15
 
data/config/default.yml CHANGED
@@ -462,6 +462,7 @@ Style/GuardClause:
462
462
 
463
463
  Style/HashSyntax:
464
464
  EnforcedStyle: ruby19_no_mixed_keys
465
+ EnforcedShorthandSyntax: always
465
466
 
466
467
  Style/HashTransformKeys:
467
468
  Enabled: false
@@ -34,7 +34,7 @@ module RuboCop
34
34
  end
35
35
 
36
36
  def message_for(gem)
37
- format(MSG, gem: gem, advice: advice_for(gem))
37
+ format(MSG, gem:, advice: advice_for(gem))
38
38
  end
39
39
 
40
40
  def advice_for(gem)
@@ -122,9 +122,9 @@ module RuboCop
122
122
 
123
123
  def add_offense_for_header(node, key_value)
124
124
  downcased = key_value.downcase
125
- message = format(MSG, downcased: downcased, original: key_value)
125
+ message = format(MSG, downcased:, original: key_value)
126
126
 
127
- add_offense(node, message: message) do |corrector|
127
+ add_offense(node, message:) do |corrector|
128
128
  corrector.replace(node, "'#{downcased}'")
129
129
  end
130
130
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RuboCop
4
4
  module Gusto
5
- VERSION = "10.9.4"
5
+ VERSION = "10.10.0"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-gusto
3
3
  version: !ruby/object:Gem::Version
4
- version: 10.9.4
4
+ version: 10.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gusto Engineering