kafo 0.7.4 → 0.7.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- 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: ec769c6f9e56a001b20e352b3108125a1c7da03f
|
4
|
+
data.tar.gz: 11f3ecbfdc03f5e25a55f4d36b06fd2dd010d9cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63fe41e01b1a6197e1ef8f1ca3127a1c40baf8ee093adc1bf83231f884e966fcc48f37a3431ef81cf222a3665f03d70eab898c50fb644aca7a28f7dd62307231
|
7
|
+
data.tar.gz: 557f0fb02f59d8cf033f01dbfa12dfae4b0b065b03a28c83f082c06c4770f6cba55256d311b7dce432d3aaeb4cd2f14b9c2071b22d750fe05f770ef83539ac6a
|
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.7.
|
4
|
+
version: 0.7.5
|
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
|