rubocop-rubomatic-rails 1.7.0 → 2.0.0.rc.pre.2
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 +14 -0
- data/config/rails.yml +12 -0
- data/config/rspec_rails.yml +3 -0
- data/lib/rubocop/rubomatic-rails/version.rb +3 -3
- metadata +14 -14
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cf57af555584147bed211f1986b98f1ad8809f72dfec22af866f27095bb5f56a
|
|
4
|
+
data.tar.gz: bfdfb602620e058629b9a585975cd47e00267777d6619a6415f8c2b76263c8d1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fc2b01523aed3e2f7815fbac5bdcafb0f73338a4ab0c9e39ee6b58b1e4544040f5455e575e5680a9b2c643f60410647e6454878471dd124fc7767b97099b7fc2
|
|
7
|
+
data.tar.gz: 408d5e0320d128a6dacd7dcc3a2ff2e6cd5df3f726b7e3696362fe06d3ea3e7b05ee032c2cda186c1f1f9b31f8045c657168ef4716f695334db04947595d9e1f
|
data/CHANGELOG.adoc
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
== 2.0.0 (2025-12-29)
|
|
2
|
+
|
|
3
|
+
=== BREAKING CHANGES
|
|
4
|
+
|
|
5
|
+
* Dropped support for ruby < ``3.3.4``
|
|
6
|
+
|
|
7
|
+
=== Cops
|
|
8
|
+
|
|
9
|
+
* Enabled ``Rails/FindByOrAssignmentMemoization``
|
|
10
|
+
* Enabled ``Rails/HttpStatusNameConsistency``
|
|
11
|
+
* Enabled ``Rails/OrderArguments``
|
|
12
|
+
* Enabled ``Rails/RedirectBackOrTo``
|
|
13
|
+
* Enabled ``RSpecRails/HttpStatusNameConsistency``
|
|
14
|
+
|
|
1
15
|
== 1.7.0 (2025-10-08)
|
|
2
16
|
|
|
3
17
|
* The following cops will run on migration files for additional databases
|
data/config/rails.yml
CHANGED
|
@@ -244,6 +244,9 @@ Rails/FindBy:
|
|
|
244
244
|
Rails/FindById:
|
|
245
245
|
Enabled: true
|
|
246
246
|
|
|
247
|
+
Rails/FindByOrAssignmentMemoization:
|
|
248
|
+
Enabled: true
|
|
249
|
+
|
|
247
250
|
Rails/FindEach:
|
|
248
251
|
Enabled: true
|
|
249
252
|
Include: [ ]
|
|
@@ -288,6 +291,9 @@ Rails/HttpStatus:
|
|
|
288
291
|
- numeric
|
|
289
292
|
- symbolic
|
|
290
293
|
|
|
294
|
+
Rails/HttpStatusNameConsistency:
|
|
295
|
+
Enabled: true
|
|
296
|
+
|
|
291
297
|
Rails/I18nLazyLookup:
|
|
292
298
|
Enabled: false
|
|
293
299
|
Include:
|
|
@@ -369,6 +375,9 @@ Rails/NotNullColumn:
|
|
|
369
375
|
Rails/OrderById:
|
|
370
376
|
Enabled: false
|
|
371
377
|
|
|
378
|
+
Rails/OrderArguments:
|
|
379
|
+
Enabled: true
|
|
380
|
+
|
|
372
381
|
Rails/Output:
|
|
373
382
|
Enabled: true
|
|
374
383
|
Include:
|
|
@@ -426,6 +435,9 @@ Rails/ReadWriteAttribute:
|
|
|
426
435
|
Include:
|
|
427
436
|
- app/models/**/*.rb
|
|
428
437
|
|
|
438
|
+
Rails/RedirectBackOrTo:
|
|
439
|
+
Enabled: true
|
|
440
|
+
|
|
429
441
|
Rails/RedundantActiveRecordAllMethod:
|
|
430
442
|
Enabled: true
|
|
431
443
|
|
data/config/rspec_rails.yml
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
module RuboCop
|
|
4
4
|
module RubomaticRails
|
|
5
5
|
module VERSION
|
|
6
|
-
MAJOR =
|
|
7
|
-
MINOR =
|
|
6
|
+
MAJOR = 2
|
|
7
|
+
MINOR = 0
|
|
8
8
|
TINY = 0
|
|
9
9
|
|
|
10
10
|
# Set PRE to nil unless it's a pre-release (beta, rc, etc.)
|
|
11
|
-
PRE =
|
|
11
|
+
PRE = 'rc.pre.2'
|
|
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-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 2.0.0.rc.pre.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Brands Insurance
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-
|
|
11
|
+
date: 2025-12-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: lint_roller
|
|
@@ -30,43 +30,43 @@ dependencies:
|
|
|
30
30
|
requirements:
|
|
31
31
|
- - "~>"
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: 2.
|
|
33
|
+
version: 2.34.2
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
38
|
- - "~>"
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: 2.
|
|
40
|
+
version: 2.34.2
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: rubocop-rspec_rails
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
44
44
|
requirements:
|
|
45
45
|
- - '='
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: 2.
|
|
47
|
+
version: 2.32.0
|
|
48
48
|
type: :runtime
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
52
|
- - '='
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: 2.
|
|
54
|
+
version: 2.32.0
|
|
55
55
|
- !ruby/object:Gem::Dependency
|
|
56
56
|
name: rubocop-rubomatic
|
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
|
58
58
|
requirements:
|
|
59
59
|
- - "~>"
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
|
-
version:
|
|
61
|
+
version: 2.0.0.rc.pre.2
|
|
62
62
|
type: :runtime
|
|
63
63
|
prerelease: false
|
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
65
|
requirements:
|
|
66
66
|
- - "~>"
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
|
-
version:
|
|
69
|
-
description:
|
|
68
|
+
version: 2.0.0.rc.pre.2
|
|
69
|
+
description:
|
|
70
70
|
email:
|
|
71
71
|
- documents@brandsinsurance.com
|
|
72
72
|
executables: []
|
|
@@ -97,7 +97,7 @@ metadata:
|
|
|
97
97
|
homepage_uri: https://github.com/BrandsInsurance/rubocop-rubomatic-rails
|
|
98
98
|
source_code_uri: https://github.com/BrandsInsurance/rubocop-rubomatic-rails
|
|
99
99
|
changelog_uri: https://github.com/BrandsInsurance/rubocop-rubomatic-rails/blob/main/CHANGELOG.adoc
|
|
100
|
-
post_install_message:
|
|
100
|
+
post_install_message:
|
|
101
101
|
rdoc_options: []
|
|
102
102
|
require_paths:
|
|
103
103
|
- lib
|
|
@@ -105,15 +105,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
105
105
|
requirements:
|
|
106
106
|
- - ">="
|
|
107
107
|
- !ruby/object:Gem::Version
|
|
108
|
-
version: 3.
|
|
108
|
+
version: 3.3.4
|
|
109
109
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
110
110
|
requirements:
|
|
111
111
|
- - ">="
|
|
112
112
|
- !ruby/object:Gem::Version
|
|
113
113
|
version: '0'
|
|
114
114
|
requirements: []
|
|
115
|
-
rubygems_version: 3.
|
|
116
|
-
signing_key:
|
|
115
|
+
rubygems_version: 3.5.11
|
|
116
|
+
signing_key:
|
|
117
117
|
specification_version: 4
|
|
118
118
|
summary: Shared rails rubocop config for BrandsInsurance
|
|
119
119
|
test_files: []
|