hierarchical_config 0.10 → 0.11

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c30b204410cfb69963e7b0dabe5d32d8f4aed32e
4
- data.tar.gz: a66d608b7f290a908b2f747dec58ae95477f69df
3
+ metadata.gz: 502a88c0a26d91426a06e3c833476f50e6093bd8
4
+ data.tar.gz: b33a8bd047569e7aeb2265d72687a1aa3d1ec672
5
5
  SHA512:
6
- metadata.gz: 6a21680799fa258505d9fff32d86f56f01ccf6c8e246229fc104c8c5703826702518e687796a2cf0e11ca4e4bbc69ba6cfa79befce47c891c78bd887b0e0f44a
7
- data.tar.gz: d7bda2e2985a863e1a78a2ab6e7211678803df08ffe881d74ea9e7c3f855fbb9aed742eab4b8bc80c322a2492967098b1f650651c39cbca600d37a82899c0bfa
6
+ metadata.gz: 621fd79e4f0c21fa1ac2e240654f17d96541960bbea8d2aef84320321a2acf070bc5b36dc9772013164e04e5881acf8035778e23bff3883266913d5735e17a5f
7
+ data.tar.gz: a3bb54aa6e3c73bbd625caa62888e05ba90f0c2c5e9eb2b14777cd36e8ca1c20ee9ec30efeb3411677412ab04486a5fba402b6814edfa192ea4384590c5579e4
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- hierarchical_config (0.9)
4
+ hierarchical_config (0.11)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -38,4 +38,4 @@ DEPENDENCIES
38
38
  rspec (~> 3.0)
39
39
 
40
40
  BUNDLED WITH
41
- 1.16.6
41
+ 1.17.3
@@ -1,3 +1,3 @@
1
1
  module HierarchicalConfig
2
- VERSION = "0.10"
2
+ VERSION = "0.11"
3
3
  end
@@ -153,7 +153,8 @@ module HierarchicalConfig
153
153
  # it adds key to the error set
154
154
  # * recursively sets open structs for deep hashes
155
155
  # * recursively freezes config objects
156
- def lock_down_and_ostructify!( hash, path, environment)
156
+ def lock_down_and_ostructify!( _hash, path, environment)
157
+ hash = Hash[_hash.map{|k,v|[k.to_s, v]}] #stringify keys
157
158
  errors = []
158
159
  hash.each do | key, value |
159
160
  hash[key], child_errors = lock_down_and_ostructify_item!(value, path + '.' + key, environment)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hierarchical_config
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.10'
4
+ version: '0.11'
5
5
  platform: ruby
6
6
  authors:
7
7
  - timgaleckas
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2018-12-03 00:00:00.000000000 Z
13
+ date: 2019-04-04 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler