stackdriver-core 1.5.0 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/stackdriver/core/trace_context.rb +4 -5
- data/lib/stackdriver/core/version.rb +1 -1
- metadata +4 -144
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f2d6ec62e5a42cf54379f94a49d38584928427353f45d63326f144484d8126ef
|
4
|
+
data.tar.gz: 2fda52a31fca07718c2a85bb8d1f2d60df233535e343e9114bedb9ce7ee31e11
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2dffc0d75a11924b9d900f3a28045f9f33cdccfe755bec69a4c6ee856ab98af79b7ad78a5e2103a693f79344fe2f9b6b8233103a7d0b7ec59363f21d977aa815
|
7
|
+
data.tar.gz: 3bf4b1afdf811db8dc1f16355727c6cc160f51f3f8a4fb4534030a6eb5ccb00bc91ea86f9abd1643b143570909c0a3b201342c33d962a22e0c8a31ddd20bc7d4
|
data/CHANGELOG.md
CHANGED
@@ -75,7 +75,7 @@ module Stackdriver
|
|
75
75
|
else
|
76
76
|
is_new ? true : false
|
77
77
|
end
|
78
|
-
@span_id = span_id
|
78
|
+
@span_id = span_id&.to_i
|
79
79
|
@sampled = sampled
|
80
80
|
if @sampled.nil?
|
81
81
|
@capture_stack = nil
|
@@ -153,8 +153,7 @@ module Stackdriver
|
|
153
153
|
# @return [Integer]
|
154
154
|
#
|
155
155
|
def hash
|
156
|
-
@hash ||= @trace_id
|
157
|
-
@sampled.hash ^ @capture_stack.hash
|
156
|
+
@hash ||= [@trace_id, @is_new, @span_id, @sampled, @capture_stack].hash
|
158
157
|
end
|
159
158
|
|
160
159
|
##
|
@@ -229,8 +228,8 @@ module Stackdriver
|
|
229
228
|
return unless match
|
230
229
|
|
231
230
|
trace_id = match[1]
|
232
|
-
span_id = match[3]
|
233
|
-
options = match[5]
|
231
|
+
span_id = match[3]&.to_i
|
232
|
+
options = match[5]&.to_i
|
234
233
|
if options.nil?
|
235
234
|
sampled = capture_stack = nil
|
236
235
|
else
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stackdriver-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Azuma
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-cloud-core
|
@@ -24,146 +24,6 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.2'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: autotest-suffix
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '1.1'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '1.1'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: google-style
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: 1.25.1
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: 1.25.1
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: minitest
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '5.14'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '5.14'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: minitest-autotest
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - "~>"
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '1.0'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - "~>"
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '1.0'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: minitest-focus
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '1.1'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - "~>"
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '1.1'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: minitest-rg
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - "~>"
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '5.2'
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - "~>"
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '5.2'
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: redcarpet
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - "~>"
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '3.0'
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - "~>"
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '3.0'
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: simplecov
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - "~>"
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: '0.9'
|
132
|
-
type: :development
|
133
|
-
prerelease: false
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - "~>"
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: '0.9'
|
139
|
-
- !ruby/object:Gem::Dependency
|
140
|
-
name: yard
|
141
|
-
requirement: !ruby/object:Gem::Requirement
|
142
|
-
requirements:
|
143
|
-
- - "~>"
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
version: '0.9'
|
146
|
-
type: :development
|
147
|
-
prerelease: false
|
148
|
-
version_requirements: !ruby/object:Gem::Requirement
|
149
|
-
requirements:
|
150
|
-
- - "~>"
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
version: '0.9'
|
153
|
-
- !ruby/object:Gem::Dependency
|
154
|
-
name: yard-doctest
|
155
|
-
requirement: !ruby/object:Gem::Requirement
|
156
|
-
requirements:
|
157
|
-
- - "~>"
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: 0.1.13
|
160
|
-
type: :development
|
161
|
-
prerelease: false
|
162
|
-
version_requirements: !ruby/object:Gem::Requirement
|
163
|
-
requirements:
|
164
|
-
- - "~>"
|
165
|
-
- !ruby/object:Gem::Version
|
166
|
-
version: 0.1.13
|
167
27
|
description: stackdriver-core is an internal shared library for the Ruby Stackdriver
|
168
28
|
integration libraries.
|
169
29
|
email:
|
@@ -196,14 +56,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
196
56
|
requirements:
|
197
57
|
- - ">="
|
198
58
|
- !ruby/object:Gem::Version
|
199
|
-
version: '2.
|
59
|
+
version: '2.7'
|
200
60
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
201
61
|
requirements:
|
202
62
|
- - ">="
|
203
63
|
- !ruby/object:Gem::Version
|
204
64
|
version: '0'
|
205
65
|
requirements: []
|
206
|
-
rubygems_version: 3.
|
66
|
+
rubygems_version: 3.5.6
|
207
67
|
signing_key:
|
208
68
|
specification_version: 4
|
209
69
|
summary: Internal shared library for Ruby Stackdriver integration
|