runger_style 4.2.2 → 4.3.0

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: e07fef8f115633d528bdd3ba1dd11e486ddb30ce5d7de78546d09821340f200d
4
- data.tar.gz: 608b9111baa0c4a043e18cba9de3bfb9171016fb3d2154b8ef5e2f175b5542dc
3
+ metadata.gz: e83262958db2e0d64aadbcb73ef166f767b69fdd411eeb08eb371c2d7d7eaa51
4
+ data.tar.gz: 9c78194fa3d0ec4cdc1401f76c1ca59a891d85dcdaa84259aa7184f6b9888209
5
5
  SHA512:
6
- metadata.gz: 7639738ec440dfa2a8e792f85df5d6bf4b195ae1d633ad11fdc2ebc8add0c2bc341902eda81af1aed06afda378809fbf3c9e153de00d3b28e3275c3ce8712eb6
7
- data.tar.gz: 77956254b806844912a1c3047a9b6b339a742d806799820f8997a3300a43764556cbc136bcbb8f53c5a09ccff94dfde79acae30982f3f03a6e642f6c770d970c
6
+ metadata.gz: 295c0dd93cb6203ced06556f166ddb7892ffa80cc0a39e464f4bf2f8b62db1d0583f345e9dc3d820c4630e87ac7c09447464e14f6d3486d259a048dcc1e6412f
7
+ data.tar.gz: 45dd01f6b850082ca2f9a63e5b0d6171f6e6f6fa0b3e689566ea6b12d1045164b5bdeeca16ebddaa8776d3a4978ddd3b89b8f46638439c0dd0103f502d592ae9
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## v4.3.0 (2025-01-31)
2
+ - Specify `EnforcedShorthandSyntax: always` for `Style/HashSyntax`.
3
+
1
4
  ## v4.2.2 (2025-01-27)
2
5
  - Fix `RungerStyle/MultilineMethodArgumentsLineBreaks` false positives.
3
6
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- runger_style (4.2.2)
4
+ runger_style (4.3.0)
5
5
  prism (>= 0.24.0)
6
6
  rubocop (>= 1.68.0)
7
7
 
@@ -38,7 +38,7 @@ GEM
38
38
  rdoc (>= 4.0.0)
39
39
  reline (>= 0.4.2)
40
40
  json (2.9.1)
41
- language_server-protocol (3.17.0.3)
41
+ language_server-protocol (3.17.0.4)
42
42
  logger (1.6.5)
43
43
  memo_wise (1.10.0)
44
44
  minitest (5.25.4)
@@ -85,7 +85,7 @@ GEM
85
85
  rubocop-ast (>= 1.36.2, < 2.0)
86
86
  ruby-progressbar (~> 1.7)
87
87
  unicode-display_width (>= 2.4.0, < 4.0)
88
- rubocop-ast (1.37.0)
88
+ rubocop-ast (1.38.0)
89
89
  parser (>= 3.3.1.0)
90
90
  rubocop-capybara (2.21.0)
91
91
  rubocop (~> 1.41)
@@ -107,7 +107,7 @@ GEM
107
107
  rubocop (~> 1.61)
108
108
  rubocop-rspec (~> 3, >= 3.0.1)
109
109
  ruby-progressbar (1.13.0)
110
- runger_release_assistant (0.14.0)
110
+ runger_release_assistant (1.0.0)
111
111
  activesupport (>= 6)
112
112
  memo_wise (>= 1.7)
113
113
  rainbow (>= 3.0)
@@ -156,7 +156,7 @@ CHECKSUMS
156
156
  io-console (0.8.0) sha256=cd6a9facbc69871d69b2cb8b926fc6ea7ef06f06e505e81a64f14a470fddefa2
157
157
  irb (1.15.1) sha256=d9bca745ac4207a8b728a52b98b766ca909b86ff1a504bcde3d6f8c84faae890
158
158
  json (2.9.1) sha256=d2bdef4644052fad91c1785d48263756fe32fcac08b96a20bb15840e96550d11
159
- language_server-protocol (3.17.0.3) sha256=3d5c58c02f44a20d972957a9febe386d7e7468ab3900ce6bd2b563dd910c6b3f
159
+ language_server-protocol (3.17.0.4) sha256=c484626478664fd13482d8180947c50a8590484b1258b99b7aedb3b69df89669
160
160
  logger (1.6.5) sha256=c3cfe56d01656490ddd103d38b8993d73d86296adebc5f58cefc9ec03741e56b
161
161
  memo_wise (1.10.0) sha256=ae40ff8e7799697ff5d59d739b8766f76be22eba69c7c8468edb42ab83c94c3f
