aws-xray-sdk 0.13.0 → 0.14.0

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: 7519a013ac4db9cf9536638f8abc1d77dc71c4a7edbb5dbc2b43bfc6f1ab3296
4
- data.tar.gz: 58567280e37b1e041720d7cf1c86f1b55d38e992a2e6f19444950bc491d2ef7a
3
+ metadata.gz: 04c1d1cb98a0d55632a4f77d366d4722008401851555c0ab515236f03837b323
4
+ data.tar.gz: a0c68de2fadd545185740d95264312687a131e6cdb7d448993ad20b86e9b8084
5
5
  SHA512:
6
- metadata.gz: 38640d9e8aa2bf1f2328b26670878056713e9e916934ade89ca4ef1132b998f3544b89e01ae3fa7ab619582e2db4487719dd132228c9a51273e7bc27e91cca06
7
- data.tar.gz: b8d0aa1b3f0bc098cdd32e4f61ab810b4c1beee48aec785481edaf365c74174eda5a136e271b5b37c5aaed8ae6f8a74daeb2191f220d381520fe4ac6352fc03d
6
+ metadata.gz: 3d30fc99a86495bc0cd41100b4b563cec11eab0f05ea14afa3ae8f9cd51fe91ebaa3bfe961d368e895caf7aac0ca88016cc0c90d85ead87f03b0c1678fc1ecf4
7
+ data.tar.gz: 56318868c3beea5f5c67635d2a6ec6b3d9e624bfff9ac1c310b0f6b0c4871768ed9213ae69289b91a9f74f7ae69a8f0bd2b1e0f8283852b0670c26ff137eeccd
@@ -13,7 +13,7 @@ module XRay
13
13
  LOCAL_KEY = '_aws_xray_entity'.freeze
14
14
  CONTEXT_MISSING_KEY = 'AWS_XRAY_CONTEXT_MISSING'.freeze
15
15
  SUPPORTED_STRATEGY = %w[RUNTIME_ERROR LOG_ERROR IGNORE_ERROR].freeze
16
- DEFAULT_STRATEGY = SUPPORTED_STRATEGY[0]
16
+ DEFAULT_STRATEGY = SUPPORTED_STRATEGY[1]
17
17
 
18
18
  attr_reader :context_missing
19
19
 
@@ -345,6 +345,11 @@ module XRay
345
345
  request_parameters: %I[
346
346
  topic_arn
347
347
  ]
348
+ },
349
+ publish_batch: {
350
+ request_parameters: %I[
351
+ topic_arn
352
+ ]
348
353
  }
349
354
  }
350
355
  }
@@ -155,7 +155,8 @@ module XRay
155
155
  if (a = annotations.to_h) && !a.empty?
156
156
  h[:annotations] = a
157
157
  end
158
- if (m = @metadata) && !m.to_h.empty?
158
+ # make sure @metadata is defined before evaluating it, to prevent warning `variable @metadata not initialized`
159
+ if (defined?(@metadata) && m = @metadata) && !m.to_h.empty?
159
160
  h[:metadata] = m.to_h
160
161
  end
161
162
 
@@ -1,3 +1,3 @@
1
1
  module XRay
2
- VERSION = '0.13.0'
2
+ VERSION = '0.14.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-xray-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.14.0
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-01-04 00:00:00.000000000 Z
11
+ date: 2023-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-xray