aws-sdk-core 3.190.1 → 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: 4fda9f68ef0e3314ab364fb268675ded2239b81a636acd4dc54215b6e6ca7c83
4
- data.tar.gz: afe9386ae7bd49f5ada1f6e6a5fbad9ff81b07043d8ddc94bf7535f679163279
3
+ metadata.gz: 21cdff0abfe2aec5ad4a801e3c2309930e2afb717f30886b1d075b568c28aa56
4
+ data.tar.gz: 8a7ab6eef02764d83baef04f6b47fce0c290a850a97a53156c4ef988811bc834
5
5
  SHA512:
6
- metadata.gz: 06540b6d496653c29f7738166e2cc8c0b94ff5d68a9deb6ed0d9673c1ba15b4f6f9bf8929f37d7168535b13af2723894ff89c1a412bc2a833544363173ad6c9f
7
- data.tar.gz: b81ddf77de05fea162875f9b218878a551e6325c16faa65562b942b919d457298e19c7c2389fc9c55a8b7f8c5a953afef67a0af5d6ae08066eeccc7dbcc169cc
6
+ metadata.gz: f9e59ce7c7d62a8bc34c3060655ef2c30c913c7d5acc7a1d205c3f124d1978412d904846e2ad696def72fd98fc0acd091bdd73e07a2f060c674ed8a5999abfcc
7
+ data.tar.gz: 9f3aa78cdd2e71e8b013510919e47bed89fe871b92801559f027929bbc50510fcccef45dc79f8a300bc2fec6c40f03c1de425fde393c0435d2f8c66201daaff2
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
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
+
9
+ 3.190.2 (2024-01-09)
10
+ ------------------
11
+
12
+ * Issue - Minor performance optimization.
13
+
4
14
  3.190.1 (2023-12-20)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.190.1
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 '\
@@ -97,7 +97,7 @@ module Aws
97
97
 
98
98
  def matches_error?(acceptor, response)
99
99
  Aws::Errors::ServiceError === response.error &&
100
- response.error.code == acceptor['expected'].gsub('.', '')
100
+ response.error.code == acceptor['expected'].delete('.')
101
101
  end
102
102
 
103
103
  def path(acceptor)
@@ -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.1'
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.1'
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.1'
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.1'
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.1'
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.1'
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.1
4
+ version: 3.190.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-20 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
@@ -86,7 +86,7 @@ dependencies:
86
86
  version: 1.3.0
87
87
  description: Provides API clients for AWS. This gem is part of the official AWS SDK
88
88
  for Ruby.
89
- email:
89
+ email:
90
90
  executables: []
91
91
  extensions: []
92
92
  extra_rdoc_files: []
@@ -345,7 +345,7 @@ licenses:
345
345
  metadata:
346
346
  source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-core
347
347
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-core/CHANGELOG.md
348
- post_install_message:
348
+ post_install_message:
349
349
  rdoc_options: []
350
350
  require_paths:
351
351
  - lib
@@ -360,8 +360,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
360
360
  - !ruby/object:Gem::Version
361
361
  version: '0'
362
362
  requirements: []
363
- rubygems_version: 3.1.6
364
- signing_key:
363
+ rubygems_version: 3.4.10
364
+ signing_key:
365
365
  specification_version: 4
366
366
  summary: AWS SDK for Ruby - Core
367
367
  test_files: []