zipkin-tracer 0.21.1 → 0.21.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
  SHA1:
3
- metadata.gz: ff2331d0bf009eec4d2ad99fd1264b18c6edbef3
4
- data.tar.gz: bc787c5886223ffdd6fd896a80337dd758611cf7
3
+ metadata.gz: fc6bb6d03809b2c58f53130d3471bc875cc8b99b
4
+ data.tar.gz: 952bcafa2c2ebdce4d26f49664e6b8cee9af4ce6
5
5
  SHA512:
6
- metadata.gz: 34b4113f3efb6675d23b510060e596494d569c818c4f2dedefebce017c78637adeb9e5a6d4c8d46e46b7ddccab838c80f3c11de41c0d673192a15b04a290c85a
7
- data.tar.gz: dba928621899ace87dd25bc3754c7fe338414d2306c446d6fdc5c2e7e61622a2797f644e964bccc19c3738f523c94474b1c0a9ef14b4a078dbc6d87c27b9814f
6
+ metadata.gz: 38cbbe277215a92f7c1c01b0f727e20ae1d765e00c3c3364d7da898294725e2dd3fd7f23fe3f31743ed46fa910619e1dc082d96b4afbc0b5ba0eb212ca4f3365
7
+ data.tar.gz: 4913f1f54e4eea4f079c5bb4bd6002c838fd5ab439ed9ecb8de5cbb7a424916c28a24ea1cefdec0a2630bf9b359ee3e42b859f19d00a7f96a73b6598ec76e596
@@ -21,7 +21,7 @@ module ZipkinTracer
21
21
  datum[:headers][header] = trace_id.send(method).to_s
22
22
  end
23
23
 
24
- trace!(datum, trace_id) if trace_id.sampled?
24
+ trace!(datum, trace_id) if Trace.tracer && trace_id.sampled?
25
25
  end
26
26
 
27
27
  super(datum)
@@ -17,7 +17,7 @@ module ZipkinTracer
17
17
  b3_headers.each do |method, header|
18
18
  env[:request_headers][header] = trace_id.send(method).to_s
19
19
  end
20
- if trace_id.sampled?
20
+ if Trace.tracer && trace_id.sampled?
21
21
  trace!(env, trace_id)
22
22
  else
23
23
  @app.call(env)
@@ -1,3 +1,3 @@
1
1
  module ZipkinTracer
2
- VERSION = '0.21.1'.freeze
2
+ VERSION = '0.21.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zipkin-tracer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.1
4
+ version: 0.21.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Franklin Hu
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2017-03-24 00:00:00.000000000 Z
16
+ date: 2017-03-30 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: faraday