gorilla-patch 2.4.2 → 2.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gorilla-patch/deep_merge.rb +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: ed2d37d8f562e53b8211540f047ca8e3d9f239d5
|
4
|
+
data.tar.gz: 6cd40564c632f562f5d05684b73f66173dcb3477
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fdaa4d24975c317cb7f129b344c77eaa3e5bb3e39dd8ca8a61de4035da473182c52dc82d51217ce776ee0219b55fd856eee5ad8e7581d22bfa1b17d521c9b9a1
|
7
|
+
data.tar.gz: bb92704e0b8830e5fa6ba4d35cf3f3958e7c9254b6372be7e0c82e37f208c64403b00caaf9b2f2c5f95b052794056240af5b03278c6d58a168957d3c86b619ed
|
@@ -23,7 +23,7 @@ module GorillaPatch
|
|
23
23
|
def deep_value_merge!(other_key, self_value, other_value, &block)
|
24
24
|
self[other_key] =
|
25
25
|
if self_value.is_a?(Hash) && other_value.is_a?(Hash)
|
26
|
-
self_value.deep_merge(other_value, &block)
|
26
|
+
self_value.deep_merge!(other_value, &block)
|
27
27
|
elsif block_given? && key?(other_key)
|
28
28
|
yield(other_key, self_value, other_value)
|
29
29
|
else
|