Skip to content

Commit 165095e

Browse files
authored
Modifies gem to replace deprecated 'ddtrace' with 'datadog' (#4)
1 parent bb5f0e8 commit 165095e

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

Diff for: CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [2.0.0]
8+
- Replaces ddtrace with the updated `datadog` gem
9+
710
## [1.0.0]
811
- Updates ddtrace to the 1.X line and uses that version's `Datadog::Tracer` syntax
912

Diff for: datadog-queue-bus.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Gem::Specification.new do |spec|
3030
spec.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
3131
spec.require_paths = ['lib']
3232

33-
spec.add_dependency 'ddtrace', '~> 1.0'
33+
spec.add_dependency 'datadog', '~> 2.0'
3434
spec.add_dependency 'queue-bus', '~> 0.6'
3535

3636
spec.add_development_dependency 'bundler', '~> 2.4'

Diff for: lib/datadog-queue-bus.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22

3-
require 'ddtrace'
3+
require 'datadog'
44
require 'queue-bus'
55
require 'datadog_queue_bus/version'
66
require 'datadog_queue_bus/middleware'

Diff for: lib/datadog_queue_bus/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module DatadogQueueBus
4-
VERSION = '1.0.0'
4+
VERSION = '2.0.0'
55
end

0 commit comments

Comments
 (0)