[DRE-commits] [ruby-rest-client] 03/03: no-git-in-gemspec

Lucas Nussbaum lucas at moszumanska.debian.org
Tue Oct 31 10:25:53 UTC 2017


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

lucas pushed a commit to branch patch-queue/master
in repository ruby-rest-client.

commit fb09c04115d878ce2713dfc5b81b4336df6e61df
Author: Lucas Nussbaum <lucas at debian.org>
Date:   Sat Jul 8 20:39:34 2017 +0200

    no-git-in-gemspec
    
    Replace calls to 'git' in gemspec by explicit lists of files
    Gbp-Pq: Name no-git-in-gemspec.patch
---
 rest-client.gemspec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rest-client.gemspec b/rest-client.gemspec
index e780a12..2f8f32e 100644
--- a/rest-client.gemspec
+++ b/rest-client.gemspec
@@ -11,8 +11,8 @@ Gem::Specification.new do |s|
   s.email = 'rest.client at librelist.com'
   s.executables = ['restclient']
   s.extra_rdoc_files = ['README.md', 'history.md']
-  s.files = `git ls-files -z`.split("\0")
-  s.test_files = `git ls-files -z spec/`.split("\0")
+  s.files = Dir.glob('bin/**') + Dir.glob('lib/**')
+  s.test_files = Dir.glob('spec/**')
   s.homepage = 'https://github.com/rest-client/rest-client'
   s.summary = 'Simple HTTP and REST client for Ruby, inspired by microframework syntax for specifying actions.'
 

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



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