bugfix: ignore delivery when building the gem

This commit is contained in:
Dominik Richter 2015-11-01 17:35:11 +01:00
parent ca214bfb34
commit dbbf7041de

View file

@ -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']