From db65bf6b0f8e87c732c4fe673f2fc7957ea2c823 Mon Sep 17 00:00:00 2001 From: Chris D'Ambrosio Date: Mon, 30 Dec 2024 10:33:04 -0800 Subject: [PATCH] Support ruby 3.x --- what3words.gemspec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/what3words.gemspec b/what3words.gemspec index 72311e8..4a8d357 100644 --- a/what3words.gemspec +++ b/what3words.gemspec @@ -19,7 +19,8 @@ Gem::Specification.new do |spec| spec.test_files = spec.files.grep(%r{^spec/}) spec.require_paths = ['lib'] spec.platform = Gem::Platform::RUBY - spec.required_ruby_version = '~> 2.6' + spec.required_ruby_version = '>= 2.6', '< 4.0' + spec.metadata["documentation_uri"] = "https://www.rubydoc.info/gems/what3words" spec.metadata["source_code_uri"] = "https://github.com/what3words/w3w-ruby-wrapper"