diff --git a/.ruby-version b/.ruby-version index be94e6f..47b322c 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -3.2.2 +3.4.1 diff --git a/Gemfile.lock b/Gemfile.lock index 9e793bc..8d0dd75 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -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/ @@ -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) @@ -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) diff --git a/datadog-json_logger.gemspec b/datadog-json_logger.gemspec index 9596d1b..a7cc355 100644 --- a/datadog-json_logger.gemspec +++ b/datadog-json_logger.gemspec @@ -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 diff --git a/lib/datadog/loggers/json_formatter.rb b/lib/datadog/loggers/json_formatter.rb index 898a9ce..3143e0d 100644 --- a/lib/datadog/loggers/json_formatter.rb +++ b/lib/datadog/loggers/json_formatter.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -require "ddtrace" +require "datadog/tracing" require "json" require "logger" diff --git a/lib/datadog/loggers/version.rb b/lib/datadog/loggers/version.rb index 6cb7f5c..21de146 100644 --- a/lib/datadog/loggers/version.rb +++ b/lib/datadog/loggers/version.rb @@ -2,6 +2,6 @@ module Datadog module Loggers - VERSION = "0.2.1" + VERSION = "0.2.2" end end