google-cloud-trace 0.34.2 → 0.34.3
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e283386f69a6f1fe63c72f5fdc1ae1d83f2ebdba44a00848e2d63612e09b8f22
|
|
4
|
+
data.tar.gz: b1dc3c2492cac16ed55b3d8663f6d2a3bcba0921bdcc1395d98ff457114b3f26
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 38244622a28ffff2a1b3dff731f2a340ec752297b1ef1142dc2ad6cfc508b4e904abb1f411ba2c22cec2ef33a226607b110ff20c01a30ac924252b52c27e09b6
|
|
7
|
+
data.tar.gz: f99f0a35bd20219324960587c063f1b4a72a54cc7317df3bea12587e6912edbedeaf64cb1c3feed0d312b6a2e867ffd42a676bfe30a4b474cd0e5e20b26dbcfe
|
data/CHANGELOG.md
CHANGED
|
@@ -29,6 +29,13 @@ module Google
|
|
|
29
29
|
#
|
|
30
30
|
def self.time_to_grpc time
|
|
31
31
|
return nil if time.nil?
|
|
32
|
+
|
|
33
|
+
# sometimes this gets called with time as a float or
|
|
34
|
+
# int. Coerce into a time object, and move on.
|
|
35
|
+
time = Time.at(time) if time.is_a? Numeric
|
|
36
|
+
|
|
37
|
+
raise ArgumentError unless time.is_a? Time
|
|
38
|
+
|
|
32
39
|
Google::Protobuf::Timestamp.new seconds: time.to_i,
|
|
33
40
|
nanos: time.nsec
|
|
34
41
|
end
|
|
@@ -27,6 +27,7 @@ require "google/gax"
|
|
|
27
27
|
|
|
28
28
|
require "google/devtools/cloudtrace/v1/trace_pb"
|
|
29
29
|
require "google/cloud/trace/v1/credentials"
|
|
30
|
+
require "google/cloud/trace/version"
|
|
30
31
|
|
|
31
32
|
module Google
|
|
32
33
|
module Cloud
|
|
@@ -135,7 +136,7 @@ module Google
|
|
|
135
136
|
updater_proc = credentials.updater_proc
|
|
136
137
|
end
|
|
137
138
|
|
|
138
|
-
package_version =
|
|
139
|
+
package_version = Google::Cloud::Trace::VERSION
|
|
139
140
|
|
|
140
141
|
google_api_client = "gl-ruby/#{RUBY_VERSION}"
|
|
141
142
|
google_api_client << " #{lib_name}/#{lib_version}" if lib_name
|
|
@@ -27,6 +27,7 @@ require "google/gax"
|
|
|
27
27
|
|
|
28
28
|
require "google/devtools/cloudtrace/v2/tracing_pb"
|
|
29
29
|
require "google/cloud/trace/v2/credentials"
|
|
30
|
+
require "google/cloud/trace/version"
|
|
30
31
|
|
|
31
32
|
module Google
|
|
32
33
|
module Cloud
|
|
@@ -159,7 +160,7 @@ module Google
|
|
|
159
160
|
updater_proc = credentials.updater_proc
|
|
160
161
|
end
|
|
161
162
|
|
|
162
|
-
package_version =
|
|
163
|
+
package_version = Google::Cloud::Trace::VERSION
|
|
163
164
|
|
|
164
165
|
google_api_client = "gl-ruby/#{RUBY_VERSION}"
|
|
165
166
|
google_api_client << " #{lib_name}/#{lib_version}" if lib_name
|
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.34.
|
|
4
|
+
version: 0.34.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Daniel Azuma
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-06-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: google-cloud-core
|