rubocop-rubomatic 1.6.0 → 1.6.1
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.adoc +4 -0
- data/config/lint.yml +2 -2
- data/config/naming.yml +1 -1
- data/config/rubocop.yml +1 -1
- data/config/style.yml +4 -4
- data/lib/rubocop/rubomatic/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 71c043b9db75738ac23abdc981d88279683d8de55fc4ba682c2dd57329e22650
|
4
|
+
data.tar.gz: 8a7d1270a579e94a5d37f1a19be69b97f16612a16e0b18a3b9c9d46e2e1d5ad7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb875e95401c7c2ed61b1a6a2e051c420fc73dd9500f03def2d7452273dc9ce0dbb6e903e9fb105cff45d95c94dbff06585b0f21d144dc55c5cdd558d6320698
|
7
|
+
data.tar.gz: 6788c56ec7d97ee5ccaf889daace79165e7e97b4e65523573bb526a317404d100e4debdf2247b113609f56e3e40417c366dd5f912b627d7c9f10950b78856b68
|
data/CHANGELOG.adoc
CHANGED
data/config/lint.yml
CHANGED
@@ -330,7 +330,7 @@ Lint/NonAtomicFileOperation:
|
|
330
330
|
|
331
331
|
Lint/NonDeterministicRequireOrder:
|
332
332
|
# Enabled for all ruby versions old than v3.0
|
333
|
-
Enabled: <%= ENV['
|
333
|
+
Enabled: <%= ENV['RUBY_VERSION'].to_f < 3.0 %>
|
334
334
|
|
335
335
|
Lint/NonLocalExitFromIterator:
|
336
336
|
Enabled: true
|
@@ -401,7 +401,7 @@ Lint/RedundantCopEnableDirective:
|
|
401
401
|
|
402
402
|
Lint/RedundantDirGlobSort:
|
403
403
|
# Enabled for all ruby versions 3+
|
404
|
-
Enabled: <%= ENV['
|
404
|
+
Enabled: <%= ENV['RUBY_VERSION'].to_f >= 3.0 %>
|
405
405
|
|
406
406
|
Lint/RedundantRegexpQuantifiers:
|
407
407
|
Enabled: true
|
data/config/naming.yml
CHANGED
data/config/rubocop.yml
CHANGED
@@ -31,7 +31,7 @@ AllCops:
|
|
31
31
|
- 'test/**/*'
|
32
32
|
- '.irbrc'
|
33
33
|
- 'db/schema.rb'
|
34
|
-
TargetRubyVersion: <%= ENV['
|
34
|
+
TargetRubyVersion: <%= ENV['RUBY_VERSION'] %>
|
35
35
|
SuggestExtensions: false
|
36
36
|
StyleGuideBaseURL: https://github.com/BrandsInsurance/expert-chainsaw/blob/main/ruby/RUBY_STYLE_GUIDE.adoc
|
37
37
|
ActiveSupportExtensionsEnabled: true
|
data/config/style.yml
CHANGED
@@ -37,7 +37,7 @@ Style/AndOr:
|
|
37
37
|
|
38
38
|
Style/ArgumentsForwarding:
|
39
39
|
Enabled: true
|
40
|
-
<% if ENV['
|
40
|
+
<% if ENV['RUBY_VERSION'].to_f >= 3.2 %>
|
41
41
|
UseAnonymousForwarding: true
|
42
42
|
<% else %>
|
43
43
|
AllowOnlyRestArgument: true
|
@@ -389,7 +389,7 @@ Style/Copyright:
|
|
389
389
|
AutocorrectNotice: ''
|
390
390
|
|
391
391
|
Style/DataInheritance:
|
392
|
-
Enabled: <%= ENV['
|
392
|
+
Enabled: <%= ENV['RUBY_VERSION'].to_f >= 3.2 %>
|
393
393
|
|
394
394
|
Style/DateTime:
|
395
395
|
Enabled: false
|
@@ -780,7 +780,7 @@ Style/IpAddresses:
|
|
780
780
|
- '**/rack_attack.rb'
|
781
781
|
|
782
782
|
Style/ItAssignment:
|
783
|
-
Enabled: <%= ENV['
|
783
|
+
Enabled: <%= ENV['RUBY_VERSION'].to_f >= 3.4 %>
|
784
784
|
|
785
785
|
Style/ItBlockParameter:
|
786
786
|
Enabled: true
|
@@ -1279,7 +1279,7 @@ Style/RedundantInterpolation:
|
|
1279
1279
|
Enabled: true
|
1280
1280
|
|
1281
1281
|
Style/RedundantInterpolationUnfreeze:
|
1282
|
-
Enabled: <%= ENV['
|
1282
|
+
Enabled: <%= ENV['RUBY_VERSION'].to_i >= 3 %>
|
1283
1283
|
|
1284
1284
|
Style/RedundantLineContinuation:
|
1285
1285
|
Enabled: true
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-rubomatic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brands Insurance
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-06-
|
11
|
+
date: 2025-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lint_roller
|