Skip to content

Commit 1d47085

Browse files
byroothsbt
authored andcommitted
Set Ruby 2.7 as the required version
1 parent 7d37ae6 commit 1d47085

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ext/json/json.gemspec

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# frozen_string_literal: true
2+
13
version = File.foreach(File.join(__dir__, "lib/json/version.rb")) do |line|
24
/^\s*VERSION\s*=\s*'(.*)'/ =~ line and break $1
35
end rescue nil
@@ -19,7 +21,7 @@ spec = Gem::Specification.new do |s|
1921
'wiki_uri' => 'https://github.com/ruby/json/wiki'
2022
}
2123

22-
s.required_ruby_version = Gem::Requirement.new(">= 2.3")
24+
s.required_ruby_version = Gem::Requirement.new(">= 2.7")
2325

2426
if java_ext
2527
s.description = "A JSON implementation as a JRuby extension."

0 commit comments

Comments
 (0)