runger_style 5.8.1 → 5.9.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 +2 -2
- data/.github/workflows/ruby.yml +3 -0
- data/.ruby-version +1 -1
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +71 -67
- data/lib/runger_style/cops/default/monkeypatches/multiline_expression_indentation.rb +1 -1
- data/lib/runger_style/version.rb +1 -1
- data/rulesets/default.yml +2 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fd26d873610e1a529efed0388bb6eb0e897e34709f2dfea4a5e39a2d8d83cd10
|
4
|
+
data.tar.gz: 3c6e02cb9f692da28e22cf52391b355e420ef493086de05ce8a6cc44aef3b07b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26d414f58ba170f6cfc92c5f419b9a84aad5be1215574b381038151d7d8275cacc58cbc621f60bd92c0b6a2a547e11e6e3330df920a0808828b27a5d7ca4184f
|
7
|
+
data.tar.gz: ac232efbd211f7467845312a6c37af7f3b60290ffe350cce839661db097758de6fdba10458a60b130d49524de439ea73810243adcd32ba981dfce09f5b9d9ed1
|
data/.github/dependabot.yml
CHANGED
data/.github/workflows/ruby.yml
CHANGED
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.4.
|
1
|
+
3.4.4
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,12 @@
|
|
1
1
|
## Unreleased
|
2
2
|
[no unreleased changes yet]
|
3
3
|
|
4
|
+
## v5.9.0 (2025-06-17)
|
5
|
+
- Disable extension suggestions.
|
6
|
+
|
7
|
+
## v5.8.2 (2025-06-04)
|
8
|
+
- Update `Naming/PredicateName` cop name to `Naming/PredicatePrefix`.
|
9
|
+
|
4
10
|
## v5.8.1 (2025-03-22)
|
5
11
|
### Internal
|
6
12
|
- Remove check for alpha version from GitHub Action.
|
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: 0b596b133d49f9d1dcf7bd6210604cfd60c45cba
|
4
4
|
specs:
|
5
5
|
pry-byebug (3.10.1)
|
6
6
|
pry (>= 0.13)
|
@@ -9,7 +9,7 @@ GIT
|
|
9
9
|
PATH
|
10
10
|
remote: .
|
11
11
|
specs:
|
12
|
-
runger_style (5.
|
12
|
+
runger_style (5.9.0)
|
13
13
|
prism (>= 0.24.0)
|
14
14
|
rubocop (>= 1.72.0)
|
15
15
|
|
@@ -30,31 +30,32 @@ GEM
|
|
30
30
|
tzinfo (~> 2.0, >= 2.0.5)
|
31
31
|
uri (>= 0.13.1)
|
32
32
|
ast (2.4.3)
|
33
|
-
base64 (0.
|
34
|
-
benchmark (0.4.
|
35
|
-
bigdecimal (3.
|
33
|
+
base64 (0.3.0)
|
34
|
+
benchmark (0.4.1)
|
35
|
+
bigdecimal (3.2.2)
|
36
36
|
coderay (1.1.3)
|
37
37
|
concurrent-ruby (1.3.5)
|
38
|
-
connection_pool (2.5.
|
38
|
+
connection_pool (2.5.3)
|
39
39
|
date (3.4.1)
|
40
|
-
diff-lcs (1.6.
|
41
|
-
drb (2.2.
|
40
|
+
diff-lcs (1.6.2)
|
41
|
+
drb (2.2.3)
|
42
|
+
erb (5.0.1)
|
42
43
|
i18n (1.14.7)
|
43
44
|
concurrent-ruby (~> 1.0)
|
44
45
|
io-console (0.8.0)
|
45
|
-
irb (1.15.
|
46
|
+
irb (1.15.2)
|
46
47
|
pp (>= 0.6.0)
|
47
48
|
rdoc (>= 4.0.0)
|
48
49
|
reline (>= 0.4.2)
|
49
|
-
json (2.
|
50
|
-
language_server-protocol (3.17.0.
|
50
|
+
json (2.12.2)
|
51
|
+
language_server-protocol (3.17.0.5)
|
51
52
|
lint_roller (1.1.0)
|
52
|
-
logger (1.
|
53
|
-
memo_wise (1.
|
53
|
+
logger (1.7.0)
|
54
|
+
memo_wise (1.13.0)
|
54
55
|
method_source (1.1.0)
|
55
56
|
minitest (5.25.5)
|
56
|
-
parallel (1.
|
57
|
-
parser (3.3.
|
57
|
+
parallel (1.27.0)
|
58
|
+
parser (3.3.8.0)
|
58
59
|
ast (~> 2.4.1)
|
59
60
|
racc
|
60
61
|
pp (0.6.2)
|
@@ -64,32 +65,33 @@ GEM
|
|
64
65
|
pry (0.15.2)
|
65
66
|
coderay (~> 1.1)
|
66
67
|
method_source (~> 1.0)
|
67
|
-
psych (5.2.
|
68
|
+
psych (5.2.6)
|
68
69
|
date
|
69
70
|
stringio
|
70
71
|
racc (1.8.1)
|
71
|
-
rack (3.1.
|
72
|
+
rack (3.1.16)
|
72
73
|
rainbow (3.1.1)
|
73
|
-
rake (13.
|
74
|
-
rdoc (6.
|
74
|
+
rake (13.3.0)
|
75
|
+
rdoc (6.14.0)
|
76
|
+
erb
|
75
77
|
psych (>= 4.0.0)
|
76
78
|
regexp_parser (2.10.0)
|
77
|
-
reline (0.6.
|
79
|
+
reline (0.6.1)
|
78
80
|
io-console (~> 0.5)
|
79
|
-
rspec (3.13.
|
81
|
+
rspec (3.13.1)
|
80
82
|
rspec-core (~> 3.13.0)
|
81
83
|
rspec-expectations (~> 3.13.0)
|
82
84
|
rspec-mocks (~> 3.13.0)
|
83
|
-
rspec-core (3.13.
|
85
|
+
rspec-core (3.13.4)
|
84
86
|
rspec-support (~> 3.13.0)
|
85
|
-
rspec-expectations (3.13.
|
87
|
+
rspec-expectations (3.13.5)
|
86
88
|
diff-lcs (>= 1.2.0, < 2.0)
|
87
89
|
rspec-support (~> 3.13.0)
|
88
|
-
rspec-mocks (3.13.
|
90
|
+
rspec-mocks (3.13.5)
|
89
91
|
diff-lcs (>= 1.2.0, < 2.0)
|
90
92
|
rspec-support (~> 3.13.0)
|
91
|
-
rspec-support (3.13.
|
92
|
-
rubocop (1.
|
93
|
+
rspec-support (3.13.4)
|
94
|
+
rubocop (1.76.2)
|
93
95
|
json (~> 2.3)
|
94
96
|
language_server-protocol (~> 3.17.0.2)
|
95
97
|
lint_roller (~> 1.1.0)
|
@@ -97,31 +99,32 @@ GEM
|
|
97
99
|
parser (>= 3.3.0.2)
|
98
100
|
rainbow (>= 2.2.2, < 4.0)
|
99
101
|
regexp_parser (>= 2.9.3, < 3.0)
|
100
|
-
rubocop-ast (>= 1.
|
102
|
+
rubocop-ast (>= 1.45.1, < 2.0)
|
101
103
|
ruby-progressbar (~> 1.7)
|
102
104
|
unicode-display_width (>= 2.4.0, < 4.0)
|
103
|
-
rubocop-ast (1.
|
105
|
+
rubocop-ast (1.45.1)
|
104
106
|
parser (>= 3.3.7.2)
|
107
|
+
prism (~> 1.4)
|
105
108
|
rubocop-capybara (2.22.1)
|
106
109
|
lint_roller (~> 1.1)
|
107
110
|
rubocop (~> 1.72, >= 1.72.1)
|
108
111
|
rubocop-factory_bot (2.27.1)
|
109
112
|
lint_roller (~> 1.1)
|
110
113
|
rubocop (~> 1.72, >= 1.72.1)
|
111
|
-
rubocop-performance (1.
|
114
|
+
rubocop-performance (1.25.0)
|
112
115
|
lint_roller (~> 1.1)
|
113
|
-
rubocop (>= 1.
|
116
|
+
rubocop (>= 1.75.0, < 2.0)
|
114
117
|
rubocop-ast (>= 1.38.0, < 2.0)
|
115
|
-
rubocop-rails (2.
|
118
|
+
rubocop-rails (2.32.0)
|
116
119
|
activesupport (>= 4.2.0)
|
117
120
|
lint_roller (~> 1.1)
|
118
121
|
rack (>= 1.1)
|
119
|
-
rubocop (>= 1.
|
120
|
-
rubocop-ast (>= 1.
|
122
|
+
rubocop (>= 1.75.0, < 2.0)
|
123
|
+
rubocop-ast (>= 1.44.0, < 2.0)
|
121
124
|
rubocop-rake (0.7.1)
|
122
125
|
lint_roller (~> 1.1)
|
123
126
|
rubocop (>= 1.72.1)
|
124
|
-
rubocop-rspec (3.
|
127
|
+
rubocop-rspec (3.6.0)
|
125
128
|
lint_roller (~> 1.1)
|
126
129
|
rubocop (~> 1.72, >= 1.72.1)
|
127
130
|
rubocop-rspec_rails (2.31.0)
|
@@ -140,7 +143,7 @@ GEM
|
|
140
143
|
slop (~> 4.8)
|
141
144
|
securerandom (0.4.1)
|
142
145
|
slop (4.10.1)
|
143
|
-
stringio (3.1.
|
146
|
+
stringio (3.1.7)
|
144
147
|
tzinfo (2.0.6)
|
145
148
|
concurrent-ruby (~> 1.0)
|
146
149
|
unicode-display_width (3.1.4)
|
@@ -171,68 +174,69 @@ DEPENDENCIES
|
|
171
174
|
CHECKSUMS
|
172
175
|
activesupport (8.0.2) sha256=8565cddba31b900cdc17682fd66ecd020441e3eef320a9930285394e8c07a45e
|
173
176
|
ast (2.4.3) sha256=954615157c1d6a382bc27d690d973195e79db7f55e9765ac7c481c60bdb4d383
|
174
|
-
base64 (0.
|
175
|
-
benchmark (0.4.
|
176
|
-
bigdecimal (3.
|
177
|
+
base64 (0.3.0) sha256=27337aeabad6ffae05c265c450490628ef3ebd4b67be58257393227588f5a97b
|
178
|
+
benchmark (0.4.1) sha256=d4ef40037bba27f03b28013e219b950b82bace296549ec15a78016552f8d2cce
|
179
|
+
bigdecimal (3.2.2) sha256=39085f76b495eb39a79ce07af716f3a6829bc35eb44f2195e2753749f2fa5adc
|
177
180
|
coderay (1.1.3) sha256=dc530018a4684512f8f38143cd2a096c9f02a1fc2459edcfe534787a7fc77d4b
|
178
181
|
concurrent-ruby (1.3.5) sha256=813b3e37aca6df2a21a3b9f1d497f8cbab24a2b94cab325bffe65ee0f6cbebc6
|
179
|
-
connection_pool (2.5.
|
182
|
+
connection_pool (2.5.3) sha256=cfd74a82b9b094d1ce30c4f1a346da23ee19dc8a062a16a85f58eab1ced4305b
|
180
183
|
date (3.4.1) sha256=bf268e14ef7158009bfeaec40b5fa3c7271906e88b196d958a89d4b408abe64f
|
181
|
-
diff-lcs (1.6.
|
182
|
-
drb (2.2.
|
184
|
+
diff-lcs (1.6.2) sha256=9ae0d2cba7d4df3075fe8cd8602a8604993efc0dfa934cff568969efb1909962
|
185
|
+
drb (2.2.3) sha256=0b00d6fdb50995fe4a45dea13663493c841112e4068656854646f418fda13373
|
186
|
+
erb (5.0.1) sha256=760439803b36cc93eca8a266aab614614e588024a89bc30a62e78d98ff452c23
|
183
187
|
i18n (1.14.7) sha256=ceba573f8138ff2c0915427f1fc5bdf4aa3ab8ae88c8ce255eb3ecf0a11a5d0f
|
184
188
|
io-console (0.8.0) sha256=cd6a9facbc69871d69b2cb8b926fc6ea7ef06f06e505e81a64f14a470fddefa2
|
185
|
-
irb (1.15.
|
186
|
-
json (2.
|
187
|
-
language_server-protocol (3.17.0.
|
189
|
+
irb (1.15.2) sha256=222f32952e278da34b58ffe45e8634bf4afc2dc7aa9da23fed67e581aa50fdba
|
190
|
+
json (2.12.2) sha256=ba94a48ad265605c8fa9a50a5892f3ba6a02661aa010f638211f3cb36f44abf4
|
191
|
+
language_server-protocol (3.17.0.5) sha256=fd1e39a51a28bf3eec959379985a72e296e9f9acfce46f6a79d31ca8760803cc
|
188
192
|
lint_roller (1.1.0) sha256=2c0c845b632a7d172cb849cc90c1bce937a28c5c8ccccb50dfd46a485003cc87
|
189
|
-
logger (1.
|
190
|
-
memo_wise (1.
|
193
|
+
logger (1.7.0) sha256=196edec7cc44b66cfb40f9755ce11b392f21f7967696af15d274dde7edff0203
|
194
|
+
memo_wise (1.13.0) sha256=30220c38c4cef410849bc73553c58664dc2c91c6379e4a1df22aea02358b716b
|
191
195
|
method_source (1.1.0) sha256=181301c9c45b731b4769bc81e8860e72f9161ad7d66dd99103c9ab84f560f5c5
|
192
196
|
minitest (5.25.5) sha256=391b6c6cb43a4802bfb7c93af1ebe2ac66a210293f4a3fb7db36f2fc7dc2c756
|
193
|
-
parallel (1.
|
194
|
-
parser (3.3.
|
197
|
+
parallel (1.27.0) sha256=4ac151e1806b755fb4e2dc2332cbf0e54f2e24ba821ff2d3dcf86bf6dc4ae130
|
198
|
+
parser (3.3.8.0) sha256=2476364142b307fa5a1b1ece44f260728be23858a9c71078e956131a75453c45
|
195
199
|
pp (0.6.2) sha256=947ec3120c6f92195f8ee8aa25a7b2c5297bb106d83b41baa02983686577b6ff
|
196
200
|
prettyprint (0.2.0) sha256=2bc9e15581a94742064a3cc8b0fb9d45aae3d03a1baa6ef80922627a0766f193
|
197
201
|
prism (1.4.0) sha256=dc0e3e00e93160213dc2a65519d9002a4a1e7b962db57d444cf1a71565bb703e
|
198
202
|
pry (0.15.2) sha256=12d54b8640d3fa29c9211dd4ffb08f3fd8bf7a4fd9b5a73ce5b59c8709385b6b
|
199
203
|
pry-byebug (3.10.1)
|
200
|
-
psych (5.2.
|
204
|
+
psych (5.2.6) sha256=814328aa5dcb6d604d32126a20bc1cbcf05521a5b49dbb1a8b30a07e580f316e
|
201
205
|
racc (1.8.1) sha256=4a7f6929691dbec8b5209a0b373bc2614882b55fc5d2e447a21aaa691303d62f
|
202
|
-
rack (3.1.
|
206
|
+
rack (3.1.16) sha256=efb5606c351efc56b85b10c3493055d0d35209d23f44792ec4e1183eb0234635
|
203
207
|
rainbow (3.1.1) sha256=039491aa3a89f42efa1d6dec2fc4e62ede96eb6acd95e52f1ad581182b79bc6a
|
204
|
-
rake (13.
|
205
|
-
rdoc (6.
|
208
|
+
rake (13.3.0) sha256=96f5092d786ff412c62fde76f793cc0541bd84d2eb579caa529aa8a059934493
|
209
|
+
rdoc (6.14.0) sha256=2c46de58d7129b8743fcf6d76e3db971bdc914150e15ac06b386549bd82ed7db
|
206
210
|
regexp_parser (2.10.0) sha256=cb6f0ddde88772cd64bff1dbbf68df66d376043fe2e66a9ef77fcb1b0c548c61
|
207
|
-
reline (0.6.
|
208
|
-
rspec (3.13.
|
209
|
-
rspec-core (3.13.
|
210
|
-
rspec-expectations (3.13.
|
211
|
-
rspec-mocks (3.13.
|
212
|
-
rspec-support (3.13.
|
213
|
-
rubocop (1.
|
214
|
-
rubocop-ast (1.
|
211
|
+
reline (0.6.1) sha256=1afcc9d7cb1029cdbe780d72f2f09251ce46d3780050f3ec39c3ccc6b60675fb
|
212
|
+
rspec (3.13.1) sha256=b9f9a58fa915b8d94a1d6b3195fe6dd28c4c34836a6097015142c4a9ace72140
|
213
|
+
rspec-core (3.13.4) sha256=f9da156b7b775c82610a7b580624df51a55102f8c8e4a103b98f5d7a9fa23958
|
214
|
+
rspec-expectations (3.13.5) sha256=33a4d3a1d95060aea4c94e9f237030a8f9eae5615e9bd85718fe3a09e4b58836
|
215
|
+
rspec-mocks (3.13.5) sha256=e4338a6f285ada9fe56f5893f5457783af8194f5d08884d17a87321d5195ea81
|
216
|
+
rspec-support (3.13.4) sha256=184b1814f6a968102b57df631892c7f1990a91c9a3b9e80ef892a0fc2a71a3f7
|
217
|
+
rubocop (1.76.2) sha256=ae44f172ba0bbe3d623c927111798f85a7879bcc88e544d08f51f62c19f45633
|
218
|
+
rubocop-ast (1.45.1) sha256=94042e49adc17f187ba037b33f941ba7398fede77cdf4bffafba95190a473a3e
|
215
219
|
rubocop-capybara (2.22.1) sha256=ced88caef23efea53f46e098ff352f8fc1068c649606ca75cb74650970f51c0c
|
216
220
|
rubocop-factory_bot (2.27.1) sha256=9d744b5916778c1848e5fe6777cc69855bd96548853554ec239ba9961b8573fe
|
217
|
-
rubocop-performance (1.
|
218
|
-
rubocop-rails (2.
|
221
|
+
rubocop-performance (1.25.0) sha256=6f7d03568a770054117a78d0a8e191cefeffb703b382871ca7743831b1a52ec1
|
222
|
+
rubocop-rails (2.32.0) sha256=9fcc623c8722fe71e835e99c4a18b740b5b0d3fb69915d7f0777f00794b30490
|
219
223
|
rubocop-rake (0.7.1) sha256=3797f2b6810c3e9df7376c26d5f44f3475eda59eb1adc38e6f62ecf027cbae4d
|
220
|
-
rubocop-rspec (3.
|
224
|
+
rubocop-rspec (3.6.0) sha256=c0e4205871776727e54dee9cc91af5fd74578001551ba40e1fe1a1ab4b404479
|
221
225
|
rubocop-rspec_rails (2.31.0) sha256=775375e18a26a1184a812ef3054b79d218e85601b9ae897f38f8be24dddf1f45
|
222
226
|
ruby-progressbar (1.13.0) sha256=80fc9c47a9b640d6834e0dc7b3c94c9df37f08cb072b7761e4a71e22cff29b33
|
223
227
|
runger_byebug (11.4.0) sha256=569e22ba2215f57e7f69e145fcb63be401e29fcd312f7936d813e12d0c7bbee6
|
224
228
|
runger_release_assistant (4.3.1) sha256=3246c925240739eb12b9e6b9526a77ea00fcf0a0941441ff5ffacefb7e3e4d83
|
225
|
-
runger_style (5.
|
229
|
+
runger_style (5.9.0)
|
226
230
|
securerandom (0.4.1) sha256=cc5193d414a4341b6e225f0cb4446aceca8e50d5e1888743fac16987638ea0b1
|
227
231
|
slop (4.10.1) sha256=844322b5ffcf17ed4815fdb173b04a20dd82b4fd93e3744c88c8fafea696d9c7
|
228
|
-
stringio (3.1.
|
232
|
+
stringio (3.1.7) sha256=5b78b7cb242a315fb4fca61a8255d62ec438f58da2b90be66048546ade4507fa
|
229
233
|
tzinfo (2.0.6) sha256=8daf828cc77bcf7d63b0e3bdb6caa47e2272dcfaf4fbfe46f8c3a9df087a829b
|
230
234
|
unicode-display_width (3.1.4) sha256=8caf2af1c0f2f07ec89ef9e18c7d88c2790e217c482bfc78aaa65eadd5415ac1
|
231
235
|
unicode-emoji (4.0.4) sha256=2c2c4ef7f353e5809497126285a50b23056cc6e61b64433764a35eff6c36532a
|
232
236
|
uri (1.0.3) sha256=e9f2244608eea2f7bc357d954c65c910ce0399ca5e18a7a29207ac22d8767011
|
233
237
|
|
234
238
|
RUBY VERSION
|
235
|
-
ruby 3.4.
|
239
|
+
ruby 3.4.4p34
|
236
240
|
|
237
241
|
BUNDLED WITH
|
238
|
-
2.6.
|
242
|
+
2.6.9
|
@@ -38,7 +38,7 @@ module RungerStyle::MultilineMethodCallIndentationPatches
|
|
38
38
|
when :indented
|
39
39
|
nil
|
40
40
|
when :indented_relative_to_receiver
|
41
|
-
if ([node] + node.ancestors).any? {
|
41
|
+
if ([node] + node.ancestors).any? { !it.parenthesized_call? }
|
42
42
|
nil
|
43
43
|
else
|
44
44
|
receiver_alignment_base(node)
|
data/lib/runger_style/version.rb
CHANGED
data/rulesets/default.yml
CHANGED
@@ -4,6 +4,7 @@ require:
|
|
4
4
|
AllCops:
|
5
5
|
EnabledByDefault: true
|
6
6
|
ParserEngine: parser_prism
|
7
|
+
SuggestExtensions: false
|
7
8
|
TargetRubyVersion: 3.4
|
8
9
|
UseCache: true
|
9
10
|
Bundler/GemComment:
|
@@ -96,7 +97,7 @@ Naming/BlockForwarding:
|
|
96
97
|
Enabled: false
|
97
98
|
Naming/InclusiveLanguage:
|
98
99
|
Enabled: false
|
99
|
-
Naming/
|
100
|
+
Naming/PredicatePrefix:
|
100
101
|
ForbiddenPrefixes:
|
101
102
|
- is_
|
102
103
|
Naming/RescuedExceptionsVariableName:
|
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: 5.
|
4
|
+
version: 5.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Runger
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: prism
|
@@ -108,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
108
108
|
- !ruby/object:Gem::Version
|
109
109
|
version: '0'
|
110
110
|
requirements: []
|
111
|
-
rubygems_version: 3.6.
|
111
|
+
rubygems_version: 3.6.9
|
112
112
|
specification_version: 4
|
113
113
|
summary: Shared rubocop rules for the preferred Ruby coding style of @davidrunger
|
114
114
|
test_files: []
|