Fix our inspec.gemspec for appbundler.

Signed-off-by: Ryan Davis <zenspider@chef.io>
This commit is contained in:
Ryan Davis 2020-02-10 15:58:49 -08:00
parent e8b6ff219f
commit 77acd330e5

View file

@ -18,8 +18,8 @@ Gem::Specification.new do |spec|
# ONLY the aws/azure/gcp files. The rest will come in from inspec-core
# the gemspec is necessary for appbundler so don't remove it
spec.files =
Dir.glob("{{lib,etc}/**/*,inspec.gemspec}")
.grep(/aws|azure|gcp|gemspec/)
Dir.glob("{{lib,etc}/**/*,Gemfile,inspec.gemspec}")
.grep(/aws|azure|gcp|gemspec|Gemfile|inspec.gemspec/)
.reject { |f| File.directory?(f) }
spec.add_dependency "inspec-core", "= #{Inspec::VERSION}"