summaryrefslogtreecommitdiff
path: root/chef.gemspec
diff options
context:
space:
mode:
authorThom May <thom@chef.io>2016-07-05 15:22:32 +0100
committerThom May <thom@chef.io>2016-07-07 15:23:41 +0100
commitc54428b1928815b752de079cfe7df55a52b09775 (patch)
tree70dcf0b968f4c38b9845cc9409c00c310ba20f49 /chef.gemspec
parent8d88150bb10c40d725d8f0b297fc63763a95db07 (diff)
downloadchef-c54428b1928815b752de079cfe7df55a52b09775.tar.gz
Use Mixlib::Archive to extract tarballs
this allows us to be truely cross platform, and also to ignore unsafe paths and permissions. Signed-off-by: Thom May <thom@chef.io>
Diffstat (limited to 'chef.gemspec')
-rw-r--r--chef.gemspec3
1 files changed, 2 insertions, 1 deletions
diff --git a/chef.gemspec b/chef.gemspec
index b88c899d5c..b65332bb91 100644
--- a/chef.gemspec
+++ b/chef.gemspec
@@ -21,6 +21,7 @@ Gem::Specification.new do |s|
s.add_dependency "mixlib-log", "~> 1.3"
s.add_dependency "mixlib-authentication", "~> 1.4"
s.add_dependency "mixlib-shellout", "~> 2.0"
+ s.add_dependency "mixlib-archive", ">= 0.2.0"
s.add_dependency "ohai", ">= 8.6.0.alpha.1", "< 9"
s.add_dependency "ffi-yajl", "~> 2.2"
@@ -37,7 +38,7 @@ Gem::Specification.new do |s|
s.add_dependency "iniparse", "~> 1.4"
# Audit mode requires these, so they are non-developmental dependencies now
- %w{rspec-core rspec-expectations rspec-mocks}.each { |gem| s.add_dependency gem, "~> 3.4" }
+ %w{rspec-core rspec-expectations rspec-mocks}.each { |gem| s.add_dependency gem, "~> 3.4.0" }
s.add_dependency "rspec_junit_formatter", "~> 0.2.0"
s.add_dependency "serverspec", "~> 2.7"
s.add_dependency "specinfra", "~> 2.10"