minato_logger 0.1.12 → 0.1.13.pre.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c921a8b72c56106a533f947263f1435e29e4173a1a7ad30c3ab157c3aca836df
|
4
|
+
data.tar.gz: 6a7319df6ee4990190a22f309108a84821bb993ec1e89c950c23bc6491f7d200
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c59a67c31e7761f92d5567806a59fc92165b8715c750a3177635da997c8ec24f486cc35f522f8b6b6832e66b5fc70678effb59b766e45758eb18958213fa644a
|
7
|
+
data.tar.gz: e504115614d7fd851d6e358a59a7c1e0d32b731ed2552f64839cc5a8f3ab6b4da7eb6b0edd5a389e4dec5f0790e60bdff953249421a033582d5e0fb470e9714e
|
@@ -25,6 +25,8 @@ module MinatoLogger
|
|
25
25
|
# Get Cloud Trace info to integrate with Cloud Logging
|
26
26
|
_trace_client = Google::Cloud::Trace.new
|
27
27
|
trace_result = Google::Cloud::Trace.get
|
28
|
+
return log if trace_result.nil?
|
29
|
+
|
28
30
|
trace_log = "projects/#{trace_result.trace.project_id}/traces/#{trace_result.trace.trace_id}"
|
29
31
|
|
30
32
|
log.merge({ "logging.googleapis.com/trace": trace_log,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minato_logger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.13.pre.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ferreri
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -96,9 +96,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
96
96
|
version: 2.6.0
|
97
97
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
98
98
|
requirements:
|
99
|
-
- - "
|
99
|
+
- - ">"
|
100
100
|
- !ruby/object:Gem::Version
|
101
|
-
version:
|
101
|
+
version: 1.3.1
|
102
102
|
requirements: []
|
103
103
|
rubygems_version: 3.4.19
|
104
104
|
signing_key:
|