rubocop-rails_config 1.5.0 → 1.5.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/config/rails.yml +9 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e56064e2fa343c382fa80055096da96cb451a7f722ba23c6214ff15a3d1da14
|
4
|
+
data.tar.gz: c20e0ff879c3911619c302da1fceb266c5e43a21ad4c9bb6d05a63d9e51c7332
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf70e64356317ed7646a75ca3d4dee20f01c03c4cb8d208bc5a19bde47f95ad9fafbc00fe06d06a0ddf573d496f73258f483cb125d65880ebcc1e9a657a48d40
|
7
|
+
data.tar.gz: c3d2fffe2cd17395eeaa816023313752da0d697edaad0f2f7ef70640cbb8c5ecf81daf9736d1854519a7928f6cd9d8916aad92b5c6ea1be6205d39d1a7ce04bf
|
data/README.md
CHANGED
@@ -76,10 +76,10 @@ inherit_gem:
|
|
76
76
|
|
77
77
|
# Override Setting
|
78
78
|
AllCops:
|
79
|
-
TargetRubyVersion:
|
79
|
+
TargetRubyVersion: 3.0
|
80
80
|
```
|
81
81
|
|
82
|
-
This overrides `config/rails.yml` setting with `TargetRubyVersion:
|
82
|
+
This overrides `config/rails.yml` setting with `TargetRubyVersion: 3.0`.
|
83
83
|
|
84
84
|
## License
|
85
85
|
|
data/config/rails.yml
CHANGED
@@ -65,6 +65,9 @@ Layout/EndAlignment:
|
|
65
65
|
EnforcedStyleAlignWith: variable
|
66
66
|
AutoCorrect: true
|
67
67
|
|
68
|
+
Layout/EndOfLine:
|
69
|
+
Enabled: true
|
70
|
+
|
68
71
|
Layout/EmptyLineAfterMagicComment:
|
69
72
|
Enabled: true
|
70
73
|
|
@@ -255,6 +258,12 @@ Performance/BindCall:
|
|
255
258
|
Performance/FlatMap:
|
256
259
|
Enabled: true
|
257
260
|
|
261
|
+
Performance/MapCompact:
|
262
|
+
Enabled: true
|
263
|
+
|
264
|
+
Performance/SelectMap:
|
265
|
+
Enabled: true
|
266
|
+
|
258
267
|
Performance/RedundantMerge:
|
259
268
|
Enabled: true
|
260
269
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-rails_config
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Toshimaru
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2021-
|
12
|
+
date: 2021-07-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rubocop
|
@@ -45,14 +45,14 @@ dependencies:
|
|
45
45
|
requirements:
|
46
46
|
- - "~>"
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version: '1.
|
48
|
+
version: '1.11'
|
49
49
|
type: :runtime
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
53
|
- - "~>"
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: '1.
|
55
|
+
version: '1.11'
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: rubocop-rails
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|