fog-joyent 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/.rubocop.yml +20 -0
- data/.rubocop_todo.yml +436 -0
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/.travis.yml +26 -0
- data/CONTRIBUTING.md +18 -0
- data/CONTRIBUTORS.md +17 -0
- data/Gemfile +4 -0
- data/LICENSE.md +10 -0
- data/README.md +29 -0
- data/Rakefile +12 -0
- data/fog-joyent.gemspec +29 -0
- data/lib/fog/bin/joyent.rb +33 -0
- data/lib/fog/joyent.rb +16 -0
- data/lib/fog/joyent/analytics.rb +310 -0
- data/lib/fog/joyent/compute.rb +272 -0
- data/lib/fog/joyent/core.rb +10 -0
- data/lib/fog/joyent/errors.rb +91 -0
- data/lib/fog/joyent/models/analytics/field.rb +13 -0
- data/lib/fog/joyent/models/analytics/fields.rb +24 -0
- data/lib/fog/joyent/models/analytics/instrumentation.rb +82 -0
- data/lib/fog/joyent/models/analytics/instrumentations.rb +23 -0
- data/lib/fog/joyent/models/analytics/joyent_module.rb +13 -0
- data/lib/fog/joyent/models/analytics/joyent_modules.rb +24 -0
- data/lib/fog/joyent/models/analytics/metric.rb +17 -0
- data/lib/fog/joyent/models/analytics/metrics.rb +16 -0
- data/lib/fog/joyent/models/analytics/transformation.rb +13 -0
- data/lib/fog/joyent/models/analytics/transformations.rb +24 -0
- data/lib/fog/joyent/models/analytics/type.rb +16 -0
- data/lib/fog/joyent/models/analytics/types.rb +24 -0
- data/lib/fog/joyent/models/analytics/value.rb +20 -0
- data/lib/fog/joyent/models/compute/datacenter.rb +11 -0
- data/lib/fog/joyent/models/compute/datacenters.rb +21 -0
- data/lib/fog/joyent/models/compute/flavor.rb +19 -0
- data/lib/fog/joyent/models/compute/flavors.rb +21 -0
- data/lib/fog/joyent/models/compute/image.rb +26 -0
- data/lib/fog/joyent/models/compute/images.rb +30 -0
- data/lib/fog/joyent/models/compute/key.rb +19 -0
- data/lib/fog/joyent/models/compute/keys.rb +32 -0
- data/lib/fog/joyent/models/compute/network.rb +12 -0
- data/lib/fog/joyent/models/compute/networks.rb +14 -0
- data/lib/fog/joyent/models/compute/server.rb +124 -0
- data/lib/fog/joyent/models/compute/servers.rb +35 -0
- data/lib/fog/joyent/models/compute/snapshot.rb +44 -0
- data/lib/fog/joyent/models/compute/snapshots.rb +35 -0
- data/lib/fog/joyent/requests/analytics/create_instrumentation.rb +25 -0
- data/lib/fog/joyent/requests/analytics/delete_instrumentation.rb +23 -0
- data/lib/fog/joyent/requests/analytics/describe_analytics.rb +26 -0
- data/lib/fog/joyent/requests/analytics/get_instrumentation.rb +26 -0
- data/lib/fog/joyent/requests/analytics/get_instrumentation_value.rb +30 -0
- data/lib/fog/joyent/requests/analytics/list_instrumentations.rb +25 -0
- data/lib/fog/joyent/requests/compute/add_machine_tags.rb +19 -0
- data/lib/fog/joyent/requests/compute/create_key.rb +54 -0
- data/lib/fog/joyent/requests/compute/create_machine.rb +16 -0
- data/lib/fog/joyent/requests/compute/create_machine_snapshot.rb +16 -0
- data/lib/fog/joyent/requests/compute/delete_all_machine_metadata.rb +16 -0
- data/lib/fog/joyent/requests/compute/delete_all_machine_tags.rb +15 -0
- data/lib/fog/joyent/requests/compute/delete_key.rb +27 -0
- data/lib/fog/joyent/requests/compute/delete_machine.rb +15 -0
- data/lib/fog/joyent/requests/compute/delete_machine_metadata.rb +16 -0
- data/lib/fog/joyent/requests/compute/delete_machine_snapshot.rb +18 -0
- data/lib/fog/joyent/requests/compute/delete_machine_tag.rb +15 -0
- data/lib/fog/joyent/requests/compute/get_dataset.rb +27 -0
- data/lib/fog/joyent/requests/compute/get_image.rb +28 -0
- data/lib/fog/joyent/requests/compute/get_key.rb +29 -0
- data/lib/fog/joyent/requests/compute/get_machine.rb +29 -0
- data/lib/fog/joyent/requests/compute/get_machine_metadata.rb +24 -0
- data/lib/fog/joyent/requests/compute/get_machine_snapshot.rb +15 -0
- data/lib/fog/joyent/requests/compute/get_machine_tag.rb +18 -0
- data/lib/fog/joyent/requests/compute/get_package.rb +32 -0
- data/lib/fog/joyent/requests/compute/list_datacenters.rb +16 -0
- data/lib/fog/joyent/requests/compute/list_datasets.rb +24 -0
- data/lib/fog/joyent/requests/compute/list_images.rb +25 -0
- data/lib/fog/joyent/requests/compute/list_keys.rb +25 -0
- data/lib/fog/joyent/requests/compute/list_machine_snapshots.rb +15 -0
- data/lib/fog/joyent/requests/compute/list_machine_tags.rb +20 -0
- data/lib/fog/joyent/requests/compute/list_machines.rb +26 -0
- data/lib/fog/joyent/requests/compute/list_networks.rb +26 -0
- data/lib/fog/joyent/requests/compute/list_packages.rb +34 -0
- data/lib/fog/joyent/requests/compute/reboot_machine.rb +15 -0
- data/lib/fog/joyent/requests/compute/resize_machine.rb +16 -0
- data/lib/fog/joyent/requests/compute/start_machine.rb +16 -0
- data/lib/fog/joyent/requests/compute/start_machine_from_snapshot.rb +15 -0
- data/lib/fog/joyent/requests/compute/stop_machine.rb +16 -0
- data/lib/fog/joyent/requests/compute/update_machine_metadata.rb +15 -0
- data/lib/fog/joyent/version.rb +5 -0
- data/tests/helper.rb +18 -0
- data/tests/helpers/mock_helper.rb +16 -0
- data/tests/helpers/succeeds_helper.rb +9 -0
- data/tests/joyent/models/analytics/field_tests.rb +10 -0
- data/tests/joyent/models/analytics/fields_tests.rb +13 -0
- data/tests/joyent/models/analytics/instrumentation_tests.rb +13 -0
- data/tests/joyent/models/analytics/instrumentations_tests.rb +3 -0
- data/tests/joyent/models/analytics/joyent_module_tests.rb +10 -0
- data/tests/joyent/models/analytics/joyent_modules_tests.rb +13 -0
- data/tests/joyent/models/analytics/metric_tests.rb +10 -0
- data/tests/joyent/models/analytics/metrics_tests.rb +20 -0
- data/tests/joyent/models/analytics/transformation_tests.rb +10 -0
- data/tests/joyent/models/analytics/transformations_tests.rb +13 -0
- data/tests/joyent/models/analytics/type_tests.rb +10 -0
- data/tests/joyent/models/analytics/types_tests.rb +13 -0
- data/tests/joyent/requests/analytics/instrumentation_tests.rb +44 -0
- data/tests/joyent/requests/compute/datasets_tests.rb +58 -0
- data/tests/joyent/requests/compute/keys_tests.rb +47 -0
- data/tests/joyent/requests/compute/machines_tests.rb +66 -0
- data/tests/joyent/requests/compute/networks_tests.rb +39 -0
- data/tests/joyent/requests/compute/packages_tests.rb +68 -0
- metadata +235 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: c38ff74793899cc34b08363361dd40ae3b193253
|
4
|
+
data.tar.gz: 2f8123a4e1ec31d1e7843c9dc8877f5b916e42b2
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 1739dbe72ed06543685e1858dbe72e663ad4504227b6f9a979242e8ace99433c2b0a3c18a716b3f70ee8e06af4a48a55fdef52ef84e1bd5390ddc107734459f5
|
7
|
+
data.tar.gz: 623ba8dfc0f1ef849af1fff7302ab3f190f192ec72b92695cafb16009a0c28fd10bbcd4109e06ad5dd31b6b3b8d978de4de7e03a6bdd053cbe96e92f9fc4f1f5
|
data/.gitignore
ADDED
data/.rubocop.yml
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
inherit_from: .rubocop_todo.yml
|
2
|
+
|
3
|
+
HashSyntax:
|
4
|
+
EnforcedStyle: hash_rockets
|
5
|
+
|
6
|
+
LineLength:
|
7
|
+
Max: 100
|
8
|
+
Enabled: false
|
9
|
+
|
10
|
+
StringLiterals:
|
11
|
+
EnforcedStyle: double_quotes
|
12
|
+
|
13
|
+
Encoding:
|
14
|
+
Description: 'Use UTF-8 as the source file encoding.'
|
15
|
+
Enabled: false
|
16
|
+
|
17
|
+
SignalException:
|
18
|
+
Description: 'Do not enforce use of fail when raising exceptions.'
|
19
|
+
# Valid values are: semantic, only_raise and only_fail
|
20
|
+
EnforcedStyle: only_raise
|
data/.rubocop_todo.yml
ADDED
@@ -0,0 +1,436 @@
|
|
1
|
+
# This configuration was generated by
|
2
|
+
# `rubocop --auto-gen-config`
|
3
|
+
# on 2017-04-06 12:08:18 -0400 using RuboCop version 0.48.0.
|
4
|
+
# The point is for the user to remove these configuration records
|
5
|
+
# one by one as the offenses are removed from the code base.
|
6
|
+
# Note that changes in the inspected code, or installation of new
|
7
|
+
# versions of RuboCop, may require this file to be generated again.
|
8
|
+
|
9
|
+
# Offense count: 5
|
10
|
+
# Configuration parameters: AllowSafeAssignment.
|
11
|
+
Lint/AssignmentInCondition:
|
12
|
+
Exclude:
|
13
|
+
- 'lib/fog/joyent/requests/compute/get_dataset.rb'
|
14
|
+
- 'lib/fog/joyent/requests/compute/get_image.rb'
|
15
|
+
- 'lib/fog/joyent/requests/compute/get_key.rb'
|
16
|
+
- 'lib/fog/joyent/requests/compute/get_machine.rb'
|
17
|
+
- 'lib/fog/joyent/requests/compute/get_package.rb'
|
18
|
+
|
19
|
+
# Offense count: 3
|
20
|
+
# Cop supports --auto-correct.
|
21
|
+
# Configuration parameters: EnforcedStyleAlignWith, SupportedStylesAlignWith, AutoCorrect.
|
22
|
+
# SupportedStylesAlignWith: keyword, variable, start_of_line
|
23
|
+
Lint/EndAlignment:
|
24
|
+
Exclude:
|
25
|
+
- 'lib/fog/joyent/compute.rb'
|
26
|
+
- 'lib/fog/joyent/models/compute/images.rb'
|
27
|
+
- 'tests/joyent/requests/compute/packages_tests.rb'
|
28
|
+
|
29
|
+
# Offense count: 11
|
30
|
+
# Cop supports --auto-correct.
|
31
|
+
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods.
|
32
|
+
Lint/UnusedMethodArgument:
|
33
|
+
Exclude:
|
34
|
+
- 'lib/fog/joyent/analytics.rb'
|
35
|
+
- 'lib/fog/joyent/compute.rb'
|
36
|
+
- 'lib/fog/joyent/requests/analytics/create_instrumentation.rb'
|
37
|
+
- 'lib/fog/joyent/requests/analytics/delete_instrumentation.rb'
|
38
|
+
- 'lib/fog/joyent/requests/analytics/describe_analytics.rb'
|
39
|
+
- 'lib/fog/joyent/requests/analytics/get_instrumentation_value.rb'
|
40
|
+
- 'lib/fog/joyent/requests/compute/list_machines.rb'
|
41
|
+
- 'lib/fog/joyent/requests/compute/list_networks.rb'
|
42
|
+
|
43
|
+
# Offense count: 10
|
44
|
+
Metrics/AbcSize:
|
45
|
+
Max: 36
|
46
|
+
|
47
|
+
# Offense count: 10
|
48
|
+
# Configuration parameters: CountComments, ExcludedMethods.
|
49
|
+
Metrics/BlockLength:
|
50
|
+
Max: 80
|
51
|
+
|
52
|
+
# Offense count: 2
|
53
|
+
# Configuration parameters: CountComments.
|
54
|
+
Metrics/ClassLength:
|
55
|
+
Max: 137
|
56
|
+
|
57
|
+
# Offense count: 6
|
58
|
+
Metrics/CyclomaticComplexity:
|
59
|
+
Max: 13
|
60
|
+
|
61
|
+
# Offense count: 102
|
62
|
+
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
|
63
|
+
# URISchemes: http, https
|
64
|
+
Metrics/LineLength:
|
65
|
+
Max: 396
|
66
|
+
|
67
|
+
# Offense count: 15
|
68
|
+
# Configuration parameters: CountComments.
|
69
|
+
Metrics/MethodLength:
|
70
|
+
Max: 76
|
71
|
+
|
72
|
+
# Offense count: 4
|
73
|
+
Metrics/PerceivedComplexity:
|
74
|
+
Max: 16
|
75
|
+
|
76
|
+
# Offense count: 1
|
77
|
+
Style/AccessorMethodName:
|
78
|
+
Exclude:
|
79
|
+
- 'lib/fog/joyent/requests/compute/get_dataset.rb'
|
80
|
+
|
81
|
+
# Offense count: 4
|
82
|
+
# Cop supports --auto-correct.
|
83
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
84
|
+
# SupportedStyles: always, conditionals
|
85
|
+
Style/AndOr:
|
86
|
+
Exclude:
|
87
|
+
- 'lib/fog/joyent/analytics.rb'
|
88
|
+
- 'lib/fog/joyent/compute.rb'
|
89
|
+
|
90
|
+
# Offense count: 20
|
91
|
+
# Cop supports --auto-correct.
|
92
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
93
|
+
# SupportedStyles: braces, no_braces, context_dependent
|
94
|
+
Style/BracesAroundHashParameters:
|
95
|
+
Exclude:
|
96
|
+
- 'lib/fog/joyent/analytics.rb'
|
97
|
+
- 'lib/fog/joyent/compute.rb'
|
98
|
+
- 'lib/fog/joyent/models/analytics/instrumentation.rb'
|
99
|
+
- 'tests/helpers/formats_helper_tests.rb'
|
100
|
+
- 'tests/joyent/models/analytics/metrics_tests.rb'
|
101
|
+
|
102
|
+
# Offense count: 6
|
103
|
+
# Cop supports --auto-correct.
|
104
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
105
|
+
# SupportedStyles: is_a?, kind_of?
|
106
|
+
Style/ClassCheck:
|
107
|
+
Exclude:
|
108
|
+
- 'lib/fog/joyent/analytics.rb'
|
109
|
+
- 'lib/fog/joyent/compute.rb'
|
110
|
+
|
111
|
+
# Offense count: 1
|
112
|
+
# Cop supports --auto-correct.
|
113
|
+
Style/CommentIndentation:
|
114
|
+
Exclude:
|
115
|
+
- 'tests/helpers/mock_helper.rb'
|
116
|
+
|
117
|
+
# Offense count: 114
|
118
|
+
Style/Documentation:
|
119
|
+
Enabled: false
|
120
|
+
|
121
|
+
# Offense count: 1
|
122
|
+
Style/DoubleNegation:
|
123
|
+
Exclude:
|
124
|
+
- 'tests/helpers/succeeds_helper.rb'
|
125
|
+
|
126
|
+
# Offense count: 3
|
127
|
+
# Cop supports --auto-correct.
|
128
|
+
Style/ElseAlignment:
|
129
|
+
Exclude:
|
130
|
+
- 'lib/fog/joyent/compute.rb'
|
131
|
+
- 'lib/fog/joyent/models/compute/images.rb'
|
132
|
+
- 'tests/joyent/requests/compute/packages_tests.rb'
|
133
|
+
|
134
|
+
# Offense count: 2
|
135
|
+
# Cop supports --auto-correct.
|
136
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
137
|
+
# SupportedStyles: empty, nil, both
|
138
|
+
Style/EmptyElse:
|
139
|
+
Exclude:
|
140
|
+
- 'lib/fog/joyent/models/compute/keys.rb'
|
141
|
+
- 'lib/fog/joyent/models/compute/snapshots.rb'
|
142
|
+
|
143
|
+
# Offense count: 1
|
144
|
+
# Cop supports --auto-correct.
|
145
|
+
Style/EmptyLineAfterMagicComment:
|
146
|
+
Exclude:
|
147
|
+
- 'fog-joyent.gemspec'
|
148
|
+
|
149
|
+
# Offense count: 14
|
150
|
+
# Cop supports --auto-correct.
|
151
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
152
|
+
# SupportedStyles: empty_lines, no_empty_lines
|
153
|
+
Style/EmptyLinesAroundBlockBody:
|
154
|
+
Exclude:
|
155
|
+
- 'tests/helpers/formats_helper_tests.rb'
|
156
|
+
- 'tests/joyent/models/analytics/fields_tests.rb'
|
157
|
+
- 'tests/joyent/models/analytics/joyent_modules_tests.rb'
|
158
|
+
- 'tests/joyent/models/analytics/metrics_tests.rb'
|
159
|
+
- 'tests/joyent/models/analytics/transformations_tests.rb'
|
160
|
+
- 'tests/joyent/models/analytics/types_tests.rb'
|
161
|
+
- 'tests/joyent/requests/analytics/instrumentation_tests.rb'
|
162
|
+
- 'tests/joyent/requests/compute/keys_tests.rb'
|
163
|
+
- 'tests/joyent/requests/compute/machines_tests.rb'
|
164
|
+
|
165
|
+
# Offense count: 9
|
166
|
+
# Cop supports --auto-correct.
|
167
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
|
168
|
+
# SupportedStyles: consistent, special_for_inner_method_call, special_for_inner_method_call_in_parentheses
|
169
|
+
Style/FirstParameterIndentation:
|
170
|
+
Exclude:
|
171
|
+
- 'lib/fog/joyent/analytics.rb'
|
172
|
+
- 'lib/fog/joyent/requests/analytics/create_instrumentation.rb'
|
173
|
+
- 'lib/fog/joyent/requests/analytics/delete_instrumentation.rb'
|
174
|
+
- 'lib/fog/joyent/requests/analytics/describe_analytics.rb'
|
175
|
+
- 'lib/fog/joyent/requests/analytics/get_instrumentation.rb'
|
176
|
+
- 'lib/fog/joyent/requests/analytics/get_instrumentation_value.rb'
|
177
|
+
- 'lib/fog/joyent/requests/analytics/list_instrumentations.rb'
|
178
|
+
- 'lib/fog/joyent/requests/compute/get_image.rb'
|
179
|
+
- 'lib/fog/joyent/requests/compute/list_images.rb'
|
180
|
+
|
181
|
+
# Offense count: 100
|
182
|
+
# Cop supports --auto-correct.
|
183
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
184
|
+
# SupportedStyles: when_needed, always, never
|
185
|
+
Style/FrozenStringLiteralComment:
|
186
|
+
Enabled: false
|
187
|
+
|
188
|
+
# Offense count: 13
|
189
|
+
# Configuration parameters: MinBodyLength.
|
190
|
+
Style/GuardClause:
|
191
|
+
Exclude:
|
192
|
+
- 'fog-joyent.gemspec'
|
193
|
+
- 'lib/fog/joyent/analytics.rb'
|
194
|
+
- 'lib/fog/joyent/compute.rb'
|
195
|
+
- 'lib/fog/joyent/requests/compute/delete_key.rb'
|
196
|
+
- 'lib/fog/joyent/requests/compute/get_dataset.rb'
|
197
|
+
- 'lib/fog/joyent/requests/compute/get_image.rb'
|
198
|
+
- 'lib/fog/joyent/requests/compute/get_key.rb'
|
199
|
+
- 'lib/fog/joyent/requests/compute/get_machine.rb'
|
200
|
+
- 'lib/fog/joyent/requests/compute/get_machine_metadata.rb'
|
201
|
+
- 'lib/fog/joyent/requests/compute/get_package.rb'
|
202
|
+
|
203
|
+
# Offense count: 223
|
204
|
+
# Cop supports --auto-correct.
|
205
|
+
# Configuration parameters: SupportedStyles, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
|
206
|
+
# SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
|
207
|
+
Style/HashSyntax:
|
208
|
+
EnforcedStyle: hash_rockets
|
209
|
+
|
210
|
+
# Offense count: 3
|
211
|
+
# Cop supports --auto-correct.
|
212
|
+
# Configuration parameters: MaxLineLength.
|
213
|
+
Style/IfUnlessModifier:
|
214
|
+
Exclude:
|
215
|
+
- 'lib/fog/joyent/analytics.rb'
|
216
|
+
- 'lib/fog/joyent/compute.rb'
|
217
|
+
- 'tests/helpers/mock_helper.rb'
|
218
|
+
|
219
|
+
# Offense count: 1
|
220
|
+
# Cop supports --auto-correct.
|
221
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
|
222
|
+
# SupportedStyles: special_inside_parentheses, consistent, align_brackets
|
223
|
+
Style/IndentArray:
|
224
|
+
Exclude:
|
225
|
+
- 'tests/joyent/requests/analytics/instrumentation_tests.rb'
|
226
|
+
|
227
|
+
# Offense count: 26
|
228
|
+
# Cop supports --auto-correct.
|
229
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
|
230
|
+
# SupportedStyles: special_inside_parentheses, consistent, align_braces
|
231
|
+
Style/IndentHash:
|
232
|
+
Exclude:
|
233
|
+
- 'lib/fog/joyent/analytics.rb'
|
234
|
+
- 'lib/fog/joyent/compute.rb'
|
235
|
+
- 'lib/fog/joyent/models/analytics/instrumentation.rb'
|
236
|
+
- 'lib/fog/joyent/requests/analytics/get_instrumentation_value.rb'
|
237
|
+
- 'tests/joyent/models/analytics/metrics_tests.rb'
|
238
|
+
- 'tests/joyent/requests/analytics/instrumentation_tests.rb'
|
239
|
+
|
240
|
+
# Offense count: 5
|
241
|
+
# Cop supports --auto-correct.
|
242
|
+
# Configuration parameters: Width, IgnoredPatterns.
|
243
|
+
Style/IndentationWidth:
|
244
|
+
Exclude:
|
245
|
+
- 'lib/fog/joyent/compute.rb'
|
246
|
+
- 'lib/fog/joyent/models/compute/images.rb'
|
247
|
+
- 'lib/fog/joyent/requests/compute/resize_machine.rb'
|
248
|
+
- 'tests/joyent/requests/compute/packages_tests.rb'
|
249
|
+
|
250
|
+
# Offense count: 4
|
251
|
+
# Cop supports --auto-correct.
|
252
|
+
Style/MethodCallWithoutArgsParentheses:
|
253
|
+
Exclude:
|
254
|
+
- 'lib/fog/joyent/models/compute/datacenters.rb'
|
255
|
+
- 'lib/fog/joyent/models/compute/flavors.rb'
|
256
|
+
- 'lib/fog/joyent/models/compute/servers.rb'
|
257
|
+
- 'lib/fog/joyent/requests/compute/list_packages.rb'
|
258
|
+
|
259
|
+
# Offense count: 1
|
260
|
+
# Cop supports --auto-correct.
|
261
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
262
|
+
# SupportedStyles: symmetrical, new_line, same_line
|
263
|
+
Style/MultilineHashBraceLayout:
|
264
|
+
Exclude:
|
265
|
+
- 'lib/fog/joyent/analytics.rb'
|
266
|
+
|
267
|
+
# Offense count: 1
|
268
|
+
# Cop supports --auto-correct.
|
269
|
+
Style/MutableConstant:
|
270
|
+
Exclude:
|
271
|
+
- 'lib/fog/joyent/version.rb'
|
272
|
+
|
273
|
+
# Offense count: 6
|
274
|
+
# Cop supports --auto-correct.
|
275
|
+
Style/NumericLiterals:
|
276
|
+
MinDigits: 14
|
277
|
+
|
278
|
+
# Offense count: 13
|
279
|
+
# Cop supports --auto-correct.
|
280
|
+
# Configuration parameters: PreferredDelimiters.
|
281
|
+
Style/PercentLiteralDelimiters:
|
282
|
+
Exclude:
|
283
|
+
- 'fog-joyent.gemspec'
|
284
|
+
- 'tests/joyent/models/analytics/fields_tests.rb'
|
285
|
+
- 'tests/joyent/models/analytics/instrumentation_tests.rb'
|
286
|
+
- 'tests/joyent/models/analytics/instrumentations_tests.rb'
|
287
|
+
- 'tests/joyent/models/analytics/joyent_module_tests.rb'
|
288
|
+
- 'tests/joyent/models/analytics/joyent_modules_tests.rb'
|
289
|
+
- 'tests/joyent/models/analytics/metric_tests.rb'
|
290
|
+
- 'tests/joyent/models/analytics/metrics_tests.rb'
|
291
|
+
- 'tests/joyent/models/analytics/transformation_tests.rb'
|
292
|
+
- 'tests/joyent/models/analytics/transformations_tests.rb'
|
293
|
+
- 'tests/joyent/models/analytics/type_tests.rb'
|
294
|
+
- 'tests/joyent/models/analytics/types_tests.rb'
|
295
|
+
|
296
|
+
# Offense count: 3
|
297
|
+
# Cop supports --auto-correct.
|
298
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
299
|
+
# SupportedStyles: compact, exploded
|
300
|
+
Style/RaiseArgs:
|
301
|
+
Exclude:
|
302
|
+
- 'lib/fog/joyent/analytics.rb'
|
303
|
+
- 'lib/fog/joyent/compute.rb'
|
304
|
+
- 'lib/fog/joyent/requests/analytics/get_instrumentation.rb'
|
305
|
+
|
306
|
+
# Offense count: 44
|
307
|
+
# Cop supports --auto-correct.
|
308
|
+
Style/RedundantSelf:
|
309
|
+
Enabled: false
|
310
|
+
|
311
|
+
# Offense count: 4
|
312
|
+
# Cop supports --auto-correct.
|
313
|
+
Style/SpaceAfterComma:
|
314
|
+
Exclude:
|
315
|
+
- 'lib/fog/joyent/models/compute/datacenters.rb'
|
316
|
+
- 'lib/fog/joyent/models/compute/images.rb'
|
317
|
+
- 'lib/fog/joyent/requests/analytics/create_instrumentation.rb'
|
318
|
+
|
319
|
+
# Offense count: 7
|
320
|
+
# Cop supports --auto-correct.
|
321
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
322
|
+
# SupportedStyles: space, no_space
|
323
|
+
Style/SpaceAroundEqualsInParameterDefault:
|
324
|
+
Exclude:
|
325
|
+
- 'lib/fog/joyent/models/analytics/instrumentation.rb'
|
326
|
+
- 'lib/fog/joyent/requests/compute/add_machine_tags.rb'
|
327
|
+
- 'lib/fog/joyent/requests/compute/create_key.rb'
|
328
|
+
- 'lib/fog/joyent/requests/compute/list_machines.rb'
|
329
|
+
- 'lib/fog/joyent/requests/compute/list_networks.rb'
|
330
|
+
|
331
|
+
# Offense count: 1
|
332
|
+
# Cop supports --auto-correct.
|
333
|
+
# Configuration parameters: AllowForAlignment.
|
334
|
+
Style/SpaceAroundOperators:
|
335
|
+
Exclude:
|
336
|
+
- 'lib/fog/joyent/analytics.rb'
|
337
|
+
|
338
|
+
# Offense count: 1
|
339
|
+
# Cop supports --auto-correct.
|
340
|
+
Style/SpaceBeforeComma:
|
341
|
+
Exclude:
|
342
|
+
- 'tests/joyent/requests/compute/keys_tests.rb'
|
343
|
+
|
344
|
+
# Offense count: 51
|
345
|
+
# Cop supports --auto-correct.
|
346
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SupportedStylesForEmptyBraces, SpaceBeforeBlockParameters.
|
347
|
+
# SupportedStyles: space, no_space
|
348
|
+
# SupportedStylesForEmptyBraces: space, no_space
|
349
|
+
Style/SpaceInsideBlockBraces:
|
350
|
+
Exclude:
|
351
|
+
- 'lib/fog/joyent/models/analytics/instrumentation.rb'
|
352
|
+
- 'lib/fog/joyent/models/compute/datacenters.rb'
|
353
|
+
- 'tests/helpers/format_helper.rb'
|
354
|
+
- 'tests/helpers/formats_helper.rb'
|
355
|
+
- 'tests/joyent/models/analytics/field_tests.rb'
|
356
|
+
- 'tests/joyent/models/analytics/joyent_module_tests.rb'
|
357
|
+
- 'tests/joyent/models/analytics/metric_tests.rb'
|
358
|
+
- 'tests/joyent/models/analytics/transformation_tests.rb'
|
359
|
+
- 'tests/joyent/models/analytics/type_tests.rb'
|
360
|
+
|
361
|
+
# Offense count: 116
|
362
|
+
# Cop supports --auto-correct.
|
363
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SupportedStylesForEmptyBraces.
|
364
|
+
# SupportedStyles: space, no_space, compact
|
365
|
+
# SupportedStylesForEmptyBraces: space, no_space
|
366
|
+
Style/SpaceInsideHashLiteralBraces:
|
367
|
+
Exclude:
|
368
|
+
- 'lib/fog/joyent/models/compute/datacenters.rb'
|
369
|
+
- 'lib/fog/joyent/requests/compute/create_machine_snapshot.rb'
|
370
|
+
- 'lib/fog/joyent/requests/compute/get_machine_tag.rb'
|
371
|
+
- 'lib/fog/joyent/requests/compute/reboot_machine.rb'
|
372
|
+
- 'lib/fog/joyent/requests/compute/resize_machine.rb'
|
373
|
+
- 'lib/fog/joyent/requests/compute/start_machine.rb'
|
374
|
+
- 'lib/fog/joyent/requests/compute/stop_machine.rb'
|
375
|
+
- 'tests/helpers/format_helper.rb'
|
376
|
+
- 'tests/helpers/formats_helper.rb'
|
377
|
+
- 'tests/helpers/formats_helper_tests.rb'
|
378
|
+
- 'tests/joyent/models/analytics/instrumentation_tests.rb'
|
379
|
+
- 'tests/joyent/models/analytics/instrumentations_tests.rb'
|
380
|
+
- 'tests/joyent/models/analytics/types_tests.rb'
|
381
|
+
|
382
|
+
# Offense count: 1
|
383
|
+
# Cop supports --auto-correct.
|
384
|
+
Style/SpaceInsidePercentLiteralDelimiters:
|
385
|
+
Exclude:
|
386
|
+
- 'tests/joyent/models/analytics/instrumentation_tests.rb'
|
387
|
+
|
388
|
+
# Offense count: 404
|
389
|
+
# Cop supports --auto-correct.
|
390
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles, ConsistentQuotesInMultiline.
|
391
|
+
# SupportedStyles: single_quotes, double_quotes
|
392
|
+
Style/StringLiterals:
|
393
|
+
Enabled: false
|
394
|
+
|
395
|
+
# Offense count: 2
|
396
|
+
# Cop supports --auto-correct.
|
397
|
+
# Configuration parameters: SupportedStyles.
|
398
|
+
# SupportedStyles: percent, brackets
|
399
|
+
Style/SymbolArray:
|
400
|
+
EnforcedStyle: brackets
|
401
|
+
|
402
|
+
# Offense count: 2
|
403
|
+
# Cop supports --auto-correct.
|
404
|
+
Style/SymbolLiteral:
|
405
|
+
Exclude:
|
406
|
+
- 'lib/fog/joyent/requests/compute/list_datacenters.rb'
|
407
|
+
- 'lib/fog/joyent/requests/compute/list_keys.rb'
|
408
|
+
|
409
|
+
# Offense count: 1
|
410
|
+
# Cop supports --auto-correct.
|
411
|
+
# Configuration parameters: EnforcedStyleForMultiline, SupportedStylesForMultiline.
|
412
|
+
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
|
413
|
+
Style/TrailingCommaInLiteral:
|
414
|
+
Exclude:
|
415
|
+
- 'tests/joyent/requests/compute/datasets_tests.rb'
|
416
|
+
|
417
|
+
# Offense count: 2
|
418
|
+
# Cop supports --auto-correct.
|
419
|
+
Style/TrailingWhitespace:
|
420
|
+
Exclude:
|
421
|
+
- 'fog-joyent.gemspec'
|
422
|
+
|
423
|
+
# Offense count: 4
|
424
|
+
# Cop supports --auto-correct.
|
425
|
+
Style/UnneededPercentQ:
|
426
|
+
Exclude:
|
427
|
+
- 'fog-joyent.gemspec'
|
428
|
+
|
429
|
+
# Offense count: 2
|
430
|
+
# Cop supports --auto-correct.
|
431
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles, MinSize, WordRegex.
|
432
|
+
# SupportedStyles: percent, brackets
|
433
|
+
Style/WordArray:
|
434
|
+
Exclude:
|
435
|
+
- 'lib/fog/joyent/analytics.rb'
|
436
|
+
- 'tests/joyent/models/analytics/metrics_tests.rb'
|