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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2ce6616967d7e98c759d616464d2fbec0ba6963cc064e52115ca6a584146347f
4
- data.tar.gz: 1ba756125068a24321117502d7cef0924d0274dcc07572ff6c6832106aea28f9
3
+ metadata.gz: 6b4d7480c6b1b4e19069530f4a5d309b6910bac84cad7568822ebe7076d94882
4
+ data.tar.gz: 0f91d9185b6b041423f88a2132a9b2deef33d9edc15de2c3154a6349a5d56395
5
5
  SHA512:
6
- metadata.gz: f1da19a035c69f89bbcad61f094943b79b0c39a454418996d43e0696cb8433a96173bcc89bfa3d96bdea43fe7f1a7e50a6048f9f5808c1c8db45b7f60ef637b9
7
- data.tar.gz: 9a7fc4b6e69a82e8d363dc4138b46e1d2d7e94d31bddbfbec09ea9167f92d5a373058b6b47b5250817b57ce2d6a051ae38734127309fce53f075e930b2a6a074
6
+ metadata.gz: 6da0a208160323f8d5ca6d1327a7d2adffd3317b414a771c7bf6c8449dd0e08337d05c87ff4f5d29a2c6cda28fd09a425e40b33e0f5f3a81d6deb4061c841439
7
+ data.tar.gz: 6eac8c22d39f16abb5e47e7d4b8b8423e16b4c6fc9b584ab582325f201b6b390a6f20638b5619abab1f8f0222c4e670321b01784aad72bcb73710558004a2d84
@@ -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
  }
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Quickjs
4
- VERSION = "0.6.1"
4
+ VERSION = "0.6.2"
5
5
  end
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.1
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-23 00:00:00.000000000 Z
11
+ date: 2025-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json