fog-vcloud-director 0.1.2 → 0.1.3

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: b555b30e1e484a2338bb67c71bff577cb1aef8ea
4
- data.tar.gz: 198b1d05a4e5a334d217a1fbb8afdd570ad4d1e3
3
+ metadata.gz: 9461ca16dc5fabf0a01c12c9de242aaecd01320c
4
+ data.tar.gz: 3728ef1ad30e2f4afaabd31c9b107f02d4c14480
5
5
  SHA512:
6
- metadata.gz: acebd14a9f72d52c1bb007d47b538b5e8c4c9b46528c62a3f1949e35d31f66c69ced0591bd18186346b9d795a925ef89494c0a0b58646ff5d1daf57c66b2aac8
7
- data.tar.gz: 3101bc8193b7c9b1b33ea2ad5c9c47daf2859916e11ccd850fc2fc59726f1c12d870b3cc7578d7b6dbb16c2d1d421e998250799d7afdee7fa5adeaeefc7908df
6
+ metadata.gz: 0786814c8306390b0676c9e3ae2f96a3d9e4fc2aeee05d2241fbe40bf4c1febddd029d135ad5608f0455d5226ff11b28e8e6b762a92892888927f28189693246
7
+ data.tar.gz: 5376f9d2f52a1b49bbe77c371bb9f187d3178d448a531222df3e7ebdc2ee5350aafcf38a268c02312b960811f8459a84ce14c2d8ed7b5c1459a08ea709896e16
@@ -9,6 +9,13 @@ module Fog
9
9
 
10
10
  attribute :catalog
11
11
 
12
+ def get_single_catalog_item(catalog_item_id)
13
+ item = service.get_catalog_item(catalog_item_id).body
14
+ return nil unless item
15
+ item[:vapp_template_id] = item[:Entity][:href].split('/').last
16
+ new(item)
17
+ end
18
+
12
19
  private
13
20
 
14
21
  def item_list
@@ -1,5 +1,5 @@
1
1
  module Fog
2
2
  module VcloudDirector
3
- VERSION = "0.1.2".freeze
3
+ VERSION = "0.1.3".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.2
4
+ version: 0.1.3
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-26 00:00:00.000000000 Z
11
+ date: 2016-07-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fog-core