summaryrefslogtreecommitdiff
path: root/chef.gemspec
diff options
context:
space:
mode:
Diffstat (limited to 'chef.gemspec')
-rw-r--r--chef.gemspec4
1 files changed, 3 insertions, 1 deletions
diff --git a/chef.gemspec b/chef.gemspec
index 4aaabf5373..70b6141812 100644
--- a/chef.gemspec
+++ b/chef.gemspec
@@ -20,7 +20,9 @@ Gem::Specification.new do |s|
s.add_dependency "ohai", ">= 0.6.0"
s.add_dependency "rest-client", ">= 1.0.4", "< 1.7.0"
- s.add_dependency "json", ">= 1.4.4", "~> 1.7.6"
+
+ # The JSON gem reliably releases breaking changes as a patch release
+ s.add_dependency "json", ">= 1.4.4", "<= 1.7.7"
s.add_dependency "yajl-ruby", "~> 1.1"
s.add_dependency "net-ssh", "~> 2.6"
s.add_dependency "net-ssh-multi", "~> 1.1.0"