Merge pull request #400 from teeparham/test-files

Package fewer files in the gem
This commit is contained in:
Nat Welch 2016-04-18 09:39:05 -04:00
commit b0f82a3ba6
1 changed files with 4 additions and 2 deletions

View File

@ -12,9 +12,11 @@ Gem::Specification.new do |spec|
spec.homepage = 'https://github.com/google/google-api-ruby-client'
spec.license = 'Apache 2.0'
spec.files = `git ls-files -z`.split("\x0")
spec.files = `git ls-files -z`
.split("\x0")
.reject { |f| f.match(%r{^(spec|script)/|^api_names_out}) }
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ['lib', 'generated', 'third_party']
spec.required_ruby_version = '~> 2.0'