rubocop-codetakt 0.1.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +18 -0
- data/README.md +1 -1
- data/config/default.yml +24 -2
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a8a103b44ad31df14cbd3df9a4dd871112b87ae9
|
4
|
+
data.tar.gz: 0aada3c9ce3bcb94ff6f084eecc9991f8076bdf1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2fb3a7aede164e7f3a986c622bad9c9677e28e69b4ec22c7a83d5646d6f2e93ee914da54f7b442311f601d2608cf9c38ac0669d6e8ace67bf95b20e65e5ea1e
|
7
|
+
data.tar.gz: 1138cb73ec4a9c4b2a4d77d7ffd99245b9e0dfab696fc7410e2b6dcdde9f5f9803ec6bf189b692596a8cbc8d70aff9dfbc8d27b250e0aedc6d4b7019bebef002
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
# rubocop-codetakt
|
2
|
+
|
3
|
+
## v0.2.0 (2017-03-21)
|
4
|
+
|
5
|
+
[full changelog](https://github.com/codetakt/rubocop-codetakt/compare/v0.1.0...v0.2.0)
|
6
|
+
|
7
|
+
* Enabled:
|
8
|
+
* `DisplayCopNames`
|
9
|
+
|
10
|
+
* Disabled:
|
11
|
+
* `Style/DoubleNegation`
|
12
|
+
|
13
|
+
* Loosened:
|
14
|
+
* `Metrics/AbcSize`
|
15
|
+
* `Metrics/CyclomaticComplexity`
|
16
|
+
* `Metrics/LineLength`
|
17
|
+
* `Metrics/MethodLength`
|
18
|
+
* `Metrics/PerceivedComplexity`
|
data/README.md
CHANGED
data/config/default.yml
CHANGED
@@ -1,10 +1,29 @@
|
|
1
|
+
AllCops:
|
2
|
+
DisplayCopNames: true
|
3
|
+
|
4
|
+
Metrics/AbcSize:
|
5
|
+
Max: 30
|
6
|
+
|
7
|
+
Metrics/CyclomaticComplexity:
|
8
|
+
Max: 10
|
9
|
+
|
10
|
+
# https://github.com/onk/onkcop/blob/f3283b5/config/rubocop.yml#L283-L289
|
11
|
+
# > * 警告 120文字
|
12
|
+
# > * 禁止 160文字
|
13
|
+
# > のイメージ
|
1
14
|
Metrics/LineLength:
|
2
|
-
Max:
|
15
|
+
Max: 160
|
16
|
+
|
17
|
+
Metrics/MethodLength:
|
18
|
+
Max: 20
|
19
|
+
|
20
|
+
Metrics/PerceivedComplexity:
|
21
|
+
Max: 10
|
3
22
|
|
4
23
|
Style/AsciiComments:
|
5
24
|
Enabled: false
|
6
25
|
|
7
|
-
# https://github.com/onk/onkcop/blob/
|
26
|
+
# https://github.com/onk/onkcop/blob/f3283b5/config/rubocop.yml#L39-L42
|
8
27
|
# > scope が違うとか親 module の存在確認が必要とかデメリットはあるが、
|
9
28
|
# > namespace 付きのクラスはかなり頻繁に作るので簡単に書きたい。
|
10
29
|
Style/ClassAndModuleChildren:
|
@@ -13,6 +32,9 @@ Style/ClassAndModuleChildren:
|
|
13
32
|
Style/Documentation:
|
14
33
|
Enabled: false
|
15
34
|
|
35
|
+
Style/DoubleNegation:
|
36
|
+
Enabled: false
|
37
|
+
|
16
38
|
Style/EmptyMethod:
|
17
39
|
Enabled: false
|
18
40
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-codetakt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- codeTakt
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-03-
|
11
|
+
date: 2017-03-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -58,6 +58,7 @@ executables: []
|
|
58
58
|
extensions: []
|
59
59
|
extra_rdoc_files: []
|
60
60
|
files:
|
61
|
+
- CHANGELOG.md
|
61
62
|
- LICENSE
|
62
63
|
- README.md
|
63
64
|
- config/default.yml
|