From: Pirate Praveen Date: Tue, 7 Jan 2020 18:48:41 +0000 (+0000) Subject: Remove usage of git from gemspec X-Git-Tag: archive/raspbian/2.15.1-2+rpi1~1^2^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3b9eb77bd3a908ad3bc0f066f44b60b6c96bd08a;p=ruby-hamlit.git Remove usage of git from gemspec Author: Pirate Praveen Gbp-Pq: Name 001-remove-git-in-gemspec.patch --- diff --git a/hamlit.gemspec b/hamlit.gemspec index b58c5ce..597e8dc 100644 --- a/hamlit.gemspec +++ b/hamlit.gemspec @@ -14,9 +14,9 @@ Gem::Specification.new do |spec| spec.homepage = 'https://github.com/k0kubun/hamlit' spec.license = 'MIT' - spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|sample)/}) } + spec.files = Dir['lib/**/*']+Dir['ext/**/*']+Dir['sample/**/*']+['REFERENCE.md'] spec.bindir = 'exe' - spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } + spec.executables = 'hamlit' spec.require_paths = ['lib'] if /java/ === RUBY_PLATFORM