vagrant-vcloudair 0.5.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.
Files changed (53) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +34 -0
  3. data/.rubocop.yml +34 -0
  4. data/Gemfile +7 -0
  5. data/LICENSE +21 -0
  6. data/README.md +109 -0
  7. data/lib/vagrant-vcloudair.rb +63 -0
  8. data/lib/vagrant-vcloudair/action.rb +298 -0
  9. data/lib/vagrant-vcloudair/action/announce_ssh_exec.rb +22 -0
  10. data/lib/vagrant-vcloudair/action/build_vapp.rb +235 -0
  11. data/lib/vagrant-vcloudair/action/connect_vcloud.rb +54 -0
  12. data/lib/vagrant-vcloudair/action/destroy_vapp.rb +54 -0
  13. data/lib/vagrant-vcloudair/action/destroy_vm.rb +37 -0
  14. data/lib/vagrant-vcloudair/action/disconnect_vcloud.rb +31 -0
  15. data/lib/vagrant-vcloudair/action/forward_ports.rb +132 -0
  16. data/lib/vagrant-vcloudair/action/handle_nat_port_collisions.rb +153 -0
  17. data/lib/vagrant-vcloudair/action/inventory_check.rb +210 -0
  18. data/lib/vagrant-vcloudair/action/is_bridged.rb +29 -0
  19. data/lib/vagrant-vcloudair/action/is_created.rb +35 -0
  20. data/lib/vagrant-vcloudair/action/is_last_vm.rb +31 -0
  21. data/lib/vagrant-vcloudair/action/is_paused.rb +20 -0
  22. data/lib/vagrant-vcloudair/action/is_running.rb +20 -0
  23. data/lib/vagrant-vcloudair/action/message_already_running.rb +16 -0
  24. data/lib/vagrant-vcloudair/action/message_cannot_suspend.rb +16 -0
  25. data/lib/vagrant-vcloudair/action/message_not_created.rb +16 -0
  26. data/lib/vagrant-vcloudair/action/message_not_running.rb +16 -0
  27. data/lib/vagrant-vcloudair/action/message_will_not_destroy.rb +21 -0
  28. data/lib/vagrant-vcloudair/action/power_off.rb +33 -0
  29. data/lib/vagrant-vcloudair/action/power_off_vapp.rb +40 -0
  30. data/lib/vagrant-vcloudair/action/power_on.rb +39 -0
  31. data/lib/vagrant-vcloudair/action/read_ssh_info.rb +153 -0
  32. data/lib/vagrant-vcloudair/action/read_state.rb +51 -0
  33. data/lib/vagrant-vcloudair/action/resume.rb +25 -0
  34. data/lib/vagrant-vcloudair/action/suspend.rb +25 -0
  35. data/lib/vagrant-vcloudair/action/unmap_port_forwardings.rb +74 -0
  36. data/lib/vagrant-vcloudair/cap/forwarded_ports.rb +38 -0
  37. data/lib/vagrant-vcloudair/cap/public_address.rb +18 -0
  38. data/lib/vagrant-vcloudair/cap/rdp_info.rb +18 -0
  39. data/lib/vagrant-vcloudair/cap/winrm_info.rb +15 -0
  40. data/lib/vagrant-vcloudair/command.rb +285 -0
  41. data/lib/vagrant-vcloudair/config.rb +205 -0
  42. data/lib/vagrant-vcloudair/driver/base.rb +643 -0
  43. data/lib/vagrant-vcloudair/driver/meta.rb +202 -0
  44. data/lib/vagrant-vcloudair/driver/version_5_1.rb +2019 -0
  45. data/lib/vagrant-vcloudair/errors.rb +77 -0
  46. data/lib/vagrant-vcloudair/model/forwarded_port.rb +66 -0
  47. data/lib/vagrant-vcloudair/plugin.rb +111 -0
  48. data/lib/vagrant-vcloudair/provider.rb +41 -0
  49. data/lib/vagrant-vcloudair/util/compile_forwarded_ports.rb +34 -0
  50. data/lib/vagrant-vcloudair/version.rb +5 -0
  51. data/locales/en.yml +169 -0
  52. data/vagrant-vcloudair.gemspec +33 -0
  53. metadata +266 -0
