bc-lightstep-ruby 2.6.1 → 2.7.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 +6 -0
- data/bc-lightstep-ruby.gemspec +0 -11
- data/lib/bigcommerce/lightstep/configuration.rb +1 -1
- data/lib/bigcommerce/lightstep/redis/wrapper.rb +4 -0
- data/lib/bigcommerce/lightstep/version.rb +1 -1
- metadata +3 -143
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 137499be6a7fcbf7c437f6d17369e0a9f6726ed6af2002ac972fc900f055d20e
|
4
|
+
data.tar.gz: 781f0a240105378f94aa94cc3cfba35850428dbc61f57c11414553d953f14e3a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce6f2fcf29b7102b8eb2025a65de5b4591853b79a466804d81e0dc533b69a707b707c0e3fdbfc1a545e2e803242b52f2f8b3e3b674ed8df682d512fb08a54f11
|
7
|
+
data.tar.gz: ad2b929e073b5c89ead645a66bf21cb8143af425c7d839a11ed3284826d43557dadaf7a2d6c3c3f7657811d36c3ea0d39e8635fb2c14b446ec611207b8e6806c
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,12 @@ Changelog for the bc-lightstep-ruby gem.
|
|
2
2
|
|
3
3
|
### Pending Release
|
4
4
|
|
5
|
+
### 2.7.0
|
6
|
+
|
7
|
+
* Do not instrument redis 5.x in this library for compatibility reasons; instead encourage moving away from
|
8
|
+
this library and to OTel gems instead
|
9
|
+
* Add CI suite for Ruby 3.3
|
10
|
+
|
5
11
|
### 2.6.1
|
6
12
|
|
7
13
|
* Supports hook for controllers to specify additional span tags
|
data/bc-lightstep-ruby.gemspec
CHANGED
@@ -34,17 +34,6 @@ Gem::Specification.new do |spec|
|
|
34
34
|
spec.required_ruby_version = '>= 3.0'
|
35
35
|
spec.metadata['rubygems_mfa_required'] = 'true'
|
36
36
|
|
37
|
-
spec.add_development_dependency 'activerecord', '> 4'
|
38
|
-
spec.add_development_dependency 'bundler-audit', '~> 0.6'
|
39
|
-
spec.add_development_dependency 'rake', '>= 12.0'
|
40
|
-
spec.add_development_dependency 'redis', '~> 4'
|
41
|
-
spec.add_development_dependency 'rspec', '>= 3.8'
|
42
|
-
spec.add_development_dependency 'rspec_junit_formatter', '~> 0.4'
|
43
|
-
spec.add_development_dependency 'rubocop', '>= 1.0'
|
44
|
-
spec.add_development_dependency 'rubocop-performance', '>= 1.5'
|
45
|
-
spec.add_development_dependency 'simplecov', '~> 0.15'
|
46
|
-
spec.add_development_dependency 'pry', '>= 0.12'
|
47
|
-
|
48
37
|
spec.add_runtime_dependency 'activesupport', '>= 4'
|
49
38
|
spec.add_runtime_dependency 'lightstep', '~> 0.17.0'
|
50
39
|
spec.add_runtime_dependency 'faraday', ['>= 0.8', '< 2']
|
@@ -25,6 +25,10 @@ module Bigcommerce
|
|
25
25
|
class << self
|
26
26
|
def patch
|
27
27
|
require 'redis' # thread and fork safety
|
28
|
+
|
29
|
+
# do not patch Redis 5.0.0 or later, move to OpenTelemetry gems instead
|
30
|
+
return false unless defined?(::Redis) && ::Redis::VERSION < '5'
|
31
|
+
|
28
32
|
return if @wrapped
|
29
33
|
|
30
34
|
wrap unless @wrapped
|
metadata
CHANGED
@@ -1,155 +1,15 @@
|
|
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.7.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:
|
11
|
+
date: 2024-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: activerecord
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ">"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '4'
|
20
|
-
type: :development
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - ">"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '4'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: bundler-audit
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0.6'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0.6'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: rake
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '12.0'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '12.0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: redis
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '4'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '4'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: rspec
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - ">="
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '3.8'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - ">="
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '3.8'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: rspec_junit_formatter
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '0.4'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - "~>"
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '0.4'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: rubocop
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - ">="
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '1.0'
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - ">="
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '1.0'
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: rubocop-performance
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - ">="
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '1.5'
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - ">="
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '1.5'
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: simplecov
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - "~>"
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: '0.15'
|
132
|
-
type: :development
|
133
|
-
prerelease: false
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - "~>"
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: '0.15'
|
139
|
-
- !ruby/object:Gem::Dependency
|
140
|
-
name: pry
|
141
|
-
requirement: !ruby/object:Gem::Requirement
|
142
|
-
requirements:
|
143
|
-
- - ">="
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
version: '0.12'
|
146
|
-
type: :development
|
147
|
-
prerelease: false
|
148
|
-
version_requirements: !ruby/object:Gem::Requirement
|
149
|
-
requirements:
|
150
|
-
- - ">="
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
version: '0.12'
|
153
13
|
- !ruby/object:Gem::Dependency
|
154
14
|
name: activesupport
|
155
15
|
requirement: !ruby/object:Gem::Requirement
|
@@ -262,7 +122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
262
122
|
- !ruby/object:Gem::Version
|
263
123
|
version: '0'
|
264
124
|
requirements: []
|
265
|
-
rubygems_version: 3.
|
125
|
+
rubygems_version: 3.5.3
|
266
126
|
signing_key:
|
267
127
|
specification_version: 4
|
268
128
|
summary: Gem for lightstep distributed tracing
|