rubocop-rails_config 0.12.0 → 0.12.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/rails.yml +12 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 571e4c0bb0daa356863e315f3f25b7b97adc12115c8e944122284d65cd74ffec
|
4
|
+
data.tar.gz: 3a3b63d9bccfee1db627266af570e8189df1b0dde8db5a805fd8600e4955d745
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa5b6ce85fe0cb28dede530a7a474fb29bee6455868bea3f734bb9ae04ce78af3bdb3b6a91594c1541ba614b261070745596f67e184957dac60b8c034f8fc6e4
|
7
|
+
data.tar.gz: 74961f5674e3185f75bc33adf2649f20eb11f04e4298153122829e7ca9df4eab85acd9321fd91125c809cef42232c2b39a43d43ce1773ee6da0eb595e915746e
|
data/config/rails.yml
CHANGED
@@ -36,6 +36,12 @@ Rails/RefuteMethods:
|
|
36
36
|
Include:
|
37
37
|
- '**/test/**/*'
|
38
38
|
|
39
|
+
Rails/IndexBy:
|
40
|
+
Enabled: true
|
41
|
+
|
42
|
+
Rails/IndexWith:
|
43
|
+
Enabled: true
|
44
|
+
|
39
45
|
# Prefer &&/|| over and/or.
|
40
46
|
Style/AndOr:
|
41
47
|
Enabled: true
|
@@ -262,3 +268,9 @@ Performance/ReverseEach:
|
|
262
268
|
|
263
269
|
Performance/UnfreezeString:
|
264
270
|
Enabled: true
|
271
|
+
|
272
|
+
Performance/DeletePrefix:
|
273
|
+
Enabled: true
|
274
|
+
|
275
|
+
Performance/DeleteSuffix:
|
276
|
+
Enabled: true
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-rails_config
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.
|
4
|
+
version: 0.12.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Toshimaru
|
8
8
|
- Koichi ITO
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-
|
12
|
+
date: 2020-07-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rubocop
|
@@ -153,7 +153,7 @@ homepage: https://github.com/toshimaru/rubocop-rails_config
|
|
153
153
|
licenses:
|
154
154
|
- MIT
|
155
155
|
metadata: {}
|
156
|
-
post_install_message:
|
156
|
+
post_install_message:
|
157
157
|
rdoc_options: []
|
158
158
|
require_paths:
|
159
159
|
- lib
|
@@ -169,7 +169,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
169
169
|
version: '0'
|
170
170
|
requirements: []
|
171
171
|
rubygems_version: 3.1.2
|
172
|
-
signing_key:
|
172
|
+
signing_key:
|
173
173
|
specification_version: 4
|
174
174
|
summary: RuboCop configuration which has the same code style checking as official
|
175
175
|
Ruby on Rails
|