libsqreen 0.6.1.0.0 → 0.6.1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/ext/libsqreen_extension/extconf.rb +10 -10
- data/lib/libsqreen/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ed91a585c820add7e0c12a77e14ffe98af314ba6ff63933cb44249d114bdc43
|
4
|
+
data.tar.gz: 38b7a36192217771d45f9af2cfd05776c654c1174fe1877d1c17f3d528faeefe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c7475304370b268725cc9de6b1b7de2281457c196bc302e7a5f7f5426ae69482b36eaf7068ec0e4f539e94f27067ddd57526199de1bf1bd54dfc676e121be47
|
7
|
+
data.tar.gz: a3ef8f4146dd1f5f674d2b4f9df3ba3cdbb52ba8c9279886e789a6753bfaa708f5f9887fc0214965738a5f0eddf256ffacc24dcde82bc63480d9bc0599c3f1ba
|
data/CHANGELOG.md
CHANGED
@@ -17,7 +17,7 @@ module Paths
|
|
17
17
|
File.join(vendored_source_path, 'libsqreen', cpu, platform, libname),
|
18
18
|
]
|
19
19
|
|
20
|
-
return objects
|
20
|
+
return objects unless platform == 'linux'
|
21
21
|
|
22
22
|
objects << File.join(vendored_source_path, 'libc++', cpu, platform, 'libc++.a')
|
23
23
|
objects << File.join(vendored_source_path, 'libc++', cpu, platform, 'libc++abi.a')
|
@@ -51,8 +51,15 @@ module Paths
|
|
51
51
|
end
|
52
52
|
end
|
53
53
|
|
54
|
-
|
55
|
-
|
54
|
+
src_prefix = nil
|
55
|
+
if Paths.has_object_files?
|
56
|
+
$INCFLAGS << ' ' + Paths.include_paths.map { |x| '-I' + Shellwords.escape(x) }.join(' ')
|
57
|
+
$LDFLAGS << ' ' + Paths.object_paths.map { |x| Shellwords.escape(x) }.join(' ')
|
58
|
+
else
|
59
|
+
puts "WARNING: Could not find binary objects. " \
|
60
|
+
"Native features for platform #{RUBY_PLATFORM} not supported. Fallback to stubbing."
|
61
|
+
src_prefix = File.join($srcdir, 'stub')
|
62
|
+
end
|
56
63
|
|
57
64
|
WARNINGS = %w(no-declaration-after-statement
|
58
65
|
unused-parameter missing-prototypes unused-function
|
@@ -60,13 +67,6 @@ WARNINGS = %w(no-declaration-after-statement
|
|
60
67
|
|
61
68
|
$CFLAGS += " -std=c99 #{WARNINGS.map { |x| "-W#{x}" }.join(' ')}"
|
62
69
|
|
63
|
-
src_prefix = nil
|
64
|
-
unless Paths.has_object_files?
|
65
|
-
puts "WARNING: Could not find binary objects. " \
|
66
|
-
"Native features for platform #{RUBY_PLATFORM} not supported. Fallback to stubbing."
|
67
|
-
src_prefix = File.join($srcdir, 'stub')
|
68
|
-
end
|
69
|
-
|
70
70
|
if RUBY_PLATFORM =~ /linux/
|
71
71
|
version_script_path = File.expand_path(File.join(File.dirname(__FILE__), '../../ext/libsqreen_extension/libsqreen_extension.version'))
|
72
72
|
$LDFLAGS += " -lpthread -Wl,--version-script='#{version_script_path}'"
|
data/lib/libsqreen/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: libsqreen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.1.0.
|
4
|
+
version: 0.6.1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sqreen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-06-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|