aws-sdk-core 3.180.0 → 3.180.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: db0015d86294d59fb21f49e5c5ee3b3c971f98721d027ee817e2af22cc17079e
4
- data.tar.gz: 57b6f65d30b49be41ea662dd62a314dbbd191e11dd00d0e23838a8600440510b
3
+ metadata.gz: 9d6a082ec31cbf3212a495241a9d0ef606f1569fc4e808d052794616caee39ce
4
+ data.tar.gz: e107003d7a98303241d8d9f016f4a81d9d0c3f0012e355e172911ede5aa80701
5
5
  SHA512:
6
- metadata.gz: bba4eaac183b1c41bf7baf71bb09382b1fa24ed45b0442147e6452b97b59e8c3dac6de0519cd4dddd89954f16cf8921243090e83c102622483e3a1c61a142cb1
7
- data.tar.gz: 763556d98e8777507a83e47ea6f32a75e4b471e90edaa3f476032bfe2b5f6abb1a5c5e19b1faa098b3f999b9e79f66b97e5ef63cfff601affbcefbdce344769b
6
+ metadata.gz: b73a9b216e87fd749add538b8ca9f3531d9d5d0b5ae97b404056dbaafb39bbf5597096a016a34e36361a86d4b1802721b22f57e74674ba2d976ce6f124ab6aa7
7
+ data.tar.gz: fd4859dd906959788161d88275c470109bb5798bc8c19e62f173e789f1c89d657043983da6d66a40b346082d74d8e4f86a91e0ec4d9dca73f7dd8c9e18ca66e1
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 3.180.2 (2023-08-07)
5
+ ------------------
6
+
7
+ * Issue - Fix parsing of ini files with mixes of blank properties and nested configurations.
8
+
9
+ 3.180.1 (2023-07-31)
10
+ ------------------
11
+
12
+ * Issue - Remove checksums from default stubs (#2888).
13
+
4
14
  3.180.0 (2023-07-25)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.180.0
1
+ 3.180.2
@@ -8,6 +8,8 @@ module Aws
8
8
  def ini_parse(raw)
9
9
  current_profile = nil
10
10
  current_prefix = nil
11
+ item = nil
12
+ previous_item = nil
11
13
  raw.lines.inject({}) do |acc, line|
12
14
  line = line.split(/^|\s;/).first # remove comments
13
15
  profile = line.match(/^\[([^\[\]]+)\]\s*(#.+)?$/) unless line.nil?
@@ -17,11 +19,16 @@ module Aws
17
19
  current_profile = named_profile[1] if named_profile
18
20
  elsif current_profile
19
21
  unless line.nil?
20
- item = line.match(/^(.+?)\s*=\s*([^\s].*?)\s*$/)
22
+ previous_item = item
23
+ item = line.match(/^(.+?)\s*=\s*(.+?)\s*$/)
21
24
  prefix = line.match(/^(.+?)\s*=\s*$/)
22
25
  end
23
26
  if item && item[1].match(/^\s+/)
24
27
  # Need to add lines to a nested configuration.
28
+ if current_prefix.nil? && previous_item[2].strip.empty?
29
+ current_prefix = previous_item[1]
30
+ acc[current_profile][current_prefix] = {}
31
+ end
25
32
  inner_item = line.match(/^\s*(.+?)\s*=\s*(.+?)\s*$/)
26
33
  acc[current_profile] ||= {}
27
34
  acc[current_profile][current_prefix] ||= {}
@@ -13,12 +13,23 @@ module Aws
13
13
  def stub(data = {})
14
14
  stub = EmptyStub.new(@rules).stub
15
15
  remove_paging_tokens(stub)
16
+ remove_checksums(stub)
16
17
  apply_data(data, stub)
17
18
  stub
18
19
  end
19
20
 
20
21
  private
21
22
 
23
+ def remove_checksums(stub)
24
+ if @rules && @rules.shape.is_a?(Seahorse::Model::Shapes::StructureShape)
25
+ @rules.shape.members.each do |key, member|
26
+ if member.location == 'header' && member.location_name.start_with?('x-amz-checksum-')
27
+ stub[key] = nil
28
+ end
29
+ end
30
+ end
31
+ end
32
+
22
33
  def remove_paging_tokens(stub)
23
34
  if @pager
24
35
  @pager.instance_variable_get("@tokens").keys.each do |path|
@@ -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.180.0'
608
+ context[:gem_version] = '3.180.2'
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.180.0'
57
+ GEM_VERSION = '3.180.2'
58
58
 
59
59
  end
@@ -601,7 +601,7 @@ module Aws::SSOOIDC
601
601
  params: params,
602
602
  config: config)
603
603
  context[:gem_name] = 'aws-sdk-core'
604
- context[:gem_version] = '3.180.0'
604
+ context[:gem_version] = '3.180.2'
605
605
  Seahorse::Client::Request.new(handlers, context)
606
606
  end
607
607
 
@@ -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.180.0'
57
+ GEM_VERSION = '3.180.2'
58
58
 
59
59
  end
@@ -2344,7 +2344,7 @@ module Aws::STS
2344
2344
  params: params,
2345
2345
  config: config)
2346
2346
  context[:gem_name] = 'aws-sdk-core'
2347
- context[:gem_version] = '3.180.0'
2347
+ context[:gem_version] = '3.180.2'
2348
2348
  Seahorse::Client::Request.new(handlers, context)
2349
2349
  end
2350
2350
 
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.180.0'
57
+ GEM_VERSION = '3.180.2'
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.180.0
4
+ version: 3.180.2
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: 2023-07-25 00:00:00.000000000 Z
11
+ date: 2023-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jmespath