Skip to content

Commit

Permalink
Add support for Ruby 3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
shepting committed Dec 14, 2023
1 parent 3565691 commit 53dbb15
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ext/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

thrift_prefix = `#{brew} --prefix #{thrift_package}`.strip

unless File.exists?(thrift_prefix)
unless File.exist?(thrift_prefix)
warn "#{thrift_prefix} does not exist"
warn "To resolve, `brew install #{thrift_package}` or pass"
warn '--with-homebrew-thrift-package=<package> to this build to specify'
Expand All @@ -47,7 +47,7 @@

boost_prefix = `#{brew} --prefix #{boost_package}`.strip

if File.exists?(boost_prefix)
if File.exist?(boost_prefix)
warn("using Homebrew boost at #{boost_prefix}")
$CFLAGS << " -I#{boost_prefix}/include"
$CXXFLAGS << " -I#{boost_prefix}/include"
Expand Down
2 changes: 1 addition & 1 deletion sparsam.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ $LOAD_PATH.push File.expand_path("../lib", __FILE__)

Gem::Specification.new do |s|
s.name = 'sparsam'
s.version = '0.2.11'
s.version = '0.2.12'
s.authors = ['Airbnb Thrift Developers']
s.email = ['[email protected]']
s.homepage = 'http://thrift.apache.org'
Expand Down

0 comments on commit 53dbb15

Please sign in to comment.