Codebase list ruby-gitlab / acc1a81
Refresh patches Utkarsh Gupta 4 years ago
2 changed file(s) with 9 addition(s) and 9 deletion(s). Raw diff Collapse all Expand all
55 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
66 --- a/gitlab.gemspec
77 +++ b/gitlab.gemspec
8 @@ -11,7 +11,7 @@
8 @@ -13,7 +13,7 @@ Gem::Specification.new do |gem|
99 gem.summary = 'A Ruby wrapper and CLI for the GitLab API'
1010 gem.homepage = 'https://github.com/narkoz/gitlab'
1111
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'
12 - gem.files = `git ls-files`.split($/)
13 + gem.files = Dir.glob('**/*')
14 .grep_v(/^spec/) -
15 %w[Dockerfile docker-compose.yml docker.env .travis.yml
16 .rubocop.yml .dockerignore]
44 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
55 --- a/spec/spec_helper.rb
66 +++ b/spec/spec_helper.rb
7 @@ -1,8 +1,9 @@
7 @@ -3,8 +3,9 @@
88 require 'rspec'
99 require 'webmock/rspec'
1010
11 -require File.expand_path('../../lib/gitlab', __FILE__)
12 -require File.expand_path('../../lib/gitlab/cli', __FILE__)
11 -require File.expand_path('../lib/gitlab', __dir__)
12 -require File.expand_path('../lib/gitlab/cli', __dir__)
1313 +$:.unshift File.expand_path('../../lib', __FILE__)
1414 +require 'gitlab'
1515 +require 'gitlab/cli'