1
1
# This configuration was generated by
2
2
# `rubocop --auto-gen-config`
3
- # on 2017-05-19 04:21 :10 -0300 using RuboCop version 0.48.1.
3
+ # on 2017-05-23 20:28 :10 -0300 using RuboCop version 0.48.1.
4
4
# The point is for the user to remove these configuration records
5
5
# one by one as the offenses are removed from the code base.
6
6
# Note that changes in the inspected code, or installation of new
7
7
# versions of RuboCop, may require this file to be generated again.
8
8
9
+ # Offense count: 1
10
+ Lint/AmbiguousBlockAssociation :
11
+ Exclude :
12
+ - ' lib/normalizy/extensions.rb'
13
+
14
+ # Offense count: 1
15
+ Lint/ShadowingOuterLocalVariable :
16
+ Exclude :
17
+ - ' lib/normalizy/extensions.rb'
18
+
19
+ # Offense count: 1
20
+ # Cop supports --auto-correct.
21
+ # Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods.
22
+ Lint/UnusedMethodArgument :
23
+ Exclude :
24
+ - ' lib/normalizy/extensions.rb'
25
+
9
26
# Offense count: 2
10
27
Lint/UselessAssignment :
11
28
Exclude :
12
29
- ' spec/normalizy/filters/date_spec.rb'
13
30
14
- # Offense count: 27
31
+ # Offense count: 19
15
32
# Configuration parameters: CountComments, ExcludedMethods.
16
33
Metrics/BlockLength :
17
- Max : 200
34
+ Max : 152
18
35
19
36
# Offense count: 1
20
37
RSpec/DescribeClass :
21
38
Exclude :
22
- - ' spec/normalizy/extensions/apply_normalizy_spec .rb'
39
+ - ' spec/normalizy/extensions/model_spec .rb'
23
40
24
- # Offense count: 10
41
+ # Offense count: 9
25
42
RSpec/DescribeMethod :
26
43
Exclude :
27
44
- ' spec/normalizy/config/default_filters_spec.rb'
28
45
- ' spec/normalizy/config/initialize_spec.rb'
29
46
- ' spec/normalizy/config/normalizy_aliases_spec.rb'
30
- - ' spec/normalizy/config/normalizy_raws_spec.rb'
31
47
- ' spec/normalizy/extensions/filters/date_spec.rb'
32
48
- ' spec/normalizy/extensions/filters/money_spec.rb'
33
49
- ' spec/normalizy/extensions/filters/number_spec.rb'
34
50
- ' spec/normalizy/extensions/filters/percent_spec.rb'
35
51
- ' spec/normalizy/extensions/filters/strip_spec.rb'
36
52
- ' spec/normalizy/extensions/normalizy_rules_spec.rb'
37
53
38
- # Offense count: 6
54
+ # Offense count: 10
39
55
# Configuration parameters: Max.
40
56
RSpec/ExampleLength :
41
57
Exclude :
42
58
- ' spec/normalizy/config/add_spec.rb'
43
59
- ' spec/normalizy/config/initialize_spec.rb'
60
+ - ' spec/normalizy/extensions/model_spec.rb'
44
61
- ' spec/normalizy/extensions/normalizy_rules_spec.rb'
62
+ - ' spec/normalizy/rspec/matcher/matches_spec.rb'
45
63
46
- # Offense count: 7
64
+ # Offense count: 6
47
65
# Configuration parameters: CustomTransform, IgnoreMethods.
48
66
RSpec/FilePath :
49
67
Exclude :
@@ -53,40 +71,41 @@ RSpec/FilePath:
53
71
- ' spec/normalizy/extensions/filters/number_spec.rb'
54
72
- ' spec/normalizy/extensions/filters/percent_spec.rb'
55
73
- ' spec/normalizy/extensions/filters/strip_spec.rb'
56
- - ' spec/normalizy/rspec/matcher/matchers_spec.rb'
57
-
58
- # Offense count: 2
59
- RSpec/LetSetup :
60
- Exclude :
61
- - ' spec/normalizy/rspec/matcher/from_spec.rb'
62
- - ' spec/normalizy/rspec/matcher/to_spec.rb'
63
74
64
75
# Offense count: 4
65
76
RSpec/MultipleExpectations :
66
77
Max : 2
67
78
68
- # Offense count: 211
79
+ # Offense count: 215
69
80
RSpec/NamedSubject :
70
81
Exclude :
71
82
- ' spec/normalizy/config/default_filters_spec.rb'
72
83
- ' spec/normalizy/config/initialize_spec.rb'
73
84
- ' spec/normalizy/config/normalizy_aliases_spec.rb'
74
- - ' spec/normalizy/config/normalizy_raws_spec.rb'
75
85
- ' spec/normalizy/filters/date_spec.rb'
76
86
- ' spec/normalizy/filters/money_spec.rb'
77
87
- ' spec/normalizy/filters/number_spec.rb'
78
88
- ' spec/normalizy/filters/percent_spec.rb'
79
89
- ' spec/normalizy/filters/strip_spec.rb'
80
90
81
- # Offense count: 51
91
+ # Offense count: 13
82
92
# Configuration parameters: Max.
83
93
RSpec/NestedGroups :
84
94
Exclude :
85
- - ' spec/normalizy/extensions/apply_normalizy_spec.rb'
86
- - ' spec/normalizy/extensions/normalizy_rules_spec.rb'
87
95
- ' spec/normalizy/filters/money_spec.rb'
88
96
- ' spec/normalizy/filters/percent_spec.rb'
89
- - ' spec/normalizy/rspec/matcher/matchers_spec.rb'
97
+
98
+ # Offense count: 2
99
+ RSpec/RepeatedExample :
100
+ Exclude :
101
+ - ' spec/normalizy/filters/date_spec.rb'
102
+
103
+ # Offense count: 4
104
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
105
+ # SupportedStyles: strict, flexible
106
+ Rails/TimeZone :
107
+ Exclude :
108
+ - ' spec/normalizy/filters/date_spec.rb'
90
109
91
110
# Offense count: 2
92
111
# Configuration parameters: EnforcedStyle, SupportedStyles.
@@ -95,11 +114,3 @@ Style/FormatString:
95
114
Exclude :
96
115
- ' lib/normalizy/filters/money.rb'
97
116
- ' lib/normalizy/filters/percent.rb'
98
-
99
- # Offense count: 1
100
- # Cop supports --auto-correct.
101
- # Configuration parameters: EnforcedStyle, SupportedStyles.
102
- # SupportedStyles: line_count_dependent, lambda, literal
103
- Style/Lambda :
104
- Exclude :
105
- - ' lib/normalizy/extensions.rb'
0 commit comments