summaryrefslogtreecommitdiff
path: root/chef.gemspec
diff options
context:
space:
mode:
authorSeth Chisamore <schisamo@getchef.com>2014-07-15 15:16:44 -0400
committerSeth Chisamore <schisamo@getchef.com>2014-07-15 15:59:58 -0400
commit334678b264fa99610d7b7fe0fe8b1ae3a74a1644 (patch)
tree5aae6a7156db707e70f1d6c7c113ed8b6ae010f4 /chef.gemspec
parent749012769af660221d7190bc25960971a98d1930 (diff)
downloadchef-334678b264fa99610d7b7fe0fe8b1ae3a74a1644.tar.gz
Lock down rest-client to <= 1.6.7
The 1.6.8 release of rest-client introduced rdoc as a new runtime dependency. rdoc has ships with fixture data which contains spaces in the filenames which in turn breaks Omnibus builds on Solaris. Full details can be found on the original issue: https://github.com/opscode/chef/pull/1211
Diffstat (limited to 'chef.gemspec')
-rw-r--r--chef.gemspec5
1 files changed, 4 insertions, 1 deletions
diff --git a/chef.gemspec b/chef.gemspec
index 15d51ec4ac..09a06f7b36 100644
--- a/chef.gemspec
+++ b/chef.gemspec
@@ -19,7 +19,10 @@ Gem::Specification.new do |s|
s.add_dependency "mixlib-shellout", "~> 1.4"
s.add_dependency "ohai", "= 7.2.0.rc.1"
- s.add_dependency "rest-client", ">= 1.0.4", "< 1.7.0"
+ # Lock down rest-client to avoid pulling in rdoc and breaking Omnibus builds
+ # on Solaris. See the original issue for more details:
+ # https://github.com/opscode/chef/issues/1211
+ s.add_dependency "rest-client", ">= 1.0.4", "<= 1.6.7"
# rest-client has an unbounded dependency on mime-types.
# mime-types 2.0 removes support for ruby 1.8.7 (gemspec requires ruby
# 1.9.2+), so we have to add an additional pin. 1.16 is chosen just becuase