fog-digitalocean 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop_todo.yml +403 -508
- data/.travis.yml +2 -2
- data/README.md +1 -1
- data/fog-digitalocean.gemspec +9 -9
- data/lib/fog/{digitalocean/compute.rb → compute/digitalocean.rb} +4 -4
- data/lib/fog/{digitalocean/models/compute → compute/digitalocean/models}/flavor.rb +0 -0
- data/lib/fog/{digitalocean/models/compute → compute/digitalocean/models}/flavors.rb +0 -0
- data/lib/fog/{digitalocean/models/compute → compute/digitalocean/models}/image.rb +0 -0
- data/lib/fog/{digitalocean/models/compute → compute/digitalocean/models}/images.rb +1 -1
- data/lib/fog/{digitalocean → compute/digitalocean}/models/paging_collection.rb +0 -0
- data/lib/fog/{digitalocean/models/compute → compute/digitalocean/models}/region.rb +0 -0
- data/lib/fog/{digitalocean/models/compute → compute/digitalocean/models}/regions.rb +0 -0
- data/lib/fog/{digitalocean/models/compute → compute/digitalocean/models}/server.rb +0 -0
- data/lib/fog/{digitalocean/models/compute → compute/digitalocean/models}/servers.rb +2 -2
- data/lib/fog/{digitalocean/models/compute → compute/digitalocean/models}/ssh_key.rb +0 -0
- data/lib/fog/{digitalocean/models/compute → compute/digitalocean/models}/ssh_keys.rb +1 -1
- data/lib/fog/{digitalocean/models/compute → compute/digitalocean/models}/volume.rb +0 -0
- data/lib/fog/{digitalocean/models/compute → compute/digitalocean/models}/volumes.rb +1 -1
- data/lib/fog/{digitalocean/requests/compute → compute/digitalocean/requests}/attach_volume.rb +0 -0
- data/lib/fog/{digitalocean/requests/compute → compute/digitalocean/requests}/change_kernel.rb +0 -0
- data/lib/fog/{digitalocean/requests/compute → compute/digitalocean/requests}/convert_to_snapshot.rb +0 -0
- data/lib/fog/{digitalocean/requests/compute → compute/digitalocean/requests}/create_server.rb +0 -0
- data/lib/fog/{digitalocean/requests/compute → compute/digitalocean/requests}/create_ssh_key.rb +0 -0
- data/lib/fog/{digitalocean/requests/compute → compute/digitalocean/requests}/create_volume.rb +0 -0
- data/lib/fog/{digitalocean/requests/compute → compute/digitalocean/requests}/delete_ssh_key.rb +0 -0
- data/lib/fog/{digitalocean/requests/compute → compute/digitalocean/requests}/destroy_server.rb +0 -0
- data/lib/fog/{digitalocean/requests/compute → compute/digitalocean/requests}/destroy_volume.rb +0 -0
- data/lib/fog/{digitalocean/requests/compute → compute/digitalocean/requests}/detach_volume.rb +0 -0
- data/lib/fog/{digitalocean/requests/compute → compute/digitalocean/requests}/disable_backups.rb +0 -0
- data/lib/fog/{digitalocean/requests/compute → compute/digitalocean/requests}/enable_ipv6.rb +0 -0
- data/lib/fog/{digitalocean/requests/compute → compute/digitalocean/requests}/enable_private_networking.rb +0 -0
- data/lib/fog/{digitalocean/requests/compute → compute/digitalocean/requests}/get_droplet_action.rb +0 -0
- data/lib/fog/{digitalocean/requests/compute → compute/digitalocean/requests}/get_image_details.rb +0 -0
- data/lib/fog/{digitalocean/requests/compute → compute/digitalocean/requests}/get_server_details.rb +0 -0
- data/lib/fog/{digitalocean/requests/compute → compute/digitalocean/requests}/get_ssh_key.rb +0 -0
- data/lib/fog/{digitalocean/requests/compute → compute/digitalocean/requests}/get_volume_details.rb +0 -0
- data/lib/fog/{digitalocean/requests/compute → compute/digitalocean/requests}/list_droplet_actions.rb +0 -0
- data/lib/fog/{digitalocean/requests/compute → compute/digitalocean/requests}/list_flavors.rb +0 -0
- data/lib/fog/{digitalocean/requests/compute → compute/digitalocean/requests}/list_images.rb +0 -0
- data/lib/fog/{digitalocean/requests/compute → compute/digitalocean/requests}/list_regions.rb +0 -0
- data/lib/fog/{digitalocean/requests/compute → compute/digitalocean/requests}/list_servers.rb +0 -0
- data/lib/fog/{digitalocean/requests/compute → compute/digitalocean/requests}/list_ssh_keys.rb +0 -0
- data/lib/fog/{digitalocean/requests/compute → compute/digitalocean/requests}/list_volume_actions.rb +0 -0
- data/lib/fog/{digitalocean/requests/compute → compute/digitalocean/requests}/list_volumes.rb +0 -0
- data/lib/fog/{digitalocean/requests/compute → compute/digitalocean/requests}/password_reset.rb +0 -0
- data/lib/fog/{digitalocean/requests/compute → compute/digitalocean/requests}/power_cycle.rb +0 -0
- data/lib/fog/{digitalocean/requests/compute → compute/digitalocean/requests}/power_off.rb +0 -0
- data/lib/fog/{digitalocean/requests/compute → compute/digitalocean/requests}/power_on.rb +0 -0
- data/lib/fog/{digitalocean/requests/compute → compute/digitalocean/requests}/reboot_server.rb +0 -0
- data/lib/fog/{digitalocean/requests/compute → compute/digitalocean/requests}/rebuild.rb +0 -0
- data/lib/fog/{digitalocean/requests/compute → compute/digitalocean/requests}/rename.rb +0 -0
- data/lib/fog/{digitalocean/requests/compute → compute/digitalocean/requests}/resize.rb +0 -0
- data/lib/fog/{digitalocean/requests/compute → compute/digitalocean/requests}/resize_volume.rb +0 -0
- data/lib/fog/{digitalocean/requests/compute → compute/digitalocean/requests}/restore.rb +0 -0
- data/lib/fog/{digitalocean/requests/compute → compute/digitalocean/requests}/shutdown.rb +0 -0
- data/lib/fog/{digitalocean/requests/compute → compute/digitalocean/requests}/snapshot.rb +0 -0
- data/lib/fog/{digitalocean/requests/compute → compute/digitalocean/requests}/transfer_image.rb +0 -0
- data/lib/fog/{digitalocean/requests/compute → compute/digitalocean/requests}/update_ssh_key.rb +0 -0
- data/lib/fog/{digitalocean/requests/compute → compute/digitalocean/requests}/upgrade.rb +0 -0
- data/lib/fog/{digitalocean → compute}/examples/getting_started.md +0 -0
- data/lib/fog/digitalocean.rb +15 -1
- data/lib/fog/digitalocean/CHANGELOG.md +1 -1
- data/lib/fog/digitalocean/version.rb +1 -1
- metadata +87 -88
- data/lib/fog/digitalocean/core.rb +0 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e65c46b5cc9aff7e6efe96ccd7b23aaed81592d6
|
4
|
+
data.tar.gz: 78c70effd2d0ea6828586a915c555ccb93dbc241
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d2aa6e1d436083bca7700fb95c0693d890863f7d2ec8c6753c2baf2c68270ace9445ec7f21010d24db58bc61bbaed3e8726c48623a405d7543e1017542f1317
|
7
|
+
data.tar.gz: 35003d1fbcdb1846b6b34a52cbbef442f759f6e5216a055cfa398e89dacbdf409614ac4a27fe37f223d30ba62f4cecd234f806ead3aa809ff4203d6c49d03757
|
data/.rubocop_todo.yml
CHANGED
@@ -1,606 +1,501 @@
|
|
1
|
-
# This configuration was generated by
|
2
|
-
#
|
1
|
+
# This configuration was generated by
|
2
|
+
# `rubocop --auto-gen-config --no-offense-counts`
|
3
|
+
# on 2018-08-06 11:49:19 -0700 using RuboCop version 0.58.2.
|
3
4
|
# The point is for the user to remove these configuration records
|
4
5
|
# one by one as the offenses are removed from the code base.
|
5
6
|
# Note that changes in the inspected code, or installation of new
|
6
7
|
# versions of RuboCop, may require this file to be generated again.
|
7
8
|
|
8
|
-
# Offense count: 85
|
9
|
-
AccessorMethodName:
|
10
|
-
Enabled: false
|
11
|
-
|
12
|
-
# Offense count: 139
|
13
9
|
# Cop supports --auto-correct.
|
14
|
-
|
15
|
-
|
10
|
+
# Configuration parameters: Include, TreatCommentsAsGroupSeparators.
|
11
|
+
# Include: **/*.gemspec
|
12
|
+
Gemspec/OrderedDependencies:
|
13
|
+
Exclude:
|
14
|
+
- 'fog-digitalocean.gemspec'
|
16
15
|
|
17
|
-
# Offense count: 449
|
18
16
|
# Cop supports --auto-correct.
|
19
|
-
# Configuration parameters: EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
17
|
+
# Configuration parameters: EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle.
|
18
|
+
# SupportedHashRocketStyles: key, separator, table
|
19
|
+
# SupportedColonStyles: key, separator, table
|
20
|
+
# SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit
|
21
|
+
Layout/AlignHash:
|
22
|
+
Exclude:
|
23
|
+
- 'lib/fog/compute/digitalocean/requests/get_image_details.rb'
|
24
|
+
|
24
25
|
# Cop supports --auto-correct.
|
25
|
-
# Configuration parameters: EnforcedStyle,
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
26
|
+
# Configuration parameters: EnforcedStyle, IndentOneStep, IndentationWidth.
|
27
|
+
# SupportedStyles: case, end
|
28
|
+
Layout/CaseIndentation:
|
29
|
+
Exclude:
|
30
|
+
- 'lib/fog/bin/digitalocean.rb'
|
31
|
+
- 'lib/fog/compute/digitalocean.rb'
|
32
|
+
|
33
|
+
# Cop supports --auto-correct.
|
34
|
+
Layout/CommentIndentation:
|
35
|
+
Exclude:
|
36
|
+
- 'lib/fog/compute/digitalocean/requests/list_flavors.rb'
|
36
37
|
|
37
|
-
# Offense count: 221
|
38
38
|
# Cop supports --auto-correct.
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
Enabled: false
|
45
|
-
|
46
|
-
# Offense count: 9
|
47
|
-
AsciiComments:
|
48
|
-
Enabled: false
|
49
|
-
|
50
|
-
# Offense count: 594
|
51
|
-
# Configuration parameters: AllowSafeAssignment.
|
52
|
-
AssignmentInCondition:
|
53
|
-
Enabled: false
|
39
|
+
# Configuration parameters: EnforcedStyleAlignWith, AutoCorrect, Severity.
|
40
|
+
# SupportedStylesAlignWith: start_of_line, def
|
41
|
+
Layout/DefEndAlignment:
|
42
|
+
Exclude:
|
43
|
+
- 'lib/fog/compute/digitalocean/requests/detach_volume.rb'
|
54
44
|
|
55
|
-
# Offense count: 3
|
56
45
|
# Cop supports --auto-correct.
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
# Offense count: 35
|
61
|
-
BlockAlignment:
|
62
|
-
Enabled: false
|
46
|
+
Layout/EmptyLineAfterMagicComment:
|
47
|
+
Exclude:
|
48
|
+
- 'fog-digitalocean.gemspec'
|
63
49
|
|
64
|
-
# Offense count: 56
|
65
|
-
BlockNesting:
|
66
|
-
Max: 7
|
67
|
-
|
68
|
-
# Offense count: 230
|
69
50
|
# Cop supports --auto-correct.
|
70
|
-
|
71
|
-
|
51
|
+
# Configuration parameters: AllowAdjacentOneLineDefs, NumberOfEmptyLines.
|
52
|
+
Layout/EmptyLineBetweenDefs:
|
53
|
+
Exclude:
|
54
|
+
- 'lib/fog/compute/digitalocean/requests/attach_volume.rb'
|
55
|
+
- 'lib/fog/compute/digitalocean/requests/destroy_server.rb'
|
56
|
+
- 'lib/fog/compute/digitalocean/requests/detach_volume.rb'
|
72
57
|
|
73
|
-
# Offense count: 1366
|
74
58
|
# Cop supports --auto-correct.
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
# Offense count: 9
|
80
|
-
CaseEquality:
|
81
|
-
Enabled: false
|
82
|
-
|
83
|
-
# Offense count: 291
|
84
|
-
# Configuration parameters: IndentWhenRelativeTo, SupportedStyles, IndentOneStep.
|
85
|
-
CaseIndentation:
|
86
|
-
Enabled: false
|
59
|
+
Layout/EmptyLines:
|
60
|
+
Exclude:
|
61
|
+
- 'lib/fog/compute/digitalocean.rb'
|
87
62
|
|
88
|
-
# Offense count: 2
|
89
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
90
|
-
ClassAndModuleChildren:
|
91
|
-
Enabled: false
|
92
|
-
|
93
|
-
# Offense count: 99
|
94
|
-
# Configuration parameters: CountComments.
|
95
|
-
ClassLength:
|
96
|
-
Max: 1131
|
97
|
-
|
98
|
-
# Offense count: 46
|
99
|
-
ClassVars:
|
100
|
-
Enabled: false
|
101
|
-
|
102
|
-
# Offense count: 41
|
103
63
|
# Cop supports --auto-correct.
|
104
|
-
|
105
|
-
|
64
|
+
# Configuration parameters: EnforcedStyle.
|
65
|
+
# SupportedStyles: empty_lines, no_empty_lines
|
66
|
+
Layout/EmptyLinesAroundBlockBody:
|
67
|
+
Exclude:
|
68
|
+
- 'tests/digitalocean/requests/compute/server_tests.rb'
|
106
69
|
|
107
|
-
# Offense count: 33
|
108
|
-
# Configuration parameters: Keywords.
|
109
|
-
CommentAnnotation:
|
110
|
-
Enabled: false
|
111
|
-
|
112
|
-
# Offense count: 82
|
113
70
|
# Cop supports --auto-correct.
|
114
|
-
|
115
|
-
|
71
|
+
# Configuration parameters: EnforcedStyle.
|
72
|
+
# SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines, beginning_only, ending_only
|
73
|
+
Layout/EmptyLinesAroundClassBody:
|
74
|
+
Exclude:
|
75
|
+
- 'lib/fog/compute/digitalocean/models/images.rb'
|
76
|
+
- 'lib/fog/compute/digitalocean/models/paging_collection.rb'
|
77
|
+
- 'lib/fog/compute/digitalocean/models/ssh_key.rb'
|
78
|
+
- 'lib/fog/compute/digitalocean/models/volumes.rb'
|
79
|
+
- 'lib/fog/compute/digitalocean/requests/create_server.rb'
|
80
|
+
- 'lib/fog/compute/digitalocean/requests/create_ssh_key.rb'
|
81
|
+
- 'lib/fog/compute/digitalocean/requests/create_volume.rb'
|
82
|
+
- 'lib/fog/compute/digitalocean/requests/update_ssh_key.rb'
|
83
|
+
- 'lib/fog/digitalocean/service.rb'
|
116
84
|
|
117
|
-
# Offense count: 1
|
118
|
-
ConstantName:
|
119
|
-
Enabled: false
|
120
|
-
|
121
|
-
# Offense count: 450
|
122
|
-
CyclomaticComplexity:
|
123
|
-
Max: 46
|
124
|
-
|
125
|
-
# Offense count: 29
|
126
85
|
# Cop supports --auto-correct.
|
127
|
-
|
128
|
-
|
86
|
+
# Configuration parameters: EnforcedStyleAlignWith, AutoCorrect, Severity.
|
87
|
+
# SupportedStylesAlignWith: keyword, variable, start_of_line
|
88
|
+
Layout/EndAlignment:
|
89
|
+
Exclude:
|
90
|
+
- 'lib/fog/bin/digitalocean.rb'
|
91
|
+
- 'lib/fog/compute/digitalocean/requests/detach_volume.rb'
|
129
92
|
|
130
|
-
# Offense count: 6310
|
131
|
-
Documentation:
|
132
|
-
Enabled: false
|
133
|
-
|
134
|
-
# Offense count: 42
|
135
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
136
|
-
DotPosition:
|
137
|
-
Enabled: false
|
138
|
-
|
139
|
-
# Offense count: 34
|
140
|
-
DoubleNegation:
|
141
|
-
Enabled: false
|
142
|
-
|
143
|
-
# Offense count: 16
|
144
|
-
EachWithObject:
|
145
|
-
Enabled: false
|
146
|
-
|
147
|
-
# Offense count: 2
|
148
|
-
ElseLayout:
|
149
|
-
Enabled: false
|
150
|
-
|
151
|
-
# Offense count: 13
|
152
93
|
# Cop supports --auto-correct.
|
153
|
-
|
154
|
-
|
94
|
+
# Configuration parameters: AllowForAlignment, ForceEqualSignAlignment.
|
95
|
+
Layout/ExtraSpacing:
|
96
|
+
Exclude:
|
97
|
+
- 'lib/fog/compute/digitalocean/models/server.rb'
|
98
|
+
- 'lib/fog/compute/digitalocean/requests/detach_volume.rb'
|
99
|
+
- 'lib/fog/compute/digitalocean/requests/get_image_details.rb'
|
100
|
+
- 'lib/fog/compute/digitalocean/requests/list_volumes.rb'
|
101
|
+
- 'lib/fog/compute/digitalocean/requests/resize_volume.rb'
|
155
102
|
|
156
|
-
# Offense count: 64
|
157
|
-
EmptyLinesAroundAccessModifier:
|
158
|
-
Enabled: false
|
159
|
-
|
160
|
-
# Offense count: 4
|
161
103
|
# Cop supports --auto-correct.
|
162
|
-
|
163
|
-
|
104
|
+
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
105
|
+
# SupportedStyles: special_inside_parentheses, consistent, align_brackets
|
106
|
+
Layout/IndentArray:
|
107
|
+
Exclude:
|
108
|
+
- 'lib/fog/compute/digitalocean/requests/attach_volume.rb'
|
109
|
+
- 'lib/fog/compute/digitalocean/requests/detach_volume.rb'
|
110
|
+
- 'lib/fog/compute/digitalocean/requests/get_image_details.rb'
|
111
|
+
- 'lib/fog/compute/digitalocean/requests/list_volumes.rb'
|
164
112
|
|
165
|
-
# Offense count: 40
|
166
113
|
# Cop supports --auto-correct.
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
#
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
#
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
#
|
208
|
-
#
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
#
|
214
|
-
# Configuration parameters:
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
# Cop supports --auto-correct.
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
#
|
258
|
-
#
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
#
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
#
|
274
|
-
# Configuration parameters: EnforcedStyle,
|
275
|
-
|
276
|
-
|
114
|
+
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
115
|
+
# SupportedStyles: special_inside_parentheses, consistent, align_braces
|
116
|
+
Layout/IndentHash:
|
117
|
+
Exclude:
|
118
|
+
- '.irbrc'
|
119
|
+
- 'lib/fog/compute/digitalocean/requests/attach_volume.rb'
|
120
|
+
- 'lib/fog/compute/digitalocean/requests/detach_volume.rb'
|
121
|
+
- 'lib/fog/compute/digitalocean/requests/get_image_details.rb'
|
122
|
+
- 'lib/fog/compute/digitalocean/requests/list_servers.rb'
|
123
|
+
- 'lib/fog/compute/digitalocean/requests/list_volumes.rb'
|
124
|
+
- 'tests/helpers/mock_helper.rb'
|
125
|
+
|
126
|
+
# Cop supports --auto-correct.
|
127
|
+
# Configuration parameters: EnforcedStyle.
|
128
|
+
# SupportedStyles: normal, rails
|
129
|
+
Layout/IndentationConsistency:
|
130
|
+
Exclude:
|
131
|
+
- 'lib/fog/compute/digitalocean/requests/attach_volume.rb'
|
132
|
+
- 'lib/fog/compute/digitalocean/requests/detach_volume.rb'
|
133
|
+
- 'lib/fog/compute/digitalocean/requests/list_volumes.rb'
|
134
|
+
- 'lib/fog/compute/digitalocean/requests/resize_volume.rb'
|
135
|
+
|
136
|
+
# Cop supports --auto-correct.
|
137
|
+
# Configuration parameters: Width, IgnoredPatterns.
|
138
|
+
Layout/IndentationWidth:
|
139
|
+
Exclude:
|
140
|
+
- 'lib/fog/compute/digitalocean/requests/attach_volume.rb'
|
141
|
+
- 'lib/fog/compute/digitalocean/requests/resize_volume.rb'
|
142
|
+
|
143
|
+
# Cop supports --auto-correct.
|
144
|
+
Layout/LeadingBlankLines:
|
145
|
+
Exclude:
|
146
|
+
- 'tests/digitalocean/helper.rb'
|
147
|
+
|
148
|
+
# Cop supports --auto-correct.
|
149
|
+
Layout/LeadingCommentSpace:
|
150
|
+
Exclude:
|
151
|
+
- 'fog-digitalocean.gemspec'
|
152
|
+
|
153
|
+
# Cop supports --auto-correct.
|
154
|
+
# Configuration parameters: EnforcedStyle.
|
155
|
+
# SupportedStyles: symmetrical, new_line, same_line
|
156
|
+
Layout/MultilineHashBraceLayout:
|
157
|
+
Exclude:
|
158
|
+
- 'lib/fog/digitalocean/service.rb'
|
159
|
+
|
160
|
+
# Cop supports --auto-correct.
|
161
|
+
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
162
|
+
# SupportedStyles: aligned, indented
|
163
|
+
Layout/MultilineOperationIndentation:
|
164
|
+
Exclude:
|
165
|
+
- 'lib/fog/compute/digitalocean/requests/list_ssh_keys.rb'
|
166
|
+
- 'lib/fog/digitalocean/service.rb'
|
167
|
+
|
168
|
+
# Cop supports --auto-correct.
|
169
|
+
Layout/SpaceAfterComma:
|
170
|
+
Exclude:
|
171
|
+
- 'lib/fog/compute/digitalocean/requests/convert_to_snapshot.rb'
|
172
|
+
|
173
|
+
# Cop supports --auto-correct.
|
174
|
+
# Configuration parameters: EnforcedStyle.
|
175
|
+
# SupportedStyles: space, no_space
|
176
|
+
Layout/SpaceAroundEqualsInParameterDefault:
|
177
|
+
Exclude:
|
178
|
+
- 'lib/fog/compute/digitalocean.rb'
|
179
|
+
- 'lib/fog/compute/digitalocean/requests/create_volume.rb'
|
180
|
+
- 'lib/fog/digitalocean/service.rb'
|
181
|
+
|
182
|
+
# Cop supports --auto-correct.
|
183
|
+
# Configuration parameters: AllowForAlignment.
|
184
|
+
Layout/SpaceAroundOperators:
|
185
|
+
Exclude:
|
186
|
+
- 'lib/fog/compute/digitalocean/requests/create_server.rb'
|
187
|
+
- 'lib/fog/compute/digitalocean/requests/create_ssh_key.rb'
|
188
|
+
- 'lib/fog/compute/digitalocean/requests/create_volume.rb'
|
189
|
+
- 'lib/fog/compute/digitalocean/requests/detach_volume.rb'
|
190
|
+
- 'lib/fog/compute/digitalocean/requests/get_image_details.rb'
|
191
|
+
- 'lib/fog/compute/digitalocean/requests/get_server_details.rb'
|
192
|
+
- 'lib/fog/compute/digitalocean/requests/list_images.rb'
|
193
|
+
- 'lib/fog/compute/digitalocean/requests/list_servers.rb'
|
194
|
+
- 'lib/fog/compute/digitalocean/requests/list_volumes.rb'
|
195
|
+
- 'lib/fog/compute/digitalocean/requests/resize_volume.rb'
|
196
|
+
- 'lib/fog/compute/digitalocean/requests/update_ssh_key.rb'
|
197
|
+
- 'tests/digitalocean/requests/compute/server_tests.rb'
|
198
|
+
|
199
|
+
# Cop supports --auto-correct.
|
200
|
+
Layout/SpaceBeforeComma:
|
201
|
+
Exclude:
|
202
|
+
- '.irbrc'
|
203
|
+
|
204
|
+
# Cop supports --auto-correct.
|
205
|
+
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBrackets.
|
206
|
+
# SupportedStyles: space, no_space, compact
|
207
|
+
# SupportedStylesForEmptyBrackets: space, no_space
|
208
|
+
Layout/SpaceInsideArrayLiteralBrackets:
|
209
|
+
Exclude:
|
210
|
+
- 'lib/fog/compute/digitalocean/requests/get_volume_details.rb'
|
211
|
+
|
212
|
+
# Cop supports --auto-correct.
|
213
|
+
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
|
214
|
+
# SupportedStyles: space, no_space
|
215
|
+
# SupportedStylesForEmptyBraces: space, no_space
|
216
|
+
Layout/SpaceInsideBlockBraces:
|
217
|
+
Exclude:
|
218
|
+
- 'tests/helpers/format_helper.rb'
|
219
|
+
|
220
|
+
# Cop supports --auto-correct.
|
221
|
+
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
|
222
|
+
# SupportedStyles: space, no_space, compact
|
223
|
+
# SupportedStylesForEmptyBraces: space, no_space
|
224
|
+
Layout/SpaceInsideHashLiteralBraces:
|
225
|
+
Exclude:
|
226
|
+
- 'lib/fog/compute/digitalocean/requests/attach_volume.rb'
|
227
|
+
- 'lib/fog/compute/digitalocean/requests/convert_to_snapshot.rb'
|
228
|
+
- 'lib/fog/compute/digitalocean/requests/detach_volume.rb'
|
229
|
+
- 'lib/fog/compute/digitalocean/requests/list_flavors.rb'
|
230
|
+
- 'lib/fog/compute/digitalocean/requests/list_regions.rb'
|
231
|
+
- 'lib/fog/compute/digitalocean/requests/resize_volume.rb'
|
232
|
+
- 'lib/fog/digitalocean/service.rb'
|
233
|
+
- 'tests/helpers/format_helper.rb'
|
234
|
+
|
235
|
+
# Cop supports --auto-correct.
|
236
|
+
# Configuration parameters: EnforcedStyle.
|
237
|
+
# SupportedStyles: space, no_space
|
238
|
+
Layout/SpaceInsideParens:
|
239
|
+
Exclude:
|
240
|
+
- 'tests/watchr.rb'
|
241
|
+
|
242
|
+
# Cop supports --auto-correct.
|
243
|
+
# Configuration parameters: IndentationWidth.
|
244
|
+
Layout/Tab:
|
245
|
+
Exclude:
|
246
|
+
- 'lib/fog/compute/digitalocean/requests/attach_volume.rb'
|
247
|
+
- 'lib/fog/compute/digitalocean/requests/detach_volume.rb'
|
248
|
+
- 'lib/fog/compute/digitalocean/requests/list_volumes.rb'
|
249
|
+
- 'lib/fog/compute/digitalocean/requests/resize_volume.rb'
|
250
|
+
|
251
|
+
# Cop supports --auto-correct.
|
252
|
+
# Configuration parameters: EnforcedStyle.
|
253
|
+
# SupportedStyles: final_newline, final_blank_line
|
254
|
+
Layout/TrailingBlankLines:
|
255
|
+
Exclude:
|
256
|
+
- 'lib/fog/bin/digitalocean.rb'
|
257
|
+
- 'lib/fog/compute/digitalocean/models/flavor.rb'
|
258
|
+
- 'lib/fog/compute/digitalocean/models/image.rb'
|
259
|
+
- 'lib/fog/compute/digitalocean/models/region.rb'
|
260
|
+
- 'lib/fog/compute/digitalocean/models/regions.rb'
|
261
|
+
- 'lib/fog/compute/digitalocean/requests/disable_backups.rb'
|
262
|
+
- 'lib/fog/digitalocean/service.rb'
|
263
|
+
- 'tests/digitalocean/requests/compute/list_flavors_tests.rb'
|
264
|
+
- 'tests/digitalocean/requests/compute/list_regions_tests.rb'
|
265
|
+
|
266
|
+
# Cop supports --auto-correct.
|
267
|
+
# Configuration parameters: AllowInHeredoc.
|
268
|
+
Layout/TrailingWhitespace:
|
269
|
+
Exclude:
|
270
|
+
- 'lib/fog/compute/digitalocean/models/images.rb'
|
271
|
+
- 'lib/fog/compute/digitalocean/models/servers.rb'
|
272
|
+
- 'lib/fog/compute/digitalocean/models/volumes.rb'
|
273
|
+
- 'lib/fog/compute/digitalocean/requests/create_volume.rb'
|
277
274
|
|
278
|
-
# Offense count: 21
|
279
|
-
MultilineBlockChain:
|
280
|
-
Enabled: false
|
281
|
-
|
282
|
-
# Offense count: 66
|
283
|
-
MultilineIfThen:
|
284
|
-
Enabled: false
|
285
|
-
|
286
|
-
# Offense count: 13
|
287
|
-
MultilineTernaryOperator:
|
288
|
-
Enabled: false
|
289
|
-
|
290
|
-
# Offense count: 85
|
291
|
-
# Cop supports --auto-correct.
|
292
|
-
NegatedIf:
|
293
|
-
Enabled: false
|
294
|
-
|
295
|
-
# Offense count: 2
|
296
|
-
# Cop supports --auto-correct.
|
297
|
-
NegatedWhile:
|
298
|
-
Enabled: false
|
299
|
-
|
300
|
-
# Offense count: 121
|
301
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
302
|
-
Next:
|
303
|
-
Enabled: false
|
304
|
-
|
305
|
-
# Offense count: 28
|
306
|
-
# Cop supports --auto-correct.
|
307
|
-
NilComparison:
|
308
|
-
Enabled: false
|
309
|
-
|
310
|
-
# Offense count: 89
|
311
|
-
# Cop supports --auto-correct.
|
312
|
-
# Configuration parameters: IncludeSemanticChanges.
|
313
|
-
NonNilCheck:
|
314
|
-
Enabled: false
|
315
|
-
|
316
|
-
# Offense count: 56
|
317
|
-
# Cop supports --auto-correct.
|
318
|
-
Not:
|
319
|
-
Enabled: false
|
320
|
-
|
321
|
-
# Offense count: 220
|
322
|
-
# Cop supports --auto-correct.
|
323
|
-
NumericLiterals:
|
324
|
-
MinDigits: 14
|
325
|
-
|
326
|
-
# Offense count: 3
|
327
|
-
OneLineConditional:
|
328
|
-
Enabled: false
|
329
|
-
|
330
|
-
# Offense count: 33
|
331
|
-
# Configuration parameters: CountKeywordArgs.
|
332
|
-
ParameterLists:
|
333
|
-
Max: 9
|
334
|
-
|
335
|
-
# Offense count: 63
|
336
|
-
# Cop supports --auto-correct.
|
337
275
|
# Configuration parameters: AllowSafeAssignment.
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
# Offense count: 17
|
342
|
-
ParenthesesAsGroupedExpression:
|
343
|
-
Enabled: false
|
276
|
+
Lint/AssignmentInCondition:
|
277
|
+
Exclude:
|
278
|
+
- 'lib/fog/compute/digitalocean/models/paging_collection.rb'
|
344
279
|
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
PercentLiteralDelimiters:
|
349
|
-
Enabled: false
|
280
|
+
Lint/HandleExceptions:
|
281
|
+
Exclude:
|
282
|
+
- '.irbrc'
|
350
283
|
|
351
|
-
# Offense count: 24
|
352
284
|
# Cop supports --auto-correct.
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
# Offense count: 8
|
357
|
-
# Configuration parameters: NamePrefixBlacklist.
|
358
|
-
PredicateName:
|
359
|
-
Enabled: false
|
285
|
+
Lint/StringConversionInInterpolation:
|
286
|
+
Exclude:
|
287
|
+
- 'tests/digitalocean/requests/compute/server_tests.rb'
|
360
288
|
|
361
|
-
# Offense count: 7
|
362
289
|
# Cop supports --auto-correct.
|
363
|
-
|
290
|
+
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods.
|
291
|
+
Lint/UnusedMethodArgument:
|
364
292
|
Enabled: false
|
365
293
|
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
Enabled: false
|
294
|
+
Lint/UselessAssignment:
|
295
|
+
Exclude:
|
296
|
+
- 'tests/watchr.rb'
|
370
297
|
|
371
|
-
|
372
|
-
|
373
|
-
RedundantBegin:
|
374
|
-
Enabled: false
|
298
|
+
Metrics/AbcSize:
|
299
|
+
Max: 23
|
375
300
|
|
376
|
-
#
|
377
|
-
|
378
|
-
|
301
|
+
# Configuration parameters: CountComments, ExcludedMethods.
|
302
|
+
# ExcludedMethods: refine
|
303
|
+
Metrics/BlockLength:
|
304
|
+
Max: 64
|
379
305
|
|
380
|
-
#
|
381
|
-
|
382
|
-
|
383
|
-
RedundantReturn:
|
384
|
-
Enabled: false
|
385
|
-
|
386
|
-
# Offense count: 1939
|
387
|
-
# Cop supports --auto-correct.
|
388
|
-
RedundantSelf:
|
389
|
-
Enabled: false
|
306
|
+
# Configuration parameters: CountComments.
|
307
|
+
Metrics/ClassLength:
|
308
|
+
Max: 126
|
390
309
|
|
391
|
-
#
|
392
|
-
|
393
|
-
|
394
|
-
Enabled: false
|
310
|
+
# Configuration parameters: CountComments.
|
311
|
+
Metrics/MethodLength:
|
312
|
+
Max: 108
|
395
313
|
|
396
|
-
#
|
397
|
-
|
398
|
-
|
314
|
+
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
|
315
|
+
# AllowedNames: io, id, to, by, on, in, at, ip
|
316
|
+
Naming/UncommunicativeMethodParamName:
|
317
|
+
Exclude:
|
318
|
+
- 'lib/fog/compute/digitalocean/requests/destroy_server.rb'
|
319
|
+
- 'lib/fog/compute/digitalocean/requests/get_server_details.rb'
|
320
|
+
- 'lib/fog/compute/digitalocean/requests/get_ssh_key.rb'
|
321
|
+
- 'lib/fog/compute/digitalocean/requests/get_volume_details.rb'
|
399
322
|
|
400
|
-
# Offense count: 5
|
401
323
|
# Cop supports --auto-correct.
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
RescueModifier:
|
407
|
-
Enabled: false
|
408
|
-
|
409
|
-
# Offense count: 29
|
410
|
-
SelfAssignment:
|
411
|
-
Enabled: false
|
324
|
+
# Configuration parameters: MaxKeyValuePairs.
|
325
|
+
Performance/RedundantMerge:
|
326
|
+
Exclude:
|
327
|
+
- '.irbrc'
|
412
328
|
|
413
|
-
# Offense count: 62
|
414
329
|
# Cop supports --auto-correct.
|
415
|
-
# Configuration parameters:
|
416
|
-
|
417
|
-
|
330
|
+
# Configuration parameters: EnforcedStyle.
|
331
|
+
# SupportedStyles: braces, no_braces, context_dependent
|
332
|
+
Style/BracesAroundHashParameters:
|
333
|
+
Exclude:
|
334
|
+
- '.irbrc'
|
335
|
+
- 'lib/fog/digitalocean/service.rb'
|
336
|
+
- 'tests/digitalocean/requests/compute/create_volume_tests.rb'
|
418
337
|
|
419
|
-
|
420
|
-
|
421
|
-
|
338
|
+
Style/ClassVars:
|
339
|
+
Exclude:
|
340
|
+
- 'lib/fog/bin/digitalocean.rb'
|
422
341
|
|
423
|
-
# Offense count: 2
|
424
342
|
# Cop supports --auto-correct.
|
425
|
-
# Configuration parameters: EnforcedStyle,
|
426
|
-
|
427
|
-
|
343
|
+
# Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions.
|
344
|
+
# SupportedStyles: assign_to_condition, assign_inside_condition
|
345
|
+
Style/ConditionalAssignment:
|
346
|
+
Exclude:
|
347
|
+
- 'tests/helpers/format_helper.rb'
|
428
348
|
|
429
|
-
|
430
|
-
# Configuration parameters: Methods.
|
431
|
-
SingleLineBlockParams:
|
349
|
+
Style/Documentation:
|
432
350
|
Enabled: false
|
433
351
|
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
Enabled: false
|
352
|
+
Style/DoubleNegation:
|
353
|
+
Exclude:
|
354
|
+
- 'lib/fog/compute/digitalocean/requests/create_server.rb'
|
355
|
+
- 'tests/helpers/succeeds_helper.rb'
|
439
356
|
|
440
|
-
# Offense count: 909
|
441
357
|
# Cop supports --auto-correct.
|
442
|
-
|
443
|
-
|
358
|
+
Style/EmptyLiteral:
|
359
|
+
Exclude:
|
360
|
+
- '.irbrc'
|
444
361
|
|
445
|
-
# Offense count: 4
|
446
362
|
# Cop supports --auto-correct.
|
447
|
-
|
448
|
-
|
363
|
+
Style/ExpandPathArguments:
|
364
|
+
Exclude:
|
365
|
+
- 'fog-digitalocean.gemspec'
|
366
|
+
- 'lib/fog/compute/digitalocean.rb'
|
367
|
+
- 'lib/fog/digitalocean.rb'
|
368
|
+
- 'tests/helper.rb'
|
449
369
|
|
450
|
-
#
|
451
|
-
|
452
|
-
|
453
|
-
|
370
|
+
# Configuration parameters: AllowedVariables.
|
371
|
+
Style/GlobalVars:
|
372
|
+
Exclude:
|
373
|
+
- '.irbrc'
|
454
374
|
|
455
|
-
#
|
456
|
-
|
457
|
-
|
458
|
-
|
375
|
+
# Configuration parameters: MinBodyLength.
|
376
|
+
Style/GuardClause:
|
377
|
+
Exclude:
|
378
|
+
- 'lib/fog/compute/digitalocean/models/paging_collection.rb'
|
379
|
+
- 'lib/fog/compute/digitalocean/models/server.rb'
|
459
380
|
|
460
|
-
# Offense count: 1
|
461
381
|
# Cop supports --auto-correct.
|
462
|
-
|
463
|
-
|
382
|
+
# Configuration parameters: EnforcedStyle, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
|
383
|
+
# SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
|
384
|
+
Style/HashSyntax:
|
385
|
+
Exclude:
|
386
|
+
- 'Gemfile'
|
387
|
+
- 'lib/fog/compute/digitalocean.rb'
|
388
|
+
- 'lib/fog/compute/digitalocean/models/paging_collection.rb'
|
389
|
+
- 'lib/fog/compute/digitalocean/requests/attach_volume.rb'
|
390
|
+
- 'lib/fog/compute/digitalocean/requests/detach_volume.rb'
|
391
|
+
- 'lib/fog/compute/digitalocean/requests/resize_volume.rb'
|
392
|
+
- 'tests/digitalocean/requests/compute/create_volume_tests.rb'
|
464
393
|
|
465
|
-
# Offense count: 19
|
466
394
|
# Cop supports --auto-correct.
|
467
|
-
|
468
|
-
|
395
|
+
Style/IfUnlessModifier:
|
396
|
+
Exclude:
|
397
|
+
- 'lib/fog/compute/digitalocean.rb'
|
398
|
+
- 'lib/fog/compute/digitalocean/models/paging_collection.rb'
|
399
|
+
- 'tests/helpers/mock_helper.rb'
|
469
400
|
|
470
|
-
# Offense count: 1332
|
471
401
|
# Cop supports --auto-correct.
|
472
|
-
# Configuration parameters:
|
473
|
-
|
474
|
-
|
402
|
+
# Configuration parameters: InverseMethods, InverseBlocks.
|
403
|
+
Style/InverseMethods:
|
404
|
+
Exclude:
|
405
|
+
- 'lib/fog/compute/digitalocean/requests/delete_ssh_key.rb'
|
406
|
+
- 'lib/fog/compute/digitalocean/requests/destroy_volume.rb'
|
475
407
|
|
476
|
-
# Offense count: 4362
|
477
408
|
# Cop supports --auto-correct.
|
478
|
-
|
479
|
-
|
409
|
+
Style/MutableConstant:
|
410
|
+
Exclude:
|
411
|
+
- 'lib/fog/digitalocean/version.rb'
|
480
412
|
|
481
|
-
# Offense count: 441
|
482
413
|
# Cop supports --auto-correct.
|
483
|
-
# Configuration parameters:
|
484
|
-
|
485
|
-
|
414
|
+
# Configuration parameters: Strict.
|
415
|
+
Style/NumericLiterals:
|
416
|
+
MinDigits: 9
|
486
417
|
|
487
|
-
# Offense count: 11
|
488
418
|
# Cop supports --auto-correct.
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
419
|
+
# Configuration parameters: PreferredDelimiters.
|
420
|
+
Style/PercentLiteralDelimiters:
|
421
|
+
Exclude:
|
422
|
+
- 'fog-digitalocean.gemspec'
|
423
|
+
- 'lib/fog/compute/digitalocean/requests/create_server.rb'
|
424
|
+
- 'lib/fog/compute/digitalocean/requests/get_server_details.rb'
|
425
|
+
- 'lib/fog/compute/digitalocean/requests/list_flavors.rb'
|
426
|
+
- 'lib/fog/compute/digitalocean/requests/list_images.rb'
|
427
|
+
- 'lib/fog/compute/digitalocean/requests/list_regions.rb'
|
495
428
|
|
496
|
-
# Offense count: 1946
|
497
429
|
# Cop supports --auto-correct.
|
498
|
-
# Configuration parameters: EnforcedStyle
|
499
|
-
|
500
|
-
|
430
|
+
# Configuration parameters: EnforcedStyle.
|
431
|
+
# SupportedStyles: compact, exploded
|
432
|
+
Style/RaiseArgs:
|
433
|
+
Exclude:
|
434
|
+
- 'lib/fog/compute/digitalocean/models/server.rb'
|
435
|
+
- 'lib/fog/compute/digitalocean/requests/get_image_details.rb'
|
501
436
|
|
502
|
-
# Offense count: 146
|
503
437
|
# Cop supports --auto-correct.
|
504
|
-
|
505
|
-
|
438
|
+
Style/RedundantSelf:
|
439
|
+
Exclude:
|
440
|
+
- 'lib/fog/compute/digitalocean/requests/delete_ssh_key.rb'
|
441
|
+
- 'lib/fog/compute/digitalocean/requests/destroy_volume.rb'
|
442
|
+
- 'lib/fog/compute/digitalocean/requests/list_servers.rb'
|
506
443
|
|
507
|
-
# Offense count: 6159
|
508
444
|
# Cop supports --auto-correct.
|
509
|
-
|
510
|
-
|
511
|
-
|
445
|
+
Style/RescueModifier:
|
446
|
+
Exclude:
|
447
|
+
- 'tests/digitalocean/helper.rb'
|
512
448
|
|
513
|
-
# Offense count: 720
|
514
449
|
# Cop supports --auto-correct.
|
515
|
-
|
516
|
-
|
450
|
+
# Configuration parameters: EnforcedStyle.
|
451
|
+
# SupportedStyles: implicit, explicit
|
452
|
+
Style/RescueStandardError:
|
453
|
+
Exclude:
|
454
|
+
- '.irbrc'
|
517
455
|
|
518
|
-
# Offense count: 3
|
519
456
|
# Cop supports --auto-correct.
|
520
|
-
|
521
|
-
|
457
|
+
# Configuration parameters: AllowAsExpressionSeparator.
|
458
|
+
Style/Semicolon:
|
459
|
+
Exclude:
|
460
|
+
- 'tests/digitalocean/helper.rb'
|
522
461
|
|
523
|
-
# Offense count: 91
|
524
462
|
# Cop supports --auto-correct.
|
525
|
-
|
463
|
+
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
|
464
|
+
# SupportedStyles: single_quotes, double_quotes
|
465
|
+
Style/StringLiterals:
|
526
466
|
Enabled: false
|
527
467
|
|
528
|
-
# Offense count: 45608
|
529
468
|
# Cop supports --auto-correct.
|
530
|
-
# Configuration parameters:
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
# Offense count: 197
|
535
|
-
Tab:
|
536
|
-
Enabled: false
|
469
|
+
# Configuration parameters: MinSize.
|
470
|
+
# SupportedStyles: percent, brackets
|
471
|
+
Style/SymbolArray:
|
472
|
+
EnforcedStyle: brackets
|
537
473
|
|
538
|
-
# Offense count: 592
|
539
|
-
# Configuration parameters: EnforcedStyleForMultiline, SupportedStyles.
|
540
|
-
TrailingComma:
|
541
|
-
Enabled: false
|
542
|
-
|
543
|
-
# Offense count: 125
|
544
474
|
# Cop supports --auto-correct.
|
545
|
-
# Configuration parameters:
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
# Offense count: 94
|
550
|
-
UnderscorePrefixedVariableName:
|
551
|
-
Enabled: false
|
552
|
-
|
553
|
-
# Offense count: 42
|
554
|
-
UnlessElse:
|
475
|
+
# Configuration parameters: EnforcedStyleForMultiline.
|
476
|
+
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
|
477
|
+
Style/TrailingCommaInArguments:
|
555
478
|
Enabled: false
|
556
479
|
|
557
|
-
# Offense count: 278
|
558
480
|
# Cop supports --auto-correct.
|
559
|
-
|
481
|
+
# Configuration parameters: EnforcedStyleForMultiline.
|
482
|
+
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
|
483
|
+
Style/TrailingCommaInHashLiteral:
|
560
484
|
Enabled: false
|
561
485
|
|
562
|
-
# Offense count: 1010
|
563
486
|
# Cop supports --auto-correct.
|
564
|
-
|
565
|
-
|
487
|
+
Style/UnneededInterpolation:
|
488
|
+
Exclude:
|
489
|
+
- 'lib/fog/digitalocean/service.rb'
|
566
490
|
|
567
|
-
# Offense count: 6
|
568
|
-
UselessAccessModifier:
|
569
|
-
Enabled: false
|
570
|
-
|
571
|
-
# Offense count: 405
|
572
|
-
UselessAssignment:
|
573
|
-
Enabled: false
|
574
|
-
|
575
|
-
# Offense count: 3
|
576
|
-
UselessSetterCall:
|
577
|
-
Enabled: false
|
578
|
-
|
579
|
-
# Offense count: 13
|
580
491
|
# Cop supports --auto-correct.
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
# Offense count: 29
|
585
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
586
|
-
VariableName:
|
587
|
-
Enabled: false
|
588
|
-
|
589
|
-
# Offense count: 23
|
590
|
-
Void:
|
591
|
-
Enabled: false
|
592
|
-
|
593
|
-
# Offense count: 6
|
594
|
-
# Cop supports --auto-correct.
|
595
|
-
WhileUntilDo:
|
596
|
-
Enabled: false
|
597
|
-
|
598
|
-
# Offense count: 1
|
599
|
-
# Configuration parameters: MaxLineLength.
|
600
|
-
WhileUntilModifier:
|
601
|
-
Enabled: false
|
492
|
+
Style/UnneededPercentQ:
|
493
|
+
Exclude:
|
494
|
+
- 'fog-digitalocean.gemspec'
|
602
495
|
|
603
|
-
# Offense count: 521
|
604
496
|
# Cop supports --auto-correct.
|
605
|
-
|
606
|
-
|
497
|
+
# Configuration parameters: WordRegex.
|
498
|
+
# SupportedStyles: percent, brackets
|
499
|
+
Style/WordArray:
|
500
|
+
EnforcedStyle: percent
|
501
|
+
MinSize: 10
|