Package: ruby-rspec-rails / 4.0.1-2

remove_git_in_gemspec.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Debian Ruby Extras Maintainers
 <pkg-ruby-extras-maintainers@lists.alioth.debian.org>
Date: Fri, 7 Feb 2020 18:19:24 +0100
Subject: remove_git_in_gemspec

Debian package source tree is not a git repo.
---
 rspec-rails.gemspec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rspec-rails.gemspec b/rspec-rails.gemspec
index 5d94fe7..7393021 100644
--- a/rspec-rails.gemspec
+++ b/rspec-rails.gemspec
@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
     'source_code_uri'   => 'https://github.com/rspec/rspec-rails',
   }
 
-  s.files            = `git ls-files -- lib/*`.split("\n")
+  s.files            = Dir.glob("lib/**/*")
   s.files           += %w[README.md LICENSE.md Changelog.md Capybara.md .yardopts .document]
   s.test_files       = []
   s.rdoc_options     = ["--charset=UTF-8"]