kafo 0.9.0 → 0.9.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: 873ad76a8a766b68a73ad74b34ae17b2d9c48272
4
- data.tar.gz: 72adff8cb4533c7292a286c0706a87fe574797cb
3
+ metadata.gz: 8347016820ee174e41f1beeeccad5b815b08c27a
4
+ data.tar.gz: 2eb7d6bc9c7e5595d8acfab6b64baed0239c95c5
5
5
  SHA512:
6
- metadata.gz: 293954125bbd2feb79cb7ba396459d8fb32e9ef9e61d1d38027d4ff2c79980c5c7a8f339d424347c84c06b63ecb6f64d6b88cff5b7465a5a58ae8853b45cb0b3
7
- data.tar.gz: a5763aeefec19555ef5c1315f5bc7961f06cd49cb0f0b672a64fc878310b5f0290e123c130f318abba0b841427cc32c5d3c9fd000a259836a9a3f16e3e1d1c55
6
+ metadata.gz: dff1ffc53e9c5e2d05e44afd505f6ed0b9b4fc57e02091ae2f566dc432fd7d83459fc09bc4646349befcb6a146f9650f80103e81ccf9d212de9cf7d9dc2f7a3d
7
+ data.tar.gz: e37d7d612e98e996b3943c57e82f3cfc59c14014116f3b0576f48bb99b0eea0a04260432d7bc150c8f548b766633951c9081b109b0351df6340e88714372f9f9
@@ -60,7 +60,7 @@ module Kafo
60
60
  self.class.hooking.execute(:pre_migrations)
61
61
  reload_config
62
62
  applied_total = self.class.config.run_migrations
63
- @config_reload_requested = true if applied_total > 0
63
+ request_config_reload if applied_total > 0
64
64
 
65
65
  if ARGV.include?('--migrations-only')
66
66
  self.class.verbose = (ARGV.include?('--verbose') || ARGV.include?('-v'))
@@ -239,7 +239,7 @@ module Kafo
239
239
  self.class.scenario_manager = scenario_manager
240
240
  setup_config(self.class.config_file)
241
241
  self.class.logger.info('Installer configuration was reloaded')
242
- @config_reload_requestd = false
242
+ @config_reload_requested = false
243
243
  end
244
244
  end
245
245
 
data/lib/kafo/logger.rb CHANGED
@@ -105,7 +105,7 @@ module Kafo
105
105
 
106
106
  def self.dump_buffer(buffer)
107
107
  buffer.each do |log|
108
- self.loggers.each { |logger| logger.send log[0], *log[1], &log[2] }
108
+ self.loggers.each { |logger| logger.send log[0], *([log[1]].flatten(1)), &log[2] }
109
109
  end
110
110
  buffer.clear
111
111
  end
@@ -91,10 +91,13 @@ module Kafo
91
91
  (available_scenarios.keys.count == 1 && available_scenarios.keys.first) ||
92
92
  select_scenario_interactively
93
93
  if scenario.nil?
94
- fail_now("Scenario was not selected, can not continue. Use --list-scenarios to list available options.", :unknown_scenario)
94
+ fail_now("No installation scenario was selected, the installer can not continue.\n" +
95
+ " Even --help content is dependent on selected scenario.\n" +
96
+ " Select scenario with --scenario SCENARIO or list available scenarios with --list-scenarios.", :unknown_scenario)
95
97
  elsif !scenario_enabled?(scenario)
96
- fail_now("Selected scenario is DISABLED, can not continue. Use --list-scenarios to list available options." \
97
- " You can also --enable-scenario SCENARIO to make the selected scenario available.", :scenario_error)
98
+ fail_now("Selected scenario is DISABLED, can not continue.\n" +
99
+ " Use --list-scenarios to list available options.\n" +
100
+ " You can also --enable-scenario SCENARIO to make the selected scenario available.", :scenario_error)
98
101
  end
99
102
  scenario
100
103
  end
data/lib/kafo/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  # encoding: UTF-8
2
2
  module Kafo
3
- VERSION = "0.9.0"
3
+ VERSION = "0.9.1"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kafo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marek Hulan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-07 00:00:00.000000000 Z
11
+ date: 2016-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler