aws-sdk-core 3.180.1 → 3.180.2

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: 961e877c0ed8b4690bbd46f61da681f1cc9c766bd41b096b04fc7715253f1bcb
4
- data.tar.gz: 1e9cbf21fe9312b7f124427e42db59197a743d0e6dc8a2dc1508c78ca14121fe
3
+ metadata.gz: 9d6a082ec31cbf3212a495241a9d0ef606f1569fc4e808d052794616caee39ce
4
+ data.tar.gz: e107003d7a98303241d8d9f016f4a81d9d0c3f0012e355e172911ede5aa80701
5
5
  SHA512:
6
- metadata.gz: 4aef94838018da2db6baca2a2541ea67ea59b3196e17d78ee00d3d56b2c8c2719b3c42fcf9807a73d6a0e0c3979a0235c36a8aef3130b12b0b952b44addb85d5
7
- data.tar.gz: 6166a316c6e9cf8ead0d120c73dd3ee45d84410e27715a25906ccae90cd5bb5eeb400bc0978680490d77ad15636fee2ba76f7cca869e95319850f37eb52261bc
6
+ metadata.gz: b73a9b216e87fd749add538b8ca9f3531d9d5d0b5ae97b404056dbaafb39bbf5597096a016a34e36361a86d4b1802721b22f57e74674ba2d976ce6f124ab6aa7
7
+ data.tar.gz: fd4859dd906959788161d88275c470109bb5798bc8c19e62f173e789f1c89d657043983da6d66a40b346082d74d8e4f86a91e0ec4d9dca73f7dd8c9e18ca66e1
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  3.180.1 (2023-07-31)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.180.1
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] ||= {}
@@ -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.1'
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.1'
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.1'
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.1'
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.1'
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.1'
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.1
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-31 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