Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

slim down gemspec file list (using 'git ls-files')

like Bundler does it
  • Loading branch information...
commit afdd5ea9d0fe0c45d33eaaa02352f7d2b3f23eb9 1 parent 1024728
@ahx authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 hunspell-ffi.gemspec
View
6 hunspell-ffi.gemspec
@@ -7,9 +7,11 @@ Gem::Specification.new do |s|
s.email = ["andreashaller@gmail.com"]
s.homepage = "http://github.com/ahaller/hunspell-ffi"
s.summary = "A Ruby FFI interface to the Hunspell spelling checker"
+
s.add_dependency 'ffi', '~> 0.6.3'
s.required_rubygems_version = ">= 1.3.6"
- s.files = Dir['test/cakes*'] + Dir['test/*.rb'] + Dir['lib/**/*.rb'] + %w(Rakefile README.rdoc)
- s.test_files = Dir['test/test_*.rb']
+
+ s.files = `git ls-files`.split("\n")
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.require_path = 'lib'
end
Please sign in to comment.
Something went wrong with that request. Please try again.