fog-vcloud-director 0.1.0 → 0.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: fe5d93ccfadb4493a7a0a2c5e099c24a290fc88a
4
- data.tar.gz: b78d16d733126e7c3e5128051b41fe834263d370
3
+ metadata.gz: 8d37ccddc3106415a49ca28053cac9facbc096d2
4
+ data.tar.gz: be2ca000bb2c768f6ff4a642f91ff28e112b3c37
5
5
  SHA512:
6
- metadata.gz: 66e107aaaa0d4f6d67c42634a6e706e1123970a642e1e273e6c8351610e4a890e954b09ebe04e8ce7aa4bfe03fcdf3e0db8d77e4307b1836205bd7e399b940ac
7
- data.tar.gz: 82084dce406a51d0377cd324c1ddf2d5b6d8a66a7df07ade832b5b5b9e25094b88d6766bd1549a5627d520c04960f9d8b59a5b536bbf0c1a54d3ec100660ef2b
6
+ metadata.gz: b164c7f9b7a4880630607ad54b195cc7683838ef50fd372033a8fdd8b427f0d2a8e9201e5e2fad8c6d1e58b1c81848fc61dc787ff943ff233072487953983352
7
+ data.tar.gz: cf90dd0fa4e4ea8c044c6bf913cfa2163d7522cf68bf6b1ba596d7a55796954de5299734ea0b7e7ba91cb9e2592fcfb224790a78c412a12b57cc54e561801257
@@ -33,6 +33,19 @@ module Fog
33
33
  service.custom_fields( :vapp => self)
34
34
  end
35
35
 
36
+ def human_status
37
+ case status
38
+ when '0', 0
39
+ 'creating'
40
+ when '8', 8
41
+ 'off'
42
+ when '4', 4
43
+ 'on'
44
+ else
45
+ 'unknown'
46
+ end
47
+ end
48
+
36
49
  # @param [String] action The specified action is applied to all virtual
37
50
  # machines in the vApp. All values other than **default** ignore
38
51
  # actions, order, and delay specified in the StartupSection. One of:
@@ -1,5 +1,5 @@
1
1
  module Fog
2
2
  module VcloudDirector
3
- VERSION = "0.1.0".freeze
3
+ VERSION = "0.1.1".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fog-vcloud-director
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luka Zakrajšek
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-22 00:00:00.000000000 Z
11
+ date: 2016-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fog-core