From c0fd925052357953014ee3e3a5169c11f87f90c5 Mon Sep 17 00:00:00 2001 From: George Karaszi Date: Wed, 25 Jul 2018 11:21:45 -0400 Subject: [PATCH] reduce gem file garbage --- active_record_extended.gemspec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/active_record_extended.gemspec b/active_record_extended.gemspec index 81180f2..d68d5d6 100644 --- a/active_record_extended.gemspec +++ b/active_record_extended.gemspec @@ -16,9 +16,8 @@ Gem::Specification.new do |spec| spec.homepage = "https://github.com/georgekaraszi/ActiveRecordExtended" spec.license = "MIT" - spec.files = `git ls-files`.split("\n") + spec.files = Dir["README.md", "lib/**/*"] spec.test_files = `git ls-files -- spec/*`.split("\n") - spec.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) } spec.require_paths = ["lib"] spec.add_dependency "activerecord", ">= 5.0", "< 6.0"