Pin gems to continue supporting older ruby versions

This commit is contained in:
Garrett Honeycutt 2016-08-08 20:27:59 -04:00
parent 51b988117b
commit 2fab526428

View File

@ -31,6 +31,9 @@ if RUBY_VERSION >= '1.8.7' and RUBY_VERSION < '1.9'
gem 'rake', '~> 10.0'
end
if RUBY_VERSION >= '1.8.7' and RUBY_VERSION < '2.0'
gem 'json', '~> 1.0'
if RUBY_VERSION < '2.0'
# json 2.x requires ruby 2.0. Lock to 1.8
gem 'json', '~> 1.8'
# json_pure 2.0.2 requires ruby 2.0. Lock to 2.0.1
gem 'json_pure', '= 2.0.1'
end