From 576cac92a848c7b3e4b712feb6429684ec3c16d2 Mon Sep 17 00:00:00 2001 From: Vincent Giersch Date: Fri, 8 Mar 2024 10:34:28 +0100 Subject: [PATCH] fix(gemspec): only include lib/ to files list --- flat_api.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flat_api.gemspec b/flat_api.gemspec index 821ac54..51cafcb 100644 --- a/flat_api.gemspec +++ b/flat_api.gemspec @@ -35,7 +35,7 @@ Gem::Specification.new do |s| s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0' - s.files = `find *`.split("\n").uniq.sort.select { |f| !f.empty? } + s.files = Dir.glob("lib/**/*").sort.select { |f| !f.empty? } s.test_files = `find spec/*`.split("\n") s.executables = [] s.require_paths = ["lib"]