supa 0.1.4 → 0.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 89cc30c7737fcae1910d74529b721b58c082abbf
4
- data.tar.gz: 4f76b510e84e0fb230decb8df951ab0f646cc022
3
+ metadata.gz: 3d6a5a38a7de951369b540fcbb39e54a50cba0ed
4
+ data.tar.gz: 49899892cd5f32fe41f650146790dcaabda04318
5
5
  SHA512:
6
- metadata.gz: 1d4cd9188e81f3de4c28ec45424e09411b6e20d3450215153263c20e9c61d4b463b2da3a6d953530080678efd7914387b245f3c22bb53f9438b5e9a9302e0c96
7
- data.tar.gz: 7c57a67ca5d224cccbf9f7a59f889a7f73daf041c454b21372817a6e26cb4a717310ca6447b3f37b83868acc07d5e26c0ab79cf276f8cc6d69471a41128621db
6
+ metadata.gz: 07bc54612b98b178c79217479ceaccd141e5f34dea1dd85fadb14385e9f40c6f5deaba4c28d41575e125494ce1440e6dc4bf7b173b9db14f6593c060bbf4f473
7
+ data.tar.gz: a94ccdbf212c62e09c4adcabdb70b3627edbc606d0d769998d7fee75315e64722d5437a32ef06a70baf332fdd81af567321f3bfb21b28f3d1939421879fb0c13
data/.codeclimate.yml CHANGED
@@ -2,22 +2,19 @@
2
2
  engines:
3
3
  duplication:
4
4
  enabled: true
5
- exclude_fingerprints:
6
- - 8fafabb5096a8bf78bd572e945af11c7
7
- - ae15dfea2e23ace8e7ac8f970d624a67
8
- - 47ba1ed25f6c2341a41c4be35a5575c5
9
- - 3bde68650c7c2b328cb49485ce794235
10
- - 190256b661c5354e34dc7a770e65da42
11
- - 190256b661c5354e34dc7a770e65da42
5
+ exclude_paths:
6
+ - spec/
12
7
  config:
13
8
  languages:
14
- - ruby
15
- fixme:
16
- enabled: true
9
+ ruby:
10
+ mass_threshold: 30
17
11
  rubocop:
18
12
  enabled: true
13
+ reek:
14
+ enabled: true
19
15
  ratings:
20
16
  paths:
21
17
  - "**.rb"
22
18
  exclude_paths:
23
- - spec/
19
+ - tmp/
20
+ - spec/fixtures/
data/.reek ADDED
@@ -0,0 +1,128 @@
1
+ ---
2
+ Attribute:
3
+ enabled: false
4
+ exclude: []
5
+ BooleanParameter:
6
+ enabled: true
7
+ exclude: []
8
+ ClassVariable:
9
+ enabled: true
10
+ exclude: []
11
+ ControlParameter:
12
+ enabled: true
13
+ exclude: []
14
+ DataClump:
15
+ enabled: true
16
+ exclude: []
17
+ max_copies: 2
18
+ min_clump_size: 2
19
+ DuplicateMethodCall:
20
+ enabled: false
21
+ exclude: []
22
+ max_calls: 1
23
+ allow_calls: []
24
+ FeatureEnvy:
25
+ enabled: true
26
+ exclude: []
27
+ InstanceVariableAssumption:
28
+ enabled: false
29
+ exclude: []
30
+ IrresponsibleModule:
31
+ enabled: false
32
+ exclude: []
33
+ LongParameterList:
34
+ enabled: true
35
+ exclude: []
36
+ max_params: 3
37
+ overrides:
38
+ initialize:
39
+ max_params: 5
40
+ LongYieldList:
41
+ enabled: true
42
+ exclude: []
43
+ max_params: 3
44
+ ManualDispatch:
45
+ enabled: true
46
+ exclude: []
47
+ ModuleInitialize:
48
+ enabled: true
49
+ exclude: []
50
+ NestedIterators:
51
+ enabled: true
52
+ exclude: []
53
+ max_allowed_nesting: 2
54
+ ignore_iterators:
55
+ - tap
56
+ NilCheck:
57
+ enabled: true
58
+ exclude: []
59
+ PrimaDonnaMethod:
60
+ enabled: true
61
+ exclude: []
62
+ RepeatedConditional:
63
+ enabled: true
64
+ exclude: []
65
+ max_ifs: 2
66
+ SubclassedFromCoreClass:
67
+ enabled: true
68
+ exclude: []
69
+ TooManyConstants:
70
+ enabled: true
71
+ exclude: []
72
+ max_constants: 10
73
+ TooManyInstanceVariables:
74
+ enabled: true
75
+ exclude: []
76
+ max_instance_variables: 4
77
+ TooManyMethods:
78
+ enabled: true
79
+ exclude: []
80
+ max_methods: 15
81
+ TooManyStatements:
82
+ enabled: true
83
+ exclude:
84
+ - initialize
85
+ max_statements: 10
86
+ UncommunicativeMethodName:
87
+ enabled: true
88
+ exclude: []
89
+ reject:
90
+ - !ruby/regexp /^[a-z]$/
91
+ - !ruby/regexp /[0-9]$/
92
+ - !ruby/regexp /[A-Z]/
93
+ accept: []
94
+ UncommunicativeModuleName:
95
+ enabled: true
96
+ exclude: []
97
+ reject:
98
+ - !ruby/regexp /^.$/
99
+ - !ruby/regexp /[0-9]$/
100
+ accept: []
101
+ UncommunicativeParameterName:
102
+ enabled: true
103
+ exclude: []
104
+ reject:
105
+ - !ruby/regexp /^.$/
106
+ - !ruby/regexp /[0-9]$/
107
+ - !ruby/regexp /[A-Z]/
108
+ - !ruby/regexp /^_/
109
+ accept: []
110
+ UncommunicativeVariableName:
111
+ enabled: true
112
+ exclude: []
113
+ reject:
114
+ - !ruby/regexp /^.$/
115
+ - !ruby/regexp /[0-9]$/
116
+ - !ruby/regexp /[A-Z]/
117
+ accept:
118
+ - !ruby/regexp /^_$/
119
+ UnusedParameters:
120
+ enabled: true
121
+ exclude: []
122
+ UnusedPrivateMethod:
123
+ enabled: false
124
+ exclude: []
125
+ UtilityFunction:
126
+ enabled: true
127
+ exclude: []
128
+ public_methods_only: true
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --color
2
+ --order rand