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 +4 -4
- data/lib/hash.rb +2 -2
- data/lib/hash_dot/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: daca592adaab93a4100a84d38d8571aca7139518
|
4
|
+
data.tar.gz: 504ef8aef26c797a7a4db59d636f0d3b5dce8e2e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
|
data/lib/hash_dot/version.rb
CHANGED
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.
|
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-
|
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.
|