Skip to content

Commit

Permalink
Fix gem containing tmp files
Browse files Browse the repository at this point in the history
  • Loading branch information
ddnexus committed Jul 29, 2024
1 parent 78949da commit 931e0d8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gem/pagy.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ Gem::Specification.new do |s|
s.description = 'Agnostic pagination in plain ruby. It does it all. Better.'
s.homepage = 'https://github.com/ddnexus/pagy'
s.license = 'MIT'
s.files = Dir.glob('**/*')
.reject { |f| f.end_with?('.md', '.gemspec') }
.select { |f| File.file?(f) } + ['LICENSE.txt'] # LICENSE.txt is copied and deleted around build
s.files = `git ls-files -z`.split("\0") # rubocop:disable Packaging/GemspecGit
.reject { |f| f.end_with?('.md', '.gemspec') } \
<< 'LICENSE.txt' # LICENSE.txt is copied and deleted around build
s.metadata = { 'rubygems_mfa_required' => 'true',
'homepage_uri' => 'https://github.com/ddnexus/pagy',
'documentation_uri' => 'https://ddnexus.github.io/pagy',
Expand Down

0 comments on commit 931e0d8

Please sign in to comment.