Don't package test files with gem [ci skip]

This commit is contained in:
Erik Michaels-Ober 2014-10-09 02:16:40 +02:00
parent be8a895c73
commit 8de6ba138a
2 changed files with 1 additions and 2 deletions

View file

View file

@ -10,7 +10,6 @@ Gem::Specification.new do |spec|
spec.homepage = 'https://github.com/laserlemon/simple_oauth'
spec.licenses = %w(MIT)
spec.files = `git ls-files`.split($OUTPUT_RECORD_SEPARATOR)
spec.test_files = spec.files.grep(/^test\//)
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.start_with?('test/') }
spec.require_paths = %w(lib)
end