aws-sdk-core 3.158.0 → 3.158.1

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
  SHA256:
3
- metadata.gz: f1cff745eefc68e5cf01221587485685146d6646a353efd415b94483b435f6bb
4
- data.tar.gz: d07ac29ef24807658aeac9c2d0256d7e396553887ed07e4cfd0e725c8882ea20
3
+ metadata.gz: 928b2da70d94db4871b85d48b62af8cf7ac1caafb7739192df938a532bebe205
4
+ data.tar.gz: 5c87fe225cced2fa51b5f204131fefc8b35ed0ca0315f362363deb4047890e9a
5
5
  SHA512:
6
- metadata.gz: 7bcc0b6d1b9cfcd062004bd05fe4e70a8f7e67faf11495b0e34931d42eaebc8726ed4ee3f5a248faf3897dbd44d0224a5d2be4482853381db93078fab0fd6897
7
- data.tar.gz: d5a935567e0167ae700d54ca89920779afede5faeae85c388531d030e421928566568a3630a37c4c6ccbe627cd873df91b2cac0ad0a02375b623bfd9a757a8e3
6
+ metadata.gz: 11e4d7f3c7fc9162e1b1fb6976e68b794fa68843e1144266b6e73ae980c1a57beb623bb9729c58eacfff577456da03df86475921f6c9793c27f4caa6a4768628
7
+ data.tar.gz: 71447e2b792db6bc08aa2e07f12af9b7e0ad282d2988384bbd2a7ba1eb1b96a62e0f8ddf4dcda864e84a8cbe4fd57f3e7ccc53457105f61ac7e1241a3a2a7d88
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 3.158.1 (2022-10-06)
5
+ ------------------
6
+
7
+ * Issue - Ensure that the ReadCallbackIO is always unwrapped (#2761).
8
+
4
9
  3.158.0 (2022-09-30)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.158.0
1
+ 3.158.1
@@ -568,7 +568,7 @@ module Aws::SSO
568
568
  params: params,
569
569
  config: config)
570
570
  context[:gem_name] = 'aws-sdk-core'
571
- context[:gem_version] = '3.158.0'
571
+ context[:gem_version] = '3.158.1'
572
572
  Seahorse::Client::Request.new(handlers, context)
573
573
  end
574
574
 
data/lib/aws-sdk-sso.rb CHANGED
@@ -50,6 +50,6 @@ require_relative 'aws-sdk-sso/customizations'
50
50
  # @!group service
51
51
  module Aws::SSO
52
52
 
53
- GEM_VERSION = '3.158.0'
53
+ GEM_VERSION = '3.158.1'
54
54
 
55
55
  end
@@ -2299,7 +2299,7 @@ module Aws::STS
2299
2299
  params: params,
2300
2300
  config: config)
2301
2301
  context[:gem_name] = 'aws-sdk-core'
2302
- context[:gem_version] = '3.158.0'
2302
+ context[:gem_version] = '3.158.1'
2303
2303
  Seahorse::Client::Request.new(handlers, context)
2304
2304
  end
2305
2305
 
data/lib/aws-sdk-sts.rb CHANGED
@@ -50,6 +50,6 @@ require_relative 'aws-sdk-sts/customizations'
50
50
  # @!group service
51
51
  module Aws::STS
52
52
 
53
- GEM_VERSION = '3.158.0'
53
+ GEM_VERSION = '3.158.1'
54
54
 
55
55
  end
@@ -80,18 +80,18 @@ bytes in the body.
80
80
  context.http_request.body,
81
81
  callback
82
82
  )
83
- add_event_listeners(context)
83
+ @handler.call(context).tap do
84
+ unwrap_callback_body(context)
85
+ end
86
+ else
87
+ @handler.call(context)
84
88
  end
85
- @handler.call(context)
86
89
  end
87
90
 
88
- def add_event_listeners(context)
89
- # unwrap the request body as soon as we start receiving a response
90
- context.http_response.on_headers do
91
- body = context.http_request.body
92
- if body.is_a? ReadCallbackIO
93
- context.http_request.body = body.io
94
- end
91
+ def unwrap_callback_body(context)
92
+ body = context.http_request.body
93
+ if body.is_a? ReadCallbackIO
94
+ context.http_request.body = body.io
95
95
  end
96
96
  end
97
97
  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.158.0
4
+ version: 3.158.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: 2022-09-30 00:00:00.000000000 Z
11
+ date: 2022-10-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jmespath