1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
From: =?utf-8?q?C=C3=A9dric_Boutillier?= <boutil@debian.org>
Date: Tue, 25 Feb 2020 23:35:13 +0100
Subject: remove git usage in gemspec
---
yard.gemspec | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/yard.gemspec b/yard.gemspec
index 312a6cb..51a8777 100644
--- a/yard.gemspec
+++ b/yard.gemspec
@@ -16,7 +16,8 @@ Gem::Specification.new do |s|
s.email = "lsegal@soen.ca"
s.homepage = "http://yardoc.org"
s.platform = Gem::Platform::RUBY
- s.files = `git ls-files`.strip.split(/\s+/)
+ s.files = Dir.glob("{docs,bin,lib,spec,templates,benchmarks}/**/*") +
+ ['CHANGELOG.md', 'LICENSE', 'LEGAL', 'README.md', 'Rakefile', '.yardopts', __FILE__]
s.require_paths = ['lib']
s.executables = ['yard', 'yardoc', 'yri']
s.license = 'MIT' if s.respond_to?(:license=)
|