Skip to content

Commit 5944180

Browse files
committed
Set required_ruby_version to 2.4 in gemspec
Tests pass on Ruby 2.4, but not on Ruby 2.3.
1 parent 67ca99c commit 5944180

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

uri.gemspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ Gem::Specification.new do |spec|
1515
spec.homepage = "https://github.com/ruby/uri"
1616
spec.licenses = ["Ruby", "BSD-2-Clause"]
1717

18+
spec.required_ruby_version = '>= 2.4'
19+
1820
spec.metadata["homepage_uri"] = spec.homepage
1921
spec.metadata["source_code_uri"] = spec.homepage
2022

0 commit comments

Comments
 (0)