deimos-ruby 1.20.0 → 1.20.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 51c4ea2e760bba16fc5bc251bdd842f578340f40543d54287f408e76ea4c6dfd
4
- data.tar.gz: 4bffdae791e9b8b2aa491c43ff7f4c0ba16a98582f9bee872af648da6afdf846
3
+ metadata.gz: 645fc0e8316bb64277119e8e89d6eceace9df56462c67675afca4e26235a8209
4
+ data.tar.gz: 2706c96862d317ebace1ec1a93e9b257d71256081417b2b576533d6eb9e46b06
5
5
  SHA512:
6
- metadata.gz: 68565725b1ff47b86ba70e4a993befadb95f3a8e99fbef5a1d7f2dd51c25e5749e66c0ac8e82f5dafbb31f2605b3f03743cc774486bf616b1cd10c746df937bf
7
- data.tar.gz: d1aa1f426f7c6b6894724ccc7a84661c6e4ca151e11f419cea024d5b562f0f40b80cfc44c3f1410ed125a4eae482261200870a5136af301de85bf2e5f9f5d3d4
6
+ metadata.gz: 7623b491e584f8ad6fae59750fec0fbf7331f436147ace80b38d559bb2f697037d83a13f9ce70884575d1e9a22bf21e9096d1bddf4cb56c9edb875d2ffa13dec
7
+ data.tar.gz: 740f964ed1ad6d4f9ab675522454d58fe7c52fc26758eb906b1be4b51daf4742466394bc43f780541328a4e30a74a253d53dd17b97c8cecdf59e9b945b48ff4a
data/CHANGELOG.md CHANGED
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## UNRELEASED
9
9
 
10
+ # 1.21.1 - 2023-04-18
11
+
12
+ - Fix: Datadog tracing now works with Datadog 1.x
13
+
10
14
  # 1.20.0 - 2023-04-17
11
15
 
12
16
  - Feature: Updated the DB Poller logic to allow for inherited db poller classes to initialize producers and
@@ -15,7 +15,11 @@ module Deimos
15
15
 
16
16
  # :nodoc:
17
17
  def start(span_name, options={})
18
- span = ::Datadog.tracer.trace(span_name)
18
+ span = if ::Datadog.respond_to?(:tracer)
19
+ ::Datadog.tracer.trace(span_name)
20
+ else
21
+ ::Datadog::Tracing.trace(span_name)
22
+ end
19
23
  span.service = @service
20
24
  span.resource = options[:resource]
21
25
  span
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Deimos
4
- VERSION = '1.20.0'
4
+ VERSION = '1.20.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deimos-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.20.0
4
+ version: 1.20.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Orner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-17 00:00:00.000000000 Z
11
+ date: 2023-04-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: avro_turf