1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
Description: Do not use git in gemspec
Author: Cédric Boutillier <boutil@debian.org>
Last-Update: 2021-11-22
Forwarded: no
--- a/ethon.gemspec
+++ b/ethon.gemspec
@@ -20,11 +20,7 @@ Gem::Specification.new do |s|
s.add_dependency('ffi', ['>= 1.15.0'])
s.add_dependency('logger')
- s.files = Dir.chdir(__dir__) do
- `git ls-files -z`.split("\x0").reject do |file|
- file.start_with?(*%w[. Gemfile Guardfile Rakefile profile spec])
- end
- end
+ s.files = Dir.glob("**/*")
s.require_path = 'lib'
s.metadata = {
|