Constrain JSON to < 2.0 so we can test on ruby 1.9

This commit is contained in:
John Keiser 2016-07-20 08:40:16 -07:00 committed by Petr Korolev
parent c0c8bb5653
commit 4969108eca
2 changed files with 4 additions and 1 deletions

View File

@ -10,4 +10,6 @@ group :test do
gem "coveralls", "~>0.8", require: false gem "coveralls", "~>0.8", require: false
gem "simplecov", "~>0.10", require: false gem "simplecov", "~>0.10", require: false
gem "codeclimate-test-reporter", "~>0.4" gem "codeclimate-test-reporter", "~>0.4"
# JSON 2.0.1 is ruby 2.0+
gem "json", "< 2.0"
end end

View File

@ -37,7 +37,7 @@ GEM
oauth2 (~> 1.0.0) oauth2 (~> 1.0.0)
hashie (3.4.4) hashie (3.4.4)
iniparse (1.4.2) iniparse (1.4.2)
json (2.0.1) json (1.8.3)
jwt (1.5.4) jwt (1.5.4)
multi_json (1.12.1) multi_json (1.12.1)
multi_xml (0.5.5) multi_xml (0.5.5)
@ -97,6 +97,7 @@ DEPENDENCIES
codeclimate-test-reporter (~> 0.4) codeclimate-test-reporter (~> 0.4)
coveralls (~> 0.8) coveralls (~> 0.8)
github_changelog_generator! github_changelog_generator!
json (< 2.0)
overcommit overcommit
rake rake
rspec (>= 3.2) rspec (>= 3.2)