test-tracer 1.1.3 → 1.1.4

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: b98ea0c413841d668e6ea6bd5f2b5d28544a44bb
4
- data.tar.gz: dd5e7a4e7c1e280a46f56539aaf634b2c0311e0e
3
+ metadata.gz: c710e73d40fc548607c8c7bd3f64fca63c51d4bf
4
+ data.tar.gz: 73cefdc49a1b223ac4550eeb60cbaef22c1022d3
5
5
  SHA512:
6
- metadata.gz: 3582662f75b9d334784dc374e1827a2f9bce64d0c8a7a5fce471c4fe682594495321cb05baa17a03c20f4472d629c50647ab2dff40663700e6d9af27b2b12b21
7
- data.tar.gz: 96e243181ad780d03f4ca042a1ec81d1e05654973c74f2fca4d83d5dc0384bb64895a3dbe646437514ce4e3c202e44497e86550627787b212ef7e71229576b93
6
+ metadata.gz: 6fc2cace5ee65ab2e6d92705247ba4fc8e3a7be02729162a68b46a24a5841d615e4ce46b3a85a62b4a94d775c1d6059fe5a528eda82e245e2fcfb148e31fb03a
7
+ data.tar.gz: 589a369924d5c35a7180e41a07fc3c3dfbccc2016bb45cfb14ebe89bbfd84a687bc3d5eb4f518c8ec70295f80e8839c4c0ec58ec1ae5863bf08b4fae1d1bc6dd
@@ -86,6 +86,16 @@ module Test
86
86
  self
87
87
  end
88
88
 
89
+ def to_s
90
+ "Span(operation_name=#{operation_name}, " +
91
+ "in_progress=#{in_progress?}, " +
92
+ "tags=#{tags}, " +
93
+ "logs=#{logs}, " +
94
+ "start_time=#{start_time}, " +
95
+ "end_time=#{end_time}, " +
96
+ "context=#{context})"
97
+ end
98
+
89
99
  private
90
100
 
91
101
  def ensure_in_progress!
@@ -32,6 +32,10 @@ module Test
32
32
  @baggage = baggage
33
33
  end
34
34
 
35
+ def to_s
36
+ "SpanContext(trace_id=#{trace_id}, span_id=#{span_id}, parent_span_id=#{parent_span_id}, baggage=#{baggage})"
37
+ end
38
+
35
39
  def ==(rhs)
36
40
  self.class == rhs.class &&
37
41
  trace_id == rhs.trace_id &&
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "test-tracer"
7
- spec.version = "1.1.3"
7
+ spec.version = "1.1.4"
8
8
  spec.authors = ["iaintshine"]
9
9
  spec.email = ["bodziomista@gmail.com"]
10
10
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: test-tracer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - iaintshine
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-08-30 00:00:00.000000000 Z
11
+ date: 2017-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentracing