figleaf 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 951df2c46006c5d93efc112929498b6eee98b782
4
- data.tar.gz: 3c0717008c7398cfa244f02fc164054a32c3c7ac
3
+ metadata.gz: 2820464149f219dc175d7b10e32c52f09f8e9862
4
+ data.tar.gz: 1aed136492f9df60a90015bfd0da1bb4d02fa0c6
5
5
  SHA512:
6
- metadata.gz: 7ebb682d19e0e914cff04a313200fb5c9d6471d97a13b77b3d790ddca890d781c3e63d2018709c468ddd57af02df31be0d380ec38d66e124e41f8c15347825dc
7
- data.tar.gz: f3f075b639288a879ec5a787f126f60f8814c641b7550a0c77f1ad3af7a192ff9c5f19ed07ffb762636ee938aaaa273d84eb9e1ff11a79d8a78a1e124604680f
6
+ metadata.gz: 928e491694671957242306a851bdca2170760ed96c29b715de00d93dd572c8418d2c444edde6647300a6ee376d26f5cff59c07279a90ea9a1b645e9e3e807725
7
+ data.tar.gz: 88deb9fe0c1202da144efa4b055a9a29d72cdcc98a1234cb08b6bb492b52ea9ad764aa13aebc5e20a74840ca493e4aa3db8c298e47af4cc90fdf93314d80218f
@@ -62,8 +62,8 @@ module Figleaf
62
62
  property = YAML.load(ERB.new(IO.read(file_path)).result)
63
63
  property = property[env] if env
64
64
  use_hashie_if_hash(property)
65
- rescue Psych::SyntaxError
66
- raise InvalidYAML, "#{file_path} has invalid YAML"
65
+ rescue Psych::SyntaxError => e
66
+ raise InvalidYAML, "#{file_path} has invalid YAML\n" + e.message
67
67
  end
68
68
 
69
69
  def root
@@ -1,3 +1,3 @@
1
1
  module Figleaf
2
- VERSION = '0.2.2'
2
+ VERSION = '0.2.3'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: figleaf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan C. Müller
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-08 00:00:00.000000000 Z
11
+ date: 2017-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport