google-cloud-trace 0.41.1 → 0.41.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: 3e542ada29156a89aa795dbf189b03e7f6dffdabb4e11e04bd29259e29026505
4
- data.tar.gz: 28007dbf96b5019bd7ed1fc8408c0b502d571773ca3a79ea0e706c17fc161c1d
3
+ metadata.gz: 2cd810b8a33959481b67b8a9d33cec11ab24f87530d54f98ebf6ae57fe504077
4
+ data.tar.gz: '08ae511b4cc58931c5355792dd1ffbec2c46bba190fe30be0aeed0a33ef49d3f'
5
5
  SHA512:
6
- metadata.gz: f97fe14f152ff1e1f3aa7238d6ea03248680739d6dd45f0b4735b4728ac15ce22f9bc7af933eead1182b87880c87b7e442f8f6ab3b5211db0f8a47da46c810a3
7
- data.tar.gz: c9676193bbcdf7bd6d919612b9a3e737336702002e771d02585727b2dd325b4a1200350396b760f4d2ad1cccb9fcfef613a66758e41a1df1d0ec60a070059d11
6
+ metadata.gz: 89e5004427d42e9a77d3984949f291ca6a9e874847876a85c9d944a221e6558e49229d8c9b8f1a9516c041c38521c59b609e0d80abf25c00f15085f82c72cae7
7
+ data.tar.gz: beca6e775429ad2cc818f36e51199e359bd4efabc7e18391fcbaeb4592a20887ff486ce0fa9bb35e5c0445ee338594855845fb42e3c56fce080ebe0c8eef2bef
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Release History
2
2
 
3
+ ### 0.41.2 / 2021-06-22
4
+
5
+ #### Bug Fixes
6
+
7
+ * Error reporting no longer fails due to loading the wrong constant
8
+ * Fixed a crash in the gRPC patch when no span is present in the current trace
9
+
3
10
  ### 0.41.1 / 2021-06-17
4
11
 
5
12
  #### Bug Fixes
@@ -282,7 +282,7 @@ module Google
282
282
  def default_error_callbacks
283
283
  # This is memoized to reduce calls to the configuration.
284
284
  @default_error_callbacks ||= begin
285
- error_callback = Google::Cloud::Pubsub.configure.on_error
285
+ error_callback = Google::Cloud::Trace.configure.on_error
286
286
  error_callback ||= Google::Cloud.configure.on_error
287
287
  if error_callback
288
288
  [error_callback]
@@ -68,7 +68,7 @@ module GRPC
68
68
  def run_batch *args
69
69
  span = Google::Cloud::Trace.get
70
70
  # Make sure we're in a "gRPC request" span
71
- span = nil if span && span.name != GRPC::ActiveCallWithTrace::SPAN_NAME
71
+ span = nil if !span.respond_to?(:name) || span.name != GRPC::ActiveCallWithTrace::SPAN_NAME
72
72
 
73
73
  if span && !args.empty?
74
74
  message = args[0]
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Trace
19
- VERSION = "0.41.1".freeze
19
+ VERSION = "0.41.2".freeze
20
20
  end
21
21
  end
22
22
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-trace
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.41.1
4
+ version: 0.41.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Azuma
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-17 00:00:00.000000000 Z
11
+ date: 2021-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-cloud-core
@@ -100,14 +100,14 @@ dependencies:
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '5.10'
103
+ version: '5.14'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '5.10'
110
+ version: '5.14'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: minitest-autotest
113
113
  requirement: !ruby/object:Gem::Requirement