fog-vcloud-director 0.1.3 → 0.1.4

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: 9461ca16dc5fabf0a01c12c9de242aaecd01320c
4
- data.tar.gz: 3728ef1ad30e2f4afaabd31c9b107f02d4c14480
3
+ metadata.gz: 46f0174e73d400f06e847cc3c7ab453022ede542
4
+ data.tar.gz: 9f6417a6d669922eea079eb29f81024b51754e00
5
5
  SHA512:
6
- metadata.gz: 0786814c8306390b0676c9e3ae2f96a3d9e4fc2aeee05d2241fbe40bf4c1febddd029d135ad5608f0455d5226ff11b28e8e6b762a92892888927f28189693246
7
- data.tar.gz: 5376f9d2f52a1b49bbe77c371bb9f187d3178d448a531222df3e7ebdc2ee5350aafcf38a268c02312b960811f8459a84ce14c2d8ed7b5c1459a08ea709896e16
6
+ metadata.gz: ac2f41a245ef469b88f0018dd6403ac0140abda377e1632c39f3f74daf6c7425d6a6ec6b70a7b6af31374e93269dfee45e8568ea30aced73a06229f071ce5b27
7
+ data.tar.gz: 81a7aed02fc14e50d76a9d0bfe11475da3310a27f87efce48aaa27d6a9fc2192164ddd6ca291848c71197f1ce37a51a6a9d5424207a916489b9d59d646df8350
@@ -41,6 +41,8 @@ module Fog
41
41
  'off'
42
42
  when '4', 4
43
43
  'on'
44
+ when '3', 3
45
+ 'suspended'
44
46
  else
45
47
  'unknown'
46
48
  end
@@ -16,6 +16,12 @@ module Fog
16
16
  "vApp"
17
17
  end
18
18
 
19
+ def get_single_vapp(vapp_id)
20
+ item = service.get_vapp(vapp_id).body
21
+ return nil unless item
22
+ new(item)
23
+ end
24
+
19
25
  private
20
26
 
21
27
  def get_by_id(item_id)
@@ -1,5 +1,5 @@
1
1
  module Fog
2
2
  module VcloudDirector
3
- VERSION = "0.1.3".freeze
3
+ VERSION = "0.1.4".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.3
4
+ version: 0.1.4
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-07-28 00:00:00.000000000 Z
11
+ date: 2016-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fog-core