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 +4 -4
- data/lib/kafo/kafo_configure.rb +2 -2
- data/lib/kafo/logger.rb +1 -1
- data/lib/kafo/scenario_manager.rb +6 -3
- data/lib/kafo/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8347016820ee174e41f1beeeccad5b815b08c27a
|
4
|
+
data.tar.gz: 2eb7d6bc9c7e5595d8acfab6b64baed0239c95c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dff1ffc53e9c5e2d05e44afd505f6ed0b9b4fc57e02091ae2f566dc432fd7d83459fc09bc4646349befcb6a146f9650f80103e81ccf9d212de9cf7d9dc2f7a3d
|
7
|
+
data.tar.gz: e37d7d612e98e996b3943c57e82f3cfc59c14014116f3b0576f48bb99b0eea0a04260432d7bc150c8f548b766633951c9081b109b0351df6340e88714372f9f9
|
data/lib/kafo/kafo_configure.rb
CHANGED
@@ -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
|
-
|
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
|
-
@
|
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("
|
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
|
97
|
-
|
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
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.
|
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-
|
11
|
+
date: 2016-06-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|