kms-env 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/kms-env.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 03701e7038c1971ea931a26a8c10537ca0585644
4
- data.tar.gz: 7e6c7e526bb3045c830d4fb56ffd8866194be655
3
+ metadata.gz: 3b85ad2f1d7309debb1000d9b0b11ae76e730321
4
+ data.tar.gz: 396305a489181e2c45aed8d00c2f0bed47e1783e
5
5
  SHA512:
6
- metadata.gz: f4c38edb20445a600570614b66e409e1f01aeb3f39664df2820affbeba610f1869ba4cc52539584ac15045dbcd3ccaad4d9ce2a2bcbbd6223ef5e660ee0d10a8
7
- data.tar.gz: 58a5b3dd3e8a054047fda0b618bde8a9f0c41ad4f2ebeedd882547f0cd590e6b40f5d3cf842ff65c500dd61350185c42b0ccb4787f605c9a04901bdf3d83b400
6
+ metadata.gz: 107d4f2d5c0961b3c6a54e63db34fee9eb5881d532075cf27a18a99f2e852b170b67ce4420ff4d4fca091a944721ceb8f8be79cdd6261efe5f764eb8578693a9
7
+ data.tar.gz: 355aa1601b5ed1d8669e928505d12f09242d6c4d57e1b90e00fbea4919e8401f54543b783a9ea34c229131ac1d8c924c2f4f311fb998d139b317afcf849a690a
data/lib/kms-env.rb CHANGED
@@ -37,7 +37,7 @@ module KmsEnv
37
37
  def set_decrypted_env_for(key)
38
38
  # skip values that have already been decrypted
39
39
  return if ENV[plaintext_key_for(key)]
40
- ENV[plaintext_key_for(key)] = kms_decrypt_blob(ciphertext_blob_for(ENV[key])).first.plaintext
40
+ ENV[plaintext_key_for(key)] = kms_decrypt_blob(ciphertext_blob_for(ENV[key])).plaintext
41
41
  end
42
42
 
43
43
  def kms_key_matcher
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kms-env
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Drew Stokes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-30 00:00:00.000000000 Z
11
+ date: 2015-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk