From 310af50c3b320f7dac7c6b1e165f29c7a3d5db4b Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Thu, 23 Mar 2023 20:43:37 +0900 Subject: [PATCH] [ruby/time] Update required ruby version `Regexp#match?` which is introduced at ruby 2.4 is used since https://github.com/ruby/time/pull/1852. https://github.com/ruby/time/commit/b0a965dcaa --- lib/time.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/time.gemspec b/lib/time.gemspec index e4b5502f28..214c0cf4c2 100644 --- a/lib/time.gemspec +++ b/lib/time.gemspec @@ -7,7 +7,7 @@ Gem::Specification.new do |spec| spec.summary = %q{Extends the Time class with methods for parsing and conversion.} spec.description = %q{Extends the Time class with methods for parsing and conversion.} spec.homepage = "https://github.com/ruby/time" - spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0") + spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0") spec.licenses = ["Ruby", "BSD-2-Clause"] spec.metadata["homepage_uri"] = spec.homepage