Skip to content

Commit

Permalink
Hardcode required files due to git permissions issue (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-veryfi authored Dec 18, 2023
1 parent bbad35c commit 2a068a4
Showing 1 changed file with 46 additions and 3 deletions.
49 changes: 46 additions & 3 deletions veryfi.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,52 @@ Gem::Specification.new do |spec|

spec.homepage = "https://rubygems.org/gems/veryfi"

spec.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/})
end
# Affected by git permissions issue
# spec.files = `git ls-files -z`.split("\x0").reject do |f|
# f.match(%r{^(test|spec|features)/})
# end

spec.files = [
".github/workflows/release.yml",
".github/workflows/test.yml",
".gitignore",
".rspec",
".rubocop.yml",
".ruby-version",
".semaphore/semaphore.yml",
"Gemfile",
"Gemfile.lock",
"README.md",
"bin/autospec",
"bin/bundle-audit",
"bin/ci",
"bin/console",
"bin/quality",
"bin/release",
"bin/rspec",
"bin/rubocop",
"bin/setup",
"coverage/coverage-badge.png",
"docs/.gitignore",
"docs/404.html",
"docs/_config.yml",
"docs/_includes/footer.html",
"docs/_includes/header.html",
"docs/index.markdown",
"lib/.keep",
"lib/veryfi.rb",
"lib/veryfi/api/document.rb",
"lib/veryfi/api/document_tag.rb",
"lib/veryfi/api/line_item.rb",
"lib/veryfi/api/tag.rb",
"lib/veryfi/client.rb",
"lib/veryfi/error.rb",
"lib/veryfi/request.rb",
"lib/veryfi/signature.rb",
"lib/veryfi/version.rb",
"veryfi.gemspec"
]

spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
Expand Down

0 comments on commit 2a068a4

Please sign in to comment.