aws-keychain-util 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.6'
7
+ gem.version = '0.0.7'
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.}
@@ -18,4 +18,5 @@ Gem::Specification.new do |gem|
18
18
 
19
19
  gem.add_dependency('ruby-keychain')
20
20
  gem.add_dependency('highline')
21
+ gem.add_dependency('aws-sdk')
21
22
  end
data/bin/aws-creds CHANGED
@@ -1,9 +1,14 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
+ if $0 == "bin/aws-creds"
4
+ $LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__)) + "/../lib")
5
+ end
6
+
3
7
  require 'rubygems'
4
8
  require 'highline'
5
9
  require 'keychain'
6
10
  require 'json'
11
+ require 'aws-keychain-util'
7
12
 
8
13
  def ask(question)
9
14
  HighLine.new.ask(question)
@@ -1,5 +1,3 @@
1
- require 'aws-keychain-util/credential_provider'
2
-
3
1
  module AwsKeychainUtil
4
2
  PREFS_FILE = File.expand_path "~/.aws-keychain-util"
5
3
 
@@ -1,3 +1,4 @@
1
+ require 'aws-sdk'
1
2
  require 'keychain'
2
3
 
3
4
  module AwsKeychainUtil
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-keychain-util
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -43,6 +43,22 @@ dependencies:
43
43
  - - ! '>='
44
44
  - !ruby/object:Gem::Version
45
45
  version: '0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: aws-sdk
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
46
62
  description: Helps manage a keychain of AWS credentials on OS X.
47
63
  email:
48
64
  - zach@zwily.com