libdatadog 0.7.0.1.0.rc1-aarch64-linux → 0.7.0.1.1-aarch64-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: 5dfbf3eec0ac3682fdc93700d7154ee8a8bd28d5ae15e65b986be303ab267f7b
4
- data.tar.gz: f3d51551d36f4756848488956fddc38775fc6c91519cdb5e4e8befa3dccdff3f
3
+ metadata.gz: cb901355dd3e41f3432de31ab9eb82fef98955c9878c644149f9056c02d6a034
4
+ data.tar.gz: 5c1fc108052dc5a5069fc51671ee57e6984895c6f1e5f0635efd045ac97568aa
5
5
  SHA512:
6
- metadata.gz: e04a27217fc83d099652335b2ad04e10d4e1ef8786455092900b3c484716f040afe0080ac8051c80e342e8c78924a9e5b6052e18d8fa1551a63a4eb0d7741260
7
- data.tar.gz: 2564daffff1def56a10e733d6c56f5f6570520a62ce055de1f32aa85eb7a80f9dced3ee5636a48faaa58582bc71cc27a4103c8ac0e0e704f04fd1576151ea5db
6
+ metadata.gz: 166f0f61b11d776f0fae5f2a2dde8ec718793a3a05ad384f89e6efdffbad0c68a9d2886ca7f97d114be016b18137a627cd26640e45a107a857e723823574662b
7
+ data.tar.gz: acf117d1f9d3149c2eacc7805968485919468e3d8f2b894ae8713a3d81e24b8b88fd50097b6048d2b24c701c3cfa8013759d2c779e66215326d5bb2b84a6eaed
@@ -5,8 +5,8 @@ module Libdatadog
5
5
  LIB_VERSION = "0.7.0"
6
6
 
7
7
  GEM_MAJOR_VERSION = "1"
8
- GEM_MINOR_VERSION = "0"
9
- GEM_PRERELEASE_VERSION = ".rc1" # remember to include dot prefix, if needed!
8
+ GEM_MINOR_VERSION = "1"
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
 
12
12
  # The gem version scheme is lib_version.gem_major.gem_minor[.prerelease].
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
@@ -10,7 +10,7 @@ includedir=${prefix}/include
10
10
 
11
11
  Name: ddprof_ffi
12
12
  Description: Contains common code used to implement Datadog's Continuous Profilers. (Dynamic linking variant, sets rpath)
13
- Version: 0.7.0-rc.1
13
+ Version: 0.7.0
14
14
  Requires:
15
15
  Libs: -L${libdir} -lddprof_ffi -Wl,-rpath,${libdir}
16
16
  Libs.private:
@@ -10,7 +10,7 @@ includedir=${prefix}/include
10
10
 
11
11
  Name: ddprof_ffi
12
12
  Description: Contains common code used to implement Datadog's Continuous Profilers. (Dynamic linking variant, sets rpath)
13
- Version: 0.7.0-rc.1
13
+ Version: 0.7.0
14
14
  Requires:
15
15
  Libs: -L${libdir} -lddprof_ffi -Wl,-rpath,${libdir}
16
16
  Libs.private:
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.rc1
4
+ version: 0.7.0.1.1
5
5
  platform: aarch64-linux
6
6
  authors:
7
7
  - Datadog, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-31 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:
@@ -50,9 +50,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
50
50
  version: 2.1.0
51
51
  required_rubygems_version: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - ">"
53
+ - - ">="
54
54
  - !ruby/object:Gem::Version
55
- version: 1.3.1
55
+ version: '0'
56
56
  requirements: []
57
57
  rubygems_version: 3.3.7
58
58
  signing_key: