Skip to content

Commit

Permalink
Modifies gem to replace deprecated 'ddtrace' with 'datadog' (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
aalong-tr authored Jul 26, 2024
1 parent bb5f0e8 commit 165095e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [2.0.0]
- Replaces ddtrace with the updated `datadog` gem

## [1.0.0]
- Updates ddtrace to the 1.X line and uses that version's `Datadog::Tracer` syntax

Expand Down
2 changes: 1 addition & 1 deletion datadog-queue-bus.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Gem::Specification.new do |spec|
spec.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
spec.require_paths = ['lib']

spec.add_dependency 'ddtrace', '~> 1.0'
spec.add_dependency 'datadog', '~> 2.0'
spec.add_dependency 'queue-bus', '~> 0.6'

spec.add_development_dependency 'bundler', '~> 2.4'
Expand Down
2 changes: 1 addition & 1 deletion lib/datadog-queue-bus.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

require 'ddtrace'
require 'datadog'
require 'queue-bus'
require 'datadog_queue_bus/version'
require 'datadog_queue_bus/middleware'
Expand Down
2 changes: 1 addition & 1 deletion lib/datadog_queue_bus/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module DatadogQueueBus
VERSION = '1.0.0'
VERSION = '2.0.0'
end

0 comments on commit 165095e

Please sign in to comment.