mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-27 02:18:41 -05:00
Remove references to jruby 1.7
This commit removes references to jruby 1.7 and ruby 2.0 in Gemfile. Without this change there are references to unused ruby versions.
This commit is contained in:
parent
dce4f133c1
commit
4aeb06ae84
1 changed files with 2 additions and 13 deletions
13
Gemfile
13
Gemfile
|
|
@ -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 '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.
|
||||
|
|
@ -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]/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue