From d79dfbf25cba37287c1d119179801bdb787d5160 Mon Sep 17 00:00:00 2001 From: Jean Boussier Date: Sun, 6 Oct 2024 11:39:45 -0400 Subject: [PATCH] Bump required ruby version to 3.1 The code is using Ruby 3.1+ syntax, so we shouldn't let it be installed by older ruby versions. --- importmap-rails.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/importmap-rails.gemspec b/importmap-rails.gemspec index 5dbbf66..9d33c16 100644 --- a/importmap-rails.gemspec +++ b/importmap-rails.gemspec @@ -14,7 +14,7 @@ Gem::Specification.new do |spec| spec.files = Dir["{app,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.md"] - spec.required_ruby_version = ">= 2.7.0" + spec.required_ruby_version = ">= 3.1.0" spec.add_dependency "railties", ">= 6.0.0" spec.add_dependency "activesupport", ">= 6.0.0" spec.add_dependency "actionpack", ">= 6.0.0"