Skip to content

Commit

Permalink
Remove references to jruby 1.7
Browse files Browse the repository at this point in the history
This commit removes references to jruby 1.7 and ruby 2.0 in Gemfile. Without this change there are references to unused ruby versions.
  • Loading branch information
mattkirby authored and mattkirby committed Jan 11, 2018
1 parent 82f1417 commit 28922df
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
source ENV['GEM_SOURCE'] || 'https://rubygems.org'

if RUBY_VERSION =~ /^1\.9\./
gem 'json', '~> 1.8'
else
gem 'json', '>= 1.8'
end

gem 'json', '>= 1.8'
gem 'puma', '>= 3.6.0'
# Rack 2.x requires ruby 2.2 or above.
# As VMPooler should work in older jruby, we need to be Ruby 1.9.3 compatible.
Expand All @@ -23,13 +18,7 @@ gem 'connection_pool', '>= 2.2.1'
# ----
# nokogiri
# redis
if RUBY_VERSION =~ /^1\.9\./
gem 'nokogiri', '~> 1.6.0'
gem 'redis', '~> 3.0'
elsif RUBY_VERSION =~ /^2\.[0]/
gem 'nokogiri', '~> 1.6.0'
gem 'redis', '~> 3.0'
elsif RUBY_VERSION =~ /^2\.[1]/
if RUBY_VERSION =~ /^2\.[1]/
gem 'nokogiri', '~> 1.7.0'
gem 'redis', '~> 3.0'
elsif RUBY_VERSION =~ /^2\.2\.[01]/
Expand Down

0 comments on commit 28922df

Please sign in to comment.