cloudkeeper-one 1.2.4 → 1.2.5

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: ffd8ac570bfcf4f6141963451070d3a1d488ba52
4
- data.tar.gz: df0d3b6047bf5899e9d18553a4a1e802d7042e22
3
+ metadata.gz: c0059a504bada828c16f48a8c1b6aec4ebf7c216
4
+ data.tar.gz: 840ef3198ff3c13c7f23b5f152ce6e88571abc2a
5
5
  SHA512:
6
- metadata.gz: 4216e577ebe14e8cbbdb5a4d0b6d6a0411534b2eebcdbe5834e2f2658918489b77a4f09b4d48c96612836fa8040ba7ff942569d18af7b7c706042e79a46cd60d
7
- data.tar.gz: 599819bcdf66d708dba5352886835e387abbab68bbecc0593824e7a437ad91ade76fc478bbe177716cd1b68a4a19820f0ffb8cf7ff2309e3cd2399da94f875b1
6
+ metadata.gz: be0fc2f879b91df31887cf5ca9924021751358ccf845ef6e76c793860d61381435128cba5c2561de5453e0f189ac50ed30ce10967b45db820d6663020edaf91f
7
+ data.tar.gz: 48f4d2b9bc6dc4c843517e719ec5bc76ecfa3a435ace864099d924218cf8381616fe4b6788b6ee472cf165fff45f01308ec4a0d050a3e11b34dd969774a2019c
@@ -1,5 +1,3 @@
1
- # coding: utf-8
2
-
3
1
  lib = File.expand_path('../lib', __FILE__)
4
2
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
3
  require 'cloudkeeper/one/version'
@@ -17,7 +15,7 @@ Gem::Specification.new do |spec|
17
15
 
18
16
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
19
17
  # get an array of submodule dirs by executing 'pwd' inside each submodule
20
- gem_dir = File.expand_path(File.dirname(__FILE__)) + '/'
18
+ gem_dir = __dir__ + '/'
21
19
  `git submodule --quiet foreach --recursive pwd`.split($OUTPUT_RECORD_SEPARATOR).each do |submodule_path|
22
20
  Dir.chdir(submodule_path) do
23
21
  submodule_relative_path = submodule_path.sub gem_dir, ''
@@ -109,7 +109,7 @@ module Cloudkeeper
109
109
  grpc_server.stop
110
110
  rescue Cloudkeeper::One::Errors::InvalidConfigurationError => ex
111
111
  abort ex.message
112
- rescue => ex
112
+ rescue StandardError => ex
113
113
  logger.error "Unexpected error: #{ex.message}"
114
114
  raise ex
115
115
  end
@@ -50,7 +50,7 @@ module Cloudkeeper
50
50
  def reload!
51
51
  raise Cloudkeeper::One::Errors::Opennebula::MissingPoolError, 'Handler is missing an OpenNebula pool' unless pool
52
52
 
53
- method = pool.respond_to?('info_all!') ? 'info_all!' : 'info!'
53
+ method = pool.respond_to?('info_mine!') ? 'info_mine!' : 'info!'
54
54
  handle_opennebula_error { pool.send(method.to_sym) }
55
55
  end
56
56
  end
@@ -1,5 +1,5 @@
1
1
  module Cloudkeeper
2
2
  module One
3
- VERSION = '1.2.4'.freeze
3
+ VERSION = '1.2.5'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudkeeper-one
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.4
4
+ version: 1.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michal Kimle
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-09 00:00:00.000000000 Z
11
+ date: 2017-09-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -414,7 +414,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
414
414
  version: '0'
415
415
  requirements: []
416
416
  rubyforge_project:
417
- rubygems_version: 2.6.10
417
+ rubygems_version: 2.6.13
418
418
  signing_key:
419
419
  specification_version: 4
420
420
  summary: OpenNebula backend for cloudkeeper