vcloud-rest 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  Changes
2
2
  ==
3
+ 2012-12-27 (0.2.1)
4
+ --
5
+
6
+ FIXES:
7
+
8
+ * Fix VM's admin password retrieval
9
+
3
10
  2012-12-21 (0.2.0)
4
11
  --
5
12
 
@@ -465,11 +465,14 @@ module VCloudClient
465
465
  }
466
466
  end
467
467
 
468
+ admin_password = response.css('GuestCustomizationSection AdminPassword').first
469
+ admin_password = admin_password.text if admin_password
470
+
468
471
  guest_customizations = {
469
472
  :enabled => response.css('GuestCustomizationSection Enabled').first.text,
470
473
  :admin_passwd_enabled => response.css('GuestCustomizationSection AdminPasswordEnabled').first.text,
471
474
  :admin_passwd_auto => response.css('GuestCustomizationSection AdminPasswordAuto').first.text,
472
- :admin_passwd => response.css('GuestCustomizationSection AdminPassword').first.text,
475
+ :admin_passwd => admin_password,
473
476
  :reset_passwd_required => response.css('GuestCustomizationSection ResetPasswordRequired').first.text,
474
477
  :computer_name => response.css('GuestCustomizationSection ComputerName').first.text
475
478
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vcloud-rest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-21 00:00:00.000000000 Z
12
+ date: 2012-12-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri