From e244b8f1eedb00982300f4a127a89d4e7f7e36fe Mon Sep 17 00:00:00 2001 From: Julian Tigler Date: Tue, 2 May 2023 09:38:26 +0300 Subject: [PATCH] Remove broken RUBY_VERSION check from gemspec See discussion in https://github.com/phillbaker/rubystats/pull/20 --- rubystats.gemspec | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/rubystats.gemspec b/rubystats.gemspec index 9d650ee..766a839 100644 --- a/rubystats.gemspec +++ b/rubystats.gemspec @@ -20,11 +20,9 @@ Gem::Specification.new do |s| s.add_development_dependency("minitest", ">= 4.2", "< 5.0") s.add_development_dependency("hoe", ">= 1.7.0") - if RUBY_VERSION >= "3.1" - # matrix was removed from default gems in Ruby 3.1, see - # https://github.com/ruby/ruby/pull/4530 and https://stdgems.org/ - s.add_runtime_dependency("matrix") - end + # matrix was removed from default gems in Ruby 3.1, see + # https://github.com/ruby/ruby/pull/4530 and https://stdgems.org/ + s.add_runtime_dependency("matrix") end