diff --git a/uber-sdk.gemspec b/uber-sdk.gemspec index 87ad9dc..e166bb5 100644 --- a/uber-sdk.gemspec +++ b/uber-sdk.gemspec @@ -14,11 +14,8 @@ Gem::Specification.new do |spec| spec.homepage = "https://github.com/chrisenytc/uber-sdk" spec.license = "MIT" - spec.files = %w(LICENSE.txt README.md Rakefile uber-sdk.gemspec) - spec.files += Dir.glob("lib/**/*.rb") - spec.files += Dir.glob("test/**/*") spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } - spec.test_files = Dir.glob("test/**/*") + spec.files = `git ls-files -z`.split("\x0").reject { |f| f.start_with?(".") || f =~ %r(^(spec|bin)/) } spec.require_paths = ["lib"] spec.required_rubygems_version = ">= 1.3.5"