cloudkeeper 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: adda5085537bff99cf6928e41f903c6ac1ebca8d
4
- data.tar.gz: b10b49306646a737bd09956dedb04031087ef97e
3
+ metadata.gz: 4e57ce8c830c735521f025d8f1c2840e6855439f
4
+ data.tar.gz: 3b49c31527aaed3e26c1272908fd1ef653919889
5
5
  SHA512:
6
- metadata.gz: fd66199e62985e93a4fd09a252903d975e5c109a15909984df73edd599a43e2878204341a0536b371134d4477f4c319519ca05d92aa45e439301f098cdb23d27
7
- data.tar.gz: b781937419f1194da141c0a41fd5d5c074f4e01d4ae9114d7691927fe06b68c6cc89895273e31a3e24bdd80aff91ad149d956c13e0912678edbca970ddb8ec7f
6
+ metadata.gz: 0e311d61ee7aef14d2a519099ecb16f5c035b471bd7b2dd4f23385bbff21f617ab162c880855c57a7eadfed48a09b6744a0afd23ab0b51b18992a8eb3767e23d
7
+ data.tar.gz: 400b857a285479f84cea18c0012b727846594f2758375d40dd5c1d9ca9b2fad096603ff13ef519fdca567de9827038d0ee6e661b90ae24fe9509584eee745940
@@ -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/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, ''
@@ -131,7 +131,7 @@ module Cloudkeeper
131
131
  end
132
132
  rescue Cloudkeeper::Errors::InvalidConfigurationError => ex
133
133
  abort ex.message
134
- rescue => ex
134
+ rescue StandardError => ex
135
135
  logger.error "Unexpected error: #{ex.message}"
136
136
  raise ex
137
137
  end
@@ -3,7 +3,7 @@ module Cloudkeeper
3
3
  class ApplianceManager
4
4
  attr_reader :backend_connector, :image_list_manager, :acceptable_formats
5
5
 
6
- IMAGE_UPDATE_ATTRIBUTES = ['hv:uri', 'sl:checksum:sha512', 'hv:size'].freeze
6
+ IMAGE_UPDATE_ATTRIBUTES = ['hv:version', 'sl:checksum:sha512', 'hv:size'].freeze
7
7
 
8
8
  def initialize
9
9
  @backend_connector = Cloudkeeper::BackendConnector.new
@@ -93,7 +93,7 @@ module Cloudkeeper
93
93
  end
94
94
 
95
95
  def prepare_configuration_file_content(configuration)
96
- conf_template = Tilt::ERBTemplate.new(File.join(File.expand_path(File.dirname(__FILE__)), 'templates', 'nginx.conf.erb'))
96
+ conf_template = Tilt::ERBTemplate.new(File.join(__dir__, 'templates', 'nginx.conf.erb'))
97
97
  conf_template.render(Object.new, configuration)
98
98
  end
99
99
 
@@ -1,3 +1,3 @@
1
1
  module Cloudkeeper
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: cloudkeeper
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
  - Michal Kimle
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-10 00:00:00.000000000 Z
11
+ date: 2017-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -446,7 +446,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
446
446
  version: '0'
447
447
  requirements: []
448
448
  rubyforge_project:
449
- rubygems_version: 2.6.10
449
+ rubygems_version: 2.6.13
450
450
  signing_key:
451
451
  specification_version: 4
452
452
  summary: Synchronize cloud appliances between AppDB and cloud platforms