sq_mini_racer 0.2.0.sqreen2 → 0.2.2.sqreen1
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 +4 -4
- data/CHANGELOG +14 -0
- data/ext/mini_racer_extension/extconf.rb +18 -5
- data/lib/sqreen/mini_racer/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: 2388fbdf349b6dc821f8fee1544897c665937ffdf6ca452edb764bc2b02c0a8c
|
4
|
+
data.tar.gz: 1a45c8d01045d5b19aec9f8552cc83b180e8c1bc1be71490d66454c3cc813525
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 861c0d99cfac530b4efd36b4ed4eef2722864bf12c43edf2586dfc8996ddbf1beb79bc268d6c18d41368f602deae62a0afde7153acc7de142acdabcb64dee130
|
7
|
+
data.tar.gz: 0b10a3d0a8c3ef990af843ff244a33da0c4ed809f5ffdfcc6f36e8e669d750a3bba76eb512773e26eee18ff335c5ff1a43d602fb9a3341e671e528d9dac7d682
|
data/CHANGELOG
CHANGED
@@ -1,3 +1,17 @@
|
|
1
|
+
- 26-09-2018
|
2
|
+
|
3
|
+
- 0.2.2
|
4
|
+
|
5
|
+
- WORKAROUND: RUBY_PLATFORM is hardcoded on Ruby compile and can not be
|
6
|
+
trusted for feature detection, use a different technique when checking for
|
7
|
+
macOS Mojave
|
8
|
+
|
9
|
+
- 25-09-2018
|
10
|
+
|
11
|
+
- 0.2.1
|
12
|
+
|
13
|
+
- FEATURE: Mojave macOS support
|
14
|
+
|
1
15
|
- 06-07-2018
|
2
16
|
|
3
17
|
- 0.2.0
|
@@ -1,18 +1,31 @@
|
|
1
1
|
require 'mkmf'
|
2
2
|
require 'fileutils'
|
3
3
|
|
4
|
+
IS_DARWIN = RUBY_PLATFORM =~ /darwin/
|
5
|
+
|
4
6
|
have_library('pthread')
|
5
|
-
have_library('objc') if
|
7
|
+
have_library('objc') if IS_DARWIN
|
6
8
|
$CPPFLAGS += " -Wall" unless $CPPFLAGS.split.include? "-Wall"
|
7
9
|
$CPPFLAGS += " -g" unless $CPPFLAGS.split.include? "-g"
|
8
10
|
$CPPFLAGS += " -rdynamic" unless $CPPFLAGS.split.include? "-rdynamic"
|
9
|
-
$CPPFLAGS += " -fPIC" unless $CPPFLAGS.split.include? "-rdynamic" or
|
11
|
+
$CPPFLAGS += " -fPIC" unless $CPPFLAGS.split.include? "-rdynamic" or IS_DARWIN
|
10
12
|
$CPPFLAGS += " -std=c++0x"
|
11
13
|
$CPPFLAGS += " -fpermissive"
|
12
14
|
$CPPFLAGS += " -fno-omit-frame-pointer"
|
13
|
-
$CPPFLAGS += " -Wno-reserved-user-defined-literal" if RUBY_PLATFORM =~ /darwin/
|
14
15
|
|
15
|
-
$
|
16
|
+
$CPPFLAGS += " -Wno-reserved-user-defined-literal" if IS_DARWIN
|
17
|
+
|
18
|
+
MAC_OS_VERSION = begin
|
19
|
+
if IS_DARWIN
|
20
|
+
# note, RUBY_PLATFORM is hardcoded on compile, it can not be trusted
|
21
|
+
# sw_vers can be trusted so use it
|
22
|
+
`sw_vers -productVersion`.to_f rescue 0.0
|
23
|
+
else
|
24
|
+
0.0
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
$LDFLAGS.insert 0, MAC_OS_VERSION < 10.14 ? " -stdlib=libstdc++ " : " -stdlib=libc++ " if IS_DARWIN
|
16
29
|
|
17
30
|
if ENV['CXX']
|
18
31
|
puts "SETTING CXX"
|
@@ -41,7 +54,7 @@ installing GCC 4.8. See mini_racer's README.md for more information.
|
|
41
54
|
EOS
|
42
55
|
end
|
43
56
|
|
44
|
-
CONFIG['LDSHARED'] = '$(CXX) -shared' unless
|
57
|
+
CONFIG['LDSHARED'] = '$(CXX) -shared' unless IS_DARWIN
|
45
58
|
if CONFIG['warnflags']
|
46
59
|
CONFIG['warnflags'].gsub!('-Wdeclaration-after-statement', '')
|
47
60
|
CONFIG['warnflags'].gsub!('-Wimplicit-function-declaration', '')
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sq_mini_racer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2.sqreen1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Saffron
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-09-
|
11
|
+
date: 2018-09-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|