secure_data_bag 3.0.4 → 3.0.5

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: bf061c693288d22d3ec51494d4444ba95b3ef4be
4
- data.tar.gz: 3378622f0ac889dd64e94825713692d524f8c0e9
3
+ metadata.gz: c1615c4550e8e16e2f2b903c9708bf1f6d52ea80
4
+ data.tar.gz: fe10fa008769ebdd24005eb53a98e8bcf78f9466
5
5
  SHA512:
6
- metadata.gz: 25916b24905313e61c7d46ba88c95c9bc4f1c2a858049d0cc00733ff467ccc084a5bb3fd8e7eaa928b9f54af80fe0abf1ed821f1291cccdaf6578a25b14a84be
7
- data.tar.gz: 4a4b9d70db45a1ff2b391e31e7bea1ac8049da8431fefc111b4cb31e3af4aa5075d04004a28e8d6073a3389269d32aa5d4c72e7235bda5f3df8b101609d9fb12
6
+ metadata.gz: 9dd589c95838ea3531129ef82047297efc7a72ed3125967954c203446931ba790f8825175ba05df5c9493162dc0104da161d2265049f718828abbfd82f4dbc1f
7
+ data.tar.gz: 417362139aabf42d8eb5a9a1d670cb4481e5741d73c0a0fadff109de57a7ddf1f73903f45a18e2da1acc7feec440a2fd2231662335a5a823f4d182bd8808304a
@@ -1,6 +1,10 @@
1
1
  secure_data_bag
2
2
  ======
3
3
 
4
+ v3.0.5
5
+ ------
6
+ * Bugfix export format not encrypting
7
+
4
8
  v3.0.3
5
9
  ------
6
10
  * Ensure that reserved data_bag_item fields id and data_bag are never encrypted
@@ -16,7 +16,7 @@ class Chef
16
16
 
17
17
  base.option :export_format,
18
18
  description: 'Format to export the data_bag_item as. If unset, this will default to the encryption format.',
19
- long: '--export-format'
19
+ long: '--export-format [plain|encrypted|nested]'
20
20
 
21
21
  base.option :export_root,
22
22
  long: '--export-root PATH',
@@ -42,7 +42,7 @@ class Chef
42
42
  # @since 3.0.0
43
43
  def export!(data_bag, item_name, item)
44
44
  item.encryption_format = export_format
45
- data = item.to_hash
45
+ data = item.to_hash(encrypt: true)
46
46
 
47
47
  if export_root.nil?
48
48
  ui.fatal('Export root is not defined')
@@ -1,3 +1,3 @@
1
1
  module SecureDataBag
2
- VERSION = '3.0.4'.freeze
2
+ VERSION = '3.0.5'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: secure_data_bag
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.4
4
+ version: 3.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Serafini
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-19 00:00:00.000000000 Z
11
+ date: 2016-10-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef