libddprof 0.2.0.1.0.beta3-x86_64-linux → 0.6.0.1.0-x86_64-linux
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/libddprof/version.rb +2 -2
- data/lib/libddprof.rb +3 -8
- data/vendor/{libddprof-0.2.0 → libddprof-0.6.0}/x86_64-linux/libddprof-x86_64-unknown-linux-gnu/LICENSE +0 -0
- data/vendor/{libddprof-0.2.0 → libddprof-0.6.0}/x86_64-linux/libddprof-x86_64-unknown-linux-gnu/LICENSE-3rdparty.yml +329 -87
- data/vendor/{libddprof-0.2.0 → libddprof-0.6.0}/x86_64-linux/libddprof-x86_64-unknown-linux-gnu/NOTICE +0 -0
- 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
- data/vendor/libddprof-0.6.0/x86_64-linux/libddprof-x86_64-unknown-linux-gnu/lib/libddprof_ffi.so +0 -0
- 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
- data/vendor/{libddprof-0.2.0 → libddprof-0.6.0}/x86_64-linux-musl/libddprof-x86_64-alpine-linux-musl/LICENSE +0 -0
- 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
- data/vendor/{libddprof-0.2.0 → libddprof-0.6.0}/x86_64-linux-musl/libddprof-x86_64-alpine-linux-musl/NOTICE +0 -0
- 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
- data/vendor/libddprof-0.6.0/x86_64-linux-musl/libddprof-x86_64-alpine-linux-musl/lib/libddprof_ffi.so +0 -0
- 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
- metadata +17 -25
- data/.rspec +0 -3
- data/.standard.yml +0 -3
- data/README.md +0 -29
- data/Rakefile +0 -151
- data/docker-compose.yml +0 -14
- data/gems.rb +0 -13
- data/vendor/libddprof-0.2.0/x86_64-linux/libddprof-x86_64-unknown-linux-gnu/cmake/DDProfConfig.cmake +0 -41
- data/vendor/libddprof-0.2.0/x86_64-linux/libddprof-x86_64-unknown-linux-gnu/lib/libddprof_ffi.a +0 -0
- data/vendor/libddprof-0.2.0/x86_64-linux-musl/libddprof-x86_64-alpine-linux-musl/cmake/DDProfConfig.cmake +0 -41
- 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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9d9e094fa1882862d145c15c43c2031a01334991d08cd9da1e24571ff76a297e
|
4
|
+
data.tar.gz: cc495ea8a22cc7873acc7321c91b87754069807885bb2be8d30d3509a962296e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f5b9dde74f9d8df7a1732638a5cf8c0b98f534b459bace286245ba4b8f175c7110ee0fc58416ed35556a079610e1789c139c8c06b3b1cdec770b83f64d20034
|
7
|
+
data.tar.gz: 28ffe3cba1e39018e5019b4a2987e5921a075a2be99a426c914c7a4aad311387edbbc764b280d6b09994da9aa6098d6ca059fe0c681e11ddcd1d3990e318c24c
|
data/lib/libddprof/version.rb
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
module Libddprof
|
4
4
|
# Current libddprof version
|
5
|
-
LIB_VERSION = "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 = "
|
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.
|
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}
|
16
|
+
pkgconfig_file = Dir.glob("#{vendor_directory}/#{current_platform}/**/#{pkgconfig_file_name}").first
|
22
17
|
|
23
18
|
return unless pkgconfig_file
|
24
19
|
|
File without changes
|