secure_data_bag 2.0.1 → 2.0.2

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: 662183dad03789d520b8e0b694cc36df234c6e9f
4
- data.tar.gz: 92b8ffd636742f51d46450b36bb262f44b91b4e2
3
+ metadata.gz: 58cc15167a192510c0c42c3670a62549c6facfce
4
+ data.tar.gz: bd97d80516b02d36df6df25ebbe517cf52ae894e
5
5
  SHA512:
6
- metadata.gz: b5ffdd081a8ec0eb877bcbcc691607c609bfb16ea54f04cab792d0ee146280d1270d9055906daa8852ccf0e57913f4680ddf6d17d9a118cadc12b58ab58109bf
7
- data.tar.gz: 141c7f48b0386383caf29fff2cc04c599d5dfc1132b8c0b245f53df023416423bc82e0f1a270a32902d475e818d3c18b0dbedcbe87fee8e4e2dd528b5554c0ae
6
+ metadata.gz: e72348c087efe51e3f2da4619cd8d53486fb1a8c3b9d0196ee0248b62f7a8a33bacab809856cf78eaff4ab45f1cfd9a6828668f4cb448dbc7d4a452479afaa77
7
+ data.tar.gz: 091e8e0c8c0c065f78666473b8347d34c98cc0e96367808fe51de3551461ddd9253380413e2046e62631626f3b9696e4c56a343ae36852a429638dc510d3d1de
@@ -82,7 +82,7 @@ module SecureDataBag
82
82
 
83
83
  def self.load(data_bag, name, opts={})
84
84
  data = super(data_bag, name)
85
- new(data:data.to_hash, **opts)
85
+ new(opts.merge(data:data.to_hash))
86
86
  end
87
87
 
88
88
  #
@@ -175,12 +175,12 @@ module SecureDataBag
175
175
  #
176
176
 
177
177
  def self.from_hash(h, opts={})
178
- item = new(data:h, **opts)
178
+ item = new(opts.merge(data:h))
179
179
  item
180
180
  end
181
181
 
182
182
  def self.from_item(h, opts={})
183
- item = self.from_hash(h.to_hash, **opts)
183
+ item = self.from_hash(h.to_hash, opts)
184
184
  item.data_bag h.data_bag
185
185
  item
186
186
  end
@@ -1,5 +1,5 @@
1
1
 
2
2
  module SecureDataBag
3
- VERSION = "2.0.1"
3
+ VERSION = "2.0.2"
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.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Serafini