summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2013-10-04 13:16:37 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2013-10-04 13:16:37 -0700
commit91f821909a8a2568df52f2670ce20f2dcec49eed (patch)
treeaae6cf36ebc0b6fb799d1efb0b54c231bad0d965
parent2e9a3097e1cb391e6fe0c366d049da612bf84d41 (diff)
downloadchef-91f821909a8a2568df52f2670ce20f2dcec49eed.tar.gz
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
-rw-r--r--chef/chef.gemspec14
1 files 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 }