vcloud-rest 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7c2eb998fce7438cab0aceb5308024a7c660b487
4
- data.tar.gz: b7d09d0d744be363ef4dbe172c0d9d31474625eb
3
+ metadata.gz: caa1ca74dcbe7fe8b1742b78b56bcb17cfe1823e
4
+ data.tar.gz: 9d3a0952f7287a24d88d42f7337eff029906e801
5
5
  SHA512:
6
- metadata.gz: ccab7973655779b11498d5df9da2c50626f6aa199ac0d97ca1417f0285e30b9d486a0a7f1aff43b84a132d76bd0d1bc9b80b3b2a8c6776fc86343f0c512014ac
7
- data.tar.gz: 64a015a7b3803fdedfc30efe46c31ecced6f797a2036227eefe3cedb0811f17ae671433d87e13754104f723ad49faa91ea5b034d5eb146c9dc5db775b90975b7
6
+ metadata.gz: 44cecbe9acc1c69c66e9242f60d453658242c973fe851a23ab3c249e2cedf9858ed71719837eae9775cb45f1ccd2cd640e92c8e2a134191e713d7177dd0ccf4a
7
+ data.tar.gz: 50268f8c5b59a545636ecbccdfb3620d13074149dcd62e6820b2e5b81b6440893f3525b599c6da783445afb0189e9a60ffd4ded6f16906a6865fef7352b570d9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  Changes
2
2
  ==
3
+ 2013-12-31 (1.1.1)
4
+ --
5
+
6
+ FIXES:
7
+ * Unify IP address retrieval (issue #20)
8
+
3
9
  2013-12-13 (1.1.0)
4
10
  --
5
11
 
@@ -87,9 +87,9 @@ module VCloudClient
87
87
  vms.each do |vm|
88
88
  vapp_local_id = vm.css('VAppScopedLocalId')
89
89
  addresses = vm.css('rasd|Connection').collect do |n|
90
- address = n['vcloud:ipAddress']
91
- address = n.attributes['ipAddress'] unless address
92
- address = address.value if address
90
+ address = n.attribute('vcloud:ipAddress')
91
+ address = n.attribute('ipAddress') unless address
92
+ address = address.text if address
93
93
  end
94
94
 
95
95
  vms_hash[vm['name']] = {
@@ -1,3 +1,3 @@
1
1
  module VCloudClient
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vcloud-rest
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefano Tortarolo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-13 00:00:00.000000000 Z
11
+ date: 2013-12-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri