diff options
| author | a14m <[email protected]> | 2020-12-12 20:46:17 +0100 |
|---|---|---|
| committer | a14m <[email protected]> | 2020-12-12 20:46:17 +0100 |
| commit | 0c465900092042947ae3110ba0bf7da48a515545 (patch) | |
| tree | 42980b769263d0f3198291d788e40738a84ee2f3 /CLI/ruby | |
| parent | aa78cc2cf340418ce73a22a7e11a6294592c8ad9 (diff) | |
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
Diffstat (limited to 'CLI/ruby')
| -rw-r--r-- | CLI/ruby/game_of_life.gemspec | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
