fablicop 1.0.8 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/.base_rubocop.yml +3 -34
- data/lib/fablicop/version.rb +1 -1
- 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: e221bafa27300d5b7a6f2ac50fde2801067fe05a2d383d00ce4a92e85d42c436
|
4
|
+
data.tar.gz: ee8f711d1ac0d19543d615a395366d1ecae88a90bbb1b6b8612a500a8ee0795b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc59b1d764b4d4aad55663c114babfb5a3a997025c4ce0b14e00da46bc95e8a0be33c65041c8696a528406c7bb1af72060182e702e821bbde7420815e31c7ad5
|
7
|
+
data.tar.gz: 8b7d45aad11ae241ff61b99bfd94d52441a66b80a21da26d8c1561451c5130c7b72a879e5ad12fc94bacd1d66ccc9d614a53cd29146ca1358c0cd2308005df50
|
data/config/.base_rubocop.yml
CHANGED
@@ -93,9 +93,6 @@ Style/DoubleNegation:
|
|
93
93
|
Style/ParallelAssignment:
|
94
94
|
Enabled: false
|
95
95
|
|
96
|
-
Style/BracesAroundHashParameters:
|
97
|
-
Enabled: false
|
98
|
-
|
99
96
|
Style/MethodCallWithoutArgsParentheses:
|
100
97
|
Enabled: false
|
101
98
|
|
@@ -113,29 +110,13 @@ Style/NumericLiterals:
|
|
113
110
|
Exclude:
|
114
111
|
- "db/fixtures/*.rb"
|
115
112
|
|
116
|
-
# 候補が多いときはcondみたいに使いたい
|
117
|
-
Style/EmptyCaseCondition:
|
118
|
-
Enabled: false
|
119
|
-
|
120
|
-
Style/DoubleNegation:
|
121
|
-
Enabled: false
|
122
|
-
|
123
|
-
Style/ParallelAssignment:
|
124
|
-
Enabled: false
|
125
|
-
|
126
|
-
Style/MethodCallWithoutArgsParentheses:
|
127
|
-
Enabled: false
|
128
|
-
|
129
|
-
Style/DefWithParentheses:
|
130
|
-
Enabled: false
|
131
|
-
|
132
113
|
##################### Layout ##################################
|
133
114
|
# 引数前のスペースは複数許可
|
134
115
|
Layout/SpaceBeforeFirstArg:
|
135
116
|
Enabled: false
|
136
117
|
Layout/SpaceInLambdaLiteral:
|
137
118
|
Enabled: false
|
138
|
-
Layout/
|
119
|
+
Layout/HeredocIndentation:
|
139
120
|
Enabled: false
|
140
121
|
|
141
122
|
# 引数の書き方の多様性を許可
|
@@ -196,18 +177,10 @@ Layout/DotPosition:
|
|
196
177
|
Layout/ClosingParenthesisIndentation:
|
197
178
|
Exclude:
|
198
179
|
- "db/fixtures/*.rb"
|
199
|
-
Layout/
|
180
|
+
Layout/ParameterAlignment:
|
200
181
|
Exclude:
|
201
182
|
- "db/fixtures/*.rb"
|
202
183
|
|
203
|
-
# 引数前のスペースは複数許可
|
204
|
-
Layout/SpaceBeforeFirstArg:
|
205
|
-
Enabled: false
|
206
|
-
Layout/SpaceInLambdaLiteral:
|
207
|
-
Enabled: false
|
208
|
-
Layout/HeredocIndentation:
|
209
|
-
Enabled: false
|
210
|
-
|
211
184
|
# * 警告 120文字
|
212
185
|
# * 禁止 160文字
|
213
186
|
# のイメージ
|
@@ -215,6 +188,7 @@ Layout/LineLength:
|
|
215
188
|
Max: 160
|
216
189
|
Exclude:
|
217
190
|
- "db/migrate/*.rb"
|
191
|
+
- "db/fixtures/*.rb" # カラムが多い、もしくは文章が含まれるfixtureは一行が長くなってしまうため無効化
|
218
192
|
|
219
193
|
##################### Lint ##################################
|
220
194
|
|
@@ -249,8 +223,3 @@ Metrics/AbcSize:
|
|
249
223
|
Metrics/ClassLength:
|
250
224
|
Exclude:
|
251
225
|
- "test/**/*.rb"
|
252
|
-
|
253
|
-
# カラムが多い、もしくは文章が含まれるfixtureは一行が長くなってしまうため無効化
|
254
|
-
Metrics/LineLength:
|
255
|
-
Exclude:
|
256
|
-
- "db/fixtures/*.rb"
|
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.9
|
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: 2021-06-
|
13
|
+
date: 2021-06-02 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rubocop
|