rubocop-fnando 0.0.4 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop-rails.yml +10 -8
- data/.rubocop.yml +35 -4
- data/rubocop-fnando.gemspec +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2fb9593e7315056e15c21241bd2a9b862694ee3061b33fbb7e7a516e87cf389c
|
4
|
+
data.tar.gz: 6195cf003fff47a86a5242a59313a593b1f884d2a8e2a78be02cf1ba2f319bce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c32e7a23d468f0cb375c34c4c5337ee0d1c00384df60975f33c944944c72bad96928508f4598ec48ff6c2b2cc53508909139a1f74e41ee17b8bfedf4d10ea84
|
7
|
+
data.tar.gz: 3bac8275658355c5ae19fefbfdfe2b7706f9f84f573b7bb3b0f12109e86b112dd1e810479365362545aea5a7c2f100f2833d7dcb9bf65238febe443d740b6c8e
|
data/.rubocop-rails.yml
CHANGED
@@ -12,19 +12,21 @@ require:
|
|
12
12
|
|
13
13
|
Metrics/AbcSize:
|
14
14
|
Exclude:
|
15
|
-
- db
|
16
|
-
-
|
17
|
-
- test
|
15
|
+
- !ruby/regexp /^db\/.*?\.rb$/
|
16
|
+
- !ruby/regexp /^config\/config\.rb$/
|
17
|
+
- !ruby/regexp /^test\/support\/.*?\.rb$/
|
18
18
|
|
19
19
|
Metrics/BlockLength:
|
20
20
|
Exclude:
|
21
|
-
-
|
22
|
-
-
|
21
|
+
- !ruby/regexp /^config\/config\.rb$/
|
22
|
+
- !ruby/regexp /^config\/routes\.rb$/
|
23
|
+
- !ruby/regexp /^config\/routes\/.*?\.rb$/
|
24
|
+
- !ruby/regexp /^test\/support\/factories\/.*?\.rb$/
|
23
25
|
|
24
|
-
|
26
|
+
Layout/LineLength:
|
25
27
|
Exclude:
|
26
|
-
- db
|
27
|
-
- config
|
28
|
+
- !ruby/regexp /^db\/.*?\.rb$/
|
29
|
+
- !ruby/regexp /^config\/environments\/.*?\.rb$/
|
28
30
|
|
29
31
|
Rails/Delegate:
|
30
32
|
Enabled: false
|
data/.rubocop.yml
CHANGED
@@ -1,4 +1,21 @@
|
|
1
1
|
---
|
2
|
+
AllCops:
|
3
|
+
Exclude:
|
4
|
+
- !ruby/regexp /^node_modules\//
|
5
|
+
- !ruby/regexp /^bin\//
|
6
|
+
- !ruby/regexp /^db\/schema\.rb$/
|
7
|
+
|
8
|
+
Lint/DeprecatedOpenSSLConstant:
|
9
|
+
Enabled: true
|
10
|
+
|
11
|
+
Lint/RaiseException:
|
12
|
+
Enabled: true
|
13
|
+
|
14
|
+
Lint/StructNewOverride:
|
15
|
+
Enabled: true
|
16
|
+
|
17
|
+
Layout/SpaceAroundMethodCallOperator:
|
18
|
+
Enabled: true
|
2
19
|
|
3
20
|
Layout/FirstArrayElementLineBreak:
|
4
21
|
Enabled: true
|
@@ -18,10 +35,6 @@ Layout/SpaceInsideHashLiteralBraces:
|
|
18
35
|
EnforcedStyle: no_space
|
19
36
|
EnforcedStyleForEmptyBraces: no_space
|
20
37
|
|
21
|
-
Lint/Debugger:
|
22
|
-
Exclude:
|
23
|
-
- test/**/*
|
24
|
-
|
25
38
|
Layout/LineLength:
|
26
39
|
Enabled: true
|
27
40
|
Max: 80
|
@@ -32,6 +45,9 @@ Metrics/MethodLength:
|
|
32
45
|
Naming/MethodParameterName:
|
33
46
|
Enabled: false
|
34
47
|
|
48
|
+
Naming/RescuedExceptionsVariableName:
|
49
|
+
PreferredName: error
|
50
|
+
|
35
51
|
Style/AccessModifierDeclarations:
|
36
52
|
EnforcedStyle: inline
|
37
53
|
|
@@ -67,3 +83,18 @@ Style/SymbolArray:
|
|
67
83
|
|
68
84
|
Style/TrailingUnderscoreVariable:
|
69
85
|
Enabled: false
|
86
|
+
|
87
|
+
Style/HashEachMethods:
|
88
|
+
Enabled: true
|
89
|
+
|
90
|
+
Style/HashTransformKeys:
|
91
|
+
Enabled: true
|
92
|
+
|
93
|
+
Style/HashTransformValues:
|
94
|
+
Enabled: true
|
95
|
+
|
96
|
+
Style/ExponentialNotation:
|
97
|
+
Enabled: true
|
98
|
+
|
99
|
+
Style/SlicingWithRange:
|
100
|
+
Enabled: false
|
data/rubocop-fnando.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-fnando
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nando Vieira
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-06-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -58,7 +58,7 @@ homepage: https://github.com/fnando/rubocop-fnando
|
|
58
58
|
licenses:
|
59
59
|
- MIT
|
60
60
|
metadata: {}
|
61
|
-
post_install_message:
|
61
|
+
post_install_message:
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|
64
64
|
- lib
|
@@ -73,8 +73,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
75
|
requirements: []
|
76
|
-
rubygems_version: 3.
|
77
|
-
signing_key:
|
76
|
+
rubygems_version: 3.1.2
|
77
|
+
signing_key:
|
78
78
|
specification_version: 4
|
79
79
|
summary: Rubocop configuration
|
80
80
|
test_files: []
|