rubocop-rubomatic 1.6.0.rc.pre.5 → 1.6.1.rc.pre.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 +6 -5
- data/lib/rubocop/rubomatic/plugin.rb +1 -1
- data/lib/rubocop/rubomatic/version.rb +2 -2
- 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: 6593e1be25b70c4d1755e761945b6d3656e75d7a1a85f9e9ff8fc936dcac6ea6
|
4
|
+
data.tar.gz: 8a015a7ab18883263f95fd8a1aacd90c60c387b755e1fda07a2f5cfbd313a356
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7c898f85dbcb5d98ff8673f92a38743d3fddbdaf1e0945fb475a034746795a7ea15e7e31f5f96f8e89193978863aa2059b685460c65f9f8d62750e7e5fd3084
|
7
|
+
data.tar.gz: 197850251be4d60b88d516af1f84e8ec1473ca2689bbb0adee176c544f257a966af11b80db5f5fafaf7f441578b51feb6e2f7184507f5f4e064807d0a89626bf
|
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,9 +37,10 @@ Style/AndOr:
|
|
37
37
|
|
38
38
|
Style/ArgumentsForwarding:
|
39
39
|
Enabled: true
|
40
|
-
|
41
|
-
<% if ENV['RUBY_MAJOR'].to_f >= 3.2 %>
|
40
|
+
<% if ENV['RUBY_VERSION'].to_f >= 3.2 %>
|
42
41
|
UseAnonymousForwarding: true
|
42
|
+
<% else %>
|
43
|
+
AllowOnlyRestArgument: true
|
43
44
|
<% end %>
|
44
45
|
|
45
46
|
Style/ArrayCoercion:
|
@@ -388,7 +389,7 @@ Style/Copyright:
|
|
388
389
|
AutocorrectNotice: ''
|
389
390
|
|
390
391
|
Style/DataInheritance:
|
391
|
-
Enabled: <%= ENV['
|
392
|
+
Enabled: <%= ENV['RUBY_VERSION'].to_f >= 3.2 %>
|
392
393
|
|
393
394
|
Style/DateTime:
|
394
395
|
Enabled: false
|
@@ -779,7 +780,7 @@ Style/IpAddresses:
|
|
779
780
|
- '**/rack_attack.rb'
|
780
781
|
|
781
782
|
Style/ItAssignment:
|
782
|
-
Enabled: <%= ENV['
|
783
|
+
Enabled: <%= ENV['RUBY_VERSION'].to_f >= 3.4 %>
|
783
784
|
|
784
785
|
Style/ItBlockParameter:
|
785
786
|
Enabled: true
|
@@ -1278,7 +1279,7 @@ Style/RedundantInterpolation:
|
|
1278
1279
|
Enabled: true
|
1279
1280
|
|
1280
1281
|
Style/RedundantInterpolationUnfreeze:
|
1281
|
-
Enabled: <%= ENV['
|
1282
|
+
Enabled: <%= ENV['RUBY_VERSION'].to_i >= 3 %>
|
1282
1283
|
|
1283
1284
|
Style/RedundantLineContinuation:
|
1284
1285
|
Enabled: true
|
@@ -10,7 +10,7 @@ module RuboCop
|
|
10
10
|
def about
|
11
11
|
LintRoller::About.new(
|
12
12
|
name: 'rubocop-rubomatic',
|
13
|
-
version: VERSION
|
13
|
+
version: VERSION::STRING,
|
14
14
|
homepage: 'https://github.com/BrandsInsurance/rubocop-rubomatic/',
|
15
15
|
description: 'A collection of RuboCop cops to check for performance optimizations in Ruby code.'
|
16
16
|
)
|
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.rc.pre.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
|