tarot 0.1.5 → 0.1.6

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.
Files changed (3) hide show
  1. data/lib/tarot.rb +6 -6
  2. data/lib/tarot/version.rb +1 -1
  3. metadata +4 -4
@@ -8,14 +8,14 @@ module Tarot
8
8
  @config_files = files
9
9
  @config_files = [@config_files] if @config_files.is_a? String
10
10
  @yaml = {}
11
- yaml = "---\n" + @config_files.map do |file|
11
+ @raw_yaml = "---\n" + @config_files.map do |file|
12
12
  File.open(file).read.untaint.gsub(/^---.*$/, '')
13
13
  end.join("\n")
14
- @yaml = YAML::load(yaml).stringify_keys!
15
- @config_files.each do |file|
16
- yaml = YAML::load(open(file).read).stringify_keys!
17
- recursive_merge(@yaml, yaml)
18
- end
14
+ @yaml = YAML::load(@raw_yaml).stringify_keys!
15
+ #@config_files.each do |file|
16
+ # yaml = YAML::load(open(file).read).stringify_keys!
17
+ # recursive_merge(@yaml, yaml)
18
+ #end
19
19
  add_mm @yaml
20
20
  @config_cache = {}
21
21
  @env = env
@@ -1,3 +1,3 @@
1
1
  module Tarot
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tarot
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 5
10
- version: 0.1.5
9
+ - 6
10
+ version: 0.1.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Chris Heald
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-09-04 00:00:00 Z
18
+ date: 2011-11-16 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: activesupport