meowcop 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/config/rubocop.yml +15 -6
- data/lib/meowcop/version.rb +1 -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: fbf5834a309fd61db199a60c332b0bc6302abea1
|
|
4
|
+
data.tar.gz: 4701bdcb231191eae6492387c74387c42b65fab0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b01b578342f2ee04daa07f7d5f17e8ea9b264d079e80abda8c368a87289838f360e9b20b48b759ba691e5f1c6adb50988c486f3b1193a195e879f1fb2d0c9b4d
|
|
7
|
+
data.tar.gz: f0bec101161b3d8b2436ed4bce0fe94c5a2c2467ffeb9ad71d06590d8fad955428aa5f1586e135eb21c5695221f43730d62b748fbbf61c97e16162b7e640e38e
|
data/config/rubocop.yml
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
AllCops:
|
|
2
|
+
TargetRubyVersion: 2.3
|
|
3
|
+
|
|
1
4
|
Lint/AmbiguousRegexpLiteral:
|
|
2
5
|
Enabled: false
|
|
3
6
|
Lint/AssignmentInCondition:
|
|
@@ -23,24 +26,30 @@ Lint/UnusedBlockArgument:
|
|
|
23
26
|
Lint/UnusedMethodArgument:
|
|
24
27
|
Enabled: false
|
|
25
28
|
|
|
29
|
+
# If AbcSize > 50, really really really really really really really complex
|
|
26
30
|
Metrics/AbcSize:
|
|
27
|
-
|
|
31
|
+
Max: 50
|
|
32
|
+
# Use the default setting
|
|
28
33
|
Metrics/BlockNesting:
|
|
29
|
-
Enabled:
|
|
34
|
+
Enabled: true
|
|
30
35
|
Metrics/ClassLength:
|
|
31
36
|
Enabled: false
|
|
32
37
|
Metrics/CyclomaticComplexity:
|
|
33
|
-
|
|
38
|
+
Max: 10
|
|
34
39
|
Metrics/LineLength:
|
|
35
|
-
|
|
40
|
+
Max: 200
|
|
36
41
|
Metrics/MethodLength:
|
|
37
42
|
Enabled: false
|
|
38
43
|
Metrics/ModuleLength:
|
|
39
44
|
Enabled: false
|
|
45
|
+
# 7 parameters are tooooooo many
|
|
40
46
|
Metrics/ParameterLists:
|
|
41
|
-
Enabled:
|
|
47
|
+
Enabled: true
|
|
48
|
+
Max: 7
|
|
49
|
+
# Use the default setting
|
|
42
50
|
Metrics/PerceivedComplexity:
|
|
43
|
-
Enabled:
|
|
51
|
+
Enabled: true
|
|
52
|
+
# Use the default setting
|
|
44
53
|
|
|
45
54
|
Performance/RedundantBlockCall:
|
|
46
55
|
Enabled: false
|
data/lib/meowcop/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: meowcop
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Masataka Kuwabara
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-10-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|