standard-rails 1.0.2 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +9 -8
- data/config/base.yml +9 -6
- data/lib/standard/rails/load_rubocop_rails_without_the_monkey_patch.rb +1 -1
- data/lib/standard/rails/plugin.rb +1 -1
- data/lib/standard/rails/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a8e0a868c15dffa225605d8233191a4c1193847290ae27c38182eb049f2f088
|
4
|
+
data.tar.gz: 7ce125bd0b23320baa7f47c6a9cc176cbcbe076bc013be49fe34e6115c88d719
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c9c41b4f8cfcbfb09d89051f781b01ca1f6bba083c8cd05220ad423f914e2dc9504e56756a15605d73f4dfcd4ae1345cae54d42d86f1faa0d65914c5367fb644
|
7
|
+
data.tar.gz: e5cf5f65ca9775f942b0a6ff2b71739cfbff596f27ff36a6920903e1ffdb9f2172bea011867d8b8425c1fbeab8dd7d6c48249b4035286718d785e14cf9f9b1f5
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
standard-rails (1.0
|
4
|
+
standard-rails (1.1.0)
|
5
5
|
lint_roller (~> 1.0)
|
6
|
-
rubocop-rails (~> 2.
|
6
|
+
rubocop-rails (~> 2.25.0)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
@@ -37,7 +37,7 @@ GEM
|
|
37
37
|
minitest (5.20.0)
|
38
38
|
mutex_m (0.2.0)
|
39
39
|
parallel (1.24.0)
|
40
|
-
parser (3.3.0
|
40
|
+
parser (3.3.3.0)
|
41
41
|
ast (~> 2.4.1)
|
42
42
|
racc
|
43
43
|
racc (1.7.3)
|
@@ -57,16 +57,16 @@ GEM
|
|
57
57
|
rubocop-ast (>= 1.30.0, < 2.0)
|
58
58
|
ruby-progressbar (~> 1.7)
|
59
59
|
unicode-display_width (>= 2.4.0, < 3.0)
|
60
|
-
rubocop-ast (1.
|
61
|
-
parser (>= 3.
|
60
|
+
rubocop-ast (1.31.3)
|
61
|
+
parser (>= 3.3.1.0)
|
62
62
|
rubocop-performance (1.20.2)
|
63
63
|
rubocop (>= 1.48.1, < 2.0)
|
64
64
|
rubocop-ast (>= 1.30.0, < 2.0)
|
65
|
-
rubocop-rails (2.
|
65
|
+
rubocop-rails (2.25.0)
|
66
66
|
activesupport (>= 4.2.0)
|
67
67
|
rack (>= 1.1)
|
68
68
|
rubocop (>= 1.33.0, < 2.0)
|
69
|
-
rubocop-ast (>= 1.
|
69
|
+
rubocop-ast (>= 1.31.1, < 2.0)
|
70
70
|
ruby-progressbar (1.13.0)
|
71
71
|
ruby2_keywords (0.0.5)
|
72
72
|
standard (1.33.0)
|
@@ -89,6 +89,7 @@ PLATFORMS
|
|
89
89
|
arm64-darwin-20
|
90
90
|
arm64-darwin-21
|
91
91
|
arm64-darwin-22
|
92
|
+
arm64-darwin-23
|
92
93
|
x86_64-linux
|
93
94
|
|
94
95
|
DEPENDENCIES
|
@@ -99,4 +100,4 @@ DEPENDENCIES
|
|
99
100
|
standard-rails!
|
100
101
|
|
101
102
|
BUNDLED WITH
|
102
|
-
2.
|
103
|
+
2.5.11
|
data/config/base.yml
CHANGED
@@ -37,7 +37,7 @@ Rails/ActionControllerTestCase:
|
|
37
37
|
Enabled: false
|
38
38
|
|
39
39
|
Rails/ActionFilter:
|
40
|
-
Enabled:
|
40
|
+
Enabled: false
|
41
41
|
|
42
42
|
Rails/ActionOrder:
|
43
43
|
Enabled: false
|
@@ -134,7 +134,7 @@ Rails/DurationArithmetic:
|
|
134
134
|
Enabled: true
|
135
135
|
|
136
136
|
Rails/DynamicFindBy:
|
137
|
-
Enabled:
|
137
|
+
Enabled: false
|
138
138
|
|
139
139
|
Rails/EagerEvaluationLogMessage:
|
140
140
|
Enabled: true
|
@@ -239,7 +239,7 @@ Rails/NotNullColumn:
|
|
239
239
|
Enabled: false
|
240
240
|
|
241
241
|
Rails/OrderById:
|
242
|
-
Enabled:
|
242
|
+
Enabled: false
|
243
243
|
|
244
244
|
Rails/Output:
|
245
245
|
Enabled: true
|
@@ -254,7 +254,7 @@ Rails/Pluck:
|
|
254
254
|
Enabled: true
|
255
255
|
|
256
256
|
Rails/PluckId:
|
257
|
-
Enabled:
|
257
|
+
Enabled: false
|
258
258
|
|
259
259
|
Rails/PluckInWhere:
|
260
260
|
Enabled: true
|
@@ -338,7 +338,7 @@ Rails/SafeNavigationWithBlank:
|
|
338
338
|
Enabled: true
|
339
339
|
|
340
340
|
Rails/SaveBang:
|
341
|
-
Enabled:
|
341
|
+
Enabled: false
|
342
342
|
|
343
343
|
Rails/SchemaComment:
|
344
344
|
Enabled: false
|
@@ -396,7 +396,7 @@ Rails/UnknownEnv:
|
|
396
396
|
Enabled: false
|
397
397
|
|
398
398
|
Rails/UnusedIgnoredColumns:
|
399
|
-
Enabled:
|
399
|
+
Enabled: false
|
400
400
|
|
401
401
|
Rails/UnusedRenderContent:
|
402
402
|
Enabled: true
|
@@ -418,3 +418,6 @@ Rails/WhereNot:
|
|
418
418
|
|
419
419
|
Rails/WhereNotWithMultipleConditions:
|
420
420
|
Enabled: false
|
421
|
+
|
422
|
+
Rails/WhereRange:
|
423
|
+
Enabled: true
|
@@ -53,7 +53,7 @@ module Standard
|
|
53
53
|
#
|
54
54
|
# See: https://github.com/standardrb/standard-rails/issues/25#issuecomment-1881127173
|
55
55
|
def without_extended_rule_configs(rules)
|
56
|
-
rules.reject { |(name,_)|
|
56
|
+
rules.reject { |(name, _)|
|
57
57
|
["Style/InvertibleUnlessCondition", "Lint/SafeNavigationChain"].include?(name)
|
58
58
|
}.to_h
|
59
59
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: standard-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Searls
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-06-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lint_roller
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 2.
|
33
|
+
version: 2.25.0
|
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.25.0
|
41
41
|
description:
|
42
42
|
email:
|
43
43
|
- searls@gmail.com
|
@@ -75,14 +75,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
75
75
|
requirements:
|
76
76
|
- - ">="
|
77
77
|
- !ruby/object:Gem::Version
|
78
|
-
version:
|
78
|
+
version: 3.0.0
|
79
79
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
81
|
- - ">="
|
82
82
|
- !ruby/object:Gem::Version
|
83
83
|
version: '0'
|
84
84
|
requirements: []
|
85
|
-
rubygems_version: 3.
|
85
|
+
rubygems_version: 3.5.9
|
86
86
|
signing_key:
|
87
87
|
specification_version: 4
|
88
88
|
summary: A Standard plugin that adds Rails-specific rules to Standard
|