From c257a79aff124c74499ee01f4177cd6b8d5cf5fc Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Mon, 3 Dec 2018 16:13:40 -0800 Subject: Slim the files we ship in the gem Only ship the license the the lib dir in the artifact. Signed-off-by: Tim Smith --- wmi-lite.gemspec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/wmi-lite.gemspec b/wmi-lite.gemspec index 7c473c7..294e049 100644 --- a/wmi-lite.gemspec +++ b/wmi-lite.gemspec @@ -18,9 +18,7 @@ Gem::Specification.new do |spec| spec.homepage = 'https://github.com/chef/wmi-lite' spec.license = 'Apache-2.0' - spec.files = `git ls-files`.split($/) - spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } - spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) + spec.files = %w{LICENSE} + Dir.glob("lib/**/*") spec.require_paths = ['lib'] spec.add_development_dependency 'bundler', '~> 1.3' -- cgit v1.2.1