diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-20 12:10:41 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-20 12:10:41 +0300 |
commit | edf0e5b64384499283b406f9087e890ac4fad13f (patch) | |
tree | 5b634c08f9324749ee06b85334e2fad8340092ac /gems | |
parent | dd4c30182c16fe27efbbf4c19594bb292fb4ac48 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'gems')
-rw-r--r-- | gems/gitlab-rspec/gitlab-rspec.gemspec | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/gems/gitlab-rspec/gitlab-rspec.gemspec b/gems/gitlab-rspec/gitlab-rspec.gemspec index 630cd866a55..061647190ec 100644 --- a/gems/gitlab-rspec/gitlab-rspec.gemspec +++ b/gems/gitlab-rspec/gitlab-rspec.gemspec @@ -14,15 +14,9 @@ Gem::Specification.new do |spec| spec.license = "MIT" spec.required_ruby_version = ">= 3.0" - # Specify which files should be added to the gem when it is released. - # The `git ls-files -z` loads the files in the RubyGem that have been added into git. - spec.files = Dir.chdir(__dir__) do - `git ls-files -z`.split("\x0").reject do |f| - (File.expand_path(f) == __FILE__) || f.start_with?(*%w[bin/ test/ spec/ features/ .git .circleci appveyor]) - end - end - spec.bindir = "exe" - spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) } + spec.files = Dir['lib/**/*.rb'] + spec.test_files = Dir['spec/**/*'] spec.require_paths = ["lib"] + spec.add_dependency "rspec", "~> 3.0" end |