vagrant-google 2.4.0.rc0 → 2.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +3 -0
- data/.rubocop.yml +12 -4
- data/.ruby-version +2 -2
- data/CHANGELOG.md +67 -6
- data/Gemfile +2 -1
- data/README.md +43 -32
- data/lib/vagrant-google/action/connect_google.rb +1 -7
- data/lib/vagrant-google/action/run_instance.rb +137 -76
- data/lib/vagrant-google/action/setup_winrm_password.rb +72 -0
- data/lib/vagrant-google/action/start_instance.rb +4 -4
- data/lib/vagrant-google/action.rb +10 -0
- data/lib/vagrant-google/config.rb +97 -41
- data/lib/vagrant-google/version.rb +1 -1
- data/locales/en.yml +7 -4
- data/tasks/acceptance.rake +0 -5
- data/tasks/changelog.rake +40 -0
- data/test/acceptance/skeletons/image_family/Vagrantfile +2 -0
- data/test/unit/common/config_test.rb +107 -46
- data/vagrant-google.gemspec +5 -4
- data/vagrantfile_examples/Vagrantfile.multiple_machines +0 -3
- data/vagrantfile_examples/Vagrantfile.provision_single +0 -2
- data/vagrantfile_examples/Vagrantfile.simple +0 -1
- data/vagrantfile_examples/Vagrantfile.zone_config +0 -1
- metadata +36 -22
- data/.rubocop_todo.yml +0 -305
data/.rubocop_todo.yml
DELETED
@@ -1,305 +0,0 @@
|
|
1
|
-
# This configuration was generated by
|
2
|
-
# `rubocop --auto-gen-config`
|
3
|
-
# on 2017-10-29 18:43:35 +1100 using RuboCop version 0.51.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: 1
|
10
|
-
# Cop supports --auto-correct.
|
11
|
-
# Configuration parameters: SupportedStyles, IndentationWidth.
|
12
|
-
# SupportedStyles: special_inside_parentheses, consistent, align_braces
|
13
|
-
Layout/IndentHash:
|
14
|
-
EnforcedStyle: consistent
|
15
|
-
|
16
|
-
# Offense count: 1
|
17
|
-
# Cop supports --auto-correct.
|
18
|
-
# Configuration parameters: Width, IgnoredPatterns.
|
19
|
-
Layout/IndentationWidth:
|
20
|
-
Exclude:
|
21
|
-
- 'lib/vagrant-google/action/connect_google.rb'
|
22
|
-
|
23
|
-
# Offense count: 1
|
24
|
-
# Cop supports --auto-correct.
|
25
|
-
Layout/LeadingCommentSpace:
|
26
|
-
Exclude:
|
27
|
-
- 'lib/vagrant-google/action/sync_folders.rb'
|
28
|
-
|
29
|
-
# Offense count: 1
|
30
|
-
# Cop supports --auto-correct.
|
31
|
-
Layout/SpaceAfterComma:
|
32
|
-
Exclude:
|
33
|
-
- 'test/unit/common/config_test.rb'
|
34
|
-
|
35
|
-
# Offense count: 2
|
36
|
-
# Cop supports --auto-correct.
|
37
|
-
# Configuration parameters: SupportedStyles.
|
38
|
-
# SupportedStyles: space, no_space
|
39
|
-
Layout/SpaceAroundEqualsInParameterDefault:
|
40
|
-
EnforcedStyle: no_space
|
41
|
-
|
42
|
-
# Offense count: 3
|
43
|
-
# Cop supports --auto-correct.
|
44
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles, SupportedStylesForEmptyBraces.
|
45
|
-
# SupportedStyles: space, no_space
|
46
|
-
# SupportedStylesForEmptyBraces: space, no_space
|
47
|
-
Layout/SpaceBeforeBlockBraces:
|
48
|
-
Exclude:
|
49
|
-
- 'lib/vagrant-google/action/sync_folders.rb'
|
50
|
-
- 'tasks/acceptance.rake'
|
51
|
-
|
52
|
-
# Offense count: 2
|
53
|
-
# Cop supports --auto-correct.
|
54
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SupportedStylesForEmptyBraces, SpaceBeforeBlockParameters.
|
55
|
-
# SupportedStyles: space, no_space
|
56
|
-
# SupportedStylesForEmptyBraces: space, no_space
|
57
|
-
Layout/SpaceInsideBlockBraces:
|
58
|
-
Exclude:
|
59
|
-
- 'lib/vagrant-google/action/sync_folders.rb'
|
60
|
-
|
61
|
-
# Offense count: 2
|
62
|
-
Lint/LiteralAsCondition:
|
63
|
-
Exclude:
|
64
|
-
- 'lib/vagrant-google/action/run_instance.rb'
|
65
|
-
- 'lib/vagrant-google/action/start_instance.rb'
|
66
|
-
|
67
|
-
# Offense count: 1
|
68
|
-
Lint/NestedMethodDefinition:
|
69
|
-
Exclude:
|
70
|
-
- 'lib/vagrant-google/action/sync_folders.rb'
|
71
|
-
|
72
|
-
# Offense count: 1
|
73
|
-
Lint/RescueException:
|
74
|
-
Exclude:
|
75
|
-
- 'lib/vagrant-google/action/read_state.rb'
|
76
|
-
|
77
|
-
# Offense count: 1
|
78
|
-
# Cop supports --auto-correct.
|
79
|
-
# Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
|
80
|
-
Lint/UnusedBlockArgument:
|
81
|
-
Exclude:
|
82
|
-
- 'lib/vagrant-google/action/sync_folders.rb'
|
83
|
-
|
84
|
-
# Offense count: 17
|
85
|
-
# Cop supports --auto-correct.
|
86
|
-
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods.
|
87
|
-
Lint/UnusedMethodArgument:
|
88
|
-
Enabled: false
|
89
|
-
|
90
|
-
# Offense count: 1
|
91
|
-
Lint/UselessAssignment:
|
92
|
-
Exclude:
|
93
|
-
- 'lib/vagrant-google/plugin.rb'
|
94
|
-
|
95
|
-
# Offense count: 12
|
96
|
-
Metrics/AbcSize:
|
97
|
-
Max: 59
|
98
|
-
|
99
|
-
# Offense count: 7
|
100
|
-
# Configuration parameters: CountComments, ExcludedMethods.
|
101
|
-
Metrics/BlockLength:
|
102
|
-
Max: 224
|
103
|
-
|
104
|
-
# Offense count: 4
|
105
|
-
Metrics/CyclomaticComplexity:
|
106
|
-
Max: 19
|
107
|
-
|
108
|
-
# Offense count: 84
|
109
|
-
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
|
110
|
-
# URISchemes: http, https
|
111
|
-
Metrics/LineLength:
|
112
|
-
Max: 131
|
113
|
-
|
114
|
-
# Offense count: 15
|
115
|
-
# Configuration parameters: CountComments.
|
116
|
-
Metrics/MethodLength:
|
117
|
-
Max: 43
|
118
|
-
|
119
|
-
# Offense count: 3
|
120
|
-
Metrics/PerceivedComplexity:
|
121
|
-
Max: 19
|
122
|
-
|
123
|
-
# Offense count: 1
|
124
|
-
Naming/AccessorMethodName:
|
125
|
-
Exclude:
|
126
|
-
- 'test/unit/common/config_test.rb'
|
127
|
-
|
128
|
-
# Offense count: 2
|
129
|
-
# Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts, AllowedAcronyms.
|
130
|
-
# AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS
|
131
|
-
Naming/FileName:
|
132
|
-
Exclude:
|
133
|
-
- 'lib/vagrant-google.rb'
|
134
|
-
- 'vagrant-spec.config.rb'
|
135
|
-
|
136
|
-
# Offense count: 4
|
137
|
-
# Cop supports --auto-correct.
|
138
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
139
|
-
# SupportedStyles: always, conditionals
|
140
|
-
Style/AndOr:
|
141
|
-
Exclude:
|
142
|
-
- 'example_boxes/gce-test/Vagrantfile'
|
143
|
-
- 'lib/vagrant-google/config.rb'
|
144
|
-
|
145
|
-
# Offense count: 1
|
146
|
-
# Cop supports --auto-correct.
|
147
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
148
|
-
# SupportedStyles: braces, no_braces, context_dependent
|
149
|
-
Style/BracesAroundHashParameters:
|
150
|
-
Exclude:
|
151
|
-
- 'test/unit/common/config_test.rb'
|
152
|
-
|
153
|
-
# Offense count: 1
|
154
|
-
# Cop supports --auto-correct.
|
155
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles, SingleLineConditionsOnly, IncludeTernaryExpressions.
|
156
|
-
# SupportedStyles: assign_to_condition, assign_inside_condition
|
157
|
-
Style/ConditionalAssignment:
|
158
|
-
Exclude:
|
159
|
-
- 'lib/vagrant-google/config.rb'
|
160
|
-
|
161
|
-
# Offense count: 18
|
162
|
-
Style/Documentation:
|
163
|
-
Exclude:
|
164
|
-
- 'spec/**/*'
|
165
|
-
- 'test/**/*'
|
166
|
-
- 'lib/vagrant-google.rb'
|
167
|
-
- 'lib/vagrant-google/action.rb'
|
168
|
-
- 'lib/vagrant-google/action/message_already_created.rb'
|
169
|
-
- 'lib/vagrant-google/action/message_not_created.rb'
|
170
|
-
- 'lib/vagrant-google/action/message_will_not_destroy.rb'
|
171
|
-
- 'lib/vagrant-google/action/warn_networks.rb'
|
172
|
-
- 'lib/vagrant-google/action/warn_ssh_keys.rb'
|
173
|
-
- 'lib/vagrant-google/config.rb'
|
174
|
-
- 'lib/vagrant-google/errors.rb'
|
175
|
-
- 'lib/vagrant-google/plugin.rb'
|
176
|
-
- 'lib/vagrant-google/provider.rb'
|
177
|
-
- 'lib/vagrant-google/util/timer.rb'
|
178
|
-
|
179
|
-
# Offense count: 49
|
180
|
-
# Cop supports --auto-correct.
|
181
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
182
|
-
# SupportedStyles: when_needed, always, never
|
183
|
-
Style/FrozenStringLiteralComment:
|
184
|
-
Enabled: false
|
185
|
-
|
186
|
-
# Offense count: 4
|
187
|
-
# Configuration parameters: MinBodyLength.
|
188
|
-
Style/GuardClause:
|
189
|
-
Exclude:
|
190
|
-
- 'lib/vagrant-google/action/connect_google.rb'
|
191
|
-
- 'lib/vagrant-google/action/run_instance.rb'
|
192
|
-
- 'lib/vagrant-google/plugin.rb'
|
193
|
-
|
194
|
-
# Offense count: 45
|
195
|
-
# Cop supports --auto-correct.
|
196
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
|
197
|
-
# SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
|
198
|
-
Style/HashSyntax:
|
199
|
-
Exclude:
|
200
|
-
- 'lib/vagrant-google/action/connect_google.rb'
|
201
|
-
- 'lib/vagrant-google/action/read_ssh_info.rb'
|
202
|
-
- 'lib/vagrant-google/action/run_instance.rb'
|
203
|
-
- 'lib/vagrant-google/action/start_instance.rb'
|
204
|
-
- 'lib/vagrant-google/action/stop_instance.rb'
|
205
|
-
- 'lib/vagrant-google/action/sync_folders.rb'
|
206
|
-
- 'tasks/acceptance.rake'
|
207
|
-
- 'tasks/boxes.rake'
|
208
|
-
- 'test/unit/common/config_test.rb'
|
209
|
-
|
210
|
-
# Offense count: 2
|
211
|
-
# Cop supports --auto-correct.
|
212
|
-
Style/InfiniteLoop:
|
213
|
-
Exclude:
|
214
|
-
- 'lib/vagrant-google/action/run_instance.rb'
|
215
|
-
- 'lib/vagrant-google/action/start_instance.rb'
|
216
|
-
|
217
|
-
# Offense count: 1
|
218
|
-
# Cop supports --auto-correct.
|
219
|
-
Style/MultilineIfThen:
|
220
|
-
Exclude:
|
221
|
-
- 'lib/vagrant-google/action/read_ssh_info.rb'
|
222
|
-
|
223
|
-
# Offense count: 1
|
224
|
-
# Cop supports --auto-correct.
|
225
|
-
# Configuration parameters: EnforcedStyle, MinBodyLength, SupportedStyles.
|
226
|
-
# SupportedStyles: skip_modifier_ifs, always
|
227
|
-
Style/Next:
|
228
|
-
Exclude:
|
229
|
-
- 'lib/vagrant-google/action/sync_folders.rb'
|
230
|
-
|
231
|
-
# Offense count: 1
|
232
|
-
# Cop supports --auto-correct.
|
233
|
-
Style/NilComparison:
|
234
|
-
Exclude:
|
235
|
-
- 'test/unit/common/config_test.rb'
|
236
|
-
|
237
|
-
# Offense count: 2
|
238
|
-
# Cop supports --auto-correct.
|
239
|
-
# Configuration parameters: PreferredDelimiters.
|
240
|
-
Style/PercentLiteralDelimiters:
|
241
|
-
Exclude:
|
242
|
-
- 'tasks/acceptance.rake'
|
243
|
-
|
244
|
-
# Offense count: 1
|
245
|
-
# Cop supports --auto-correct.
|
246
|
-
Style/PerlBackrefs:
|
247
|
-
Exclude:
|
248
|
-
- 'lib/vagrant-google/action/sync_folders.rb'
|
249
|
-
|
250
|
-
# Offense count: 4
|
251
|
-
# Cop supports --auto-correct.
|
252
|
-
# Configuration parameters: AllowMultipleReturnValues.
|
253
|
-
Style/RedundantReturn:
|
254
|
-
Exclude:
|
255
|
-
- 'lib/vagrant-google/action/connect_google.rb'
|
256
|
-
- 'lib/vagrant-google/action/read_ssh_info.rb'
|
257
|
-
- 'lib/vagrant-google/action/read_state.rb'
|
258
|
-
|
259
|
-
# Offense count: 1
|
260
|
-
# Cop supports --auto-correct.
|
261
|
-
Style/RedundantSelf:
|
262
|
-
Exclude:
|
263
|
-
- 'lib/vagrant-google/config.rb'
|
264
|
-
|
265
|
-
# Offense count: 1
|
266
|
-
# Cop supports --auto-correct.
|
267
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles, AllowInnerSlashes.
|
268
|
-
# SupportedStyles: slashes, percent_r, mixed
|
269
|
-
Style/RegexpLiteral:
|
270
|
-
Exclude:
|
271
|
-
- 'lib/vagrant-google/action/sync_folders.rb'
|
272
|
-
|
273
|
-
# Offense count: 2
|
274
|
-
# Cop supports --auto-correct.
|
275
|
-
# Configuration parameters: ConvertCodeThatCanStartToReturnNil.
|
276
|
-
Style/SafeNavigation:
|
277
|
-
Exclude:
|
278
|
-
- 'lib/vagrant-google/action/run_instance.rb'
|
279
|
-
- 'lib/vagrant-google/action/terminate_instance.rb'
|
280
|
-
|
281
|
-
# Offense count: 8
|
282
|
-
# Cop supports --auto-correct.
|
283
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
284
|
-
# SupportedStyles: single_quotes, double_quotes
|
285
|
-
Style/StringLiteralsInInterpolation:
|
286
|
-
Exclude:
|
287
|
-
- 'lib/vagrant-google/action/run_instance.rb'
|
288
|
-
- 'lib/vagrant-google/action/start_instance.rb'
|
289
|
-
- 'lib/vagrant-google/config.rb'
|
290
|
-
- 'tasks/acceptance.rake'
|
291
|
-
|
292
|
-
# Offense count: 5
|
293
|
-
# Cop supports --auto-correct.
|
294
|
-
# Configuration parameters: MinSize, SupportedStyles.
|
295
|
-
# SupportedStyles: percent, brackets
|
296
|
-
Style/SymbolArray:
|
297
|
-
EnforcedStyle: brackets
|
298
|
-
|
299
|
-
# Offense count: 4
|
300
|
-
# Cop supports --auto-correct.
|
301
|
-
# Configuration parameters: IgnoredMethods.
|
302
|
-
# IgnoredMethods: respond_to, define_method
|
303
|
-
Style/SymbolProc:
|
304
|
-
Exclude:
|
305
|
-
- 'test/unit/common/config_test.rb'
|