Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update deprecated ddtrace to datadog gem dependency #18

Merged
merged 1 commit into from
Jan 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.2.2
3.4.1
29 changes: 12 additions & 17 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
PATH
remote: .
specs:
datadog-json_logger (0.2.1)
ddtrace (>= 1.16)
datadog-json_logger (0.2.2)
datadog (>= 2.8)

GEM
remote: https://rubygems.org/
Expand All @@ -20,24 +20,19 @@ GEM
logger (~> 1.5)
coercible (1.0.0)
descendants_tracker (~> 0.0.1)
datadog-ci (0.8.3)
datadog (2.8.0)
datadog-ruby_core_source (~> 3.3)
libdatadog (~> 14.3.1.1.0)
libddwaf (~> 1.18.0.0.0)
msgpack
datadog-ruby_core_source (3.3.7)
date (3.4.1)
ddtrace (1.23.3)
datadog-ci (~> 0.8.1)
debase-ruby_core_source (= 3.3.1)
libdatadog (~> 7.0.0.1.0)
libddwaf (~> 1.14.0.0.0)
msgpack
debase-ruby_core_source (3.3.1)
descendants_tracker (0.0.4)
thread_safe (~> 0.3, >= 0.3.1)
diff-lcs (1.5.1)
docile (1.4.1)
erubi (1.13.0)
ffi (1.17.0)
ffi (1.17.0-arm64-darwin)
ffi (1.17.0-x86_64-linux-gnu)
flay (2.13.3)
erubi (~> 1.10)
path_expander (~> 1.0)
Expand All @@ -58,13 +53,13 @@ GEM
launchy (3.0.1)
addressable (~> 2.8)
childprocess (~> 5.0)
libdatadog (7.0.0.1.0)
libdatadog (7.0.0.1.0-x86_64-linux)
libddwaf (1.14.0.0.0)
libdatadog (14.3.1.1.0)
libdatadog (14.3.1.1.0-x86_64-linux)
libddwaf (1.18.0.0.0)
ffi (~> 1.0)
libddwaf (1.14.0.0.0-arm64-darwin)
libddwaf (1.18.0.0.0-arm64-darwin)
ffi (~> 1.0)
libddwaf (1.14.0.0.0-x86_64-linux)
libddwaf (1.18.0.0.0-x86_64-linux)
ffi (~> 1.0)
logger (1.6.2)
msgpack (1.7.5)
Expand Down
2 changes: 1 addition & 1 deletion datadog-json_logger.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]

spec.add_dependency("ddtrace", ">= 1.16")
spec.add_dependency("datadog", ">= 2.8")

# For more information and examples about making a new gem, check out our
# guide at: https://bundler.io/guides/creating_gem.html
Expand Down
2 changes: 1 addition & 1 deletion lib/datadog/loggers/json_formatter.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

require "ddtrace"
require "datadog/tracing"
require "json"
require "logger"

Expand Down
2 changes: 1 addition & 1 deletion lib/datadog/loggers/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module Datadog
module Loggers
VERSION = "0.2.1"
VERSION = "0.2.2"
end
end
Loading