[DRE-commits] [ruby-hamlit] 01/02: remove-git-in-gemspec

Cédric Boutillier boutil at moszumanska.debian.org
Mon Nov 27 13:04:48 UTC 2017


This is an automated email from the git hooks/post-receive script.

boutil pushed a commit to branch patch-queue/master
in repository ruby-hamlit.

commit 726483af32b8b507894e061c66bb924c8ae10d9e
Author: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
Date:   Mon Nov 27 13:44:19 2017 +0100

    remove-git-in-gemspec
    
    
    Gbp-Pq: Name 001-remove-git-in-gemspec.patch
---
 hamlit.gemspec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hamlit.gemspec b/hamlit.gemspec
index 9d42bbc..a45ff3f 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.extensions    = ['ext/hamlit/extconf.rb']
   spec.require_paths = ['lib']
   spec.required_ruby_version = '>= 2.1.0'

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-hamlit.git



More information about the Pkg-ruby-extras-commits mailing list