secure_data_bag 2.1.1 → 2.1.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: 09947a5ea248af8162900d22db4e153994648014
4
- data.tar.gz: c275340287ef0d080aa530e3d58790b1604b9ff6
3
+ metadata.gz: b3fa2bcb163807c1cd3ded495102d5711ec22383
4
+ data.tar.gz: acc0b6a7480657ff56fa24811f8f4d85c83e0907
5
5
  SHA512:
6
- metadata.gz: dace50236eae875c2bf130eba7a693b7ba8952e0961fe29ab57139b3dd98ea72a4f0ba46faf27ca313dbc953868f22b107c90a980fa81abee3470269d18ccdff
7
- data.tar.gz: edc59036730b74fac67d00671250ee73bd4c0c080e3d37c7ed02c02f21e0116409555e5b945a0b9786681c8d686fb315a20be6252c7574728f9c444f12c67797
6
+ metadata.gz: ef0d7f6f356e4ad37ea91944e61cb92fe7c5a05d48f44f8cb13b01d25f45ba8366bba272b2f2929afdff13a05543fbd413163adbf68eab70d62cace0927a4757
7
+ data.tar.gz: 60385f682a64fec2e073309a6a1dcdda0db06ba5eefdd73a46e1be23f0d7a9a6fc6ce3fa43f5d5859bf66e0243c8bdaca18ad755e64290f28884a9a817211ea3
@@ -11,8 +11,8 @@ class Chef
11
11
 
12
12
  data_bag_item ||= begin
13
13
  DataBag.validate_name!(bag.to_s)
14
- SecureDataBag::Item.validate_id!(item)
15
- SecureDataBag::Item.load(bag, item)
14
+ ::SecureDataBag::Item.validate_id!(item)
15
+ ::SecureDataBag::Item.load(bag, item)
16
16
  rescue Exception
17
17
  Log.error("Failed to load secure data bag item: #{bag.inspect} #{item.inspect}")
18
18
  raise
@@ -20,7 +20,7 @@ class Chef
20
20
  end
21
21
 
22
22
  def secure_data_bag_item!(item, fields=[])
23
- secure = SecureDataBag::Item.from_item item
23
+ secure = ::SecureDataBag::Item.from_item item
24
24
  secure.encoded_fields.concat(Array(fields))
25
25
  secure
26
26
  end
@@ -1,5 +1,5 @@
1
1
 
2
2
  module SecureDataBag
3
- VERSION = "2.1.1"
3
+ VERSION = "2.1.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.1.1
4
+ version: 2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Serafini