From 0c465900092042947ae3110ba0bf7da48a515545 Mon Sep 17 00:00:00 2001 From: a14m Date: Sat, 12 Dec 2020 20:46:17 +0100 Subject: Fix the required ruby version (2.4 isn't supported) Ruby 2.4 URI.open method is private and cannot be used I can support 2.4 by using `URI.send(:open, uri)` instead of `URI.open` but I haven't investigated that, and I don't think it's critical to support 2.4 --- CLI/ruby/game_of_life.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CLI/ruby') diff --git a/CLI/ruby/game_of_life.gemspec b/CLI/ruby/game_of_life.gemspec index 030a830..9f88e68 100644 --- a/CLI/ruby/game_of_life.gemspec +++ b/CLI/ruby/game_of_life.gemspec @@ -12,7 +12,7 @@ Gem::Specification.new do |spec| spec.description = "Conway's game of life implementation as a CLI ruby gem." spec.homepage = "https://gitlab.com/a14m/game-of-life" spec.license = "MIT" - spec.required_ruby_version = ">= 2.4.0" + spec.required_ruby_version = ">= 2.5.0" spec.metadata["allowed_push_host"] = "https://rubygems.org" spec.metadata["homepage_uri"] = spec.homepage -- cgit v1.2.3