vagrant-google 2.5.0 → 2.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -28,16 +28,17 @@ Gem::Specification.new do |s|
28
28
  s.required_rubygems_version = ">= 1.3.6"
29
29
  s.rubyforge_project = "vagrant-google"
30
30
 
31
- s.add_runtime_dependency "fog-google", "~> 1.9.1"
31
+ s.add_runtime_dependency "fog-google", "~> 1.12.0"
32
32
 
33
33
  # This is a restriction to avoid errors on `failure_message_for_should`
34
34
  # TODO: revise after vagrant_spec goes past >0.0.1 (at master@e623a56)
35
35
  s.add_development_dependency "rspec-legacy_formatters"
36
36
 
37
- s.add_development_dependency "rake", "~> 12.3"
37
+ s.add_development_dependency "rake", ">= 13.0.1"
38
38
  s.add_development_dependency "rspec", ">= 3.5.0", "<= 3.6"
39
39
  s.add_development_dependency "rspec-its", "~> 1.2"
40
- s.add_development_dependency "rubocop", "~> 0.50"
40
+ s.add_development_dependency "rubocop", "~> 0.83"
41
+ s.add_development_dependency "rubocop-performance", "~> 1.5.2"
41
42
  s.add_development_dependency "highline"
42
43
  s.add_development_dependency "pry"
43
44
  s.add_development_dependency "pry-byebug"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-google
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.0
4
+ version: 2.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Johnson
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-09-15 00:00:00.000000000 Z
12
+ date: 2020-12-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fog-google
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: 1.9.1
20
+ version: 1.12.0
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: 1.9.1
27
+ version: 1.12.0
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: rspec-legacy_formatters
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -43,16 +43,16 @@ dependencies:
43
43
  name: rake
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - "~>"
46
+ - - ">="
47
47
  - !ruby/object:Gem::Version
48
- version: '12.3'
48
+ version: 13.0.1
49
49
  type: :development
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - "~>"
53
+ - - ">="
54
54
  - !ruby/object:Gem::Version
55
- version: '12.3'
55
+ version: 13.0.1
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: rspec
58
58
  requirement: !ruby/object:Gem::Requirement
@@ -93,14 +93,28 @@ dependencies:
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '0.50'
96
+ version: '0.83'
97
+ type: :development
98
+ prerelease: false
99
+ version_requirements: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '0.83'
104
+ - !ruby/object:Gem::Dependency
105
+ name: rubocop-performance
106
+ requirement: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: 1.5.2
97
111
  type: :development
98
112
  prerelease: false
99
113
  version_requirements: !ruby/object:Gem::Requirement
100
114
  requirements:
101
115
  - - "~>"
102
116
  - !ruby/object:Gem::Version
103
- version: '0.50'
117
+ version: 1.5.2
104
118
  - !ruby/object:Gem::Dependency
105
119
  name: highline
106
120
  requirement: !ruby/object:Gem::Requirement
@@ -151,7 +165,6 @@ extra_rdoc_files: []
151
165
  files:
152
166
  - ".gitignore"
153
167
  - ".rubocop.yml"
154
- - ".rubocop_todo.yml"
155
168
  - ".ruby-version"
156
169
  - CHANGELOG.md
157
170
  - Gemfile
@@ -176,6 +189,7 @@ files:
176
189
  - lib/vagrant-google/action/read_ssh_info.rb
177
190
  - lib/vagrant-google/action/read_state.rb
178
191
  - lib/vagrant-google/action/run_instance.rb
192
+ - lib/vagrant-google/action/setup_winrm_password.rb
179
193
  - lib/vagrant-google/action/start_instance.rb
180
194
  - lib/vagrant-google/action/stop_instance.rb
181
195
  - lib/vagrant-google/action/terminate_instance.rb
@@ -192,6 +206,7 @@ files:
192
206
  - tasks/acceptance.rake
193
207
  - tasks/boxes.rake
194
208
  - tasks/bundler.rake
209
+ - tasks/changelog.rake
195
210
  - tasks/lint.rake
196
211
  - tasks/test.rake
197
212
  - test/acceptance/base.rb
@@ -235,8 +250,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
235
250
  - !ruby/object:Gem::Version
236
251
  version: 1.3.6
237
252
  requirements: []
238
- rubyforge_project: vagrant-google
239
- rubygems_version: 2.6.14
253
+ rubygems_version: 3.0.3
240
254
  signing_key:
241
255
  specification_version: 4
242
256
  summary: Vagrant provider plugin for Google Compute Engine.
@@ -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'