@@ -0,0 +1,33 @@
1
+ $LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
2
+ require 'vagrant-vcloudair/version'
3
+
4
+ Gem::Specification.new do |s|
5
+ s.name = 'vagrant-vcloudair'
6
+ s.version = VagrantPlugins::VCloudAir::VERSION
7
+ s.platform = Gem::Platform::RUBY
8
+ s.authors = ['Fabio Rapposelli', 'Timo Sugliani']
9
+ s.email = ['fabio@rapposelli.org', 'timo.sugliani@gmail.com']
10
+ s.homepage = 'https://github.com/gosddc/vagrant-vcloudair'
11
+ s.license = 'MIT'
12
+ s.summary = 'VMware vCloud® Air™ provider'
13
+ s.description = 'Enables Vagrant to manage machines with VMware vCloud® Air™.'
14
+
15
+ s.add_runtime_dependency 'i18n', '~> 0.6.4'
16
+ s.add_runtime_dependency 'log4r', '~> 1.1.10'
17
+ s.add_runtime_dependency 'nokogiri', '~> 1.5.5'
18
+ s.add_runtime_dependency 'httpclient', '~> 2.3.4.1'
19
+ s.add_runtime_dependency 'ruby-progressbar', '~> 1.1.1'
20
+ s.add_runtime_dependency 'netaddr', '~> 1.5.0'
21
+ s.add_runtime_dependency 'awesome_print', '~> 1.2.0'
22
+ s.add_runtime_dependency 'terminal-table', '~> 1.4.5'
23
+
24
+ s.add_development_dependency 'rake'
25
+ s.add_development_dependency 'rspec-core', '~> 2.12.2'
26
+ s.add_development_dependency 'rspec-expectations', '~> 2.12.1'
27
+ s.add_development_dependency 'rspec-mocks', '~> 2.12.1'
28
+
29
+ s.files = `git ls-files`.split($/)
30
+ s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
31
+ s.test_files = s.files.grep(%r{^(test|spec|features)/})
32
+ s.require_path = 'lib'
33
+ end
metadata ADDED
@@ -0,0 +1,266 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: vagrant-vcloudair
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.5.0
5
+ platform: ruby
6
+ authors:
7
+ - Fabio Rapposelli
8
+ - Timo Sugliani
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2014-09-05 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: i18n
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - ~>
19
+ - !ruby/object:Gem::Version
20
+ version: 0.6.4
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ~>
26
+ - !ruby/object:Gem::Version
27
+ version: 0.6.4
28
+ - !ruby/object:Gem::Dependency
29
+ name: log4r
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - ~>
33
+ - !ruby/object:Gem::Version
34
+ version: 1.1.10
35
+ type: :runtime
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ~>
40
+ - !ruby/object:Gem::Version
41
+ version: 1.1.10
42
+ - !ruby/object:Gem::Dependency
43
+ name: nokogiri
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - ~>
47
+ - !ruby/object:Gem::Version
48
+ version: 1.5.5
49
+ type: :runtime
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ~>
54
+ - !ruby/object:Gem::Version
55
+ version: 1.5.5
56
+ - !ruby/object:Gem::Dependency
57
+ name: httpclient
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - ~>
61
+ - !ruby/object:Gem::Version
62
+ version: 2.3.4.1
63
+ type: :runtime
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ~>
68
+ - !ruby/object:Gem::Version
69
+ version: 2.3.4.1
70
+ - !ruby/object:Gem::Dependency
71
+ name: ruby-progressbar
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - ~>
75
+ - !ruby/object:Gem::Version
76
+ version: 1.1.1
77
+ type: :runtime
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - ~>
82
+ - !ruby/object:Gem::Version
83
+ version: 1.1.1
84
+ - !ruby/object:Gem::Dependency
85
+ name: netaddr
86
+ requirement: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - ~>
89
+ - !ruby/object:Gem::Version
90
+ version: 1.5.0
91
+ type: :runtime
92
+ prerelease: false
93
+ version_requirements: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - ~>
96
+ - !ruby/object:Gem::Version
97
+ version: 1.5.0
98
+ - !ruby/object:Gem::Dependency
99
+ name: awesome_print
100
+ requirement: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - ~>
103
+ - !ruby/object:Gem::Version
104
+ version: 1.2.0
105
+ type: :runtime
106
+ prerelease: false
107
+ version_requirements: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - ~>
110
+ - !ruby/object:Gem::Version
111
+ version: 1.2.0
112
+ - !ruby/object:Gem::Dependency
113
+ name: terminal-table
114
+ requirement: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - ~>
117
+ - !ruby/object:Gem::Version
118
+ version: 1.4.5
119
+ type: :runtime
120
+ prerelease: false
121
+ version_requirements: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - ~>
124
+ - !ruby/object:Gem::Version
125
+ version: 1.4.5
126
+ - !ruby/object:Gem::Dependency
127
+ name: rake
128
+ requirement: !ruby/object:Gem::Requirement
129
+ requirements:
130
+ - - '>='
131
+ - !ruby/object:Gem::Version
132
+ version: '0'
133
+ type: :development
134
+ prerelease: false
135
+ version_requirements: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - '>='
138
+ - !ruby/object:Gem::Version
139
+ version: '0'
140
+ - !ruby/object:Gem::Dependency
141
+ name: rspec-core
142
+ requirement: !ruby/object:Gem::Requirement
143
+ requirements:
144
+ - - ~>
145
+ - !ruby/object:Gem::Version
146
+ version: 2.12.2
147
+ type: :development
148
+ prerelease: false
149
+ version_requirements: !ruby/object:Gem::Requirement
150
+ requirements:
151
+ - - ~>
152
+ - !ruby/object:Gem::Version
153
+ version: 2.12.2
154
+ - !ruby/object:Gem::Dependency
155
+ name: rspec-expectations
156
+ requirement: !ruby/object:Gem::Requirement
157
+ requirements:
158
+ - - ~>
159
+ - !ruby/object:Gem::Version
160
+ version: 2.12.1
161
+ type: :development
162
+ prerelease: false
163
+ version_requirements: !ruby/object:Gem::Requirement
164
+ requirements:
165
+ - - ~>
166
+ - !ruby/object:Gem::Version
167
+ version: 2.12.1
168
+ - !ruby/object:Gem::Dependency
169
+ name: rspec-mocks
170
+ requirement: !ruby/object:Gem::Requirement
171
+ requirements:
172
+ - - ~>
173
+ - !ruby/object:Gem::Version
174
+ version: 2.12.1
175
+ type: :development
176
+ prerelease: false
177
+ version_requirements: !ruby/object:Gem::Requirement
178
+ requirements:
179
+ - - ~>
180
+ - !ruby/object:Gem::Version
181
+ version: 2.12.1
182
+ description: Enables Vagrant to manage machines with VMware vCloud® Air™.
183
+ email:
184
+ - fabio@rapposelli.org
185
+ - timo.sugliani@gmail.com
186
+ executables: []
187
+ extensions: []
188
+ extra_rdoc_files: []
189
+ files:
190
+ - .gitignore
191
+ - .rubocop.yml
192
+ - Gemfile
193
+ - LICENSE
194
+ - README.md
195
+ - lib/vagrant-vcloudair.rb
196
+ - lib/vagrant-vcloudair/action.rb
197
+ - lib/vagrant-vcloudair/action/announce_ssh_exec.rb
198
+ - lib/vagrant-vcloudair/action/build_vapp.rb
199
+ - lib/vagrant-vcloudair/action/connect_vcloud.rb
200
+ - lib/vagrant-vcloudair/action/destroy_vapp.rb
201
+ - lib/vagrant-vcloudair/action/destroy_vm.rb
202
+ - lib/vagrant-vcloudair/action/disconnect_vcloud.rb
203
+ - lib/vagrant-vcloudair/action/forward_ports.rb
204
+ - lib/vagrant-vcloudair/action/handle_nat_port_collisions.rb
205
+ - lib/vagrant-vcloudair/action/inventory_check.rb
206
+ - lib/vagrant-vcloudair/action/is_bridged.rb
207
+ - lib/vagrant-vcloudair/action/is_created.rb
208
+ - lib/vagrant-vcloudair/action/is_last_vm.rb
209
+ - lib/vagrant-vcloudair/action/is_paused.rb
210
+ - lib/vagrant-vcloudair/action/is_running.rb
211
+ - lib/vagrant-vcloudair/action/message_already_running.rb
212
+ - lib/vagrant-vcloudair/action/message_cannot_suspend.rb
213
+ - lib/vagrant-vcloudair/action/message_not_created.rb
214
+ - lib/vagrant-vcloudair/action/message_not_running.rb
215
+ - lib/vagrant-vcloudair/action/message_will_not_destroy.rb
216
+ - lib/vagrant-vcloudair/action/power_off.rb
217
+ - lib/vagrant-vcloudair/action/power_off_vapp.rb
218
+ - lib/vagrant-vcloudair/action/power_on.rb
219
+ - lib/vagrant-vcloudair/action/read_ssh_info.rb
220
+ - lib/vagrant-vcloudair/action/read_state.rb
221
+ - lib/vagrant-vcloudair/action/resume.rb
222
+ - lib/vagrant-vcloudair/action/suspend.rb
223
+ - lib/vagrant-vcloudair/action/unmap_port_forwardings.rb
224
+ - lib/vagrant-vcloudair/cap/forwarded_ports.rb
225
+ - lib/vagrant-vcloudair/cap/public_address.rb
226
+ - lib/vagrant-vcloudair/cap/rdp_info.rb
227
+ - lib/vagrant-vcloudair/cap/winrm_info.rb
228
+ - lib/vagrant-vcloudair/command.rb
229
+ - lib/vagrant-vcloudair/config.rb
230
+ - lib/vagrant-vcloudair/driver/base.rb
231
+ - lib/vagrant-vcloudair/driver/meta.rb
232
+ - lib/vagrant-vcloudair/driver/version_5_1.rb
233
+ - lib/vagrant-vcloudair/errors.rb
234
+ - lib/vagrant-vcloudair/model/forwarded_port.rb
235
+ - lib/vagrant-vcloudair/plugin.rb
236
+ - lib/vagrant-vcloudair/provider.rb
237
+ - lib/vagrant-vcloudair/util/compile_forwarded_ports.rb
238
+ - lib/vagrant-vcloudair/version.rb
239
+ - locales/en.yml
240
+ - vagrant-vcloudair.gemspec
241
+ homepage: https://github.com/gosddc/vagrant-vcloudair
242
+ licenses:
243
+ - MIT
244
+ metadata: {}
245
+ post_install_message:
246
+ rdoc_options: []
247
+ require_paths:
248
+ - lib
249
+ required_ruby_version: !ruby/object:Gem::Requirement
250
+ requirements:
251
+ - - '>='
252
+ - !ruby/object:Gem::Version
253
+ version: '0'
254
+ required_rubygems_version: !ruby/object:Gem::Requirement
255
+ requirements:
256
+ - - '>='
257
+ - !ruby/object:Gem::Version
258
+ version: '0'
259
+ requirements: []
260
+ rubyforge_project:
261
+ rubygems_version: 2.1.8
262
+ signing_key:
263
+ specification_version: 4
264
+ summary: VMware vCloud® Air™ provider
265
+ test_files: []
266
+ has_rdoc: