aws-sdk-core 3.21.0 → 3.21.1
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/binary/decode_handler.rb +3 -1
- data/lib/aws-sdk-sts.rb +1 -1
- data/lib/aws-sdk-sts/client.rb +1 -1
- data/lib/seahorse/client/http/response.rb +0 -10
- 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: ab7f2e00b0f298848002d0c1687b455d13fb0e24
|
4
|
+
data.tar.gz: 257d3cd524213c2c228ae3e4b7ce7832a4ef901b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d44a78a561a24c569d32be293793ec3c3e03ced44733ba2a38d8f8c7e8fc09d6dcb5c3a00fde00b52789475648c98d49081b8b83ac094c85168236d66a85e9a1
|
7
|
+
data.tar.gz: af1850b9998d0edc36f4464e1fe978083586047104e7b6ffa1eeeb27921c3953d83e92d5082235dc53de87daaa7f96075cbeba6c2e96f44338efed9e35937442
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.21.
|
1
|
+
3.21.1
|
@@ -35,7 +35,9 @@ module Aws
|
|
35
35
|
end
|
36
36
|
|
37
37
|
context.http_response.on_error do
|
38
|
-
|
38
|
+
# Potential enhancement to made
|
39
|
+
# since we don't want to track raw bytes in memory
|
40
|
+
context.http_response.body = StringIO.new
|
39
41
|
end
|
40
42
|
|
41
43
|
end
|
data/lib/aws-sdk-sts.rb
CHANGED
data/lib/aws-sdk-sts/client.rb
CHANGED
@@ -10,7 +10,6 @@ module Seahorse
|
|
10
10
|
@status_code = options[:status_code] || 0
|
11
11
|
@headers = options[:headers] || Headers.new
|
12
12
|
@body = options[:body] || StringIO.new
|
13
|
-
@raw_stream = options[:raw_stream] || StringIO.new
|
14
13
|
@listeners = Hash.new { |h,k| h[k] = [] }
|
15
14
|
@complete = false
|
16
15
|
@done = nil
|
@@ -27,12 +26,6 @@ module Seahorse
|
|
27
26
|
# @return [StandardError, nil]
|
28
27
|
attr_reader :error
|
29
28
|
|
30
|
-
# Raw binary stream data used for eventstream only
|
31
|
-
# body is concatenated parsed event structs in StringIO
|
32
|
-
#
|
33
|
-
# @return [IO]
|
34
|
-
attr_accessor :raw_stream
|
35
|
-
|
36
29
|
# @return [IO]
|
37
30
|
def body
|
38
31
|
@body
|
@@ -66,9 +59,6 @@ module Seahorse
|
|
66
59
|
# @param [string] chunk
|
67
60
|
def signal_data(chunk)
|
68
61
|
unless chunk == ''
|
69
|
-
# record raw binary stream for eventstream
|
70
|
-
# in case error happens, body is used for emit/track events
|
71
|
-
@raw_stream.write(chunk)
|
72
62
|
@body.write(chunk)
|
73
63
|
emit(:data, chunk)
|
74
64
|
end
|
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.21.
|
4
|
+
version: 3.21.1
|
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-05-
|
11
|
+
date: 2018-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jmespath
|