bc-lightstep-ruby 2.2.2 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/bc-lightstep-ruby.gemspec +2 -2
- data/lib/bigcommerce/lightstep/active_record/tracer.rb +2 -2
- data/lib/bigcommerce/lightstep/errors.rb +1 -0
- data/lib/bigcommerce/lightstep/interceptors/env.rb +1 -1
- data/lib/bigcommerce/lightstep/redis/tracer.rb +1 -1
- data/lib/bigcommerce/lightstep/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '08b3dfd38b99345cdd590559e482f4d4d311a64a4538f613ae747ef8b2f19163'
|
4
|
+
data.tar.gz: 6e6d9d623759b64a507b25e99836b73219ed77ac3fa3fe296d76bda44b5d4f9c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6bfde25f2c8fd028f94b81bb0c96913da02db77d8b59fa2c14b550dcafebc2df83242d3f50983d4b532500c0736a952c5bd504f923aaee4f20a64c2659127b00
|
7
|
+
data.tar.gz: a8a27fb95a8f18c1f9f88bc2aaa6e548b2338d8825ce6fbc0a24515ebe37e91d153046c78ab49f8fdd4976e8152f9ecee5d877291f6b72aabb889b3b62833d0b
|
data/CHANGELOG.md
CHANGED
data/bc-lightstep-ruby.gemspec
CHANGED
@@ -15,7 +15,7 @@
|
|
15
15
|
# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
16
16
|
# OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
17
17
|
#
|
18
|
-
$:.push File.expand_path('
|
18
|
+
$:.push File.expand_path('lib', __dir__)
|
19
19
|
require 'bigcommerce/lightstep/version'
|
20
20
|
|
21
21
|
Gem::Specification.new do |spec|
|
@@ -46,6 +46,6 @@ Gem::Specification.new do |spec|
|
|
46
46
|
spec.add_development_dependency 'redis', '~> 4'
|
47
47
|
|
48
48
|
spec.add_runtime_dependency 'activesupport', '>= 4'
|
49
|
-
spec.add_runtime_dependency 'lightstep', '~> 0.
|
49
|
+
spec.add_runtime_dependency 'lightstep', '~> 0.17.0'
|
50
50
|
spec.add_runtime_dependency 'faraday', ['>= 0.8', '<= 0.17.3']
|
51
51
|
end
|
@@ -32,7 +32,7 @@ module Bigcommerce
|
|
32
32
|
@tracer = tracer || ::Bigcommerce::Lightstep::Tracer.instance
|
33
33
|
@span_prefix = span_prefix || ::Bigcommerce::Lightstep.active_record_span_prefix
|
34
34
|
@span_name = span_name || 'mysql'
|
35
|
-
@allow_root_spans =
|
35
|
+
@allow_root_spans = allow_root_spans.nil? ? ::Bigcommerce::Lightstep.active_record_allow_root_spans : allow_root_spans
|
36
36
|
end
|
37
37
|
|
38
38
|
##
|
@@ -68,7 +68,7 @@ module Bigcommerce
|
|
68
68
|
# @return [String]
|
69
69
|
#
|
70
70
|
def key
|
71
|
-
|
71
|
+
@span_prefix.to_s.empty? ? 'mysql' : "#{@span_prefix}.mysql"
|
72
72
|
end
|
73
73
|
|
74
74
|
##
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bc-lightstep-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shaun McCormick
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-04-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -170,14 +170,14 @@ dependencies:
|
|
170
170
|
requirements:
|
171
171
|
- - "~>"
|
172
172
|
- !ruby/object:Gem::Version
|
173
|
-
version: 0.
|
173
|
+
version: 0.17.0
|
174
174
|
type: :runtime
|
175
175
|
prerelease: false
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
178
|
- - "~>"
|
179
179
|
- !ruby/object:Gem::Version
|
180
|
-
version: 0.
|
180
|
+
version: 0.17.0
|
181
181
|
- !ruby/object:Gem::Dependency
|
182
182
|
name: faraday
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|
@@ -246,7 +246,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
246
246
|
- !ruby/object:Gem::Version
|
247
247
|
version: '0'
|
248
248
|
requirements: []
|
249
|
-
rubygems_version: 3.
|
249
|
+
rubygems_version: 3.0.9
|
250
250
|
signing_key:
|
251
251
|
specification_version: 4
|
252
252
|
summary: Gem for lightstep distributed tracing
|