Skip to content

Commit

Permalink
don't set metadata when gemspec doesn't support it
Browse files Browse the repository at this point in the history
  • Loading branch information
toy committed Jul 6, 2024
1 parent 25e4420 commit f2ec788
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion image_size.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Gem::Specification.new do |s|
'changelog_uri' => "https://github.com/toy/#{s.name}/blob/master/CHANGELOG.markdown",
'documentation_uri' => "https://www.rubydoc.info/gems/#{s.name}/#{s.version}",
'source_code_uri' => "https://github.com/toy/#{s.name}",
}
} if s.respond_to?(:metadata=)

s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
Expand Down

0 comments on commit f2ec788

Please sign in to comment.