ruby_tree_sitter 1.7.0 → 1.8.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: a5536c774341679f32123dc20911f059691cb49b9a50f0f85a58607a83b9ce7a
4
+ data.tar.gz: 84be789f059316de8a1c1beb4e1542aa3983da5df6b166eee2d695c5143771b1
5
5
  SHA512:
6
- metadata.gz: e829e3ef6e7ab79615824f521b512a123d719d4a2d5be51a01cdfa8f60540c4c0b2aff5bd5a880ac922383525011b4ff99dcbf4b102af5f9b0c77676b202bd99
7
- data.tar.gz: 9d89c2632c9e75594e1235191134455eb832fb6ced486955f9c32430558743561a2e7ce32820b8efb3bcadbac191819a1571d450b0505798852339ce1910717d
6
+ metadata.gz: 79bbf16acbd0e8e1b33f120d07af842838b911c1c05ac048dfdf6808bf786e3d13f1c5d450d014f00d736feeb38c5937823b7975daece351b74bb8b672fa2536
7
+ data.tar.gz: 7c6be021c8008e19a324f89d6ef2a3ce041c62054b5f9869f2f252cd946171cd7041b2c6c3af38b139ff03699438709f11a64ea83f97852d0b01d99c452dbd55
@@ -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.3'
6
6
  # The current version of the gem.
7
- VERSION = '1.7.0'
7
+ VERSION = '1.8.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.8.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-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sorbet-runtime