v8eval 0.2.6 → 0.2.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/build.sh +2 -1
- data/ruby/build.sh +1 -1
- data/ruby/ext/v8eval/extconf.rb +1 -1
- data/src/dbgsrv.cxx +1 -1
- data/src/dbgsrv.h +1 -0
- data/v8eval.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c0017fb29a831d60259512c6cbf8c6eeb004f3e8
|
4
|
+
data.tar.gz: d9cbcb8537e1b47258237dafdadb79ee2f212067
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 873858c0467681e4048bbe91415e102e99f9a4ed8dff215993c078ef19e2c6b947e8a68aafb47443e97c5ff34066693f95f0a9dfcd4fb9efdf8ef0846427c4c7
|
7
|
+
data.tar.gz: 58094d779cabd19c50aae8a420c640277c25fecda1b74ac9d55465559ac85b0f4247fa65b5f5ef2d8d2a268f5481992879686838e515298cdab85690de52af7d
|
data/README.md
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
|
7
7
|
Multi-language bindings to JavaScript engine V8.
|
8
8
|
|
9
|
-
Currently v8eval provides Go, Python and Ruby bindings to the latest V8
|
9
|
+
Currently v8eval provides Go, Python and Ruby bindings to the latest V8 6.3 and supports Linux and Mac OS X.
|
10
10
|
v8eval uses SWIG and can be extended easily for other languages.
|
11
11
|
|
12
12
|
## Pre-installation
|
data/build.sh
CHANGED
data/ruby/build.sh
CHANGED
data/ruby/ext/v8eval/extconf.rb
CHANGED
@@ -48,7 +48,7 @@ end
|
|
48
48
|
|
49
49
|
dir_config('', header_dirs, lib_dirs)
|
50
50
|
|
51
|
-
$LDFLAGS << ' -lv8eval -lv8eval_ruby -lv8_libplatform -lv8_base -lv8_libbase -lv8_libsampler -lv8_nosnapshot -luv'
|
51
|
+
$LDFLAGS << ' -lv8eval -lv8eval_ruby -lv8_libplatform -lv8_base -lv8_libbase -lv8_libsampler -lv8_init -lv8_initializers -lv8_nosnapshot -luv'
|
52
52
|
$CPPFLAGS << ' -g -O3 -std=c++11'
|
53
53
|
|
54
54
|
create_makefile('v8eval/v8eval')
|
data/src/dbgsrv.cxx
CHANGED
@@ -172,7 +172,7 @@ bool DbgSrv::start(int port) {
|
|
172
172
|
|
173
173
|
// Set up the TCP Connection.
|
174
174
|
uv_tcp_init(&dbgsrv_loop_, &dbgsrv_serv_);
|
175
|
-
uv_ip4_addr("
|
175
|
+
uv_ip4_addr("0.0.0.0", port, &addr);
|
176
176
|
if (uv_tcp_bind(&dbgsrv_serv_, (const struct sockaddr*)&addr, 0)) {
|
177
177
|
uv_close((uv_handle_t *)&dbgsrv_serv_, NULL);
|
178
178
|
perror("bind");
|
data/src/dbgsrv.h
CHANGED
@@ -23,6 +23,7 @@ class DbgSrv {
|
|
23
23
|
/// \param port TCP/IP port the server will listen
|
24
24
|
/// \return success or not as boolean
|
25
25
|
///
|
26
|
+
/// The debugger server gets bound to 0.0.0.0:[port].
|
26
27
|
/// The port can be set to 0 to have a port automatically assigned.
|
27
28
|
bool start(int port);
|
28
29
|
|
data/v8eval.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: v8eval
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Prateek Papriwal
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-06-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|