chef-vault 2.2.3 → 2.2.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -37,4 +37,6 @@ Gem::Specification.new do |s|
37
37
  s.add_development_dependency 'bundler', '~> 1.3'
38
38
  s.add_development_dependency 'rake'
39
39
  s.add_development_dependency 'rspec', '~> 2.14'
40
+ # needed for rspec
41
+ s.add_development_dependency 'chef', '~> 11.12'
40
42
  end
@@ -32,6 +32,11 @@ class ChefVault
32
32
  client.public_key der.public_key.to_s
33
33
  end
34
34
 
35
+ if response['public_key']
36
+ der = OpenSSL::PKey::RSA.new response['public_key']
37
+ client.public_key der.public_key.to_s
38
+ end
39
+
35
40
  client
36
41
  end
37
42
  end
@@ -14,6 +14,6 @@
14
14
  # limitations under the License.
15
15
 
16
16
  class ChefVault
17
- VERSION = "2.2.3"
17
+ VERSION = "2.2.4"
18
18
  MAJOR, MINOR, TINY = VERSION.split('.')
19
19
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-vault
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.3
4
+ version: 2.2.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-06-24 00:00:00.000000000 Z
12
+ date: 2014-07-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -59,6 +59,22 @@ dependencies:
59
59
  - - ~>
60
60
  - !ruby/object:Gem::Version
61
61
  version: '2.14'
62
+ - !ruby/object:Gem::Dependency
63
+ name: chef
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ~>
68
+ - !ruby/object:Gem::Version
69
+ version: '11.12'
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: '11.12'
62
78
  description: Data encryption support for Chef using data bags
63
79
  email:
64
80
  - kevin.moser@nordstrom.com