runger_style 5.2.0 → 5.3.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/CHANGELOG.md +5 -0
- data/Gemfile.lock +23 -17
- data/bin/rspec +6 -6
- data/lib/runger_style/version.rb +1 -1
- data/rulesets/performance.yml +1 -1
- data/rulesets/rails.yml +3 -1
- data/rulesets/rake.yml +1 -1
- data/runger_style.gemspec +1 -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: cfa5836d617c931ac21c4cf90752707f525f5c6a876970e3ec39704fc1a39167
|
4
|
+
data.tar.gz: ba7b9d92318e2f52259b9e65db0a21426aa7b52c30a9fc22eb4e9162284d3e3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b98075603c5d6b27cb87f4c357ce8097c76f405a4794a07d2e3e9273b71d38fa63a9d0b963eb28714ac3add2524a0fb5c9587d2704f26fa3785bb9a1aa9eb298
|
7
|
+
data.tar.gz: 484693246b8168a40f4407d195d65614b4f2e3f8aa79cfe0d48e6d61988524b10aacf52e639a0bec7ef3350b4d657837de705dce162638cbaae707233d2a0c05
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
## v5.3.0 (2025-02-16)
|
2
|
+
- Disable `Rails/Delegate` cop.
|
3
|
+
- Register `rubocop-rails` as a plugin (rather than requiring it).
|
4
|
+
- Register `rubocop-performance` and `rubocop-rake` as plugins (rather than requiring them).
|
5
|
+
|
1
6
|
## v5.2.0 (2025-02-16)
|
2
7
|
- Disable `Metrics/CyclomaticComplexity` cop.
|
3
8
|
- Monkeypatch `RuboCop::Cop::MultilineExpressionIndentation` to require (via `Layout/MultilineMethodCallIndentation`) the indentation of a chained multiline method call used as a method argument.
|
data/Gemfile.lock
CHANGED
@@ -9,9 +9,9 @@ GIT
|
|
9
9
|
PATH
|
10
10
|
remote: .
|
11
11
|
specs:
|
12
|
-
runger_style (5.
|
12
|
+
runger_style (5.3.0)
|
13
13
|
prism (>= 0.24.0)
|
14
|
-
rubocop (>= 1.
|
14
|
+
rubocop (>= 1.72.0)
|
15
15
|
|
16
16
|
GEM
|
17
17
|
remote: https://rubygems.org/
|
@@ -48,6 +48,7 @@ GEM
|
|
48
48
|
reline (>= 0.4.2)
|
49
49
|
json (2.10.1)
|
50
50
|
language_server-protocol (3.17.0.4)
|
51
|
+
lint_roller (1.1.0)
|
51
52
|
logger (1.6.6)
|
52
53
|
memo_wise (1.10.0)
|
53
54
|
method_source (1.1.0)
|
@@ -88,9 +89,10 @@ GEM
|
|
88
89
|
diff-lcs (>= 1.2.0, < 2.0)
|
89
90
|
rspec-support (~> 3.13.0)
|
90
91
|
rspec-support (3.13.2)
|
91
|
-
rubocop (1.
|
92
|
+
rubocop (1.72.1)
|
92
93
|
json (~> 2.3)
|
93
|
-
language_server-protocol (
|
94
|
+
language_server-protocol (~> 3.17.0.2)
|
95
|
+
lint_roller (~> 1.1.0)
|
94
96
|
parallel (~> 1.10)
|
95
97
|
parser (>= 3.3.0.2)
|
96
98
|
rainbow (>= 2.2.2, < 4.0)
|
@@ -104,16 +106,19 @@ GEM
|
|
104
106
|
rubocop (~> 1.41)
|
105
107
|
rubocop-factory_bot (2.26.1)
|
106
108
|
rubocop (~> 1.61)
|
107
|
-
rubocop-performance (1.
|
108
|
-
|
109
|
-
rubocop
|
110
|
-
|
109
|
+
rubocop-performance (1.24.0)
|
110
|
+
lint_roller (~> 1.1)
|
111
|
+
rubocop (>= 1.72.1, < 2.0)
|
112
|
+
rubocop-ast (>= 1.38.0, < 2.0)
|
113
|
+
rubocop-rails (2.30.0)
|
111
114
|
activesupport (>= 4.2.0)
|
115
|
+
lint_roller (~> 1.1)
|
112
116
|
rack (>= 1.1)
|
113
|
-
rubocop (>= 1.
|
114
|
-
rubocop-ast (>= 1.
|
115
|
-
rubocop-rake (0.
|
116
|
-
|
117
|
+
rubocop (>= 1.72.1, < 2.0)
|
118
|
+
rubocop-ast (>= 1.38.0, < 2.0)
|
119
|
+
rubocop-rake (0.7.1)
|
120
|
+
lint_roller (~> 1.1)
|
121
|
+
rubocop (>= 1.72.1)
|
117
122
|
rubocop-rspec (3.4.0)
|
118
123
|
rubocop (~> 1.61)
|
119
124
|
rubocop-rspec_rails (2.30.0)
|
@@ -175,6 +180,7 @@ CHECKSUMS
|
|
175
180
|
irb (1.15.1) sha256=d9bca745ac4207a8b728a52b98b766ca909b86ff1a504bcde3d6f8c84faae890
|
176
181
|
json (2.10.1) sha256=ddc88ad91a1baf3f0038c174f253af3b086d30dc74db17ca4259bbde982f94dc
|
177
182
|
language_server-protocol (3.17.0.4) sha256=c484626478664fd13482d8180947c50a8590484b1258b99b7aedb3b69df89669
|
183
|
+
lint_roller (1.1.0) sha256=2c0c845b632a7d172cb849cc90c1bce937a28c5c8ccccb50dfd46a485003cc87
|
178
184
|
logger (1.6.6) sha256=dd618d24e637715472732e7eed02e33cfbdf56deaad225edd0f1f89d38024017
|
179
185
|
memo_wise (1.10.0) sha256=ae40ff8e7799697ff5d59d739b8766f76be22eba69c7c8468edb42ab83c94c3f
|
180
186
|
method_source (1.1.0) sha256=181301c9c45b731b4769bc81e8860e72f9161ad7d66dd99103c9ab84f560f5c5
|
@@ -199,19 +205,19 @@ CHECKSUMS
|
|
199
205
|
rspec-expectations (3.13.3) sha256=0e6b5af59b900147698ea0ff80456c4f2e69cac4394fbd392fbd1ca561f66c58
|
200
206
|
rspec-mocks (3.13.2) sha256=2327335def0e1665325a9b617e3af9ae20272741d80ac550336309a7c59abdef
|
201
207
|
rspec-support (3.13.2) sha256=cea3a2463fd9b84b9dcc9685efd80ea701aa8f7b3decb3b3ce795ed67737dbec
|
202
|
-
rubocop (1.
|
208
|
+
rubocop (1.72.1) sha256=4306ae64c6e7e1026d2a90ed755a113c7b9bf0ac21037b8046fbc826a87daaa5
|
203
209
|
rubocop-ast (1.38.0) sha256=4fdf6792fe443a9a18acb12dbc8225d0d64cd1654e41fedb30e79c18edbb26ae
|
204
210
|
rubocop-capybara (2.21.0) sha256=5d264efdd8b6c7081a3d4889decf1451a1cfaaec204d81534e236bc825b280ab
|
205
211
|
rubocop-factory_bot (2.26.1) sha256=8de13cd4edcee5ca800f255188167ecef8dbfc3d1fae9f15734e9d2e755392aa
|
206
|
-
rubocop-performance (1.
|
207
|
-
rubocop-rails (2.
|
208
|
-
rubocop-rake (0.
|
212
|
+
rubocop-performance (1.24.0) sha256=e5bd39ff3e368395b9af886927cc37f5892f43db4bd6c8526594352d5b4440b5
|
213
|
+
rubocop-rails (2.30.0) sha256=37d475c2cab768d1dfb07bee908ebdbc4814cfaa62f906d3e7adbcd7be01a33d
|
214
|
+
rubocop-rake (0.7.1) sha256=3797f2b6810c3e9df7376c26d5f44f3475eda59eb1adc38e6f62ecf027cbae4d
|
209
215
|
rubocop-rspec (3.4.0) sha256=8721c13b6a8c9530a7ac481cea9423022f946fcf72428bda8289f8b57e4d4885
|
210
216
|
rubocop-rspec_rails (2.30.0) sha256=888112e83f9d7ef7ad2397e9d69a0b9614a4bae24f072c399804a180f80c4c46
|
211
217
|
ruby-progressbar (1.13.0) sha256=80fc9c47a9b640d6834e0dc7b3c94c9df37f08cb072b7761e4a71e22cff29b33
|
212
218
|
runger_byebug (11.4.0) sha256=569e22ba2215f57e7f69e145fcb63be401e29fcd312f7936d813e12d0c7bbee6
|
213
219
|
runger_release_assistant (2.0.0) sha256=f4f5708291eaeef1b881208f87a494877fe768739d6e96b7293fc335b28a3865
|
214
|
-
runger_style (5.
|
220
|
+
runger_style (5.3.0)
|
215
221
|
securerandom (0.4.1) sha256=cc5193d414a4341b6e225f0cb4446aceca8e50d5e1888743fac16987638ea0b1
|
216
222
|
slop (4.10.1) sha256=844322b5ffcf17ed4815fdb173b04a20dd82b4fd93e3744c88c8fafea696d9c7
|
217
223
|
stringio (3.1.3) sha256=1eedb8369ee99a9a0edfdacea95c72d647feb8ce844427c150bd641e1797abc8
|
data/bin/rspec
CHANGED
@@ -8,12 +8,12 @@
|
|
8
8
|
# this file is here to facilitate running it.
|
9
9
|
#
|
10
10
|
|
11
|
-
ENV[
|
11
|
+
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
|
12
12
|
|
13
|
-
bundle_binstub = File.expand_path(
|
13
|
+
bundle_binstub = File.expand_path('bundle', __dir__)
|
14
14
|
|
15
15
|
if File.file?(bundle_binstub)
|
16
|
-
if File.read(bundle_binstub, 300).include?(
|
16
|
+
if File.read(bundle_binstub, 300).include?('This file was generated by Bundler')
|
17
17
|
load(bundle_binstub)
|
18
18
|
else
|
19
19
|
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
@@ -21,7 +21,7 @@ Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this
|
|
21
21
|
end
|
22
22
|
end
|
23
23
|
|
24
|
-
require
|
25
|
-
require
|
24
|
+
require 'rubygems'
|
25
|
+
require 'bundler/setup'
|
26
26
|
|
27
|
-
load Gem.bin_path(
|
27
|
+
load Gem.bin_path('rspec-core', 'rspec')
|
data/lib/runger_style/version.rb
CHANGED
data/rulesets/performance.yml
CHANGED
data/rulesets/rails.yml
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
plugins:
|
2
2
|
- rubocop-rails
|
3
3
|
|
4
4
|
AllCops:
|
@@ -16,6 +16,8 @@ Rails/CreateTableWithTimestamps:
|
|
16
16
|
Exclude:
|
17
17
|
- !ruby/regexp /db/migrate/201[1-9].*\.rb\z/
|
18
18
|
- db/schema.rb
|
19
|
+
Rails/Delegate:
|
20
|
+
Enabled: false
|
19
21
|
Rails/EnvironmentVariableAccess:
|
20
22
|
AllowReads: true
|
21
23
|
Rails/I18nLocaleTexts:
|
data/rulesets/rake.yml
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
|
1
|
+
plugins:
|
2
2
|
- rubocop-rake
|
data/runger_style.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: runger_style
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.
|
4
|
+
version: 5.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Runger
|
@@ -29,14 +29,14 @@ dependencies:
|
|
29
29
|
requirements:
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 1.
|
32
|
+
version: 1.72.0
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
35
|
version_requirements: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
37
|
- - ">="
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: 1.
|
39
|
+
version: 1.72.0
|
40
40
|
description: Shared rubocop rules for the preferred Ruby coding style of @davidrunger
|
41
41
|
email:
|
42
42
|
- davidjrunger@gmail.com
|