configurability 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/History.rdoc +5 -0
- data/lib/configurability.rb +2 -2
- data/lib/configurability/config.rb +5 -1
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dcbf8e77d923a5ec95be628f03c79c1fa1e2b778
|
4
|
+
data.tar.gz: 0c1a8adda3938b47948a4fe192ab30039b9b0a67
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5194373054a7d8d4ef615f7fa0a24f65f01389efdda7315635d7a6759ff6b1fdf0381c96d25e8af59a66c0ee7bc4080da2f6860e2af51b8a00aac3b97d4a9316
|
7
|
+
data.tar.gz: 6c1905c42901a5020190bb5f25d2e6eed93ee42995cc125e79f8c8c8381be6fd733bc99191500e441cf9b96bac60754e9093c68ac23a8e1693ae41639172a05f
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/History.rdoc
CHANGED
data/lib/configurability.rb
CHANGED
@@ -18,10 +18,10 @@ module Configurability
|
|
18
18
|
|
19
19
|
|
20
20
|
# Library version constant
|
21
|
-
VERSION = '2.0.
|
21
|
+
VERSION = '2.0.2'
|
22
22
|
|
23
23
|
# Version-control revision constant
|
24
|
-
REVISION = %q$Revision:
|
24
|
+
REVISION = %q$Revision: e53b53d65079 $
|
25
25
|
|
26
26
|
require 'configurability/deferredconfig'
|
27
27
|
|
@@ -245,7 +245,11 @@ class Configurability::Config
|
|
245
245
|
def make_configstruct_from_source( source, defaults=nil )
|
246
246
|
defaults ||= {}
|
247
247
|
mergefunc = Configurability::Config.method( :merge_complex_hashes )
|
248
|
-
hash =
|
248
|
+
hash = if defined?( SafeYAML ) then
|
249
|
+
YAML.load( source, :safe => true )
|
250
|
+
else
|
251
|
+
YAML.load( source )
|
252
|
+
end
|
249
253
|
ihash = symbolify_keys( untaint_values(hash) )
|
250
254
|
mergedhash = defaults.merge( ihash, &mergefunc )
|
251
255
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: configurability
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Granger
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
30
30
|
y6OINF+5NC1urZxUuigosLovVORYgTgN6tQnSvWY9S7naik9dua9effTi2EHy8ws
|
31
31
|
AEFC60d6kv25P7lS7WUuIQ==
|
32
32
|
-----END CERTIFICATE-----
|
33
|
-
date: 2013-06-
|
33
|
+
date: 2013-06-14 00:00:00.000000000 Z
|
34
34
|
dependencies:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: loggability
|
metadata.gz.sig
CHANGED
Binary file
|