hash_mapper 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hash_mapper.rb +1 -1
- data/lib/hash_mapper/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e16c3b3b73cba0fc400759652542dfe19c0f5516f04c0e7ae83ddd07c46eb549
|
4
|
+
data.tar.gz: cf6abbd34bd06c262ecff7db0333052e99064cdf74d6d46afd83328d4b46c008
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cad09d8c2835a211c74e70d4556415942467dcf7c333f8e0703948b1febb786fd6a5cb54e2e211c459e41c6a3807aacffb734bafec7bc1b54c93c6c89b4c0057
|
7
|
+
data.tar.gz: 7d22e3ef4ed97d6d6d4af226e78f07b1ab8e5ed7b6be63d9145a52e32c4f2551a2becc08399bca65bded5bbb7b7013e9fd218776b60dd2b9323aa0d25e69012f
|
data/lib/hash_mapper.rb
CHANGED
@@ -157,7 +157,7 @@ module HashMapper
|
|
157
157
|
delegated_mapper ? delegate_to_nested_mapper(value, method_name, context: context) : value
|
158
158
|
end
|
159
159
|
|
160
|
-
def set_value_in_output(output, path, value, context:
|
160
|
+
def set_value_in_output(output, path, value, context: nil)
|
161
161
|
if value == NO_VALUE
|
162
162
|
if default_value == NO_DEFAULT
|
163
163
|
return
|
data/lib/hash_mapper/version.rb
CHANGED