secure_data_bag 2.0.7 → 2.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/secure_data_bag/secure_data_bag_item.rb +1 -1
- data/lib/secure_data_bag/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: 6ac8893fa6516c8f7bfdb1b6955b37de790e2248
|
4
|
+
data.tar.gz: 14d1911618082ce22192391dd700adf73201a0dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dacefa7e385fc0260b8f991c1e7e1c300b68d57b8e32dcda77e1344831db81bb6237d7ca6b3add716bcf483b53ad639ed4804775f14983db6369c774ea5c2a83
|
7
|
+
data.tar.gz: 59c1ff2be844cfe9b5f7d0f0bbc39bab2c63b340c8b27213dbbcca03c5782aae9ed180f88a6ca09cb7307d04e829de2f25a8fe7a77be1f67126d4b0bc3182931
|
@@ -166,7 +166,7 @@ module SecureDataBag
|
|
166
166
|
def self.from_item(h, opts={})
|
167
167
|
item = self.from_hash(h.to_hash, opts)
|
168
168
|
item.data_bag h.data_bag
|
169
|
-
item.encoded_fields h.encoded_fields
|
169
|
+
item.encoded_fields h.encoded_fields if h.respond_to?(:encoded_fields)
|
170
170
|
item
|
171
171
|
end
|
172
172
|
|