Don't ship the readme in the gem

We're just deleting this from chef and workstation anyways. It's buried deep in the install directory and doesn't do anyone any good.

Signed-off-by: Tim Smith <tsmith@chef.io>
This commit is contained in:
Tim Smith 2020-08-12 19:17:04 -07:00
parent f425a48f4c
commit cfcf21482b

View file

@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
# the gemfile and gemspec are necessary for appbundler so don't remove it
spec.files =
Dir.glob("{{lib,etc}/**/*,README.md,LICENSE,Gemfile,inspec-core.gemspec}")
Dir.glob("{{lib,etc}/**/*,LICENSE,Gemfile,inspec-core.gemspec}")
.grep_v(%r{(?<!inspec-init/templates/profiles/)(aws|azure|gcp)})
.grep_v(%r{lib/plugins/.*/test/})
.reject { |f| File.directory?(f) }