aws-keychain-util 0.0.10 → 0.0.11

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: be488246906252df30fbbe24765a7d774f5fb21e
4
- data.tar.gz: d5c43506532ff50a3ad86e258d07ab9b90e00c9f
3
+ metadata.gz: 51c1cdb1ab0fb62ba46499a92cde5dfd68ec9d86
4
+ data.tar.gz: 0a42483da6bbdc164552970bfa560b8f805d34a2
5
5
  SHA512:
6
- metadata.gz: 0078ffd3bc56738efa38ca033699932b2cd50c068813399441bccdde99a281e097f9d36aea6a8743f6a6255c7a25104181fe96c5d472c3297b96e7cc77badd0b
7
- data.tar.gz: 4e0cf6c640e681f9eba0f17415d7ef056fa42808962aa05f25530168409480ea4482d5f42c6cbb71a568336d531c2452f7dbbc2a14ca27119b2d409470430f3e
6
+ metadata.gz: eccf9ed4c2453e986d6d2af4bfcedfa27d47c158ac34a75c5451b83543240e6994f32621ec3b60ff338188e321a312e3317e6c1468ae18fecbf8dc06e4cab3b1
7
+ data.tar.gz: 48e1d5492237026d9ddb3c5554519376cbcfb1128d06e3d90aca5af3b3a5cc86dd4612e071d28ccc7ba20910238a970d4479a84850662473f81fdc6ea0086110
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |gem|
6
6
  gem.name = "aws-keychain-util"
7
- gem.version = '0.0.10'
7
+ gem.version = '0.0.11'
8
8
  gem.authors = ["Zach Wily"]
9
9
  gem.email = ["zach@zwily.com"]
10
10
  gem.description = %q{Helps manage a keychain of AWS credentials on OS X.}
@@ -172,10 +172,11 @@ when 'mfa'
172
172
 
173
173
  when 'env'
174
174
  item, token = get_item_from_args_for_command('shell')
175
+ key = item.password
175
176
  puts "export AWS_ACCESS_KEY_ID=\"#{item.attributes[:account]}\""
176
177
  puts "export AWS_ACCESS_KEY=\"#{item.attributes[:account]}\""
177
- puts "export AWS_SECRET_ACCESS_KEY=\"#{item.password}\""
178
- puts "export AWS_SECRET_KEY=\"#{item.password}\""
178
+ puts "export AWS_SECRET_ACCESS_KEY=\"#{key}\""
179
+ puts "export AWS_SECRET_KEY=\"#{key}\""
179
180
  puts "export RPROMPT=\"(aws #{item.attributes[:label]})\""
180
181
  puts "export AWS_CREDS_NAME=\"#{item.attributes[:label]}\""
181
182
  if token
@@ -204,7 +205,7 @@ when 'shell'
204
205
  if prefs['shell_arguments']
205
206
  exec(aws_env, ENV['SHELL'], prefs['shell_arguments'])
206
207
  else
207
- exec(aws_env)
208
+ exec(aws_env, ENV['SHELL'])
208
209
  end
209
210
  else
210
211
  exec(aws_env, *ARGV)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-keychain-util
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zach Wily
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-19 00:00:00.000000000 Z
11
+ date: 2015-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-keychain