Skip to content

Commit

Permalink
Drop git ls-files in gemspec
Browse files Browse the repository at this point in the history
Closes: #1353

Signed-off-by: Utkarsh Gupta <utkarsh@debian.org>
  • Loading branch information
utkarsh2102 committed Sep 11, 2020
1 parent 7cedd3e commit f1086fa
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions shoulda-matchers.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,7 @@ Gem::Specification.new do |s|
'source_code_uri' => 'https://github.com/thoughtbot/shoulda-matchers',
}

s.files = Dir.chdir(File.expand_path(__dir__)) do
`git ls-files -z -- {docs,lib,README.md,MIT-LICENSE,shoulda-matchers.gemspec}`.
split("\x0")
end
s.files = Dir['{docs,lib}/**/*', 'README.md', 'MIT-LICENSE', 'shoulda-matchers.gemspec']
s.require_paths = ['lib']

s.required_ruby_version = '>= 2.4.0'
Expand Down

0 comments on commit f1086fa

Please sign in to comment.