diff --git a/loofah.gemspec b/loofah.gemspec index b56f0cca..3c9d0d46 100644 --- a/loofah.gemspec +++ b/loofah.gemspec @@ -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