rubocop-rubomatic 1.6.0 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a94ee250a5abc5d5c306efbc973ac5eeb065c288c49df2cd5f5381af468af846
4
- data.tar.gz: 87f07fcf18b8d5b662d259014274607e3b71070b6388cca3150917d67d3bbffb
3
+ metadata.gz: 6593e1be25b70c4d1755e761945b6d3656e75d7a1a85f9e9ff8fc936dcac6ea6
4
+ data.tar.gz: 8a015a7ab18883263f95fd8a1aacd90c60c387b755e1fda07a2f5cfbd313a356
5
5
  SHA512:
6
- metadata.gz: 0c478d2eb1d1d8343c4683c34dfb9eef7232e2cad336b578fe4cf3b12967363c86efdccf1804ad7ac659f5bb791cfda26e4436b6023132606c2bf26d1b63b5a3
7
- data.tar.gz: 424e583710f8cb098c03b9725cee231a6d32c62b453fb144268f42719fa0e414cd41cce9c9ece803c3dcdba6f026430d5eb20fe14dd2262bd508e0501b930ab7
6
+ metadata.gz: d7c898f85dbcb5d98ff8673f92a38743d3fddbdaf1e0945fb475a034746795a7ea15e7e31f5f96f8e89193978863aa2059b685460c65f9f8d62750e7e5fd3084
7
+ data.tar.gz: 197850251be4d60b88d516af1f84e8ec1473ca2689bbb0adee176c544f257a966af11b80db5f5fafaf7f441578b51feb6e2f7184507f5f4e064807d0a89626bf
data/CHANGELOG.adoc CHANGED
@@ -1,3 +1,7 @@
1
+ == 1.6.1 (2025-06-13)
2
+
3
+ * Changed ``ENV['RUBY_MAJOR']`` to ``ENV['RUBY_VERSION']``
4
+
1
5
  == 1.6.0 (2025-06-12)
2
6
 
3
7
  * Upgrade to ``ruobcop 1.76.1``
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['RUBY_MAJOR'].to_f < 3.0 %>
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['RUBY_MAJOR'].to_f >= 3.0 %>
404
+ Enabled: <%= ENV['RUBY_VERSION'].to_f >= 3.0 %>
405
405
 
406
406
  Lint/RedundantRegexpQuantifiers:
407
407
  Enabled: true
data/config/naming.yml CHANGED
@@ -9,7 +9,7 @@ Naming/BinaryOperatorParameterName:
9
9
  Enabled: true
10
10
 
11
11
  Naming/BlockForwarding:
12
- Enabled: <%= ENV['RUBY_MAJOR'].to_f >= 3.1 %>
12
+ Enabled: <%= ENV['RUBY_VERSION'].to_f >= 3.1 %>
13
13
  EnforcedStyle: anonymous
14
14
  SupportedStyles:
15
15
  - anonymous
data/config/rubocop.yml CHANGED
@@ -31,7 +31,7 @@ AllCops:
31
31
  - 'test/**/*'
32
32
  - '.irbrc'
33
33
  - 'db/schema.rb'
34
- TargetRubyVersion: <%= ENV['RUBY_MAJOR'] %>
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['RUBY_MAJOR'].to_f >= 3.2 %>
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['RUBY_MAJOR'].to_f >= 3.2 %>
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['RUBY_MAJOR'].to_f >= 3.4 %>
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['RUBY_MAJOR'].to_i >= 3 %>
1282
+ Enabled: <%= ENV['RUBY_VERSION'].to_i >= 3 %>
1283
1283
 
1284
1284
  Style/RedundantLineContinuation:
1285
1285
  Enabled: true
@@ -5,10 +5,10 @@ module RuboCop
5
5
  module VERSION
6
6
  MAJOR = 1
7
7
  MINOR = 6
8
- TINY = 0
8
+ TINY = 1
9
9
 
10
10
  # Set PRE to nil unless it's a pre-release (beta, rc, etc.)
11
- PRE = nil
11
+ PRE = 'rc.pre.1'
12
12
 
13
13
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.').freeze
14
14
 
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.0
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-12 00:00:00.000000000 Z
11
+ date: 2025-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lint_roller
@@ -162,9 +162,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
162
162
  version: 3.0.1
163
163
  required_rubygems_version: !ruby/object:Gem::Requirement
164
164
  requirements:
165
- - - ">="
165
+ - - ">"
166
166
  - !ruby/object:Gem::Version
167
- version: '0'
167
+ version: 1.3.1
168
168
  requirements: []
169
169
  rubygems_version: 3.2.15
170
170
  signing_key: