From 02ec605121b75c34733661ee4d781c02591dfbce Mon Sep 17 00:00:00 2001 From: Jason Lunn Date: Mon, 22 Apr 2024 14:58:48 -0400 Subject: [PATCH] Evaluate a prerelease fix for FFI that has been merged to FFI source. Bump `rules_ruby` to latest. Don't require `bigdecimal` unless needed. --- ruby/google-protobuf.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruby/google-protobuf.gemspec b/ruby/google-protobuf.gemspec index 3a0b6211ff6f..324abd5d6bb8 100644 --- a/ruby/google-protobuf.gemspec +++ b/ruby/google-protobuf.gemspec @@ -33,7 +33,7 @@ Gem::Specification.new do |s| end s.required_ruby_version = '>= 3.0' # bigdecimal must be used as a non-built in gem as of ruby-3.4 - s.add_dependency "bigdecimal" + s.add_dependency "bigdecimal" if RUBY_VERSION >= '3.4.0' # TODO: evaluate removing Rakefile and moving logic to extconf.rb, so that we # can remove this runtime dependency on rake. See the discussion here for # more details: