rubocop-rails_config 0.2.5 → 0.2.6
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 +10 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 83fbaf00e8f44beead48b2dbf8402b74542915cb1515e7ff6964e13823ce324d
|
4
|
+
data.tar.gz: e3772a5bccb319fc814a6037f2464a28cdfcc9d57f97daf1e15b78a572ffd115
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a3bbdabe212f52d287d041eb2484160fded6f7d1591a0599c77b8cbfc77eb0863cdb2e129b8cfc9eab09782bc70807731f677739dfb640f45de08b759c84571
|
7
|
+
data.tar.gz: 239165afaec2ef832179b209c98e8c0d6b42b31c90e15b688b9af2ac538b84eb342a1e746781a908230451ec4f7202cc309f06b10159ae140a248f4949f2236a
|
data/config/rails.yml
CHANGED
@@ -6,13 +6,17 @@ AllCops:
|
|
6
6
|
Exclude:
|
7
7
|
- '**/templates/**/*'
|
8
8
|
- '**/vendor/**/*'
|
9
|
-
- '**/vendor/**/.*'
|
10
|
-
- '**/node_modules/**/*'
|
11
9
|
- 'actionpack/lib/action_dispatch/journey/parser.rb'
|
10
|
+
- 'railties/test/fixtures/tmp/**/*'
|
11
|
+
- 'node_modules/**/*'
|
12
12
|
# Additional exclude files by rubocop-rails_config
|
13
13
|
- 'db/migrate/**/*.rb'
|
14
14
|
- 'db/*.rb'
|
15
15
|
|
16
|
+
Performance:
|
17
|
+
Exclude:
|
18
|
+
- '**/test/**/*'
|
19
|
+
|
16
20
|
Rails:
|
17
21
|
Enabled: true
|
18
22
|
|
@@ -132,6 +136,9 @@ Style/FrozenStringLiteralComment:
|
|
132
136
|
|
133
137
|
Style/RedundantFreeze:
|
134
138
|
Enabled: true
|
139
|
+
Exclude:
|
140
|
+
- 'actionpack/lib/action_dispatch/journey/router/utils.rb'
|
141
|
+
- 'activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb'
|
135
142
|
|
136
143
|
# Use `foo {}` not `foo{}`.
|
137
144
|
Layout/SpaceBeforeBlockBraces:
|
@@ -140,6 +147,7 @@ Layout/SpaceBeforeBlockBraces:
|
|
140
147
|
# Use `foo { bar }` not `foo {bar}`.
|
141
148
|
Layout/SpaceInsideBlockBraces:
|
142
149
|
Enabled: true
|
150
|
+
EnforcedStyleForEmptyBraces: space
|
143
151
|
|
144
152
|
# Use `{ a: 1 }` not `{a:1}`.
|
145
153
|
Layout/SpaceInsideHashLiteralBraces:
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-rails_config
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Toshimaru
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-10-
|
11
|
+
date: 2018-10-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|