summaryrefslogtreecommitdiff
path: root/chef.gemspec
diff options
context:
space:
mode:
Diffstat (limited to 'chef.gemspec')
-rw-r--r--chef.gemspec40
1 files changed, 40 insertions, 0 deletions
diff --git a/chef.gemspec b/chef.gemspec
new file mode 100644
index 0000000000..c807a85bf2
--- /dev/null
+++ b/chef.gemspec
@@ -0,0 +1,40 @@
+$:.unshift(File.dirname(__FILE__) + '/lib')
+require 'chef/version'
+
+Gem::Specification.new do |s|
+ s.name = 'chef'
+ s.version = Chef::VERSION
+ s.platform = Gem::Platform::RUBY
+ s.has_rdoc = true
+ s.extra_rdoc_files = ["README.rdoc", "LICENSE" ]
+ s.summary = "A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure."
+ s.description = s.summary
+ s.author = "Adam Jacob"
+ 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 "rest-client", ">= 1.0.4", "< 1.7.0"
+ s.add_dependency "json", ">= 1.4.4", "<= 1.6.1"
+ s.add_dependency "yajl-ruby", "~> 1.1"
+ s.add_dependency "net-ssh", "~> 2.2.2"
+ 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"
+ %w{erubis moneta uuidtools}.each { |gem| s.add_dependency gem }
+
+ # development_dependency thin: eventmachine 0.12.10 doesn't support Ruby 1.9 on Windows
+ %w(rdoc sdoc ronn rake rack rspec_junit_formatter).each { |gem| s.add_development_dependency gem }
+ %w(rspec-core rspec-expectations rspec-mocks).each { |gem| s.add_development_dependency gem, "~> 2.8.0" }
+
+ s.bindir = "bin"
+ s.executables = %w( chef-client chef-solo knife chef-shell shef )
+ s.require_path = 'lib'
+ s.files = %w(Rakefile LICENSE README.rdoc) + Dir.glob("{distro,lib,tasks,spec}/**/*")
+end