1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
Description: don't use git in gemspecs
Author: Hans-Christoph Steiner <hans@eds.org>
Last-Update: 2025-03-19
Forwarded: not-needed
--- a/public_suffix.gemspec
+++ b/public_suffix.gemspec
@@ -23,9 +23,10 @@
}
s.files = Dir.chdir(__dir__) do
- `git ls-files -z`.split("\x0").reject do |f|
+ Dir.glob("**/*").reject do |f|
(File.expand_path(f) == __FILE__) ||
- f.start_with?(*%w[bin/ test/ .git .rubocop Gemfile Rakefile])
+ File.directory?(f) ||
+ f.start_with?(*%w[bin debian test .git .rubocop Gemfile Rakefile])
end
end
s.require_paths = ["lib"]
|