opscode-mixlib-config 1.0.6 → 1.0.7
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.yml +1 -1
- data/lib/mixlib/config.rb +3 -3
- metadata +2 -2
data/VERSION.yml
CHANGED
data/lib/mixlib/config.rb
CHANGED
@@ -29,10 +29,10 @@ module Mixlib
|
|
29
29
|
# === Parameters
|
30
30
|
# <string>:: A filename to read from
|
31
31
|
def from_file(filename)
|
32
|
-
|
32
|
+
begin
|
33
33
|
self.instance_eval(IO.read(filename), filename, 1)
|
34
|
-
|
35
|
-
raise IOError, "Cannot open or read #{filename}!"
|
34
|
+
rescue Exception => e
|
35
|
+
raise IOError, "Cannot open or read #{filename}!" + e
|
36
36
|
end
|
37
37
|
end
|
38
38
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opscode-mixlib-config
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Opscode, Inc.
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-05-
|
12
|
+
date: 2009-05-14 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|