From d6745b5cd61dec34a9a364f3cfb56acc6077d7f9 Mon Sep 17 00:00:00 2001 From: Scott Hain Date: Thu, 1 Feb 2018 11:16:18 -0800 Subject: [PATCH] Update filespec to be more selective in its inclusivity Signed-off-by: Scott Hain --- mixlib-install.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mixlib-install.gemspec b/mixlib-install.gemspec index e2d8b22a..d5098ebd 100644 --- a/mixlib-install.gemspec +++ b/mixlib-install.gemspec @@ -13,7 +13,7 @@ Gem::Specification.new do |spec| spec.summary = "A library for interacting with Chef Software Inc's software distribution systems." spec.homepage = "https://chef.io" - spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } + spec.files = %w{LICENSE PRODUCT_MATRIX.md README.md Gemfile Rakefile} + Dir.glob("*.gemspec") + Dir.glob("{bin,lib,support}/**/*") spec.executables = ["mixlib-install"] spec.require_paths = ["lib"]