Skip to content

Commit

Permalink
Bump dependency to pull in libdatadog 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ivoanjo committed Feb 3, 2023
1 parent 2a52553 commit f4abd1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ddtrace.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Gem::Specification.new do |spec|

# Used by profiling (and possibly others in the future)
# When updating the version here, please also update the version in `native_extension_helpers.rb` (and yes we have a test for it)
spec.add_dependency 'libdatadog', '~> 1.0.1.1.0'
spec.add_dependency 'libdatadog', '~> 2.0.0.1.0'

spec.extensions = ['ext/ddtrace_profiling_native_extension/extconf.rb', 'ext/ddtrace_profiling_loader/extconf.rb']
end
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module NativeExtensionHelpers
# Older Rubies don't have the MJIT header, used by the JIT compiler, so we need to use a different approach
CAN_USE_MJIT_HEADER = RUBY_VERSION >= '2.6'

LIBDATADOG_VERSION = '~> 1.0.1.1.0'
LIBDATADOG_VERSION = '~> 2.0.0.1.0'

def self.fail_install_if_missing_extension?
ENV[ENV_FAIL_INSTALL_IF_MISSING_EXTENSION].to_s.strip.downcase == 'true'
Expand Down

0 comments on commit f4abd1d

Please sign in to comment.