lightstep 0.16.1 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +8 -0
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +5 -3
- data/lib/lightstep/span_context.rb +1 -1
- data/lib/lightstep/tracer.rb +2 -2
- data/lib/lightstep/version.rb +3 -1
- data/lightstep.gemspec +1 -0
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0851600222a0920c097ddd71156bf77dbc9cc36858bc8335c8700b86e66c8b53'
|
4
|
+
data.tar.gz: 2b4d578ac10f3a5663fe687e3e3ff867d694e05b6bf436c32d7f3ed47bbbc069
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29ee1f57af4d7237db8f9b1dbceaba0e9d2b5769246a839a6c9ec1140aaae82b0b8ddcad55a13474f12192ed6980aa42f8e7a36ba051115469b1c4f2cd634249
|
7
|
+
data.tar.gz: 4dcbc11a5652ace492498b0889db92f790b90d80ad88d3e3ed94b0f6a102941fdc4c8cc10d82d0c2c7d5546f63f8c643ce78cf6287c7fb39c746ce42dbf16471
|
data/.circleci/config.yml
CHANGED
@@ -22,6 +22,13 @@ jobs:
|
|
22
22
|
- checkout
|
23
23
|
- run: gem install --no-document bundler && bundle install --jobs=3 --retry=3
|
24
24
|
- run: bundle exec rake
|
25
|
+
test-ruby-30:
|
26
|
+
docker:
|
27
|
+
- image: circleci/ruby:3.0
|
28
|
+
steps:
|
29
|
+
- checkout
|
30
|
+
- run: gem install --no-document bundler && bundle install --jobs=3 --retry=3
|
31
|
+
- run: bundle exec rake
|
25
32
|
|
26
33
|
workflows:
|
27
34
|
version: 2
|
@@ -30,3 +37,4 @@ workflows:
|
|
30
37
|
- test-ruby-24
|
31
38
|
- test-ruby-25
|
32
39
|
- test-ruby-26
|
40
|
+
- test-ruby-30
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
5
5
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
6
6
|
|
7
|
+
## [Unreleased]
|
8
|
+
|
9
|
+
## v0.17.0
|
10
|
+
### Changed
|
11
|
+
- Add support for Ruby 3.0 ([#99](https://github.com/lightstep/lightstep-tracer-ruby/pull/99))
|
12
|
+
|
7
13
|
## v0.16.1
|
8
14
|
### Changed
|
9
15
|
- Bump json from 2.2.0 to 2.5.1 ([#98](https://github.com/lightstep/lightstep-tracer-ruby/pull/98))
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
lightstep (0.
|
4
|
+
lightstep (0.17.0)
|
5
5
|
concurrent-ruby (~> 1.0)
|
6
6
|
opentracing (~> 0.5.0)
|
7
7
|
|
@@ -9,7 +9,7 @@ GEM
|
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
11
|
bump (0.6.1)
|
12
|
-
concurrent-ruby (1.1.
|
12
|
+
concurrent-ruby (1.1.8)
|
13
13
|
diff-lcs (1.3)
|
14
14
|
docile (1.3.2)
|
15
15
|
json (2.5.1)
|
@@ -35,6 +35,7 @@ GEM
|
|
35
35
|
simplecov-html (~> 0.10.0)
|
36
36
|
simplecov-html (0.10.2)
|
37
37
|
timecop (0.8.1)
|
38
|
+
webrick (1.7.0)
|
38
39
|
|
39
40
|
PLATFORMS
|
40
41
|
ruby
|
@@ -47,6 +48,7 @@ DEPENDENCIES
|
|
47
48
|
rspec (~> 3.0)
|
48
49
|
simplecov (~> 0.16)
|
49
50
|
timecop (~> 0.8.0)
|
51
|
+
webrick (~> 1.7)
|
50
52
|
|
51
53
|
BUNDLED WITH
|
52
|
-
2.
|
54
|
+
2.2.3
|
data/lib/lightstep/tracer.rb
CHANGED
@@ -26,7 +26,7 @@ module LightStep
|
|
26
26
|
# provided. A component_name is always required.
|
27
27
|
# @param component_name [String] Component name to use for the tracer
|
28
28
|
# @param access_token [String] The project access token when pushing to LightStep
|
29
|
-
# @param transport [LightStep::Transport] How the data should be transported
|
29
|
+
# @param transport [LightStep::Transport::Base] How the data should be transported
|
30
30
|
# @param tags [Hash] Tracer-level tags
|
31
31
|
# @param propagator [Propagator] Symbol one of :lightstep, :b3 indicating the propagator
|
32
32
|
# to use
|
@@ -181,7 +181,7 @@ module LightStep
|
|
181
181
|
max_log_records: max_log_records,
|
182
182
|
}
|
183
183
|
|
184
|
-
Span.new(span_options).tap do |span|
|
184
|
+
Span.new(**span_options).tap do |span|
|
185
185
|
if block_given?
|
186
186
|
begin
|
187
187
|
return yield span
|
data/lib/lightstep/version.rb
CHANGED
data/lightstep.gemspec
CHANGED
@@ -24,6 +24,7 @@ Gem::Specification.new do |spec|
|
|
24
24
|
spec.add_dependency 'opentracing', '~> 0.5.0'
|
25
25
|
spec.add_development_dependency 'rake', '~> 13.0'
|
26
26
|
spec.add_development_dependency 'rack', '~> 2.0'
|
27
|
+
spec.add_development_dependency 'webrick', '~> 1.7' # for examples/
|
27
28
|
spec.add_development_dependency 'rspec', '~> 3.0'
|
28
29
|
spec.add_development_dependency 'bump', '~> 0.5'
|
29
30
|
spec.add_development_dependency 'simplecov', '~> 0.16'
|
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.
|
4
|
+
version: 0.17.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- lightstep
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-01-
|
11
|
+
date: 2021-01-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|
@@ -66,6 +66,20 @@ dependencies:
|
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '2.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: webrick
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '1.7'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '1.7'
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: rspec
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|