diff --git a/Gemfile b/Gemfile index ffb5837..9b3c260 100644 --- a/Gemfile +++ b/Gemfile @@ -17,15 +17,7 @@ group :development do # bad, pin to a specific version number here. Try to keep this relatively # up-to-date, but it's not the end of the world if it's not. gem "rubocop", "0.50.0" - - # Rack 2.0+ requires Ruby >= 2.2.2 which is problematic for the test suite on - # older Ruby versions. Check Ruby the version here and put a maximum - # constraint on Rack if necessary. - if RUBY_VERSION >= "2.2.2" - gem "rack", ">= 2.0.8" - else - gem "rack", ">= 1.5", "< 2.0" # rubocop:disable Bundler/DuplicatedGem - end + gem "rack", ">= 2.0.8" platforms :mri do # to avoid problems, bring Byebug in on just versions of Ruby under which diff --git a/helio-ruby.gemspec b/helio-ruby.gemspec index aa99588..7afaf34 100644 --- a/helio-ruby.gemspec +++ b/helio-ruby.gemspec @@ -5,7 +5,7 @@ require 'helio/version' Gem::Specification.new do |s| s.name = 'helio-ruby' s.version = Helio::VERSION - s.required_ruby_version = '>= 2.0.0' + s.required_ruby_version = '>= 2.2.2' s.summary = 'Ruby bindings for the Helio API' s.description = 'Discover design insights with surveys and tests. See https://helio.app for details.' s.author = 'Helio'