duktape 2.0.1.0 → 2.0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/ext/duktape/duktape_ext.c +5 -1
- data/lib/duktape/version.rb +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: a55792db62545259c3fa48e0c038e76fce0494a1
|
4
|
+
data.tar.gz: cd720974a36c9e6e3b5c9c5667c9f51cd1f18848
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a6ce6ce9e19b4b76d0a6e7183f7cb3bfc188a7073acf36cf1af665a229c27e81b70b4ac8f24979d1441abc4532f47ac52c8fb791ce2d45c839310797565125a
|
7
|
+
data.tar.gz: fa7eb3f658f730fb5be6822cc94669fce3c5f1237f3ed9d37882ec7974bcc45c2515bca3b7ac8068b4ace67ad2f68aa712f6347e6bed339871a27c2e01df4346
|
data/CHANGELOG.md
CHANGED
data/ext/duktape/duktape_ext.c
CHANGED
@@ -220,13 +220,17 @@ static void ctx_push_ruby_object(struct state *state, VALUE obj)
|
|
220
220
|
|
221
221
|
switch (TYPE(obj)) {
|
222
222
|
case T_FIXNUM:
|
223
|
-
|
223
|
+
duk_push_number(ctx, NUM2LONG(obj));
|
224
224
|
return;
|
225
225
|
|
226
226
|
case T_FLOAT:
|
227
227
|
duk_push_number(ctx, NUM2DBL(obj));
|
228
228
|
return;
|
229
229
|
|
230
|
+
case T_BIGNUM:
|
231
|
+
duk_push_number(ctx, NUM2DBL(obj));
|
232
|
+
return;
|
233
|
+
|
230
234
|
case T_SYMBOL:
|
231
235
|
#ifdef HAVE_RB_SYM2STR
|
232
236
|
obj = rb_sym2str(obj);
|
data/lib/duktape/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: duktape
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.1.
|
4
|
+
version: 2.0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Magnus Holm
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-05-13 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email: judofyr@gmail.com
|