Skip to content

Commit

Permalink
Merge pull request #170 from orien/gem-metadata
Browse files Browse the repository at this point in the history
Add project metadata to the gemspec
  • Loading branch information
flavorjones authored Nov 25, 2019
2 parents ed153a7 + 1c0b7c6 commit fc577c4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions loofah.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@ Gem::Specification.new do |s|
s.rubygems_version = "3.0.3".freeze
s.summary = "Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri".freeze

s.metadata = {
'bug_tracker_uri' => 'https://github.com/flavorjones/loofah/issues',
'changelog_uri' => "https://github.com/flavorjones/loofah/blob/v#{s.version}/CHANGELOG.md",
'documentation_uri' => "https://www.rubydoc.info/gems/loofah/#{s.version}",
'mailing_list_uri' => 'https://groups.google.com/forum/#!forum/loofah-talk',
'source_code_uri' => "https://github.com/flavorjones/loofah/tree/v#{s.version}",
'wiki_uri' => 'https://github.com/flavorjones/loofah/wiki'
}

if s.respond_to? :specification_version then
s.specification_version = 4

Expand Down

0 comments on commit fc577c4

Please sign in to comment.