hash_dot 2.4.0 → 2.4.1

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: 4053d02b0efc655dfe83f7a8a6e774f08d255695
4
- data.tar.gz: 2f3578986611a226fabc119579a7f86c14c42016
3
+ metadata.gz: daca592adaab93a4100a84d38d8571aca7139518
4
+ data.tar.gz: 504ef8aef26c797a7a4db59d636f0d3b5dce8e2e
5
5
  SHA512:
6
- metadata.gz: 1f36b8a4c8597099cf48ae162ff54f9f32c9c2400f748663688e09c0f1f9ff57d4bc0606d03d3254aab9d425314ff6d1c985ee3d78890c66aea13010572d089b
7
- data.tar.gz: 3b24ff46015a9fc45a6dc117f5a1c0f306ba128be3cb47e821f61d6672464b3c412dc1ae7ee3437a0ad5459a7fa246a7b65d224fdb814c868d0dae21c5fbe583
6
+ metadata.gz: 8828a93996ece2b1ffcc761ac47f3e5f8ab01472e8396974c0ad8ee45ca0318dec25bd29390496530914fda70fd8d6229846a63c1a08be150c3466b3f5f968bb
7
+ data.tar.gz: b04bd38a2711d1f45ee456b3147e99815d6dce4bf3054ccd34f37fe28509c83317c4a1a517bf0108c67abbdddff5ccaac58a6d7cc2de31fab376ba51c1150ebf
data/lib/hash.rb CHANGED
@@ -44,7 +44,7 @@ class Hash
44
44
  case obj
45
45
  when Array
46
46
  obj.each do |el|
47
- dotify_obj(el)
47
+ dotify_obj(el, use_default: use_default)
48
48
  end
49
49
  when Hash
50
50
  dotify_hash(obj, use_default: use_default)
@@ -57,7 +57,7 @@ class Hash
57
57
  hash.hash_dot_use_default = use_default
58
58
 
59
59
  hash.each_value do |val|
60
- dotify_obj(val)
60
+ dotify_obj(val, use_default: use_default)
61
61
  end
62
62
  end
63
63
 
@@ -1,3 +1,3 @@
1
1
  module HashDot
2
- VERSION = "2.4.0".freeze
2
+ VERSION = "2.4.1".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hash_dot
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.0
4
+ version: 2.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Steel
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-02-09 00:00:00.000000000 Z
11
+ date: 2018-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -140,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
140
140
  version: '0'
141
141
  requirements: []
142
142
  rubyforge_project:
143
- rubygems_version: 2.5.2
143
+ rubygems_version: 2.5.2.2
144
144
  signing_key:
145
145
  specification_version: 4
146
146
  summary: Use dot syntax with Ruby hashes.