diff --git a/inspec.gemspec b/inspec.gemspec index 710a01658..51ca20dd5 100644 --- a/inspec.gemspec +++ b/inspec.gemspec @@ -13,7 +13,7 @@ Gem::Specification.new do |spec| spec.homepage = 'https://github.com/...' spec.license = 'Proprietary' - spec.files = `hash git 2>/dev/null && git ls-files -z`.split("\x0") + spec.files = `hash git 2>/dev/null && git ls-files -z`.split("\x0").find_all { |x| x !~ /^\.delivery/ } spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) spec.require_paths = ['lib']