From 164ff673322889098e52df01f6d490f9e44570cf Mon Sep 17 00:00:00 2001 From: Lee Jarvis Date: Fri, 29 Apr 2011 16:07:57 +0100 Subject: [PATCH] use git ls-files instead of globbing ourselves --- Rakefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Rakefile b/Rakefile index 22f8e6e1..8a1ecb3f 100644 --- a/Rakefile +++ b/Rakefile @@ -26,8 +26,7 @@ def apply_spec_defaults(s) s.homepage = "http://banisterfiend.wordpress.com" s.has_rdoc = 'yard' s.executables = ["pry"] - s.files = Dir["ext/**/extconf.rb", "ext/**/*.h", "ext/**/*.c", "lib/**/*", "examples/**/*.rb", - "test/*.rb", "test/testrc", "CHANGELOG", "LICENSE", "README.markdown", "Rakefile", ".gemtest"] + s.files = `git ls-files`.split("\n") end task :test do