aws-google 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws/google/credential_provider.rb +8 -5
- data/lib/aws/google/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ec086b6871d43a2064a99974bb55fd3f1cd6bc0dc5a749a560f3a41f3d1a9e6
|
4
|
+
data.tar.gz: 0ff2652d74bf6eb73076d146a9c4ab6c65a6a16dba54b7ce2d4d0d00b3c95c6d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e168070dc1cf75b2d74cddd96b1add3db9a9c37e613f3ed4bddb5d14ce969152f41c0fe75b1954e958129b6b6eee92c6fc9797c6bb2924c4a6a9e4fa87b94bc
|
7
|
+
data.tar.gz: 8ba6d8a8c01926516c53d9bf7477a080b8d853a6f7b76e670378012e5660729d63e59424d7c0b98bd28ab0f3a83d3c20a1e80b546189d74ff5a4ef9bc87547d2
|
@@ -22,14 +22,17 @@ module Aws
|
|
22
22
|
|
23
23
|
module GoogleSharedCredentials
|
24
24
|
def google_credentials_from_config(opts = {})
|
25
|
-
|
25
|
+
google_opts = {}
|
26
26
|
if @config_enabled && @parsed_config
|
27
|
-
|
27
|
+
p = opts[:profile] || @profile_name
|
28
|
+
google_opts.merge!(@parsed_config.
|
28
29
|
fetch(p, {}).fetch('google', {}).
|
29
30
|
transform_keys(&:to_sym)
|
30
|
-
|
31
|
-
|
32
|
-
|
31
|
+
)
|
32
|
+
end
|
33
|
+
google_opts.merge!(::Aws::Google.config)
|
34
|
+
if google_opts.has_key?(:role_arn)
|
35
|
+
Google.new(google_opts)
|
33
36
|
end
|
34
37
|
end
|
35
38
|
end
|
data/lib/aws/google/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-google
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Will Jordan
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-10-
|
11
|
+
date: 2020-10-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|