From dbbf7041de70413e7483b52932cc322907428e51 Mon Sep 17 00:00:00 2001 From: Dominik Richter Date: Sun, 1 Nov 2015 17:35:11 +0100 Subject: [PATCH] bugfix: ignore delivery when building the gem --- inspec.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']