Don't include test_files in gemspec. #2671.

This commit is contained in:
Parker Moore 2014-07-31 20:22:38 -04:00
parent 579a18c93b
commit 413e22ce2b
1 changed files with 3 additions and 3 deletions

View File

@ -20,9 +20,9 @@ Gem::Specification.new do |s|
s.email = 'tom@mojombo.com'
s.homepage = 'https://github.com/jekyll/jekyll'
s.files = `git ls-files -z`.split("\x0").select{|p|p.start_with?("lib/")}
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
s.test_files = s.files.grep(%r{^(test|spec|features)/})
all_files = `git ls-files -z`.split("\x0")
s.files = all_files.grep(%r{^(bin|lib)/})
s.executables = all_files.grep(%r{^bin/}) { |f| File.basename(f) }
s.require_paths = ["lib"]
s.rdoc_options = ["--charset=UTF-8"]