quickjs 0.6.1 → 0.6.2
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/ext/quickjsrb/quickjsrb.c +2 -0
- data/lib/quickjs/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: 6b4d7480c6b1b4e19069530f4a5d309b6910bac84cad7568822ebe7076d94882
|
4
|
+
data.tar.gz: 0f91d9185b6b041423f88a2132a9b2deef33d9edc15de2c3154a6349a5d56395
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6da0a208160323f8d5ca6d1327a7d2adffd3317b414a771c7bf6c8449dd0e08337d05c87ff4f5d29a2c6cda28fd09a425e40b33e0f5f3a81d6deb4061c841439
|
7
|
+
data.tar.gz: 6eac8c22d39f16abb5e47e7d4b8b8423e16b4c6fc9b584ab582325f201b6b390a6f20638b5619abab1f8f0222c4e670321b01784aad72bcb73710558004a2d84
|
data/ext/quickjsrb/quickjsrb.c
CHANGED
@@ -587,6 +587,8 @@ static VALUE vm_m_defineGlobalFunction(int argc, VALUE *argv, VALUE r_self)
|
|
587
587
|
data->context, j_global, funcName,
|
588
588
|
JS_NewCFunctionData(data->context, js_quickjsrb_call_global, 1, 0, 2, ruby_data));
|
589
589
|
JS_FreeValue(data->context, j_global);
|
590
|
+
JS_FreeValue(data->context, ruby_data[0]);
|
591
|
+
JS_FreeValue(data->context, ruby_data[1]);
|
590
592
|
|
591
593
|
return rb_funcall(r_name, rb_intern("to_sym"), 0, NULL);
|
592
594
|
}
|
data/lib/quickjs/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: quickjs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- hmsk
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-01-
|
11
|
+
date: 2025-01-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|