summaryrefslogtreecommitdiff
path: root/chef.gemspec
diff options
context:
space:
mode:
authorMarc A. Paradise <marc.paradise@gmail.com>2021-04-30 13:28:19 -0400
committerMarc A. Paradise <marc.paradise@gmail.com>2021-04-30 13:28:19 -0400
commitc9a750c9195dacac819de37f9e2526485fb577f5 (patch)
treea1ac59d640ce33692915d8584030c7455e6e7758 /chef.gemspec
parentd02f2968a79eaf7ef60363d02e24ad12515f0652 (diff)
downloadchef-c9a750c9195dacac819de37f9e2526485fb577f5.tar.gz
Remove knife exclusions from chef gem
These are no longer required because knife files will no longer be matched by the given pattern. Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
Diffstat (limited to 'chef.gemspec')
-rw-r--r--chef.gemspec4
1 files changed, 1 insertions, 3 deletions
diff --git a/chef.gemspec b/chef.gemspec
index b410ea6d44..21641258c5 100644
--- a/chef.gemspec
+++ b/chef.gemspec
@@ -69,9 +69,7 @@ Gem::Specification.new do |s|
s.require_paths = %w{ lib }
s.files = %w{Gemfile Rakefile LICENSE README.md} +
- Dir.glob("{lib,spec}/**/*", File::FNM_DOTMATCH).reject do |f|
- File.directory?(f) || File.path(f).match(/knife*/)
- end +
+ Dir.glob("{lib,spec}/**/*", File::FNM_DOTMATCH).reject { |f| File.directory?(f) } +
Dir.glob("*.gemspec") +
Dir.glob("tasks/rspec.rb")