ultra_config 0.10.1 → 0.10.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ultra_config/namespace.rb +5 -1
- data/ultra_config.gemspec +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: 11db9a20bede8150e2e42b23c82b605ab8ce1fbe
|
4
|
+
data.tar.gz: 64bc6932bcdaadcd1f65f1464c41f501d1e56af9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc2a34e0074263c4812604505c6082714a9fbb78893230bc3ad03c67d4c83310f8c38da2d65e860d5a57391a96d9ea4e1a04a658a62c015dde040343f9fb60ac
|
7
|
+
data.tar.gz: 671e2c635e01b8b834bc3b1f14b1a326aa719fa56560e67d562264aa187f618f86ef3bcf82714ab636bdd509f632b399d00a06b79c64e7660dbc2df0707db4b2
|
@@ -57,7 +57,11 @@ module UltraConfig
|
|
57
57
|
hash = {}
|
58
58
|
@objects.each do |name, object|
|
59
59
|
if object.is_a?(Config)
|
60
|
-
object.sanitize?
|
60
|
+
if object.sanitize?
|
61
|
+
hash[name].nil? ? nil : hash[name] = '*****'
|
62
|
+
else
|
63
|
+
hash[name] = object.value
|
64
|
+
end
|
61
65
|
else
|
62
66
|
hash[name] = object.to_sanitized_h
|
63
67
|
end
|
data/ultra_config.gemspec
CHANGED