From 2e7116b7af54a8f3fb80b127e884c59e68aa1cee Mon Sep 17 00:00:00 2001 From: Igor Makarov Date: Sun, 30 Dec 2018 15:42:38 +0200 Subject: [PATCH] change gemspec file pattern to be opt-in --- xcake.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xcake.gemspec b/xcake.gemspec index cf670a5a..00150d40 100644 --- a/xcake.gemspec +++ b/xcake.gemspec @@ -14,7 +14,7 @@ Gem::Specification.new do |spec| # rubocop:disable Metrics/BlockLength spec.homepage = 'https://github.com/igor-makarov/xcake/' spec.license = 'MIT' - spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|example|docs|gemfiles)/}) } + spec.files = `git ls-files lib bin -z`.split("\x0") spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) spec.executables = %w(xcake) spec.require_paths = ['lib']