Codebase list ruby-gitlab / 42b2e2a
Refresh drop-git-ls-files.patch Cédric Boutillier 4 years ago
1 changed file(s) with 9 addition(s) and 9 deletion(s). Raw diff Collapse all Expand all
00 Description: Drop git ls-files in .gemspec
11 Replace the git ls-files with Dir.glob as build is not in git directory
22 Author: Sophie Brun <sophie@freexian.com>
3 Last-Update: 2017-09-07
3 Last-Update: 2018-08-20
44 ---
55 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
66 --- a/gitlab.gemspec
77 +++ b/gitlab.gemspec
8 @@ -12,7 +12,7 @@ Gem::Specification.new do |gem|
9 gem.summary = %q{A Ruby wrapper and CLI for the GitLab API}
10 gem.homepage = "https://github.com/narkoz/gitlab"
8 @@ -11,7 +11,7 @@
9 gem.summary = 'A Ruby wrapper and CLI for the GitLab API'
10 gem.homepage = 'https://github.com/narkoz/gitlab'
1111
12 - gem.files = `git ls-files`.split($/)
13 + gem.files = Dir.glob('**/*')
14 gem.bindir = "exe"
15 gem.executables = gem.files.grep(%r{^exe/}) { |f| File.basename(f) }
16 gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
12 - gem.files = `git ls-files`.split($/).
13 + gem.files = Dir.glob('**/*').
14 reject { |f| f[/^spec/] } -
15 %w[Dockerfile docker-compose.yml docker.env .travis.yml .rubocop.yml .dockerignore]
16 gem.bindir = 'exe'