fablicop 1.0.6 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.ruby-version +1 -1
- data/config/.base_rubocop.yml +8 -17
- data/fablicop.gemspec +2 -1
- data/lib/fablicop/version.rb +1 -1
- metadata +19 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 866e22f81f324370afbf9661a8d8aac460b60891ed3f315f94fd6a6b3331771a
|
4
|
+
data.tar.gz: e847ed2393c95059463139c796eee5be93ec3ec3340649edbd4dd26cda6b345d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 633a8019e167b8449f9d9d52dcc8d0f3525f84c181e044ccef115ad343ad581f5dd79547d3749a542af0030db283c8178e0676b6d10486f6e1ea37a921514f96
|
7
|
+
data.tar.gz: 1d0c7cf21026ed0ab62b448b67d536823b378b5c4a29ebfeade756a75c65e110953d45fb9e6156e26c270d365e0640adb57702d2d932d4ac5ef365a696eecc5e
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.5.5
|
data/config/.base_rubocop.yml
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
require:
|
2
|
+
- rubocop-rails
|
3
|
+
|
1
4
|
# 自動生成されるものやテストデータはチェック対象から除外する
|
2
5
|
AllCops:
|
3
6
|
Exclude:
|
@@ -10,7 +13,8 @@ AllCops:
|
|
10
13
|
- "spec/test_app/db/*"
|
11
14
|
|
12
15
|
DisplayCopNames: true
|
13
|
-
TargetRubyVersion: 2.
|
16
|
+
TargetRubyVersion: 2.5
|
17
|
+
NewCops: enable # 新しい規約も随時取り入れる
|
14
18
|
Rails:
|
15
19
|
Enabled: true
|
16
20
|
# rails >= 5 の設定のため
|
@@ -114,9 +118,6 @@ Style/DoubleNegation:
|
|
114
118
|
Style/ParallelAssignment:
|
115
119
|
Enabled: false
|
116
120
|
|
117
|
-
Style/BracesAroundHashParameters:
|
118
|
-
Enabled: false
|
119
|
-
|
120
121
|
Style/MethodCallWithoutArgsParentheses:
|
121
122
|
Enabled: false
|
122
123
|
|
@@ -147,11 +148,7 @@ Layout/SpaceBeforeFirstArg:
|
|
147
148
|
Enabled: false
|
148
149
|
Layout/SpaceInLambdaLiteral:
|
149
150
|
Enabled: false
|
150
|
-
Layout/
|
151
|
-
Enabled: false
|
152
|
-
Layout/MultilineMethodCallBraceLayout:
|
153
|
-
Enabled: false
|
154
|
-
Layout/MultilineMethodCallIndentation:
|
151
|
+
Layout/HeredocIndentation:
|
155
152
|
Enabled: false
|
156
153
|
|
157
154
|
##################### Lint ##################################
|
@@ -165,7 +162,7 @@ Lint/ParenthesesAsGroupedExpression:
|
|
165
162
|
# * 警告 120文字
|
166
163
|
# * 禁止 160文字
|
167
164
|
# のイメージ
|
168
|
-
|
165
|
+
Layout/LineLength:
|
169
166
|
Max: 160
|
170
167
|
Exclude:
|
171
168
|
- "db/migrate/*.rb"
|
@@ -177,7 +174,7 @@ Metrics/MethodLength:
|
|
177
174
|
- "db/migrate/*.rb"
|
178
175
|
|
179
176
|
# キーワード引数は引数の数に含めない
|
180
|
-
ParameterLists:
|
177
|
+
Metrics/ParameterLists:
|
181
178
|
CountKeywordArgs: false
|
182
179
|
|
183
180
|
Metrics/BlockLength:
|
@@ -188,16 +185,10 @@ Metrics/BlockLength:
|
|
188
185
|
- "app/admin/*.rb"
|
189
186
|
- "config/**/*.rb"
|
190
187
|
|
191
|
-
# Explicitly set the default value 15
|
192
188
|
Metrics/AbcSize:
|
193
|
-
Max: 15
|
194
189
|
Exclude:
|
195
190
|
- "test/**/*.rb"
|
196
191
|
|
197
|
-
# キーワード引数は引数の数に含めない
|
198
|
-
ParameterLists:
|
199
|
-
CountKeywordArgs: false
|
200
|
-
|
201
192
|
Metrics/ClassLength:
|
202
193
|
Exclude:
|
203
194
|
- "test/**/*.rb"
|
data/fablicop.gemspec
CHANGED
@@ -30,8 +30,9 @@ Gem::Specification.new do |spec|
|
|
30
30
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
31
31
|
spec.require_paths = ["lib"]
|
32
32
|
|
33
|
-
spec.add_dependency "rubocop", "~>
|
33
|
+
spec.add_dependency "rubocop", "~> 1.14.0"
|
34
34
|
spec.add_dependency "rubocop-rspec", ">= 1.15.1"
|
35
|
+
spec.add_dependency "rubocop-rails"
|
35
36
|
spec.add_development_dependency "bundler"
|
36
37
|
spec.add_development_dependency "rake"
|
37
38
|
end
|
data/lib/fablicop/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fablicop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- tommy
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2021-05-12 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rubocop
|
@@ -18,14 +18,14 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - "~>"
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
21
|
+
version: 1.14.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - "~>"
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version:
|
28
|
+
version: 1.14.0
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: rubocop-rspec
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
@@ -40,6 +40,20 @@ dependencies:
|
|
40
40
|
- - ">="
|
41
41
|
- !ruby/object:Gem::Version
|
42
42
|
version: 1.15.1
|
43
|
+
- !ruby/object:Gem::Dependency
|
44
|
+
name: rubocop-rails
|
45
|
+
requirement: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - ">="
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '0'
|
50
|
+
type: :runtime
|
51
|
+
prerelease: false
|
52
|
+
version_requirements: !ruby/object:Gem::Requirement
|
53
|
+
requirements:
|
54
|
+
- - ">="
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: '0'
|
43
57
|
- !ruby/object:Gem::Dependency
|
44
58
|
name: bundler
|
45
59
|
requirement: !ruby/object:Gem::Requirement
|
@@ -115,7 +129,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
115
129
|
version: '0'
|
116
130
|
requirements: []
|
117
131
|
rubyforge_project:
|
118
|
-
rubygems_version: 2.
|
132
|
+
rubygems_version: 2.7.6.2
|
119
133
|
signing_key:
|
120
134
|
specification_version: 4
|
121
135
|
summary: fablicop is a RuboCop configration gem.
|