From 3b03b24f666c9abae4719c7474b898a95199fe99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Benaiteau?= Date: Mon, 30 Dec 2019 16:48:09 +0100 Subject: [PATCH] Improve list of files --- babelish.gemspec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/babelish.gemspec b/babelish.gemspec index 661a91e..01e30f4 100644 --- a/babelish.gemspec +++ b/babelish.gemspec @@ -35,8 +35,7 @@ Gem::Specification.new do |s| s.add_development_dependency "simplecov" s.add_development_dependency "yard" - s.files = `git ls-files -- lib`.split("\n") - s.files += ['lib/babelish/keys.rb'] # keys.rb is ignored by git + s.files = Dir.glob("{bin,lib}/**/*") + %w(LICENSE.txt README.md) s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } s.require_path = 'lib'