libddprof 0.2.0.1.0.beta3-x86_64-linux → 0.6.0.1.0-x86_64-linux

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. checksums.yaml +4 -4
  2. data/lib/libddprof/version.rb +2 -2
  3. data/lib/libddprof.rb +3 -8
  4. data/vendor/{libddprof-0.2.0 → libddprof-0.6.0}/x86_64-linux/libddprof-x86_64-unknown-linux-gnu/LICENSE +0 -0
  5. data/vendor/{libddprof-0.2.0 → libddprof-0.6.0}/x86_64-linux/libddprof-x86_64-unknown-linux-gnu/LICENSE-3rdparty.yml +329 -87
  6. data/vendor/{libddprof-0.2.0 → libddprof-0.6.0}/x86_64-linux/libddprof-x86_64-unknown-linux-gnu/NOTICE +0 -0
  7. data/vendor/{libddprof-0.2.0 → libddprof-0.6.0}/x86_64-linux/libddprof-x86_64-unknown-linux-gnu/include/ddprof/ffi.h +232 -132
  8. data/vendor/libddprof-0.6.0/x86_64-linux/libddprof-x86_64-unknown-linux-gnu/lib/libddprof_ffi.so +0 -0
  9. data/vendor/{libddprof-0.2.0/x86_64-linux/libddprof-x86_64-unknown-linux-gnu/lib/pkgconfig/ddprof_ffi.pc → libddprof-0.6.0/x86_64-linux/libddprof-x86_64-unknown-linux-gnu/lib/pkgconfig/ddprof_ffi_with_rpath.pc} +3 -3
  10. data/vendor/{libddprof-0.2.0 → libddprof-0.6.0}/x86_64-linux-musl/libddprof-x86_64-alpine-linux-musl/LICENSE +0 -0
  11. data/vendor/{libddprof-0.2.0 → libddprof-0.6.0}/x86_64-linux-musl/libddprof-x86_64-alpine-linux-musl/LICENSE-3rdparty.yml +329 -87
  12. data/vendor/{libddprof-0.2.0 → libddprof-0.6.0}/x86_64-linux-musl/libddprof-x86_64-alpine-linux-musl/NOTICE +0 -0
  13. data/vendor/{libddprof-0.2.0 → libddprof-0.6.0}/x86_64-linux-musl/libddprof-x86_64-alpine-linux-musl/include/ddprof/ffi.h +232 -132
  14. data/vendor/libddprof-0.6.0/x86_64-linux-musl/libddprof-x86_64-alpine-linux-musl/lib/libddprof_ffi.so +0 -0
  15. data/vendor/{libddprof-0.2.0/x86_64-linux-musl/libddprof-x86_64-alpine-linux-musl/lib/pkgconfig/ddprof_ffi.pc → libddprof-0.6.0/x86_64-linux-musl/libddprof-x86_64-alpine-linux-musl/lib/pkgconfig/ddprof_ffi_with_rpath.pc} +3 -3
  16. metadata +17 -25
  17. data/.rspec +0 -3
  18. data/.standard.yml +0 -3
  19. data/README.md +0 -29
  20. data/Rakefile +0 -151
  21. data/docker-compose.yml +0 -14
  22. data/gems.rb +0 -13
  23. data/vendor/libddprof-0.2.0/x86_64-linux/libddprof-x86_64-unknown-linux-gnu/cmake/DDProfConfig.cmake +0 -41
  24. data/vendor/libddprof-0.2.0/x86_64-linux/libddprof-x86_64-unknown-linux-gnu/lib/libddprof_ffi.a +0 -0
  25. data/vendor/libddprof-0.2.0/x86_64-linux-musl/libddprof-x86_64-alpine-linux-musl/cmake/DDProfConfig.cmake +0 -41
  26. data/vendor/libddprof-0.2.0/x86_64-linux-musl/libddprof-x86_64-alpine-linux-musl/lib/libddprof_ffi.a +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1dde092f4cb2c5d0ed206f0c0d36d9efe11be39d26212bd61c1d3b27c9c360bb
4
- data.tar.gz: bc4e40192061eef7730bdeb91a2a1b0b9ea087e72b6848262394ed668ba74e57
3
+ metadata.gz: 9d9e094fa1882862d145c15c43c2031a01334991d08cd9da1e24571ff76a297e
4
+ data.tar.gz: cc495ea8a22cc7873acc7321c91b87754069807885bb2be8d30d3509a962296e
5
5
  SHA512:
6
- metadata.gz: 5493fe16d7bf9750dd1d126922daf76586923f264ee90a4e086f65c79eb3a4b2b6e00913024bf135944ea3f269b71d40f80d9574c4843746e7fe6cd5bab4dcce
7
- data.tar.gz: 323fde160b1507f34beb611a5aa21fba9524ace4917104926f8be3ca042eae7d4f5b20c343f4f7efb158360116d9a6e40fd1a3c9cdd651c68121ce256fb0819b
6
+ metadata.gz: 2f5b9dde74f9d8df7a1732638a5cf8c0b98f534b459bace286245ba4b8f175c7110ee0fc58416ed35556a079610e1789c139c8c06b3b1cdec770b83f64d20034
7
+ data.tar.gz: 28ffe3cba1e39018e5019b4a2987e5921a075a2be99a426c914c7a4aad311387edbbc764b280d6b09994da9aa6098d6ca059fe0c681e11ddcd1d3990e318c24c
@@ -2,11 +2,11 @@
2
2
 
3
3
  module Libddprof
4
4
  # Current libddprof version
5
- LIB_VERSION = "0.2.0"
5
+ LIB_VERSION = "0.6.0"
6
6
 
7
7
  GEM_MAJOR_VERSION = "1"
8
8
  GEM_MINOR_VERSION = "0"
9
- GEM_PRERELEASE_VERSION = ".beta3"
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/libddprof.rb CHANGED
@@ -3,22 +3,17 @@
3
3
  require_relative "libddprof/version"
4
4
 
5
5
  module Libddprof
6
- # Does this libddprof release include any binaries?
7
- def self.binaries?
8
- available_binaries.any?
9
- end
10
-
11
6
  # This should only be used for debugging/logging
12
7
  def self.available_binaries
13
- File.directory?(vendor_directory) ? Dir.children(vendor_directory) : []
8
+ File.directory?(vendor_directory) ? (Dir.entries(vendor_directory) - [".", ".."]) : []
14
9
  end
15
10
 
16
- def self.pkgconfig_folder
11
+ def self.pkgconfig_folder(pkgconfig_file_name = "ddprof_ffi_with_rpath.pc")
17
12
  current_platform = Gem::Platform.local.to_s
18
13
 
19
14
  return unless available_binaries.include?(current_platform)
20
15
 
21
- pkgconfig_file = Dir.glob("#{vendor_directory}/#{current_platform}/**/ddprof_ffi.pc").first
16
+ pkgconfig_file = Dir.glob("#{vendor_directory}/#{current_platform}/**/#{pkgconfig_file_name}").first
22
17
 
23
18
  return unless pkgconfig_file
24
19