Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ group :development, :test do
gem 'ostruct'
gem 'rake', '~> 13.2'
gem 'rake-compiler', '~> 1.2'
gem 'rake-compiler-dock', '~> 1.5'
gem 'rake-compiler-dock', '~> 1.11'
gem 'rubocop'
gem 'ruby-lsp', '~> 0.17', require: false
gem 'ruby_memcheck', '~> 1.3'
Expand Down
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ PLATFORMS = %w[
x86_64-linux-musl
].freeze

ENV['RUBY_CC_VERSION'] = RakeCompilerDock.ruby_cc_version('~> 3.1')
ENV['RUBY_CC_VERSION'] = RakeCompilerDock.ruby_cc_version('~> 3.1', '~> 4.0')

gemspec = Gem::Specification.load('tree_sitter.gemspec')

Expand Down
2 changes: 1 addition & 1 deletion test/tree_sitter/query_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def mul(a, b)
matches.each do |m|
_(m).must_be_kind_of Hash
_(m.keys.sort).must_equal %w[product product.left product.right sum sum.left]
_(m.values.all? { |n| n.instance_of?(TreeSitter::Node) }).must_be_equal true
_(m.values.all?(TreeSitter::Node)).must_be_equal true
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

end
end
end
Expand Down