summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan McLellan <btm@opscode.com>2013-02-12 12:16:13 -0800
committerBryan McLellan <btm@opscode.com>2013-02-12 12:18:46 -0800
commit403353d5eb3a01692a3228eb1a73778e42cf540c (patch)
tree58ed3dee0b6029a447ce36f112c944e96d99f6c3
parent453e99906edb6a737768b69bc74262b37e266bd6 (diff)
downloadchef-403353d5eb3a01692a3228eb1a73778e42cf540c.tar.gz
CHEF-3863: Return to not trusting the JSON gem at all
Within days of relaxing to a pessmistic constraint on patch release there was a patch release with breaking changes. We'll have to go back to testing the latest version by hand again.
-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"