diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-03-23 20:43:37 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-03-23 11:45:58 +0000 |
commit | 310af50c3b320f7dac7c6b1e165f29c7a3d5db4b (patch) | |
tree | 3b14651402a30336f53922978544fc31e154eaa2 /lib/time.gemspec | |
parent | 3563e1383fe4ce13168cd3b9f4d5222d69d00061 (diff) |
[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
Diffstat (limited to 'lib/time.gemspec')
-rw-r--r-- | lib/time.gemspec | 2 |
1 files changed, 1 insertions, 1 deletions
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 |