minato-trace 0.1.6.pre.7 → 0.1.7

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: 4967547c4c025a758bab7ccf46a595d117ea1b2a089960cbd5807b2622452e6d
4
- data.tar.gz: 0a6c050b09590ce43dded6e12cd3929188e21eb3ee7063644662ae49aebc21bf
3
+ metadata.gz: 7e4fb8ce3370e35e3b5fab071bf4d463d251309fd3575571ede8272076dae97e
4
+ data.tar.gz: cdb8e69d16af800fc880c81aef4ba542d660e7a0611442e3ae53d8ec70b00e96
5
5
  SHA512:
6
- metadata.gz: b90af4d09657878148ee11b7f4a1f80636e35354e60c2d09027386f7dae771dcee7b4e52996d72b6a681549524c887490be0ef99f2654b76f98b006a751a27bb
7
- data.tar.gz: ecda535566853b1b7f2293688c0baf70a9a4861b8c0ff255fb7f7f6b0c7c55f9410487d97db396675af0423e0e34494289b3ffe6f5863b9137900aa33081945a
6
+ metadata.gz: 2918f2e4423c536ee357461ef48182f2cac8daba09d6d3687090b90f29cff8f6776810a649d2c89288ce939ed60fc2e91733e716e4e25ee4992dfa6761e9ed11
7
+ data.tar.gz: 1c1164b24e86e8e40ccc7df6e7f56e795017258511367ee04b7cd8c42cffcfc6282f9f8ef88223ef95b74edff32e234be092c5ac847f0f57d88b91fd093c2d0b
@@ -19,7 +19,9 @@ module Minato
19
19
  private
20
20
 
21
21
  def add_trace_context_header(env)
22
- return unless (Rails.env.production? && Minato::Trace.enabled?) || current_cloud_trace.nil?
22
+ return unless ::Rails.env.production? && Minato::Trace.enabled?
23
+
24
+ return if current_cloud_trace.nil?
23
25
 
24
26
  env.request_headers.merge!({ "#{TRACE_HEADER_KEY}": "#{current_cloud_trace.trace.trace_id};o=1" })
25
27
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Minato
4
4
  module Trace
5
- VERSION = "0.1.6-7"
5
+ VERSION = "0.1.7"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minato-trace
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6.pre.7
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ferreri
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-04 00:00:00.000000000 Z
11
+ date: 2024-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-cloud-trace
@@ -74,9 +74,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
74
74
  version: 2.6.0
75
75
  required_rubygems_version: !ruby/object:Gem::Requirement
76
76
  requirements:
77
- - - ">"
77
+ - - ">="
78
78
  - !ruby/object:Gem::Version
79
- version: 1.3.1
79
+ version: '0'
80
80
  requirements: []
81
81
  rubygems_version: 3.4.1
82
82
  signing_key: