1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
Description: Remove git from gemspec
Author: Vinay Keshave <vinaykeshava@disroot.org>
Forwarded: yes
Last-Update: 2022-11-01
--- a/cvss_suite.gemspec
+++ b/cvss_suite.gemspec
@@ -31,7 +31,7 @@ in version 4.0, 3.1, 3.0 and 2.'
}
spec.required_ruby_version = '>= 2.6.0'
- spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
+ spec.files = Dir['lib/**/*.rb']
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|