kafo 0.7.4 → 0.7.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 31829e71a59ecdc1e898223994ef52e1d5b94735
4
- data.tar.gz: d09d90ef8f881d92a9b6da01c2c5d7b7c27b7493
3
+ metadata.gz: ec769c6f9e56a001b20e352b3108125a1c7da03f
4
+ data.tar.gz: 11f3ecbfdc03f5e25a55f4d36b06fd2dd010d9cc
5
5
  SHA512:
6
- metadata.gz: 87e3a8b3b6411741b03cf87445906311cbc6996a10003578a045f3a904690018cf8dcb834960ae5ccfd172afcc25f8d7c529fda4a2d3b46e52fe14a155422074
7
- data.tar.gz: b66f5e77a7fc31b1d9807a170e45b3b14d3f01485b76d143223fe753dd0062e1206cd77e000fc56cf1729693d1b3e21ed4faf8f48a2143b56ab6bf763d88b488
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("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.7.4"
3
+ VERSION = "0.7.5"
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.7.4
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-13 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