dry-config 1.1.2 → 1.1.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: 815f725119b9da037800fb9bcb685e616c4f670c
4
- data.tar.gz: 6973bbe93f7cd1349614c1925ff7441c5e689f76
3
+ metadata.gz: 98683afd3015ee5ff47cf5b9f01467dd7c63f7b6
4
+ data.tar.gz: 4ce00ecb1bfe04cef403638b91212fbd368f98b1
5
5
  SHA512:
6
- metadata.gz: ba9aab3171b96b1d3b0798c02cd8f283ecf7238182c3c5de05c0dcbec637bb431ad6cda43142a3a1034b84e530e45903118b12b8ada9e1801a1effeab92e7693
7
- data.tar.gz: 67caa764e2f9c0e222e38088bb56b1d9ba24d29a77a10ed467a6e282b4efaa79b2c19ffc4d5e21b6464db89bdd8af1a6a37adf1d172cdb293fd8685d0b8b6422
6
+ metadata.gz: 3b70a9e1af3df65faf2b9835a7fcb7cd096c2077a575dc05721c293eb3012b115cd9a52a0ae7040a8634c52d3478e797ed56835987e0af28a54cf68af800919a
7
+ data.tar.gz: 0677f1074dbff533cb8d419ff434ff9e51aec379d4c3f14cde2b37c1ba4cc6c82f000becfe6ccec37dc4e9a73a5ae3ee900f288c2dd863c0c724f9e36f9e137f
@@ -80,7 +80,9 @@ module Dry
80
80
  end
81
81
 
82
82
  def load_yaml_file(filename)
83
- YAML::load_file(filename).deep_symbolize
83
+ config = YAML::load_file(filename)
84
+ raise "Failed to load #{filename}" if config.nil?
85
+ config.deep_symbolize
84
86
  end
85
87
 
86
88
  def reload!
@@ -1,5 +1,5 @@
1
1
  module Dry
2
2
  module Config
3
- VERSION = '1.1.2'
3
+ VERSION = '1.1.3'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dry-config
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Ross
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-11 00:00:00.000000000 Z
11
+ date: 2014-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler