gemfile: pin json_pure to 2.0.1 or lower on ruby 1.x

json_pure 2.0.2 requires ruby 2.0 or higher
This commit is contained in:
Matthew Haughton 2016-07-29 08:48:16 -04:00 committed by GitHub
parent 63f26298f1
commit ea4e2cdd17

View file

@ -14,6 +14,8 @@ group :system_tests do
gem 'beaker', :require => false gem 'beaker', :require => false
end end
gem 'json_pure', '<=2.0.1', :require => false if RUBY_VERSION =~ /^1\./
if puppetversion = ENV['PUPPET_GEM_VERSION'] if puppetversion = ENV['PUPPET_GEM_VERSION']
gem 'puppet', puppetversion, :require => false gem 'puppet', puppetversion, :require => false
else else