erb-yaml 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'erb-yaml'
3
- s.version = '1.0.1'
4
- s.date = '2011-10-25'
3
+ s.version = '1.0.2'
4
+ s.date = '2012-10-03'
5
5
  s.platform = Gem::Platform::RUBY
6
6
  s.authors = ['Lee Henson', 'Guy Boertje']
7
7
  s.email = ['lee.m.henson@gmail.com', 'guyboertje@gmail.com']
@@ -10,7 +10,7 @@ module ErbYaml
10
10
 
11
11
  def self.load(yaml, env)
12
12
  hash = YAML.load(yaml)[env.to_s]
13
- raise "No content at: #{path} for key: #{env}" if hash.nil?
13
+ raise "Couldn't fine key #{env} in yaml: #{yaml}" if hash.nil?
14
14
  hash.recursive_symbolize_keys!
15
15
  end
16
16
  end
@@ -1,3 +1,3 @@
1
1
  module ErbYaml
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: erb-yaml
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,11 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2011-10-25 00:00:00.000000000 Z
13
+ date: 2012-10-03 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: hash-keys
17
- requirement: &82404180 !ruby/object:Gem::Requirement
17
+ requirement: !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -25,7 +25,15 @@ dependencies:
25
25
  version: 2.0.0
26
26
  type: :runtime
27
27
  prerelease: false
28
- version_requirements: *82404180
28
+ version_requirements: !ruby/object:Gem::Requirement
29
+ none: false
30
+ requirements:
31
+ - - ! '>='
32
+ - !ruby/object:Gem::Version
33
+ version: 1.0.0
34
+ - - <
35
+ - !ruby/object:Gem::Version
36
+ version: 2.0.0
29
37
  description: ''
30
38
  email:
31
39
  - lee.m.henson@gmail.com
@@ -59,7 +67,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
59
67
  version: '0'
60
68
  requirements: []
61
69
  rubyforge_project:
62
- rubygems_version: 1.8.10
70
+ rubygems_version: 1.8.24
63
71
  signing_key:
64
72
  specification_version: 3
65
73
  summary: ''