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 +4 -4
- data/lib/thor/aws.rb +1 -1
- data/lib/thor/aws/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 565e3683b84ee2821769a848f754c6440a835fd8
|
4
|
+
data.tar.gz: 6932ebc32248f034bfb52539a24f096d69980b8d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e8555f516ed9fa0e19c9d1cc5842c429166a2448845adff65d88612dcc827530fbe462dc3e6cd4935a1e041c327e0dac262d5f0a841510487cd2bd611b130e3
|
7
|
+
data.tar.gz: bd11d6acc575473dc16e83c771875c6f080f1048518f65a31e1045775e68e981fda1796a54e7ccd7628f4f2c03d69796e57c752249ce4a23835bc5b8be9d14eb
|
data/lib/thor/aws.rb
CHANGED
@@ -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 [
|
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
|
data/lib/thor/aws/version.rb
CHANGED