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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cd3a65a1288166c5c433ceb7981e7d01b7c0a2ff
4
- data.tar.gz: 3b9aefd54850cc461f59aa07863b0122d18e5113
3
+ metadata.gz: c0017fb29a831d60259512c6cbf8c6eeb004f3e8
4
+ data.tar.gz: d9cbcb8537e1b47258237dafdadb79ee2f212067
5
5
  SHA512:
6
- metadata.gz: cbfb3232413f1a115d035e8a8149de25360167be6edd6b9546039a18821877eaffb90cd86219dda7063822868dd928212bc8e410ae69cab3d29f55ba2f0966ee
7
- data.tar.gz: 4f84bbbe86f67b9ef29ff3b69a0725b2ecf178fc832a57f1b66c33e44cafe6b6fbafc614b487c4fd8989596e1fd92a5d2778defd5ee055cf8874e6d105215836
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 5.6 and supports Linux and Mac OS X.
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
@@ -59,7 +59,8 @@ install_v8() {
59
59
  cd $V8EVAL_ROOT
60
60
  fetch v8
61
61
  cd v8
62
- git checkout 5.6.142
62
+ git checkout 6.3.288
63
+ gclient sync
63
64
  if [ $PY_VER = 3 ]; then
64
65
  sed -i -e 's/python -c/python2 -c/' Makefile
65
66
  fi
data/ruby/build.sh CHANGED
@@ -24,7 +24,7 @@ docs() {
24
24
  test() {
25
25
  build
26
26
 
27
- gem install bundle
27
+ gem install bundler -v 1.14.5
28
28
  cd $V8EVAL_ROOT/ruby
29
29
  bundle install
30
30
 
@@ -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("127.0.0.1", port, &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
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new 'v8eval', '1.0' do |s|
2
2
  s.name = 'v8eval'
3
- s.version = '0.2.6'
3
+ s.version = '0.2.11'
4
4
  s.licenses = ['MIT']
5
5
  s.description = 'Run JavaScript engine V8 in Ruby'
6
6
  s.summary = 'v8eval gem is ruby binding to the latest V8 4.7 and supports
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.6
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: 2016-10-27 00:00:00.000000000 Z
11
+ date: 2018-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake