Skip to content

Commit

Permalink
Bump ruby version requirement.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan Humphreys committed Dec 19, 2019
1 parent f65a5d0 commit 51506ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
10 changes: 1 addition & 9 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion helio-ruby.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 51506ea

Please sign in to comment.