lightstep 0.9.6 → 0.9.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
  SHA1:
3
- metadata.gz: 7d70ce2d0c73411b078a2855f102fb267db8cbc1
4
- data.tar.gz: 6db2ee7c8186a11a4e7ace242c43eea628f4221d
3
+ metadata.gz: 16f25c74a804d2f3f0c5a46f95973672f0ba6a46
4
+ data.tar.gz: 77cbfe6b8f65edddc9ae8d4e1efd2d4a852d4d13
5
5
  SHA512:
6
- metadata.gz: 101ec7f4c34bcca170f4152cc57289eefb3d7963d23b1ab3ff1f7615e825542a0aa120a9ade836706444accbdadff95da7c0d2edb0e49067afafd09cca4f31bc
7
- data.tar.gz: 7031358b6681e84a40e26d75cf4403dabdd0c74bc272bbae2aa1303c95164f1322ae669d3eb5f468800ffafe0552c87894413c4e2549a3517a7bf655d76c5aec
6
+ metadata.gz: 610e9c2d08adbb32eeb615a99a86b6e10c2f229259f71dfed9d940ff9e3c9078bb654ea3a11a199c6fe85d24dc64f951954836f9e1ba909147fe43aa46071aad
7
+ data.tar.gz: d8e12fd3a0636e643c7d87d383b75e89248f2a9abec5c594e9c6204cae1e72ef72b12adbd5a97b0067ee9d87a5e0e9ba644810a8cbe984eca734d94ae07f9166
@@ -13,7 +13,6 @@ module LightStep
13
13
  @transport = transport
14
14
 
15
15
  start_time = LightStep.micros(Time.now)
16
- @guid = LightStep.guid
17
16
  @report_start_time = start_time
18
17
 
19
18
  @runtime = {
@@ -26,7 +26,8 @@ module LightStep
26
26
  tags: nil,
27
27
  max_log_records:
28
28
  )
29
- @tags = Concurrent::Hash.new(tags)
29
+ @tags = Concurrent::Hash.new
30
+ @tags.update(tags) unless tags.nil?
30
31
  @baggage = Concurrent::Hash.new
31
32
  @log_records = Concurrent::Array.new
32
33
  @dropped_logs = Concurrent::AtomicFixnum.new
@@ -149,6 +149,8 @@ module LightStep
149
149
  raise ConfigurationError, "you must provide an access token or a transport" if transport.nil?
150
150
  raise ConfigurationError, "#{transport} is not a LightStep transport class" if !(LightStep::Transport::Base === transport)
151
151
 
152
+ @guid = LightStep.guid
153
+
152
154
  @reporter = LightStep::Reporter.new(
153
155
  max_span_records: max_span_records,
154
156
  transport: transport,
@@ -1,3 +1,3 @@
1
1
  module LightStep
2
- VERSION = '0.9.6'.freeze
2
+ VERSION = '0.9.7'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lightstep
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.6
4
+ version: 0.9.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - bcronin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-03 00:00:00.000000000 Z
11
+ date: 2016-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby