fablicop 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fablicop/version.rb +1 -1
- data/templates/.rubocop.yml +27 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f6564d771050c753aa855fae65ba9e4c0170b2e
|
4
|
+
data.tar.gz: 21a78e575a018c78eeef2d9c6a8f5b837565081e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 93c1d9f07b7e4dc386d87f5f25fe7d59fc738bbf6d23561b33dabd7ed42fb88f64170413f9a1dfcbea70b9fe4067504f4815e5e16f49befdb1ab85275346994e
|
7
|
+
data.tar.gz: 72881bb39b5b9066720fe2027fbd1117b10ea4968230889f6c71a00eec5212c6c4723454aff0a018bafbc1ff1b47fb42271b204310b274cbd6cd93abde033c6b
|
data/lib/fablicop/version.rb
CHANGED
data/templates/.rubocop.yml
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
# inherit_gem中のexclude dirの指定が効かないらしい
|
2
|
+
# https://github.com/bbatsov/rubocop/issues/4154
|
3
|
+
# excludeしているものは一旦このファイルに直接記入
|
4
|
+
|
1
5
|
inherit_gem:
|
2
6
|
fablicop:
|
3
7
|
- "config/.rubocop.yml"
|
@@ -7,6 +11,28 @@ inherit_gem:
|
|
7
11
|
# - "config/rspec.yml"
|
8
12
|
|
9
13
|
AllCops:
|
10
|
-
TargetRubyVersion: 2.
|
14
|
+
TargetRubyVersion: 2.3
|
11
15
|
# uncomment if use rails cops
|
12
16
|
# TargetRailsVersion: 5.1
|
17
|
+
Exclude:
|
18
|
+
- "vendor/**/*" # rubocop config/default.yml
|
19
|
+
- "db/schema.rb"
|
20
|
+
- "db/migrate/*"
|
21
|
+
- "db/fixtures/**/*"
|
22
|
+
- "test/factories/**/*"
|
23
|
+
- "spec/factories/**/*"
|
24
|
+
|
25
|
+
##################### Metrics ##################################
|
26
|
+
|
27
|
+
Metrics/LineLength:
|
28
|
+
Exclude:
|
29
|
+
- "db/migrate/*.rb"
|
30
|
+
|
31
|
+
Metrics/MethodLength:
|
32
|
+
Exclude:
|
33
|
+
- "db/migrate/*.rb"
|
34
|
+
|
35
|
+
Metrics/BlockLength:
|
36
|
+
Exclude:
|
37
|
+
- 'spec/**/*'
|
38
|
+
- 'test/**/*'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fablicop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- tommy
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-08-
|
11
|
+
date: 2017-08-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|