From 9f498c389cb552b7cdb25e8745f3806e3250374d Mon Sep 17 00:00:00 2001 From: James Paterni Date: Wed, 16 May 2018 12:26:05 -0400 Subject: [PATCH] Loosened dependency on json gem. This allows developers to include ey-core in their development group of bundler while still using the json version their app relies on. --- Gemfile | 1 + ey-core.gemspec | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 36d399e..efdc537 100644 --- a/Gemfile +++ b/Gemfile @@ -4,6 +4,7 @@ source 'https://rubygems.org' gemspec gem "rack", "<= 2.0" +gem "json", "> 1.8.5", '< 2.2' group :doc do gem 'yard' diff --git a/ey-core.gemspec b/ey-core.gemspec index 4ae91c0..967364c 100644 --- a/ey-core.gemspec +++ b/ey-core.gemspec @@ -33,7 +33,7 @@ Gem::Specification.new do |gem| gem.add_dependency "rack" gem.add_dependency "faye" gem.add_dependency "highline" - gem.add_dependency "json", "< 2.0" + gem.add_dependency "json", "> 1.8.5", "<2.2.0" gem.add_dependency "mime-types" gem.add_dependency "oj" gem.add_dependency "oj_mimic_json"