coral_core 0.2.7 → 0.2.8

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.7
1
+ 0.2.8
data/coral_core.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "coral_core"
8
- s.version = "0.2.7"
8
+ s.version = "0.2.8"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Adrian Webb"]
@@ -33,7 +33,7 @@ class Config
33
33
  if File.exist?(config_file)
34
34
  config = Hiera::Config.load(config_file)
35
35
  else
36
- Coral.ui.warning "Config file #{config_file} not found, using Hiera defaults"
36
+ Coral.ui.warn("Config file #{config_file} not found, using Hiera defaults")
37
37
  end
38
38
 
39
39
  config[:logger] = 'puppet'
data/lib/coral_core.rb CHANGED
@@ -206,8 +206,8 @@ module Coral
206
206
  yield
207
207
 
208
208
  rescue Exception => error
209
- ui.warning(error.inspect)
210
- ui.warning(Util::Data.to_yaml(error.backtrace))
209
+ ui.warn(error.inspect)
210
+ ui.warn(Util::Data.to_yaml(error.backtrace))
211
211
  raise
212
212
  end
213
213
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coral_core
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 7
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 7
10
- version: 0.2.7
9
+ - 8
10
+ version: 0.2.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Adrian Webb