summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2021-04-28 13:59:20 -0700
committerTim Smith <tsmith84@gmail.com>2021-04-28 13:59:20 -0700
commit2964650e3f04348ebbe89a3ea77591c263bbe20b (patch)
tree1ab08b4d7954e563add3813832570fbfb407ed88
parent6955a9c923aeb6f4392a0f39562ef1a0fb48d9f1 (diff)
downloadchef-2964650e3f04348ebbe89a3ea77591c263bbe20b.tar.gz
Remove the specs from knife for now
The way we shipped these blew up Ruby installs Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--knife/knife.gemspec8
1 files changed, 1 insertions, 7 deletions
diff --git a/knife/knife.gemspec b/knife/knife.gemspec
index f43cd0bfb1..e186605403 100644
--- a/knife/knife.gemspec
+++ b/knife/knife.gemspec
@@ -46,13 +46,7 @@ Gem::Specification.new do |s|
s.require_paths = %w{ lib }
s.files = %w{Gemfile Rakefile LICENSE knife.gemspec} +
- Dir.glob("lib/**/*", File::FNM_DOTMATCH).reject { |f| File.directory?(f) } +
- Dir.glob("../spec/**/*", File::FNM_DOTMATCH).reject do |f|
- File.directory?(f) || (
- !File.path(f).match(/knife*/) &&
- !File.path(f).match(/spec.data*/)
- )
- end
+ Dir.glob("lib/**/*", File::FNM_DOTMATCH).reject { |f| File.directory?(f) }
s.metadata = {
"bug_tracker_uri" => "https://github.com/chef/chef/issues",