aws-sdk-core 3.190.2 → 3.190.3

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: 8af0a320750a1b68635e29bc80488d594360f3ab5c442a7f15c69befddbef9ca
4
- data.tar.gz: 564b7201ee5c1390693e192b20edf0cb317cb95b94c528874eb161e46d928cbc
3
+ metadata.gz: 21cdff0abfe2aec5ad4a801e3c2309930e2afb717f30886b1d075b568c28aa56
4
+ data.tar.gz: 8a7ab6eef02764d83baef04f6b47fce0c290a850a97a53156c4ef988811bc834
5
5
  SHA512:
6
- metadata.gz: 6a90607a3292f9faf6225f4f1acb957ab69da49d6f879428084e198eaafb0a8d74e879a08d247b5b9c22934f1de337ca90aa0025a1e2b28f9709f22ac1a1ff18
7
- data.tar.gz: b7175309e9fec1f3263d7a48eb27bf607f589d4e5bca5e0f784c4c7df69cf53e2459bcfdfe97212940dba68d5ed0bc3c3d2c1ba4c005a53c0f9b02267668ad38
6
+ metadata.gz: f9e59ce7c7d62a8bc34c3060655ef2c30c913c7d5acc7a1d205c3f124d1978412d904846e2ad696def72fd98fc0acd091bdd73e07a2f060c674ed8a5999abfcc
7
+ data.tar.gz: 9f3aa78cdd2e71e8b013510919e47bed89fe871b92801559f027929bbc50510fcccef45dc79f8a300bc2fec6c40f03c1de425fde393c0435d2f8c66201daaff2
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 3.190.3 (2024-01-16)
5
+ ------------------
6
+
7
+ * Issue - Add mutex around accessing stub api_requests.
8
+
4
9
  3.190.2 (2024-01-09)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.190.2
1
+ 3.190.3
@@ -24,10 +24,8 @@ module Aws
24
24
  end
25
25
 
26
26
  # When a client is stubbed allow the user to access the requests made
27
- @api_requests = []
28
-
29
- requests = @api_requests
30
- requests_mutex = Mutex.new
27
+ requests = @api_requests = []
28
+ requests_mutex = @requests_mutex = Mutex.new
31
29
  self.handle do |context|
32
30
  requests_mutex.synchronize do
33
31
  requests << {
@@ -197,10 +195,12 @@ module Aws
197
195
  # is not stubbed.
198
196
  def api_requests(options = {})
199
197
  if config.stub_responses
200
- if options[:exclude_presign]
201
- @api_requests.reject {|req| req[:context][:presigned_url] }
202
- else
203
- @api_requests
198
+ @requests_mutex.synchronize do
199
+ if options[:exclude_presign]
200
+ @api_requests.reject {|req| req[:context][:presigned_url] }
201
+ else
202
+ @api_requests
203
+ end
204
204
  end
205
205
  else
206
206
  msg = 'This method is only implemented for stubbed clients, and is '\
@@ -605,7 +605,7 @@ module Aws::SSO
605
605
  params: params,
606
606
  config: config)
607
607
  context[:gem_name] = 'aws-sdk-core'
608
- context[:gem_version] = '3.190.2'
608
+ context[:gem_version] = '3.190.3'
609
609
  Seahorse::Client::Request.new(handlers, context)
610
610
  end
611
611
 
data/lib/aws-sdk-sso.rb CHANGED
@@ -54,6 +54,6 @@ require_relative 'aws-sdk-sso/customizations'
54
54
  # @!group service
55
55
  module Aws::SSO
56
56
 
57
- GEM_VERSION = '3.190.2'
57
+ GEM_VERSION = '3.190.3'
58
58
 
59
59
  end
@@ -910,7 +910,7 @@ module Aws::SSOOIDC
910
910
  params: params,
911
911
  config: config)
912
912
  context[:gem_name] = 'aws-sdk-core'
913
- context[:gem_version] = '3.190.2'
913
+ context[:gem_version] = '3.190.3'
914
914
  Seahorse::Client::Request.new(handlers, context)
915
915
  end
916
916
 
@@ -54,6 +54,6 @@ require_relative 'aws-sdk-ssooidc/customizations'
54
54
  # @!group service
55
55
  module Aws::SSOOIDC
56
56
 
57
- GEM_VERSION = '3.190.2'
57
+ GEM_VERSION = '3.190.3'
58
58
 
59
59
  end
@@ -2352,7 +2352,7 @@ module Aws::STS
2352
2352
  params: params,
2353
2353
  config: config)
2354
2354
  context[:gem_name] = 'aws-sdk-core'
2355
- context[:gem_version] = '3.190.2'
2355
+ context[:gem_version] = '3.190.3'
2356
2356
  Seahorse::Client::Request.new(handlers, context)
2357
2357
  end
2358
2358
 
data/lib/aws-sdk-sts.rb CHANGED
@@ -54,6 +54,6 @@ require_relative 'aws-sdk-sts/customizations'
54
54
  # @!group service
55
55
  module Aws::STS
56
56
 
57
- GEM_VERSION = '3.190.2'
57
+ GEM_VERSION = '3.190.3'
58
58
 
59
59
  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.190.2
4
+ version: 3.190.3
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: 2024-01-09 00:00:00.000000000 Z
11
+ date: 2024-01-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jmespath