From 91f821909a8a2568df52f2670ce20f2dcec49eed Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Fri, 4 Oct 2013 13:16:37 -0700 Subject: use pessimistic version constraint - this is compatible with gem versions from 10.28.0 with minimal changes. - mixlib-shellout differs in windows-versus-unix due to version pinning in windows-pr picking up old mixlib-shellout on windows, this is not fix, and left similar to 10.28.0 - gem versions should be levelled up for 10.30.x and beyond - newly built 10.28.0 will pick up new mixlib-config 2.0 which is a delta from the downloadable omnibus builds, 10.28.2 will not pick up mixlib-config 2.0 --- chef/chef.gemspec | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/chef/chef.gemspec b/chef/chef.gemspec index 5684a3586e..83935b9aa3 100644 --- a/chef/chef.gemspec +++ b/chef/chef.gemspec @@ -12,12 +12,12 @@ Gem::Specification.new do |s| s.email = "adam@opscode.com" s.homepage = "http://wiki.opscode.com/display/chef" - s.add_dependency "mixlib-config", ">= 1.1.2" - s.add_dependency "mixlib-cli", ">= 1.1.0" - s.add_dependency "mixlib-log", ">= 1.3.0" - s.add_dependency "mixlib-authentication", ">= 1.3.0" - s.add_dependency "mixlib-shellout" - s.add_dependency "ohai", ">= 0.6.0" + s.add_dependency "mixlib-config", ">= 1.1.2", "~> 1.1" + s.add_dependency "mixlib-cli", "~> 1.1" + s.add_dependency "mixlib-log", "~> 1.3" + s.add_dependency "mixlib-authentication", "~> 1.3" + s.add_dependency "mixlib-shellout", "~> 1.1" + s.add_dependency "ohai", ">= 0.6.0", "< 7.0.0" s.add_dependency "rest-client", ">= 1.0.4", "< 1.7.0" s.add_dependency "bunny", ">= 0.6.0", "< 0.8.0" @@ -29,7 +29,7 @@ Gem::Specification.new do |s| s.add_dependency "net-ssh", "~> 2.6" s.add_dependency "net-ssh-multi", "~> 1.1.0" # CHEF-3027: The knife-cloud plugins require newer features from highline, core chef should not. - s.add_dependency "highline", ">= 1.6.9" + s.add_dependency "highline", ">= 1.6.9", "~> 1.6" s.add_dependency "moneta", "< 0.7.0" %w{erubis uuidtools}.each { |gem| s.add_dependency gem } -- cgit v1.2.1