From 261962ae56f0c4216d0be6b8c65037ec5c853a70 Mon Sep 17 00:00:00 2001 From: Grey Baker Date: Sat, 1 Dec 2018 10:37:46 +0000 Subject: [PATCH] Exclude tests (and fixtures) from bundled gem --- crack.gemspec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crack.gemspec b/crack.gemspec index 2225c16..5dc9604 100644 --- a/crack.gemspec +++ b/crack.gemspec @@ -9,8 +9,7 @@ Gem::Specification.new do |gem| gem.homepage = "http://github.com/jnunemaker/crack" gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } - gem.files = `git ls-files`.split("\n") - gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") + gem.files = `git ls-files -- lib/*`.split("\n") gem.name = "crack" gem.require_paths = ["lib"] gem.version = Crack::VERSION