I prefer fewer lines

This commit is contained in:
Akira Matsuda 2016-10-13 06:29:57 +09:00
parent 562d3408e0
commit 7112fd34c0
1 changed files with 1 additions and 3 deletions

View File

@ -15,9 +15,7 @@ Gem::Specification.new do |spec|
spec.homepage = 'https://github.com/amatsuda/kaminari'
spec.license = "MIT"
spec.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/})
end
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]