libsqreen 0.6.1.0.0 → 0.6.1.0.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b2850167f572c0e567ef756d51190d20b5405f891d59de71748b485931793ba4
4
- data.tar.gz: 47bb4f25a4a71e66bff95c1883eb02109b0e0e56b5d928ff7a7bf3b583d4cb92
3
+ metadata.gz: 4ed91a585c820add7e0c12a77e14ffe98af314ba6ff63933cb44249d114bdc43
4
+ data.tar.gz: 38b7a36192217771d45f9af2cfd05776c654c1174fe1877d1c17f3d528faeefe
5
5
  SHA512:
6
- metadata.gz: 5191657554a0705f61ad7b78644f51630ebdb337d8e40e24ab1058ce2803cc9e2250e620af55f7417479ef8ec94b906dfd4a1879712bd5332c8cb8d72939b680
7
- data.tar.gz: 5e7fed1e0ea2f85d4f6e39215bd092a5c4230674901efed98ce648d4be5d294e5bf01668f4cc64a91333ca0bc2a5f5058241da7ce8b83e15afbd5a6cba945922
6
+ metadata.gz: 7c7475304370b268725cc9de6b1b7de2281457c196bc302e7a5f7f5426ae69482b36eaf7068ec0e4f539e94f27067ddd57526199de1bf1bd54dfc676e121be47
7
+ data.tar.gz: a3ef8f4146dd1f5f674d2b4f9df3ba3cdbb52ba8c9279886e789a6753bfaa708f5f9887fc0214965738a5f0eddf256ffacc24dcde82bc63480d9bc0599c3f1ba
@@ -1,3 +1,11 @@
1
+ # libsqreen v0.6.1.0.1
2
+
3
+ - Fix fallback for platforms without C++ library
4
+
5
+ # libsqreen v0.6.1.0.0
6
+
7
+ - Update internal C++ library to 0.6.1
8
+
1
9
  # libsqreen v0.3.0.0.3
2
10
 
3
11
  - Prevent libc++ symbol exposure
@@ -17,7 +17,7 @@ module Paths
17
17
  File.join(vendored_source_path, 'libsqreen', cpu, platform, libname),
18
18
  ]
19
19
 
20
- return objects if platform == 'darwin'
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
- $INCFLAGS << ' ' + Paths.include_paths.map { |x| '-I' + Shellwords.escape(x) }.join(' ')
55
- $LDFLAGS << ' ' + Paths.object_paths.map { |x| Shellwords.escape(x) }.join(' ')
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}'"
@@ -2,5 +2,5 @@
2
2
  # Please refer to our terms for more information: https://www.sqreen.com/terms.html
3
3
 
4
4
  module LibSqreen
5
- VERSION = "0.6.1.0.0"
5
+ VERSION = "0.6.1.0.1"
6
6
  end
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.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-05-26 00:00:00.000000000 Z
11
+ date: 2020-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake