From 885e74c7305a0d81cca6747b97713f6c39d9d736 Mon Sep 17 00:00:00 2001 From: Caleb Crane Date: Wed, 26 Sep 2012 21:55:45 +0900 Subject: [PATCH] refs: #185 gemspec requires multi_json >= 1.3.2 MultiJson.dump was introduced in version 1.3.2. An alternative approach would be to use MultiJson.encode if MultiJson.dump is not available. --- grape.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grape.gemspec b/grape.gemspec index e5ea244feb..4e32366dae 100644 --- a/grape.gemspec +++ b/grape.gemspec @@ -17,7 +17,7 @@ Gem::Specification.new do |s| s.add_runtime_dependency 'rack' s.add_runtime_dependency 'rack-mount' # s.add_runtime_dependency 'rack-jsonp' - s.add_runtime_dependency 'multi_json' + s.add_runtime_dependency 'multi_json', '>= 1.3.2' s.add_runtime_dependency 'multi_xml' s.add_runtime_dependency 'hashie', '~> 1.2' s.add_runtime_dependency 'virtus'