From 738f4b86bea9ac07a3e6f29293b1bff85973bbf4 Mon Sep 17 00:00:00 2001 From: Jeremy Evans Date: Thu, 4 Mar 2021 15:20:28 -0800 Subject: [PATCH] Set required_ruby_version to 2.4 in gemspec Tests pass on Ruby 2.4, but not on Ruby 2.3. --- uri.gemspec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/uri.gemspec b/uri.gemspec index c4a16f4..f694f95 100644 --- a/uri.gemspec +++ b/uri.gemspec @@ -15,6 +15,8 @@ Gem::Specification.new do |spec| spec.homepage = "https://github.com/ruby/uri" spec.licenses = ["Ruby", "BSD-2-Clause"] + spec.required_ruby_version = '2.4' + spec.metadata["homepage_uri"] = spec.homepage spec.metadata["source_code_uri"] = spec.homepage