libdatadog 0.7.0.1.0-x86_64-linux → 0.7.0.1.1-x86_64-linux

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 07e98b2403e59d8359d6b1876b2643c4454f90ffdc7ed7dba20b1971e05f113e
4
- data.tar.gz: 4cfb4ac6e282a3aec21dcd6ef0ec5edb07b4d1dc9234b44d76a72b64be6b8b2f
3
+ metadata.gz: 2cbcd36bc52ae355301000a7c53a5cec55fc4f4184ea2ed8b590cd63fc961b13
4
+ data.tar.gz: 52c70529b0416f17a92599b791d3a0de2926f355f93a5df1d29b03f6fe1dd544
5
5
  SHA512:
6
- metadata.gz: 8741715b221a6d680cd86d8ddb187a26cf88af30bf594d57132aaddb427910370b04aebedbbc209d473798c1463ba8823ec5491c2ba3f63e2c4cb9f7b58d3947
7
- data.tar.gz: 714e839c82513c587bcae506db726464d559a3826ec5bb60ab5e031f246dd80b4a731482042c55a2fb7fe6d03aac6a6d662c6c535131f1d76d62fb02196eccc0
6
+ metadata.gz: c8d1d8215459e599699bbb79edd4c73d98b3dd50f3681092b6a365009f5ac4bbcc299d011cd3c58a22e51fefe4102b595771707a13877ea91c8ef7c12c3dd05d
7
+ data.tar.gz: 6b7955e7462b7642669c3a505bdcd7aff3e7efeeb207ad80434a3369b43f7dac9f5b4fa9223ead4fa87218b109be897a5c6e38fd0828331f7d1b98521c4486c6
@@ -5,7 +5,7 @@ module Libdatadog
5
5
  LIB_VERSION = "0.7.0"
6
6
 
7
7
  GEM_MAJOR_VERSION = "1"
8
- GEM_MINOR_VERSION = "0"
8
+ GEM_MINOR_VERSION = "1"
9
9
  GEM_PRERELEASE_VERSION = "" # remember to include dot prefix, if needed!
10
10
  private_constant :GEM_MAJOR_VERSION, :GEM_MINOR_VERSION, :GEM_PRERELEASE_VERSION
11
11
 
data/lib/libdatadog.rb CHANGED
@@ -11,6 +11,23 @@ module Libdatadog
11
11
  def self.pkgconfig_folder(pkgconfig_file_name = "ddprof_ffi_with_rpath.pc")
12
12
  current_platform = Gem::Platform.local.to_s
13
13
 
14
+ if RbConfig::CONFIG["arch"].include?("-musl") && !current_platform.include?("-musl")
15
+ # Fix/workaround for https://github.com/DataDog/dd-trace-rb/issues/2222
16
+ #
17
+ # Old versions of rubygems (for instance 3.0.3) don't properly detect alternative libc implementations on Linux;
18
+ # in particular for our case, they don't detect musl. (For reference, Rubies older than 2.7 may have shipped with
19
+ # an affected version of rubygems).
20
+ # In such cases, we fall back to use RbConfig::CONFIG['arch'] instead.
21
+ #
22
+ # Why not use RbConfig::CONFIG['arch'] always? Because Gem::Platform.local.to_s does some normalization we want
23
+ # in other situations -- for instance, it turns `x86_64-linux-gnu` to `x86_64-linux`. So for now we only add this
24
+ # workaround in a specific situation where we actually know it is wrong.
25
+ #
26
+ # See also https://github.com/rubygems/rubygems/pull/2922 and https://github.com/rubygems/rubygems/pull/4082
27
+
28
+ current_platform = RbConfig::CONFIG["arch"]
29
+ end
30
+
14
31
  return unless available_binaries.include?(current_platform)
15
32
 
16
33
  pkgconfig_file = Dir.glob("#{vendor_directory}/#{current_platform}/**/#{pkgconfig_file_name}").first
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libdatadog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0.1.0
4
+ version: 0.7.0.1.1
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - Datadog, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-08 00:00:00.000000000 Z
11
+ date: 2022-08-19 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: libdatadog is a Rust-based utility library for Datadog's ddtrace gem.
14
14
  email: