aws-sdk-core 3.42.0 → 3.43.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/aws-sdk-core/plugins/user_agent.rb +6 -0
- data/lib/aws-sdk-sts.rb +1 -1
- data/lib/aws-sdk-sts/client.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 245032eaa119088093d4b011980df9359b72da95
|
4
|
+
data.tar.gz: f49341528fe5301529ed4a05c9973c85e4c4f962
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6c3abacc813bb13051697881b99676a79e22582dcca4ddeba937da045fc4497ccf3280f41a16726417e4787df831dfb41a1344831939fbc3ace337d6611d13e
|
7
|
+
data.tar.gz: 97b17a49ddd2c359aad24f9888cd9e99d5c0ba487d9cdf1b1440662e75ff5a5ca472986795deb7befea740c44dad10dc1bc56e01b1b86a7b599ff5c321a5bc22
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.
|
1
|
+
3.43.0
|
@@ -14,6 +14,8 @@ module Aws
|
|
14
14
|
end
|
15
15
|
|
16
16
|
def set_user_agent(context)
|
17
|
+
execution_env = ENV["AWS_EXECUTION_ENV"]
|
18
|
+
|
17
19
|
ua = "aws-sdk-ruby3/#{CORE_GEM_VERSION}"
|
18
20
|
|
19
21
|
begin
|
@@ -28,6 +30,10 @@ module Aws
|
|
28
30
|
ua += " #{context[:gem_name]}/#{context[:gem_version]}"
|
29
31
|
end
|
30
32
|
|
33
|
+
if execution_env
|
34
|
+
ua += " exec-env/#{execution_env}"
|
35
|
+
end
|
36
|
+
|
31
37
|
ua += " #{context.config.user_agent_suffix}" if context.config.user_agent_suffix
|
32
38
|
|
33
39
|
context.http_request.headers['User-Agent'] = ua.strip
|
data/lib/aws-sdk-sts.rb
CHANGED
data/lib/aws-sdk-sts/client.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.43.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jmespath
|