unobtainium 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/unobtainium/pathed_hash.rb +3 -1
- data/lib/unobtainium/version.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: b12bef553352e0f1788bb6fe9839c977e74bd820
|
4
|
+
data.tar.gz: ad8dc22a879bf1318cd741b51b18c1b70360956b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef9a855a31611512176889884aa02f306ba731eb7da271369d0d5281be4789c873cf1681e6c4f1ccde4f7aa7f3c5d3df141018e9b55cb90dbaa6b6964f9b199e
|
7
|
+
data.tar.gz: f4d3c1ee2160e5faafc8d9b001bfa01571611a6c9ec37fb24745fe3dfc23df5f1ca38ed30f3d519345250cbda4d0c48e50d98ff2d50b938dbdc684cb8d10df72
|
data/Gemfile.lock
CHANGED
@@ -119,7 +119,9 @@ module Unobtainium
|
|
119
119
|
# For write methods, we need to create intermediary hashes.
|
120
120
|
leaf = recursive_fetch(components, @data,
|
121
121
|
create: WRITE_METHODS.include?(method))
|
122
|
-
leaf.
|
122
|
+
if leaf.is_a? Hash
|
123
|
+
leaf.default_proc = DEFAULT_PROC
|
124
|
+
end
|
123
125
|
|
124
126
|
# If we have a leaf, we want to send the requested method to that
|
125
127
|
# leaf.
|
data/lib/unobtainium/version.rb
CHANGED