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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d493c351911ea686174b2e6254a358ffe91c14016241a176f7eac7c4485ecf84
4
- data.tar.gz: cee5ffc53857b76c6074ae4c888ad918d33e4082349b182f35d66ea9b830da20
3
+ metadata.gz: 2fb9593e7315056e15c21241bd2a9b862694ee3061b33fbb7e7a516e87cf389c
4
+ data.tar.gz: 6195cf003fff47a86a5242a59313a593b1f884d2a8e2a78be02cf1ba2f319bce
5
5
  SHA512:
6
- metadata.gz: c2c0472c1c60b2aae7eeb7b6d368a97d173953d5842adc5a643935baf45e48e1040a483b042fa516ce31a76c40e1913ae02f8bc545dc9607aa8305dff52aa55d
7
- data.tar.gz: 68aa84614cfb40a665469198bb3a134a42b82009483c30a75120542f1312a979ba23662c761e0b9a761eb476e1922e5821e1c80cc850a28fc21342eecbac043c
6
+ metadata.gz: 4c32e7a23d468f0cb375c34c4c5337ee0d1c00384df60975f33c944944c72bad96928508f4598ec48ff6c2b2cc53508909139a1f74e41ee17b8bfedf4d10ea84
7
+ data.tar.gz: 3bac8275658355c5ae19fefbfdfe2b7706f9f84f573b7bb3b0f12109e86b112dd1e810479365362545aea5a7c2f100f2833d7dcb9bf65238febe443d740b6c8e
@@ -12,19 +12,21 @@ require:
12
12
 
13
13
  Metrics/AbcSize:
14
14
  Exclude:
15
- - db/**/*.rb
16
- - config/config.rb
17
- - test/support/**/*.rb
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
- - config/config.rb
22
- - test/**/*.rb
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
- Metrics/LineLength:
26
+ Layout/LineLength:
25
27
  Exclude:
26
- - db/**/*.rb
27
- - config/environments/**/*.rb
28
+ - !ruby/regexp /^db\/.*?\.rb$/
29
+ - !ruby/regexp /^config\/environments\/.*?\.rb$/
28
30
 
29
31
  Rails/Delegate:
30
32
  Enabled: false
@@ -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
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "rubocop-fnando"
5
- spec.version = "0.0.4"
5
+ spec.version = "0.0.9"
6
6
  spec.authors = ["Nando Vieira"]
7
7
  spec.email = ["me@fnando.com"]
8
8
 
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
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: 2019-12-31 00:00:00.000000000 Z
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.0.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: []