Package: ruby-jekyll-multiple-languages / 1.7.0+dfsg-1

Remove-git-from-gemspec.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Author: Daniel Leidert <dleidert@debian.org>
Subject: Remove git from gemspec.

--- a/jekyll-multiple-languages-plugin.gemspec
+++ b/jekyll-multiple-languages-plugin.gemspec
@@ -15,7 +15,7 @@
   s.email            = ["martin.kurtsson@daresay.co", "yonatan@shushugah.com"]
   s.homepage         = "https://github.com/kurtsson/jekyll-multiple-languages-plugin/"
 
-  all_files          = `git ls-files -z`.split("\x0")
+  all_files          = Dir["**/*"].reject { |f| f =~ /^debian/}
   s.files            = all_files.grep(%r{^lib/})
 #  s.executables      = all_files.grep(%r{^bin/}) { |f| File.basename(f) }
   s.require_paths    = ["lib"]