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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 997efdbc89cd6c1fa9b00f16ad30e326556a4462
4
- data.tar.gz: e12cecd2e7e0482c6594712903828e1910bbfff0
3
+ metadata.gz: 6ac8893fa6516c8f7bfdb1b6955b37de790e2248
4
+ data.tar.gz: 14d1911618082ce22192391dd700adf73201a0dd
5
5
  SHA512:
6
- metadata.gz: 9a10a6c1e52c5ff914350055ae1a1dcad0788bd6945227113c98ca796a3667c1e2e2cc126436be79946c22454ed2eb3b72c8ef89eac2153e6627a7975dbd662a
7
- data.tar.gz: 2a3cd7bf72f576495b991518de636df3661c478c2c1e3d7632eec82d57c0bd4b03af07ab7546d10b10a855dc7fa1936e257342dbcf8d6f827ef0e4880463b8ea
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
 
@@ -1,5 +1,5 @@
1
1
 
2
2
  module SecureDataBag
3
- VERSION = "2.0.7"
3
+ VERSION = "2.0.8"
4
4
  end
5
5
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: secure_data_bag
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.7
4
+ version: 2.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Serafini