berta 1.5.0 → 1.5.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: 1502060c465b5ab799d53bc8491473c8434f9ca1
4
- data.tar.gz: db80f4d14ef9cbd0098fada264402b5e7bd84512
3
+ metadata.gz: 09e6600e17620f40aa1c19a1f1522fb9fea2bc90
4
+ data.tar.gz: 7d8f55eb72b8ef4bb0880d1f6e2674d5ff5ab238
5
5
  SHA512:
6
- metadata.gz: 164b3296d94d8213d9c42556155af66c44d5620ee714536a423b5dc1843e0d63c7b5b5db25b200539f0e222a08a0eb513e45c2bb1ee9fd8ed7e85fc6d0ff220b
7
- data.tar.gz: 2d42b4f6a2d2eb2ddabffbc34706977eedaad2c1672b46d9421e1219b72e784e5cc2c4ec6c48de156070377208fb804ab7c4a390d9cb1bf3af55dc1142bf4b9d
6
+ metadata.gz: 9efb8c04d2f4cba86e470c574729cfa842b9458b536d3e9ae347a8b4909aff75b1df3909a7f6a7f513d1fdcfd7c030a58a9a80d4211b15be4ea9ecae68033669
7
+ data.tar.gz: b9a6e029de8abcc36a12c79eba6ada28b103cee8fff57ceda78a4bf4724e1b9a8cf70207478a39b3c8003acf207b3dad150d1b5c39fecd32d44c25dd20febd76
data/lib/berta/service.rb CHANGED
@@ -70,7 +70,7 @@ module Berta
70
70
  # @param user [Berta::UserHandler] User to find vms for
71
71
  # @return [Array<Berta::VirtualMachineHandler>] VMs that belong to given user
72
72
  def user_vms(user)
73
- running_vms.keep_if { |vm| vm.handle['UID'] == user.handle['ID'] }
73
+ running_vms.select { |vm| vm.handle['UID'] == user.handle['ID'] }
74
74
  end
75
75
 
76
76
  # Fetch clusters from OpenNebula
data/lib/berta/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Berta
2
- VERSION = '1.5.0'.freeze
2
+ VERSION = '1.5.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: berta
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dusan Baran
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-31 00:00:00.000000000 Z
11
+ date: 2017-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler