lightstep 0.16.1 → 0.17.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7b24dcdbee847cd07bfca4f5f6f5752c49eb951323d9c3c0356ad081f68483a0
4
- data.tar.gz: b22da20413d082e19038a7a571aeb47fbfb8f304f70a3c4559ee765ec06c58bc
3
+ metadata.gz: '0851600222a0920c097ddd71156bf77dbc9cc36858bc8335c8700b86e66c8b53'
4
+ data.tar.gz: 2b4d578ac10f3a5663fe687e3e3ff867d694e05b6bf436c32d7f3ed47bbbc069
5
5
  SHA512:
6
- metadata.gz: dfd268464c0c33e05ef86d250952dca6801b5f355011269d66d68bb98e205b9c9bb09b58ace4beb86af37455b69e21f1e2cabad8e38a6223ed6da63751cf1c47
7
- data.tar.gz: 1e8df7a7ab819528448a1967585c7cc50816a77fa521b27dc75bf3f9d2174b4423679eae59b6f1cca01b05c4bff4bd3dd4db8551c1199001631074c7f1478a61
6
+ metadata.gz: 29ee1f57af4d7237db8f9b1dbceaba0e9d2b5769246a839a6c9ec1140aaae82b0b8ddcad55a13474f12192ed6980aa42f8e7a36ba051115469b1c4f2cd634249
7
+ data.tar.gz: 4dcbc11a5652ace492498b0889db92f790b90d80ad88d3e3ed94b0f6a102941fdc4c8cc10d82d0c2c7d5546f63f8c643ce78cf6287c7fb39c746ce42dbf16471
@@ -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
@@ -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))
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lightstep (0.16.1)
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.7)
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.0.2
54
+ 2.2.3
@@ -1,4 +1,4 @@
1
- #frozen_string_literal: true
1
+ # frozen_string_literal: true
2
2
 
3
3
  module LightStep
4
4
  # SpanContext holds the data for a span that gets inherited to child spans
@@ -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
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module LightStep
2
- VERSION = '0.16.1'.freeze
4
+ VERSION = '0.17.0'
3
5
  end
@@ -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.16.1
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-08 00:00:00.000000000 Z
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