rubocop-rubomatic-rails 1.7.0 → 2.0.0.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: cd36d73ad71dcb7f927aedacefcc7a2595a43d2f34d06314e90c6f7c06e93e72
4
- data.tar.gz: 1c5fde12c51612e4b3b96b55f08ecf8b97145582b0081ae8e2ebdc72c6ecb85b
3
+ metadata.gz: 67b0c3688559d8a09cd51db9947f96860b111c61dd18a9aefbb1a9fb02ba8e7f
4
+ data.tar.gz: df5e2aaf8203896a7702e103c1b10469a7dd46e5d0ba733133d63329fd70b177
5
5
  SHA512:
6
- metadata.gz: 7168b2fb69b1db6bf10703637b7fdd90617986096a31c2f7654a84c549f95207c5456465590e081ee3409a36c799e7087f44964d940d174000a7d867d0476490
7
- data.tar.gz: b574f10bee77c152f5e59fc5ca0dddad9d4647cd942c990bbdb48840ca8d1ada055e06f4c9f6593680de1c1e4a71694d55b9122585264d50d5af01e4d9b7c1e8
6
+ metadata.gz: 369bd37692d3956088a9f38571c1920bf44a1144d10e1aa454805148d40e1943344a5a4a93deddb59cc5c127f01aa027c16781001777ffe05f25d106e443d618
7
+ data.tar.gz: 6c967d9f38202597c2a74918458ac30a9ef5be048e41f9be1a69dfd0844778b4da830ca06f56fb0eadf22d17a802298c57d659d1b2cc10ee629a3a7368b98c12
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
 
@@ -13,6 +13,9 @@ RSpecRails/HttpStatus:
13
13
  Enabled: true
14
14
  EnforcedStyle: symbolic
15
15
 
16
+ RSpecRails/HttpStatusNameConsistency:
17
+ Enabled: true
18
+
16
19
  RSpecRails/InferredSpecType:
17
20
  Enabled: true
18
21
  Inferences:
@@ -3,12 +3,12 @@
3
3
  module RuboCop
4
4
  module RubomaticRails
5
5
  module VERSION
6
- MAJOR = 1
7
- MINOR = 7
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 = 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-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 2.0.0.rc.pre.1
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-10-08 00:00:00.000000000 Z
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.32.0
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.32.0
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.31.0
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.31.0
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: 1.6.3
61
+ version: 2.0.0.rc.pre.1
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: 1.6.3
69
- description:
68
+ version: 2.0.0.rc.pre.1
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.0.1
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.2.15
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: []