runger_style 5.19.0 → 5.20.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 +4 -4
- data/.github/dependabot.yml +6 -0
- data/.github/workflows/ruby.yml +2 -2
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +8 -8
- data/lib/runger_style/cops/default/empty_line_after_macro.rb +2 -0
- data/lib/runger_style/version.rb +1 -1
- data/rulesets/rspec.yml +0 -2
- data/runger_style.gemspec +1 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9af0ced76e9f02e2852e15f5428b1aba05639ab941e3defaed6dc1c7766e246c
|
|
4
|
+
data.tar.gz: 0c55c9d5ab85fc177bb3f4eed0f9598968f5b4046a7351d4c205c4b8243e346e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 31b7d8a053a27eeecf67397f4c40455c8e0035d06dbd4ea2402b11495fdd0980574007f92a4911e1d61b59030fcbfe65a2d8281025a64db8fcc8c8c371a6fcd9
|
|
7
|
+
data.tar.gz: d39aca3e685a5fba5f638cb0f2874beeb28a3e1c0a2f73e64677e8d49c5898210e6677b6d9ab1c2bbb9e675c6c25102793116028b65f6134a47a37df26969071
|
data/.github/dependabot.yml
CHANGED
data/.github/workflows/ruby.yml
CHANGED
|
@@ -16,10 +16,10 @@ jobs:
|
|
|
16
16
|
runs-on: ubuntu-latest
|
|
17
17
|
steps:
|
|
18
18
|
- name: Check out code
|
|
19
|
-
uses: actions/checkout@
|
|
19
|
+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
20
20
|
|
|
21
21
|
- name: Set up Ruby
|
|
22
|
-
uses: ruby/setup-ruby@v1
|
|
22
|
+
uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b # v1.321.0
|
|
23
23
|
with:
|
|
24
24
|
bundler-cache: true
|
|
25
25
|
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
## Unreleased
|
|
2
2
|
[no unreleased changes yet]
|
|
3
3
|
|
|
4
|
+
## v5.20.0 (2026-09-02)
|
|
5
|
+
- [rspec] Re-enable `RSpec/MessageSpies`.
|
|
6
|
+
|
|
7
|
+
## v5.19.1 (2026-08-24)
|
|
8
|
+
- [default] Fix false positives from `RungerStyle/EmptyLineAfterMacro` for `||=` setter calls.
|
|
9
|
+
|
|
4
10
|
## v5.19.0 (2026-08-23)
|
|
5
11
|
- Remove eight methods from `Style/MethodCallWithArgsParentheses` allowlist.
|
|
6
12
|
- Remove five methods from `Style/MethodCallWithArgsParentheses` allowlist.
|
data/Gemfile.lock
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
GIT
|
|
2
2
|
remote: https://github.com/davidrunger/pry-byebug.git
|
|
3
|
-
revision:
|
|
3
|
+
revision: a02f6ab4317cade079f3d9b3455e803acd6fccbe
|
|
4
4
|
specs:
|
|
5
5
|
pry-byebug (3.10.1)
|
|
6
6
|
pry (>= 0.13)
|
|
@@ -10,7 +10,7 @@ GIT
|
|
|
10
10
|
PATH
|
|
11
11
|
remote: .
|
|
12
12
|
specs:
|
|
13
|
-
runger_style (5.
|
|
13
|
+
runger_style (5.20.0)
|
|
14
14
|
prism (>= 0.24.0)
|
|
15
15
|
rubocop (>= 1.72.0)
|
|
16
16
|
|
|
@@ -72,7 +72,7 @@ GEM
|
|
|
72
72
|
rack (3.2.7)
|
|
73
73
|
rainbow (3.1.1)
|
|
74
74
|
rake (13.4.2)
|
|
75
|
-
rbs (4.
|
|
75
|
+
rbs (4.2.0)
|
|
76
76
|
logger
|
|
77
77
|
prism (>= 1.6.0)
|
|
78
78
|
tsort
|
|
@@ -99,8 +99,8 @@ GEM
|
|
|
99
99
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
100
100
|
rspec-support (~> 3.13.0)
|
|
101
101
|
rspec-support (3.13.7)
|
|
102
|
-
rubocop (1.
|
|
103
|
-
json (
|
|
102
|
+
rubocop (1.90.0)
|
|
103
|
+
json (>= 2.3)
|
|
104
104
|
language_server-protocol (~> 3.17.0.2)
|
|
105
105
|
lint_roller (~> 1.1.0)
|
|
106
106
|
parallel (>= 1.10)
|
|
@@ -213,7 +213,7 @@ CHECKSUMS
|
|
|
213
213
|
rack (3.2.7) sha256=93e13e1c24f93556671d85d2d79fa228c3485815c50d7e2f265b5330c6528fb7
|
|
214
214
|
rainbow (3.1.1) sha256=039491aa3a89f42efa1d6dec2fc4e62ede96eb6acd95e52f1ad581182b79bc6a
|
|
215
215
|
rake (13.4.2) sha256=cb825b2bd5f1f8e91ca37bddb4b9aaf345551b4731da62949be002fa89283701
|
|
216
|
-
rbs (4.
|
|
216
|
+
rbs (4.2.0) sha256=51f7b886dcc05bc09e10b901daa6a81829f6adc03101d6ca9ea4aac6103e0674
|
|
217
217
|
rdoc (8.0.0) sha256=03bf8c08a9639658855a0cfd77c0abca8325c227693f7f33f82957811348c469
|
|
218
218
|
readline (0.0.4) sha256=6138eef17be2b98298b672c3ea63bf9cb5158d401324f26e1e84f235879c1d6a
|
|
219
219
|
regexp_parser (2.12.0) sha256=35a916a1d63190ab5c9009457136ae5f3c0c7512d60291d0d1378ba18ce08ebb
|
|
@@ -223,7 +223,7 @@ CHECKSUMS
|
|
|
223
223
|
rspec-expectations (3.13.5) sha256=33a4d3a1d95060aea4c94e9f237030a8f9eae5615e9bd85718fe3a09e4b58836
|
|
224
224
|
rspec-mocks (3.13.8) sha256=086ad3d3d17533f4237643de0b5c42f04b66348c28bf6b9c2d3f4a3b01af1d47
|
|
225
225
|
rspec-support (3.13.7) sha256=0640e5570872aafefd79867901deeeeb40b0c9875a36b983d85f54fb7381c47c
|
|
226
|
-
rubocop (1.
|
|
226
|
+
rubocop (1.90.0) sha256=9eb4c065b5c5154e4ef554c547972f3905a9eb6b53e657e580b6796b54bf8242
|
|
227
227
|
rubocop-ast (1.50.0) sha256=b9ca88300da0803ee222ad20cdb30494c0a784eed06fdc35d254b06d662788db
|
|
228
228
|
rubocop-capybara (3.0.0) sha256=7a64655238acda7f8f3c87e37ac825a64c615a79c17c253f1a28270dc3768c4b
|
|
229
229
|
rubocop-factory_bot (2.28.0) sha256=4b17fc02124444173317e131759d195b0d762844a71a29fe8139c1105d92f0cb
|
|
@@ -235,7 +235,7 @@ CHECKSUMS
|
|
|
235
235
|
ruby-progressbar (1.13.0) sha256=80fc9c47a9b640d6834e0dc7b3c94c9df37f08cb072b7761e4a71e22cff29b33
|
|
236
236
|
runger_byebug (11.4.0) sha256=569e22ba2215f57e7f69e145fcb63be401e29fcd312f7936d813e12d0c7bbee6
|
|
237
237
|
runger_release_assistant (4.3.1) sha256=3246c925240739eb12b9e6b9526a77ea00fcf0a0941441ff5ffacefb7e3e4d83
|
|
238
|
-
runger_style (5.
|
|
238
|
+
runger_style (5.20.0)
|
|
239
239
|
securerandom (0.4.1) sha256=cc5193d414a4341b6e225f0cb4446aceca8e50d5e1888743fac16987638ea0b1
|
|
240
240
|
slop (4.10.1) sha256=844322b5ffcf17ed4815fdb173b04a20dd82b4fd93e3744c88c8fafea696d9c7
|
|
241
241
|
tsort (0.2.0) sha256=9650a793f6859a43b6641671278f79cfead60ac714148aabe4e3f0060480089f
|
|
@@ -28,6 +28,8 @@ module RungerStyle # rubocop:disable Style/ClassAndModuleChildren
|
|
|
28
28
|
method_call = node
|
|
29
29
|
if node.any_block_type?
|
|
30
30
|
method_call = node.send_node
|
|
31
|
+
elsif node.or_asgn_type?
|
|
32
|
+
method_call = node.assignment_node
|
|
31
33
|
end
|
|
32
34
|
|
|
33
35
|
if method_call.send_type? && macro_call?(method_call)
|
data/lib/runger_style/version.rb
CHANGED
data/rulesets/rspec.yml
CHANGED
data/runger_style.gemspec
CHANGED
|
@@ -26,11 +26,10 @@ Gem::Specification.new do |spec|
|
|
|
26
26
|
spec.require_paths = ['lib']
|
|
27
27
|
|
|
28
28
|
# HACK: Using public_send rather than read works around a Dependabot bug.
|
|
29
|
-
# rubocop:disable Style/SendWithLiteralMethodName
|
|
29
|
+
# rubocop:disable-next Style/SendWithLiteralMethodName
|
|
30
30
|
required_ruby_version =
|
|
31
31
|
File.public_send(:read, '.ruby-version').
|
|
32
32
|
rstrip.sub(/\A(\d+\.\d+)\.\d+\z/, '\1.0')
|
|
33
|
-
# rubocop:enable Style/SendWithLiteralMethodName
|
|
34
33
|
spec.required_ruby_version = ">= #{required_ruby_version}"
|
|
35
34
|
|
|
36
35
|
spec.add_dependency('prism', '>= 0.24.0')
|