cipherpipe 0.2.3 → 0.2.4

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
  SHA256:
3
- metadata.gz: 5b05909d357bbba3e06922c9aeb4f383b12b50aafe8fad70b925d32bfd84a011
4
- data.tar.gz: 30c5fe0a31b6c4e30f9b52fe9b5602c3ef9e39b1fe28c11312cab94f2b6123ec
3
+ metadata.gz: a4f0e32f480bf3dfd34b87dded6a5bf13ab9e37e8cffcecf597828cac5f3d756
4
+ data.tar.gz: f68ddc736e43122d4790f29647b898629be30804fc035c6d1c241decc3a6effa
5
5
  SHA512:
6
- metadata.gz: 488f65a290e37ce2608ffb5690de2e6223467356edb455f36d587c42e18d84000d746bc0d80033d8934c5088317d0ddd1bdc965c5f22f56bfe8e487ae4994027
7
- data.tar.gz: d3123e9d6ddb7547d0bae90ac2f68ba267292f651433b8557c538f5f5a5b2a32d0544df4d7507802b51b803666dcca549b4c286050251bbe2f71f61b1056abf2
6
+ metadata.gz: 71f09bf4723137bc0e205d993d67ab9a9cb97e54b8aac05ce9d904ecf4596dd34caa22fffbeffe8f528148d8d8f9057ff78fe6973fcf3be48cb68d13a2519c9f
7
+ data.tar.gz: aa5fd99b6dfac62daac9a2a2bf622ec614fb047bd169684b01077380c21f281a3612e0cf28c1a9094e001ede149320e23af8e5a935ec7b8d01ae23b2ded5f074
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cipherpipe (0.2.3)
4
+ cipherpipe (0.2.4)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/cipherpipe.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "cipherpipe"
3
- spec.version = "0.2.3"
3
+ spec.version = "0.2.4"
4
4
  spec.authors = ["Pat Allan"]
5
5
  spec.email = ["pat@freelancing-gods.com"]
6
6
 
@@ -21,7 +21,9 @@ class Cipherpipe::Vault::EC2Token
21
21
  def call
22
22
  response = ::Vault.auth.aws_ec2 external_source.ec2_role, signature, nonce
23
23
 
24
- File.write NONCE_FILE, response.auth.metadata[:nonce]
24
+ if response.auth.metadata[:nonce]
25
+ File.write NONCE_FILE, response.auth.metadata[:nonce]
26
+ end
25
27
 
26
28
  response.auth.client_token
27
29
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cipherpipe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pat Allan