lightstep 0.10.2 → 0.10.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/lightstep.rb +2 -4
- data/lib/lightstep/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc0e4c5014d6faa03fa003719be953694172edec
|
4
|
+
data.tar.gz: 49e19c0af47dcc36920705ccec004d41a3659247
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64e8664f49a8dba1e03ccaf6890939920e8314cab4ac13a205988d18b8a9da76bcaf413db42ec2151e9aeaa396dbc99e5ddc87239c54bf760015b2c23cbd0ad4
|
7
|
+
data.tar.gz: d1ed529f4a3fcd842245e049e41a82704387757d5783dff23763c63d12e083fd31060f8130ea4eb05f72ba3e0b1be0f66f0898b4efbe93247f33f228bf243cab
|
data/lib/lightstep.rb
CHANGED
@@ -26,10 +26,8 @@ module LightStep
|
|
26
26
|
# Returns a random guid. Note: this intentionally does not use SecureRandom,
|
27
27
|
# which is slower and cryptographically secure randomness is not required here.
|
28
28
|
def self.guid
|
29
|
-
@
|
30
|
-
|
31
|
-
if @_lastpid ||= $$
|
32
|
-
@_lastpid = $$
|
29
|
+
unless @_lastpid == Process.pid
|
30
|
+
@_lastpid = Process.pid
|
33
31
|
@_rng = Random.new
|
34
32
|
end
|
35
33
|
@_rng.bytes(8).unpack('H*')[0]
|
data/lib/lightstep/version.rb
CHANGED
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.10.
|
4
|
+
version: 0.10.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- bcronin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-12-
|
11
|
+
date: 2016-12-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|