dry-config 1.1.5 → 1.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dry/config/base.rb +2 -1
- data/lib/dry/config/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c5bdac42ba070c133bd4c02d1675b3f5d15a34eb
|
4
|
+
data.tar.gz: c640bf904bdce15098be492e2e7ff8dba96f9aed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 81fa0b488861ccd5fd22141febda0113bc2cd54534e0d6ba2e7b95e992fed47800ef8cf095d6c1324984e2cdfa430eb4f8cf0d62acf083fb81b146353aeb4591
|
7
|
+
data.tar.gz: 6580dc6edf6eb2c201f54942c25be63df1425ec120f4bee0f388e282cc91bc10f8e711e6d708f06c7581b332ace7e5d9f9895b3755764d9b163e1834bfc27b6d
|
data/lib/dry/config/base.rb
CHANGED
@@ -105,7 +105,8 @@ module Dry
|
|
105
105
|
config = Psych.load(contents, filename)
|
106
106
|
|
107
107
|
raise "Failed to load #{filename}" if config.nil?
|
108
|
-
config.deep_symbolize if @options[:symbolize]
|
108
|
+
config = config.deep_symbolize if @options[:symbolize]
|
109
|
+
config
|
109
110
|
end
|
110
111
|
|
111
112
|
def write_yaml_file(filename)
|
data/lib/dry/config/version.rb
CHANGED