spanmanager 0.2.0 → 0.3.0

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: 7cf0fcc2470440c98e69e0e3f28f71c5b98b7195
4
- data.tar.gz: 3b959222a6122ac50bc9caaf9e8a6da00d68d66d
3
+ metadata.gz: 544e566965e5648114699cec60cd6762db1b2059
4
+ data.tar.gz: '09bca4b26125ee4b27a09ac242ef13cbae845bcd'
5
5
  SHA512:
6
- metadata.gz: ad4806d30c452bdf6d1e9464d86b180c11f65590ce7f9ffde68f11504062639878af8b58ba26d1de86796f0c1da5dee4a5fdc4cfdc49d0a135bd57811ed22645
7
- data.tar.gz: 148a69bcc42b728b2f06d2668c62b87d94ac2aeb64b389695fbde6c445412300da78056cdade039ee53eb4b7207102f778944bd092ffe4676d7e54897dd63af1
6
+ metadata.gz: 262accaafc49fc756f1a1614b5a6099e93bf0648f1e1c82ea593e8ddae91af3d8a9d2d9fea20530fb3dce5608e6b993bfb725a1fb024b9a657db9966593d42b0
7
+ data.tar.gz: 124932aeb06fc967cef198cd17ab0d800e3ac0bf3fa70d8ae2f552415dedef52b70667bf33b86510d85c25cadc009ebd639785e0f0eec5661a852ee3fc4026a1
data/README.md CHANGED
@@ -54,6 +54,10 @@ It's a wrapper that forwards all calls to another `OpenTracing::Tracer` implemen
54
54
  Spans which you will create through this tracer will be automatically activated when started, and
55
55
  deactivated when they finish.
56
56
 
57
+ Provides the following additional methods:
58
+
59
+ 1. `wrapped` returns the wrapped tracer.
60
+
57
61
  ## Usage
58
62
 
59
63
  ```ruby
@@ -18,6 +18,11 @@ module SpanManager
18
18
  @managed_span_source = managed_span_source
19
19
  end
20
20
 
21
+ # @return [OpenTracing::Tracer] the wrapped tracer
22
+ def wrapped
23
+ @tracer
24
+ end
25
+
21
26
  # Retrieves the current active span.
22
27
  #
23
28
  # @return [SpanManager::ManagedSpan] returns the current active span, or null if none could be found.
@@ -1,3 +1,3 @@
1
1
  module SpanManager
2
- VERSION = "0.2.0"
2
+ VERSION = "0.3.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spanmanager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - iaintshine