mofa 0.3.7 → 0.3.8

Sign up to get free protection for your applications and to get access to all the features.
data/lib/mofa/mofa_yml.rb CHANGED
@@ -9,6 +9,7 @@ class MofaYml
9
9
  def self.load_from_file(path_to_mofayml, cookbook)
10
10
  mfyml = MofaYml.new
11
11
  mfyml.cookbook = cookbook
12
+ puts "Loading .mofa.yml/.mofa.local.yml from path #{path_to_mofayml}..."
12
13
  if File.exist?(path_to_mofayml)
13
14
  mfyml.parse_and_load(path_to_mofayml)
14
15
  end
@@ -34,5 +35,8 @@ class MofaYml
34
35
  file_contents = File.read(path_to_mofayml)
35
36
  file_contents.gsub!(/__ENV_COOKBOOK__/, @cookbook.name)
36
37
  @yml = YAML.load(file_contents)
38
+ puts "YAML is now:"
39
+ puts @yml.inspect
40
+ @yml
37
41
  end
38
42
  end
data/lib/mofa/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Mofa
2
- VERSION = "0.3.7"
2
+ VERSION = "0.3.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mofa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.7
4
+ version: 0.3.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-03-25 00:00:00.000000000 Z
12
+ date: 2016-07-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec