Refresh patches
Utkarsh Gupta
4 years ago
5 | 5 |
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
|
6 | 6 |
--- a/gitlab.gemspec
|
7 | 7 |
+++ b/gitlab.gemspec
|
8 | |
@@ -11,7 +11,7 @@
|
|
8 |
@@ -13,7 +13,7 @@ Gem::Specification.new do |gem|
|
9 | 9 |
gem.summary = 'A Ruby wrapper and CLI for the GitLab API'
|
10 | 10 |
gem.homepage = 'https://github.com/narkoz/gitlab'
|
11 | 11 |
|
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]
|
4 | 4 |
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
|
5 | 5 |
--- a/spec/spec_helper.rb
|
6 | 6 |
+++ b/spec/spec_helper.rb
|
7 | |
@@ -1,8 +1,9 @@
|
|
7 |
@@ -3,8 +3,9 @@
|
8 | 8 |
require 'rspec'
|
9 | 9 |
require 'webmock/rspec'
|
10 | 10 |
|
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__)
|
13 | 13 |
+$:.unshift File.expand_path('../../lib', __FILE__)
|
14 | 14 |
+require 'gitlab'
|
15 | 15 |
+require 'gitlab/cli'
|