ruby_tree_sitter 0.20.6.3-x86_64-linux → 0.20.6.4-x86_64-linux

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
  SHA256:
3
- metadata.gz: 66f3c718ba1bb03d6db4b418d6ca9e6fa11a071f2d07379497d57298b57415c2
4
- data.tar.gz: e25e0f44fc08cfacdc5f6aced98a26b127294726a835a41a605996189f5d317e
3
+ metadata.gz: 6c4e5865a9ce34316626656a6de3545302d85280cd5580f2f2eb2de562bdec4b
4
+ data.tar.gz: f7df073fc9fc0d610780e76730d38675fe81a182288c288f0ce63707b95580ef
5
5
  SHA512:
6
- metadata.gz: 628079b69ee0279679074bf76b8be2d179aa0fb0f419e306dce7472450389a6106ff049767a4d7a8b3ac756b458b0bc5cb0afb7658b740160cb2be29b1473dc9
7
- data.tar.gz: aba7b46de4bc19d453cac906ca7784b4be2ba6a9482d6061e7a1ff15b86ca6a80173931c0f9ebc655785fd8e7ffd4f149a9e5d10cf5db499ff7a045dd70f90f8
6
+ metadata.gz: 1d846f1c28c4ecee4c8cbedf222ae100e2436da05908eeda8bd269ed0c88e92402fa0cbf106b368eaed77952b345641491e5504b76e3697c0bcfa1bb41857303
7
+ data.tar.gz: 14344bacafcc339551357446bf8b80331c3c1bd5710baa120a20691803be041a1f80110b437560230a8452b1e52d3f3e8c76a2e5256de500ad4e804d6e4eba9b
@@ -109,11 +109,10 @@ static VALUE tree_print_dot_graph(VALUE self, VALUE file) {
109
109
  static VALUE tree_finalizer(VALUE _self) {
110
110
  VALUE rc = rb_cv_get(cTree, "@@rc");
111
111
  VALUE keys = rb_funcall(rc, rb_intern("keys"), 0);
112
- VALUE *elements = RARRAY_PTR(keys);
113
112
  long len = RARRAY_LEN(keys);
114
113
 
115
114
  for (long i = 0; i < len; ++i) {
116
- VALUE curr = elements[i];
115
+ VALUE curr = RARRAY_AREF(keys, i);
117
116
  unsigned int val = NUM2UINT(rb_hash_lookup(rc, curr));
118
117
  if (val > 0) {
119
118
  ts_tree_delete((TSTree *)NUM2ULONG(curr));
Binary file
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TreeSitter
4
- VERSION = '0.20.6.3'
4
+ VERSION = '0.20.6.4'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_tree_sitter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.6.3
4
+ version: 0.20.6.4
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - Firas al-Khalil
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-11 00:00:00.000000000 Z
11
+ date: 2023-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest
@@ -176,7 +176,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
176
176
  - !ruby/object:Gem::Version
177
177
  version: '0'
178
178
  requirements: []
179
- rubygems_version: 3.4.6
179
+ rubygems_version: 3.4.10
180
180
  signing_key:
181
181
  specification_version: 4
182
182
  summary: Ruby bindings for Tree-Sitter