thor-aws 0.0.3 → 0.0.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
  SHA1:
3
- metadata.gz: a0f0a273cc975981db6ac25ffbbc4cc560632bec
4
- data.tar.gz: ee2f23f9dcd865d7922f37a36f9c774c737c640e
3
+ metadata.gz: 565e3683b84ee2821769a848f754c6440a835fd8
4
+ data.tar.gz: 6932ebc32248f034bfb52539a24f096d69980b8d
5
5
  SHA512:
6
- metadata.gz: 2f05634350ac49d4eabdc50468980a22636484f5c4dc09f4dad1af0a5b6646aeb8295348d15425adad3b41c64b869eff1abc68d709261e7bdc20aa0942b05f2d
7
- data.tar.gz: 6fc518295e8bcae5e0a393e6c5e4ff57677aa8119fb0d7535dcaa5482c88f6cadf86aeccb6bc72784c18841d7190d9ff0bd591477086d53e997168db08aa09f6
6
+ metadata.gz: 3e8555f516ed9fa0e19c9d1cc5842c429166a2448845adff65d88612dcc827530fbe462dc3e6cd4935a1e041c327e0dac262d5f0a841510487cd2bd611b130e3
7
+ data.tar.gz: bd11d6acc575473dc16e83c771875c6f080f1048518f65a31e1045775e68e981fda1796a54e7ccd7628f4f2c03d69796e57c752249ce4a23835bc5b8be9d14eb
@@ -47,7 +47,7 @@ module Thor::Aws
47
47
 
48
48
  @aws_configuration.update(region: own_region) if @aws_configuration[:region].nil? && ENV["AWS_REGION"].nil?
49
49
 
50
- if [:profile, :shared_credentials_path].any?
50
+ if [options.shared_credentials_path, options.profile].any?
51
51
  credentials = Aws::SharedCredentials.new path: options.shared_credentials_path, profile_name: options.profile
52
52
  @aws_configuration.update credentials: credentials
53
53
  end
@@ -1,3 +1,3 @@
1
1
  module Thor::Aws
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thor-aws
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - y13i