kevinrutherford-reek 0.3.1.4 → 0.3.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/config/defaults.reek +53 -0
  2. data/lib/reek.rb +1 -1
  3. metadata +1 -1
@@ -0,0 +1,53 @@
1
+ ---
2
+ LargeClass:
3
+ max_methods: 25
4
+ exclude:
5
+ - Array
6
+ - Hash
7
+ - Module
8
+ - String
9
+ enabled: true
10
+ LongParameterList:
11
+ max_params: 3
12
+ exclude: []
13
+
14
+ enabled: true
15
+ FeatureEnvy:
16
+ exclude:
17
+ - initialize
18
+ enabled: true
19
+ UncommunicativeName:
20
+ accept:
21
+ - Inline::C
22
+ exclude: []
23
+
24
+ enabled: true
25
+ reject:
26
+ - !ruby/regexp /^.[0-9]*$/
27
+ NestedIterators:
28
+ exclude: []
29
+
30
+ enabled: true
31
+ LongMethod:
32
+ max_statements: 5
33
+ exclude:
34
+ - initialize
35
+ enabled: true
36
+ Duplication:
37
+ exclude: []
38
+
39
+ enabled: true
40
+ max_calls: 1
41
+ UtilityFunction:
42
+ exclude: []
43
+
44
+ enabled: true
45
+ ControlCouple:
46
+ exclude:
47
+ - initialize
48
+ enabled: true
49
+ LongYieldList:
50
+ max_params: 3
51
+ exclude: []
52
+
53
+ enabled: true
data/lib/reek.rb CHANGED
@@ -4,5 +4,5 @@ require 'reek/report'
4
4
  require 'reek/smells/smells'
5
5
 
6
6
  module Reek # :doc:
7
- VERSION = '0.3.1.4'
7
+ VERSION = '0.3.1.5'
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kevinrutherford-reek
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1.4
4
+ version: 0.3.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Rutherford