162
162
  minitest (5.25.4) sha256=9cf2cae25ac4dfc90c988ebc3b917f53c054978b673273da1bd20bcb0778f947
@@ -179,7 +179,7 @@ CHECKSUMS
179
179
  rspec-mocks (3.13.2) sha256=2327335def0e1665325a9b617e3af9ae20272741d80ac550336309a7c59abdef
180
180
  rspec-support (3.13.2) sha256=cea3a2463fd9b84b9dcc9685efd80ea701aa8f7b3decb3b3ce795ed67737dbec
181
181
  rubocop (1.71.0) sha256=e19679efd447346ac476122313d3788ae23c38214790bcf660e984c747608bf0
182
- rubocop-ast (1.37.0) sha256=9513ac88aaf113d04b52912533ffe46475de1362d4aa41141b51b2455827c080
182
+ rubocop-ast (1.38.0) sha256=4fdf6792fe443a9a18acb12dbc8225d0d64cd1654e41fedb30e79c18edbb26ae
183
183
  rubocop-capybara (2.21.0) sha256=5d264efdd8b6c7081a3d4889decf1451a1cfaaec204d81534e236bc825b280ab
184
184
  rubocop-factory_bot (2.26.1) sha256=8de13cd4edcee5ca800f255188167ecef8dbfc3d1fae9f15734e9d2e755392aa
185
185
  rubocop-performance (1.23.1) sha256=f22f86a795f5e6a6180aac2c6fc172534b173a068d6ed3396d6460523e051b82
@@ -188,8 +188,8 @@ CHECKSUMS
188
188
  rubocop-rspec (3.4.0) sha256=8721c13b6a8c9530a7ac481cea9423022f946fcf72428bda8289f8b57e4d4885
189
189
  rubocop-rspec_rails (2.30.0) sha256=888112e83f9d7ef7ad2397e9d69a0b9614a4bae24f072c399804a180f80c4c46
190
190
  ruby-progressbar (1.13.0) sha256=80fc9c47a9b640d6834e0dc7b3c94c9df37f08cb072b7761e4a71e22cff29b33
191
- runger_release_assistant (0.14.0) sha256=7abc5eb1e0f63d8d611691bc21698d2b3b8f148a5f47cacd8dd32c21d16ee9be
192
- runger_style (4.2.2)
191
+ runger_release_assistant (1.0.0) sha256=03b7a57db1907765a443d321ad1805705067012046f78f87e18260a379565286
192
+ runger_style (4.3.0)
193
193
  securerandom (0.4.1) sha256=cc5193d414a4341b6e225f0cb4446aceca8e50d5e1888743fac16987638ea0b1
194
194
  slop (4.10.1) sha256=844322b5ffcf17ed4815fdb173b04a20dd82b4fd93e3744c88c8fafea696d9c7
195
195
  stringio (3.1.2) sha256=204f1828f85cdb39d57cac4abc6dc44b04505a223f131587f2e20ae3729ba131
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RungerStyle
4
- VERSION = '4.2.2'
4
+ VERSION = '4.3.0'
5
5
  end
data/rulesets/default.yml CHANGED
@@ -140,6 +140,9 @@ Style/GuardClause:
140
140
  Enabled: false
141
141
  Style/HashLikeCase:
142
142
  Enabled: false
143
+ Style/HashSyntax:
144
+ Enabled: true
145
+ EnforcedShorthandSyntax: always
143
146
  Style/IfUnlessModifier:
144
147
  Enabled: false
145
148
  Style/ImplicitRuntimeError:
data/runger_style.gemspec CHANGED
@@ -25,7 +25,12 @@ Gem::Specification.new do |spec|
25
25
  end
26
26
  spec.require_paths = ['lib']
27
27
 
28
- required_ruby_version = File.read('.ruby-version').rstrip.sub(/\A(\d+\.\d+)\.\d+\z/, '\1.0')
28
+ # HACK: Using public_send rather than read works around a Dependabot bug.
29
+ # rubocop:disable Style/SendWithLiteralMethodName
30
+ required_ruby_version =
31
+ File.public_send(:read, '.ruby-version').
32
+ rstrip.sub(/\A(\d+\.\d+)\.\d+\z/, '\1.0')
33
+ # rubocop:enable Style/SendWithLiteralMethodName
29
34
  spec.required_ruby_version = ">= #{required_ruby_version}"
30
35
 
31
36
  spec.add_dependency('prism', '>= 0.24.0')
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: runger_style
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.2
4
+ version: 4.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Runger
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-01-27 00:00:00.000000000 Z
10
+ date: 2025-01-31 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: prism