diff --git a/derailed_benchmarks.gemspec b/derailed_benchmarks.gemspec index 358ac4d..92957bb 100644 --- a/derailed_benchmarks.gemspec +++ b/derailed_benchmarks.gemspec @@ -34,8 +34,10 @@ Gem::Specification.new do |gem| else gem.add_dependency "ruby-statistics", ">= 2.1" end - if RUBY_VERSION < "3.2" - gem.add_dependency "syntax_suggest", "~> 1.1.0" + if RUBY_VERSION >= '3.2' + gem.add_dependency "syntax_suggest", ">= 2.0" + else + gem.add_dependency "syntax_suggest", "~> 1.1" end gem.add_dependency "mini_histogram", ">= 0.3.0" gem.add_dependency "rack-test", ">= 0"