[DRE-commits] [ruby-crack] 01/01: modification on patch,bin/*
Abhijith PA
abhijithpa-guest at moszumanska.debian.org
Thu Nov 12 14:37:23 UTC 2015
This is an automated email from the git hooks/post-receive script.
abhijithpa-guest pushed a commit to branch master
in repository ruby-crack.
commit 5d6fe4e4ef70edc787f6d630e78badb5d9288c0c
Author: Abhijith PA <abhijith at openmailbox.org>
Date: Thu Nov 12 20:05:30 2015 +0530
modification on patch,bin/*
---
debian/patches/don't_relly_on_git.patch | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/patches/don't_relly_on_git.patch b/debian/patches/don't_relly_on_git.patch
index e1a3eca..63f1f3e 100644
--- a/debian/patches/don't_relly_on_git.patch
+++ b/debian/patches/don't_relly_on_git.patch
@@ -11,7 +11,7 @@ Date: 29/10/2015
- gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
- gem.files = `git ls-files`.split("\n")
- gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
-+ gem.executables = gem.files.select { |f| f =~ /^bin\// }
++ gem.executables = Dir.glob('bin/*')
+ gem.files = Dir.glob('**/*').reject { |s| File.directory?(s) || s =~ /^debian/ }
+ gem.test_files = gem.files.select { |f| f =~ /^test\// }
gem.name = "crack"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-crack.git
More information about the Pkg-ruby-extras-commits
mailing list