1
0
Fork 0
mirror of https://github.com/fog/fog-aws.git synced 2022-11-09 13:50:52 -05:00

Exclude test files from gem

This commit is contained in:
Keita Urashima 2021-11-18 19:26:51 +09:00
parent 82e14de7c6
commit 1eec8b5acd
No known key found for this signature in database
GPG key ID: 6A6A5D90F612A885

View file

@ -14,11 +14,10 @@ Gem::Specification.new do |spec|
spec.homepage = "https://github.com/fog/fog-aws" spec.homepage = "https://github.com/fog/fog-aws"
spec.license = "MIT" spec.license = "MIT"
spec.files = Dir['lib/**/*.rb', 'lib/**/*.json', 'tests/**/*', spec.files = Dir['lib/**/*.{rb,json}',
'CHANGELOG.md', 'CONTRIBUTING.md', 'CONTRIBUTORS.md', 'CHANGELOG.md', 'CONTRIBUTING.md', 'CONTRIBUTORS.md',
'LICENSE.md', 'README.md', 'fog-aws.gemspec',] 'LICENSE.md', 'README.md', 'fog-aws.gemspec',]
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"] spec.require_paths = ["lib"]
spec.required_ruby_version = '>= 2.0.0' spec.required_ruby_version = '>= 2.0.0'