ruby_tree_sitter 1.7.0 → 1.9.0

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: ac20b635f1f573527d38637a06f462b673a91c56a29ea1b843e3b5361015f6bb
4
- data.tar.gz: 6e77cc3ac2f03c006d5e5dde7ee757b209edec51ed518f97cba67ca2595d3244
3
+ metadata.gz: dac19cbbbc236d77552d750795e5b115d2ddfe7025ebadcc47ad79d015ae12e6
4
+ data.tar.gz: 9c008d9317ae7b110ea1d7ed35195d990cc0684166d40ffb687242ab5bda2be4
5
5
  SHA512:
6
- metadata.gz: e829e3ef6e7ab79615824f521b512a123d719d4a2d5be51a01cdfa8f60540c4c0b2aff5bd5a880ac922383525011b4ff99dcbf4b102af5f9b0c77676b202bd99
7
- data.tar.gz: 9d89c2632c9e75594e1235191134455eb832fb6ced486955f9c32430558743561a2e7ce32820b8efb3bcadbac191819a1571d450b0505798852339ce1910717d
6
+ metadata.gz: 28d1e559bc35159daae51c0fee72f1324a5b1a22b3c026601ca844b815a62445ee74c823a46bb36f272053b35b7238d81cbf89cba966f90082c815fac62ccedf
7
+ data.tar.gz: 0d301d08f0a5357c8097ce1e6b824c99f1996a3aa2af59581d009bf49ddc57c1dad77818c9439bd64b65169ee694e9cf452cca7cfe8b0d770ecee5f2813d9ed7
@@ -49,7 +49,6 @@ dir_include, dir_lib =
49
49
  # We need to make sure we're selecting the proper toolchain.
50
50
  # Especially needed for corss-compilation.
51
51
  ENV.store('CC', RbConfig::CONFIG['CC'])
52
- repo.patch
53
52
  repo.compile
54
53
  repo.include_and_lib_dirs
55
54
  end
@@ -64,13 +64,6 @@ module TreeSitter
64
64
  [[(src / 'lib' / 'include').to_s], [src.to_s]]
65
65
  end
66
66
 
67
- def patch
68
- root = Pathname.new(File.expand_path(__dir__)).realpath.parent.parent
69
- patch = root / 'patches' / 'cross-compile.patch'
70
-
71
- sh "patch --forward #{src / 'Makefile'} #{patch}"
72
- end
73
-
74
67
  def sh(cmd)
75
68
  return if system(cmd)
76
69
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  module TreeSitter
4
4
  # The version of the tree-sitter library.
5
- TREESITTER_VERSION = '0.23.0'
5
+ TREESITTER_VERSION = '0.24.4'
6
6
  # The current version of the gem.
7
- VERSION = '1.7.0'
7
+ VERSION = '1.9.0'
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_tree_sitter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Firas al-Khalil
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-09-16 00:00:00.000000000 Z
12
+ date: 2024-11-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sorbet-runtime