diff options
author | Tim Smith <tsmith@chef.io> | 2018-10-24 06:58:58 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-24 06:58:58 -0700 |
commit | 0446d59befef66a44c66e01922d73bcd154bf14b (patch) | |
tree | 3a11d3346d9cb19c0e3fd863c4fa186ad66d8bcb | |
parent | c6f0eb055601ac50c9b1c24ba815329bccfc7605 (diff) | |
parent | 38785ebc6f0938f7bead3ef70e06506a2c1a5fe6 (diff) | |
download | chef-0446d59befef66a44c66e01922d73bcd154bf14b.tar.gz |
Merge pull request #7769 from chef/slim
Don't ship contributing.md and VERSION file in the gem
-rw-r--r-- | chef.gemspec | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chef.gemspec b/chef.gemspec index b9a80a0b4b..7a1d5dfc68 100644 --- a/chef.gemspec +++ b/chef.gemspec @@ -5,7 +5,7 @@ Gem::Specification.new do |s| s.name = "chef" s.version = Chef::VERSION s.platform = Gem::Platform::RUBY - s.extra_rdoc_files = ["README.md", "CONTRIBUTING.md", "LICENSE" ] + s.extra_rdoc_files = ["README.md", "LICENSE" ] s.summary = "A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure." s.description = s.summary s.license = "Apache-2.0" @@ -59,5 +59,5 @@ Gem::Specification.new do |s| s.executables = %w{ chef-client chef-solo knife chef-shell chef-apply chef-resource-inspector } s.require_paths = %w{ lib } - s.files = %w{Gemfile Rakefile LICENSE README.md VERSION} + Dir.glob("{lib,lib-backcompat,tasks,spec}/**/*", File::FNM_DOTMATCH).reject { |f| File.directory?(f) } + Dir.glob("*.gemspec") + s.files = %w{Gemfile Rakefile LICENSE README.md} + Dir.glob("{lib,tasks,spec}/**/*", File::FNM_DOTMATCH).reject { |f| File.directory?(f) } + Dir.glob("*.gemspec") end |