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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 34af73d17314f614281b11d382089b61bc39ec39
4
- data.tar.gz: 621f2f2428dac0d6ba35fd3a0e5d1fdd2a85e29a
3
+ metadata.gz: 5f6564d771050c753aa855fae65ba9e4c0170b2e
4
+ data.tar.gz: 21a78e575a018c78eeef2d9c6a8f5b837565081e
5
5
  SHA512:
6
- metadata.gz: 9f6d3f35c0b1e8825994a1c818a262b7d5bd418ad01cd4a96e094064fe208a2b0b215d642f05bd7db6c36f7ec47caa0da161bc9535262a4f1dc2816616b1c38d
7
- data.tar.gz: 583017714d09c20d6adfb7ef0e96f3af4e9c977d526dcb0b8e414212f3ec1c460362e64e087e83896ad0fa76c3f6aa5b5fbf2743da96679b38c9c82a2c61cc49
6
+ metadata.gz: 93c1d9f07b7e4dc386d87f5f25fe7d59fc738bbf6d23561b33dabd7ed42fb88f64170413f9a1dfcbea70b9fe4067504f4815e5e16f49befdb1ab85275346994e
7
+ data.tar.gz: 72881bb39b5b9066720fe2027fbd1117b10ea4968230889f6c71a00eec5212c6c4723454aff0a018bafbc1ff1b47fb42271b204310b274cbd6cd93abde033c6b
@@ -1,3 +1,3 @@
1
1
  module Fablicop
2
- VERSION = '0.3.1'
2
+ VERSION = '0.3.2'
3
3
  end
@@ -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.4
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.1
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-07 00:00:00.000000000 Z
11
+ date: 2017-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop