vcloud-rest 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: dbde7288973c310f0a12f5b1bbd8980a25af4397
4
+ data.tar.gz: 75c6edc2047b5ce235e9951bf6f723aabd0f928f
5
+ SHA512:
6
+ metadata.gz: ce2ca0f2908846add8a5beaf12c23e0722d9cd4d3fd8433225e0247249a6f232d887c441df21064566abe1bcc08bb6006a403f1982fc19e9ccee19f30f5cc063
7
+ data.tar.gz: e898766c0f2d3f0b85b0f2b343401cfa18c925983a753124e1a0c878c204322cb6dc802ca63c49c0a05188c58e2f819f83d3d7a1eca82568491fe24e6c700528
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  Changes
2
2
  ==
3
+ 2013-05-13 (0.2.2)
4
+ --
5
+
6
+ FIXES:
7
+
8
+ * Fix retrieving of 'ipAddress' attribute of VMs inside VAPP
9
+
10
+ VARIOUS:
11
+
12
+ * Add license field to gemspec
13
+ * Bump nokogiri dependency to 1.5.9
14
+
3
15
  2012-12-27 (0.2.1)
4
16
  --
5
17
 
data/README.md CHANGED
@@ -3,7 +3,7 @@ vcloud-rest [![Build Status](https://secure.travis-ci.org/astratto/vcloud-rest.p
3
3
 
4
4
  DESCRIPTION
5
5
  --
6
- Unofficial ruby bindings for VMWare® vCloud Director's rest APIs.
6
+ Unofficial ruby bindings for VMware® vCloud Director's rest APIs.
7
7
 
8
8
  Note: at this stage both _v.1.5_ and _v.5.1_ are supported. It defaults to _v.5.1_ but it's possible to specify _api\_version="1.5"_.
9
9
 
@@ -28,7 +28,11 @@ FEATURES
28
28
  - show VDCs
29
29
  - show Catalogs
30
30
  - show Catalog Items
31
- - create/start/stop/delete vApps
31
+ - create/start/stop/delete/show vApps
32
+ - show VMs
33
+ - basic vApp network configuration
34
+ - basic VM network configuration
35
+ - basic VM Guest Customization configuration
32
36
 
33
37
  TODO
34
38
  --
@@ -222,8 +222,10 @@ module VCloudClient
222
222
 
223
223
  vms = response.css('Children Vm')
224
224
  vms_hash = {}
225
+
226
+ # ipAddress could be namespaced or not: see https://github.com/astratto/vcloud-rest/issues/3
225
227
  vms.each do |vm|
226
- addresses = vm.css('rasd|Connection').collect{|n| n['ipAddress']}
228
+ addresses = vm.css('rasd|Connection').collect{|n| n['vcloud:ipAddress'] || n['ipAddress'] }
227
229
  vms_hash[vm['name']] = {:addresses => addresses,
228
230
  :status => convert_vapp_status(vm['status']),
229
231
  :id => vm['href'].gsub("#{@api_url}/vApp/vm-", '')
metadata CHANGED
@@ -1,36 +1,32 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vcloud-rest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
5
- prerelease:
4
+ version: 0.2.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Stefano Tortarolo
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-12-27 00:00:00.000000000 Z
11
+ date: 2013-05-13 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: nokogiri
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
21
- version: 1.5.5
19
+ version: 1.5.9
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ~>
28
25
  - !ruby/object:Gem::Version
29
- version: 1.5.5
26
+ version: 1.5.9
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rest-client
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - ~>
36
32
  - !ruby/object:Gem::Version
@@ -38,7 +34,6 @@ dependencies:
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
38
  - - ~>
44
39
  - !ruby/object:Gem::Version
@@ -55,28 +50,27 @@ files:
55
50
  - LICENSE
56
51
  - lib/vcloud-rest/connection.rb
57
52
  homepage: https://github.com/astratto/vcloud-rest
58
- licenses: []
53
+ licenses:
54
+ - Apache 2.0
55
+ metadata: {}
59
56
  post_install_message:
60
57
  rdoc_options: []
61
58
  require_paths:
62
59
  - lib
63
60
  required_ruby_version: !ruby/object:Gem::Requirement
64
- none: false
65
61
  requirements:
66
- - - ! '>='
62
+ - - '>='
67
63
  - !ruby/object:Gem::Version
68
64
  version: '0'
69
65
  required_rubygems_version: !ruby/object:Gem::Requirement
70
- none: false
71
66
  requirements:
72
- - - ! '>='
67
+ - - '>='
73
68
  - !ruby/object:Gem::Version
74
69
  version: '0'
75
70
  requirements: []
76
71
  rubyforge_project:
77
- rubygems_version: 1.8.24
72
+ rubygems_version: 2.0.3
78
73
  signing_key:
79
- specification_version: 3
74
+ specification_version: 4
80
75
  summary: Unofficial ruby bindings for VMWare vCloud's API
81
76
  test_files: []
82
- has_rdoc: