vmonkey 0.13.0 → 0.14.0

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: dcb4830c595e82bce0fb22401c3f8ee03834c912
4
- data.tar.gz: 4a736fce45cd41eb36059bb10372331b6756bbe4
3
+ metadata.gz: 08c92c76411c60887f7a0aa6e4f40714768e2712
4
+ data.tar.gz: c8a92fcc5859c32e216eb938b2e8a3d1ff8d22dc
5
5
  SHA512:
6
- metadata.gz: 578fcdcf2e4a24b72bbc64ff00695e1cf13e2e1b66c03208358800049221932fd55d1871f0e14b9fe256a46a6a0bb6a44d2c8a0111688993ec4a4f1e54c3e41e
7
- data.tar.gz: 06bd82156354d8cc61a92128c0a7fe61ac45b4c42cd435fe51fcb0d6ee3c07f396e9a86d0688b89eabb365b038a5d60db4df0235f4eb236de6ba268d6c24136e
6
+ metadata.gz: c86b7e8de64dade74be96a1105f418ee0b906a694183345ff9cec6bb2a59c6dd32afbd6539ef356074820f6fa4f6f0450c3e799cf4197e8abc832b3e7f34f7a5
7
+ data.tar.gz: f4021025d708a9bf5b9afb8e034327211da08f756ca6bfb29eac1ccdd9b2f4d3d8dd1aa21d8ee40bf3b392f04e3e9b71a7ba63c0cad3ba9688316a22a5196379
@@ -1,3 +1,3 @@
1
1
  module Vmonkey
2
- VERSION = '0.13.0'
2
+ VERSION = '0.14.0'
3
3
  end
@@ -17,6 +17,10 @@ class RbVmomi::VIM::Folder
17
17
  x if x.is_a? type
18
18
  end
19
19
 
20
+ def folders
21
+ self.childEntity.grep(RbVmomi::VIM::Folder)
22
+ end
23
+
20
24
  def templates
21
25
  self.childEntity.grep(RbVmomi::VIM::VirtualMachine).select { |v| v.config && v.config.template }
22
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vmonkey
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Dupras