sq_mini_racer 0.2.0.beta1 → 0.2.0.beta2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +58 -11
- data/Gemfile +6 -0
- data/ext/prv_ext_loader/prv_ext_loader.c +3 -0
- data/lib/sqreen/mini_racer.rb +3 -2
- data/lib/sqreen/mini_racer/version.rb +1 -1
- data/mini_racer.gemspec +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 65b4056233ba1d99be6825857054e8b9eee2453c46c3e4c6431d2a158814c86c
|
4
|
+
data.tar.gz: 64e99c3e4c0377382cbadc36a44ba1492edb7e5d39d3c56078f0cdb2640438a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ae861aaaa02dd06cedadf043799d8949979524c0e6fe8f77222101da8dd03f34300dc98d881f3390f3281842806459ccbd2a8c47660d32b077d8a6f27dec915
|
7
|
+
data.tar.gz: 8c52c12fcc7b9de6955a522eee1928ea80af768e3555625bf2f5e5e3aaabfa108ec1af2c1662c0eb36490c4429b909489111115d38dea585b5a5780c5f6f84c9
|
data/.travis.yml
CHANGED
@@ -1,15 +1,62 @@
|
|
1
1
|
language: ruby
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
2
|
+
matrix:
|
3
|
+
include:
|
4
|
+
- os: linux
|
5
|
+
dist: trusty
|
6
|
+
sudo: true
|
7
|
+
rvm: 1.9
|
8
|
+
- os: linux
|
9
|
+
dist: trusty
|
10
|
+
sudo: true
|
11
|
+
rvm: 2.0
|
12
|
+
- os: linux
|
13
|
+
dist: trusty
|
14
|
+
sudo: true
|
15
|
+
rvm: 2.1
|
16
|
+
- os: linux
|
17
|
+
dist: trusty
|
18
|
+
sudo: true
|
19
|
+
rvm: 2.2
|
20
|
+
- os: linux
|
21
|
+
dist: trusty
|
22
|
+
sudo: true
|
23
|
+
rvm: 2.3
|
24
|
+
- os: linux
|
25
|
+
dist: trusty
|
26
|
+
sudo: true
|
27
|
+
rvm: 2.4
|
28
|
+
- os: linux
|
29
|
+
dist: trusty
|
30
|
+
sudo: true
|
31
|
+
rvm: 2.5
|
32
|
+
- os: linux
|
33
|
+
dist: trusty
|
34
|
+
sudo: true
|
35
|
+
rvm: ruby-head
|
36
|
+
- os: osx
|
37
|
+
osx_image: xcode6.4
|
38
|
+
rvm: 2.1
|
39
|
+
- os: osx
|
40
|
+
osx_image: xcode7.3
|
41
|
+
rvm: 2.1
|
42
|
+
- os: osx
|
43
|
+
osx_image: xcode8.3
|
44
|
+
rvm: 2.1
|
45
|
+
- os: osx
|
46
|
+
osx_image: xcode9.4
|
47
|
+
rvm: 2.1
|
48
|
+
- os: osx
|
49
|
+
osx_image: xcode9.4
|
50
|
+
rvm: 2.1
|
51
|
+
- os: osx
|
52
|
+
osx_image: xcode10
|
53
|
+
rvm: 1.9
|
54
|
+
- os: osx
|
55
|
+
osx_image: xcode10
|
56
|
+
rvm: 2.3
|
57
|
+
- os: osx
|
58
|
+
osx_image: xcode10
|
59
|
+
rvm: 2.5
|
13
60
|
before_install:
|
14
61
|
- gem update --system
|
15
62
|
- gem install bundler -v 1.16.2
|
data/Gemfile
CHANGED
@@ -66,6 +66,9 @@ static void *_dln_load(const char *file)
|
|
66
66
|
|
67
67
|
INIT_FUNCNAME(&buf, file);
|
68
68
|
|
69
|
+
#if defined(__APPLE__) && !defined(RTLD_DEEPBIND)
|
70
|
+
# define RTLD_DEEPBIND 0
|
71
|
+
#endif
|
69
72
|
/* Load file */
|
70
73
|
if ((handle = dlopen(file, RTLD_LAZY|RTLD_LOCAL|RTLD_DEEPBIND)) == NULL) {
|
71
74
|
DLN_ERROR();
|
data/lib/sqreen/mini_racer.rb
CHANGED
@@ -5,11 +5,12 @@ require "prv_ext_loader"
|
|
5
5
|
require "pathname"
|
6
6
|
|
7
7
|
module Sqreen
|
8
|
+
name = 'sq_mini_racer_extension.' + RbConfig::CONFIG['DLEXT']
|
8
9
|
shlib = $LOAD_PATH
|
9
|
-
.map { |p| (Pathname.new(p) +
|
10
|
+
.map { |p| (Pathname.new(p) + name) }
|
10
11
|
.find { |p| p.file? }
|
11
12
|
|
12
|
-
raise LoadError, "could not find
|
13
|
+
raise LoadError, "could not find #{name}" unless shlib
|
13
14
|
PrvExtLoader.load shlib.to_s
|
14
15
|
|
15
16
|
# rubocop:disable IndentationConsistency
|
data/mini_racer.gemspec
CHANGED
@@ -10,8 +10,8 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ["sam.saffron@gmail.com"]
|
11
11
|
|
12
12
|
spec.summary = %q{Minimal embedded v8 for Ruby}
|
13
|
-
spec.description = %q{Minimal embedded v8 engine for Ruby}
|
14
|
-
spec.homepage = "https://github.com/
|
13
|
+
spec.description = %q{Minimal embedded v8 engine for Ruby (Sqreen's fork)}
|
14
|
+
spec.homepage = "https://github.com/sqreen/mini_racer"
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
17
17
|
|
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.0.
|
4
|
+
version: 0.2.0.beta2
|
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-08-
|
11
|
+
date: 2018-08-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -66,7 +66,7 @@ dependencies:
|
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
|
-
description: Minimal embedded v8 engine for Ruby
|
69
|
+
description: Minimal embedded v8 engine for Ruby (Sqreen's fork)
|
70
70
|
email:
|
71
71
|
- sam.saffron@gmail.com
|
72
72
|
executables: []
|
@@ -93,7 +93,7 @@ files:
|
|
93
93
|
- lib/sqreen/mini_racer.rb
|
94
94
|
- lib/sqreen/mini_racer/version.rb
|
95
95
|
- mini_racer.gemspec
|
96
|
-
homepage: https://github.com/
|
96
|
+
homepage: https://github.com/sqreen/mini_racer
|
97
97
|
licenses:
|
98
98
|
- MIT
|
99
99
|
metadata: {}
|