Skip to content

Commit

Permalink
Install addressable 2.4.0 if ruby version is lower than 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
unasuke committed Jan 6, 2017
1 parent ac43c9e commit 767e016
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,14 @@ gemspec
gem 'rake'

group :test do
if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.0.0")
gem "addressable", "2.4.0"
end

if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.2.2")
gem "rack", "~> 1.6"
end

gem 'rspec', '~> 3.2'
gem 'rack-test'
gem 'simplecov'
Expand Down

0 comments on commit 767e016

Please sign in to comment.