1
1
# This configuration was generated by
2
2
# `rubocop --auto-gen-config`
3
- # on 2017-07-28 17:33:15 +0200 using RuboCop version 0.49.1.
3
+ # on 2017-07-31 15:28:00 +0200 using RuboCop version 0.49.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
9
# Offense count: 1
10
- # Cop supports --auto-correct.
11
- Layout/EmptyLinesAroundExceptionHandlingKeywords :
12
- Exclude :
13
- - ' app/controllers/services_controller.rb'
14
-
15
- # Offense count: 19
16
- # Cop supports --auto-correct.
17
- # Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SupportedStylesForEmptyBraces, SpaceBeforeBlockParameters.
18
- # SupportedStyles: space, no_space
19
- # SupportedStylesForEmptyBraces: space, no_space
20
- Layout/SpaceInsideBlockBraces :
21
- Exclude :
22
- - ' bin/spring'
23
- - ' config/spring.rb'
24
- - ' lib/rmt/downloader.rb'
25
- - ' lib/rmt/rpm/base_parser.rb'
26
- - ' lib/tasks/potato.rake'
27
- - ' spec/factories/products.rb'
28
- - ' spec/factories/repositories.rb'
29
- - ' spec/factories/systems.rb'
30
- - ' spec/rails_helper.rb'
31
- - ' spec/requests/services_controller_spec.rb'
32
-
33
- # Offense count: 3
34
- RSpec/EmptyLineAfterFinalLet :
35
- Exclude :
36
- - ' spec/lib/rmt/rpm/deltainfo_xml_parser_spec.rb'
37
- - ' spec/lib/rmt/rpm/repomd_xml_parser_spec.rb'
38
- - ' spec/models/activation_spec.rb'
39
-
40
- # Offense count: 16
41
- RSpec/EmptyLineAfterSubject :
42
- Exclude :
43
- - ' spec/models/siebel/activity_spec.rb'
44
- - ' spec/models/repository_spec.rb'
45
- - ' spec/requests/api/connect/v3/subscriptions/systems_controller_spec.rb'
46
- - ' spec/requests/api/connect/v3/systems/products_controller_spec.rb'
47
- - ' spec/requests/api/connect/v3/systems/systems_controller_spec.rb'
48
- - ' spec/requests/api/connect/v4/systems/products_controller_spec.rb'
49
- - ' spec/support/shared_examples/product_checks.rb'
50
-
51
- # Offense count: 2
52
10
# Configuration parameters: Max.
53
11
RSpec/ExampleLength :
54
12
Exclude :
55
13
- ' spec/features/**/*'
56
- - ' spec/lib/rmt/rpm/primary_xml_parser_spec.rb'
57
14
- ' spec/lib/rmt/rpm/repomd_xml_parser_spec.rb'
58
15
59
- # Offense count: 29
60
- # Configuration parameters: EnforcedStyle, SupportedStyles.
61
- # SupportedStyles: is_expected, should
62
- RSpec/ImplicitExpect :
63
- Exclude :
64
- - ' spec/models/activation_spec.rb'
65
- - ' spec/models/product_spec.rb'
66
- - ' spec/models/repository_spec.rb'
67
- - ' spec/models/service_spec.rb'
68
- - ' spec/models/system_spec.rb'
69
-
70
16
# Offense count: 1
71
17
RSpec/IteratedExpectation :
72
18
Exclude :
73
19
- ' spec/requests/api/connect/v3/systems/activations_controller_spec.rb'
74
20
75
- # Offense count: 11
76
- RSpec/LeadingSubject :
77
- Exclude :
78
- - ' spec/models/activation_spec.rb'
79
- - ' spec/models/product_spec.rb'
80
- - ' spec/models/service_spec.rb'
81
- - ' spec/models/system_spec.rb'
82
- - ' spec/requests/api/connect/v3/systems/products_controller_spec.rb'
83
- - ' spec/requests/api/connect/v4/systems/products_controller_spec.rb'
84
- - ' spec/requests/services_controller_spec.rb'
85
- - ' spec/support/shared_examples/product_checks.rb'
86
-
87
- # Offense count: 1
88
- RSpec/NamedSubject :
89
- Exclude :
90
- - ' spec/lib/rmt/downloader_spec.rb'
91
-
92
21
# Offense count: 19
93
22
# Configuration parameters: Max.
94
23
RSpec/NestedGroups :
@@ -100,95 +29,3 @@ RSpec/NestedGroups:
100
29
- ' spec/requests/api/connect/v3/systems/systems_controller_spec.rb'
101
30
- ' spec/requests/api/connect/v4/systems/products_controller_spec.rb'
102
31
- ' spec/requests/services_controller_spec.rb'
103
-
104
- # Offense count: 1
105
- # Configuration parameters: EnforcedStyle, SupportedStyles.
106
- # SupportedStyles: not_to, to_not
107
- RSpec/NotToNot :
108
- Exclude :
109
- - ' spec/models/service_spec.rb'
110
-
111
- # Offense count: 4
112
- RSpec/ScatteredLet :
113
- Exclude :
114
- - ' spec/models/service_spec.rb'
115
- - ' spec/models/system_spec.rb'
116
-
117
- # Offense count: 1
118
- # Cop supports --auto-correct.
119
- # Configuration parameters: NilOrEmpty, NotPresent, UnlessPresent.
120
- Rails/Blank :
121
- Exclude :
122
- - ' spec/factories/systems.rb'
123
-
124
- # Offense count: 1
125
- # Cop supports --auto-correct.
126
- # Configuration parameters: Whitelist.
127
- # Whitelist: find_by_sql
128
- Rails/DynamicFindBy :
129
- Exclude :
130
- - ' app/models/system.rb'
131
-
132
- # Offense count: 2
133
- Rails/FilePath :
134
- Exclude :
135
- - ' config/environments/development.rb'
136
- - ' spec/rails_helper.rb'
137
-
138
- # Offense count: 1
139
- # Cop supports --auto-correct.
140
- # Configuration parameters: NotNilAndNotEmpty, NotBlank, UnlessBlank.
141
- Rails/Present :
142
- Exclude :
143
- - ' app/controllers/api/connect/v3/systems/products_controller.rb'
144
-
145
- # Offense count: 7
146
- # Cop supports --auto-correct.
147
- # Configuration parameters: EnforcedStyle, SupportedStyles.
148
- # SupportedStyles: always, conditionals
149
- Style/AndOr :
150
- Exclude :
151
- - ' bin/rmt-mirror'
152
- - ' lib/rmt/downloader.rb'
153
- - ' lib/rmt/rpm/deltainfo_xml_parser.rb'
154
- - ' lib/rmt/rpm/primary_xml_parser.rb'
155
- - ' lib/suse/connect/api.rb'
156
-
157
- # Offense count: 3
158
- # Cop supports --auto-correct.
159
- # Configuration parameters: InverseMethods, InverseBlocks.
160
- Style/InverseMethods :
161
- Exclude :
162
- - ' lib/tasks/potato.rake'
163
-
164
- # Offense count: 2
165
- # Cop supports --auto-correct.
166
- Style/MultilineIfModifier :
167
- Exclude :
168
- - ' lib/rmt/rpm/deltainfo_xml_parser.rb'
169
- - ' lib/rmt/rpm/primary_xml_parser.rb'
170
-
171
- # Offense count: 8
172
- # Cop supports --auto-correct.
173
- # Configuration parameters: PreferredDelimiters.
174
- Style/PercentLiteralDelimiters :
175
- Exclude :
176
- - ' config/initializers/fast_gettext.rb'
177
- - ' config/spring.rb'
178
- - ' lib/rmt/downloader.rb'
179
- - ' lib/rmt/rpm/primary_xml_parser.rb'
180
- - ' lib/suse/connect/api.rb'
181
- - ' spec/lib/rmt/downloader_spec.rb'
182
- - ' spec/requests/api/connect/v3/subscriptions/systems_controller_spec.rb'
183
-
184
- # Offense count: 9
185
- # Cop supports --auto-correct.
186
- # Configuration parameters: EnforcedStyle, MinSize, SupportedStyles.
187
- # SupportedStyles: percent, brackets
188
- Style/SymbolArray :
189
- Exclude :
190
- - ' Gemfile'
191
- - ' app/controllers/api/connect/v3/systems/products_controller.rb'
192
- - ' db/migrate/20170619104044_create_products_and_repositories.rb'
193
- - ' lib/tasks/potato.rake'
194
- - ' spec/factories/activations.rb'
0 commit comments