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 +4 -4
- data/ext/tree_sitter/tree.c +1 -2
- data/lib/tree_sitter/tree_sitter.so +0 -0
- data/lib/tree_sitter/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c4e5865a9ce34316626656a6de3545302d85280cd5580f2f2eb2de562bdec4b
|
4
|
+
data.tar.gz: f7df073fc9fc0d610780e76730d38675fe81a182288c288f0ce63707b95580ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d846f1c28c4ecee4c8cbedf222ae100e2436da05908eeda8bd269ed0c88e92402fa0cbf106b368eaed77952b345641491e5504b76e3697c0bcfa1bb41857303
|
7
|
+
data.tar.gz: 14344bacafcc339551357446bf8b80331c3c1bd5710baa120a20691803be041a1f80110b437560230a8452b1e52d3f3e8c76a2e5256de500ad4e804d6e4eba9b
|
data/ext/tree_sitter/tree.c
CHANGED
@@ -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 =
|
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
|
data/lib/tree_sitter/version.rb
CHANGED
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.
|
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-
|
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.
|
179
|
+
rubygems_version: 3.4.10
|
180
180
|
signing_key:
|
181
181
|
specification_version: 4
|
182
182
|
summary: Ruby bindings for Tree-Sitter
|