Skip to content

Commit

Permalink
Merge pull request #181 from JuanitoFatas/fix-metadata
Browse files Browse the repository at this point in the history
Fix metadata of final gemspec
  • Loading branch information
flavorjones authored Nov 29, 2019
2 parents fc577c4 + 6e26a30 commit 9c39a16
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
7 changes: 7 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ Hoe.spec "loofah" do
self.history_file = "CHANGELOG.md"
self.readme_file = "README.md"
self.license "MIT"
self.urls = {
"home" => "https://github.com/flavorjones/loofah",
"bugs" => "https://github.com/flavorjones/loofah/issues",
"doco" => "https://www.rubydoc.info/gems/loofah/",
"clog" => "https://github.com/flavorjones/loofah/master/CHANGELOG.md",
"code" => "https://github.com/flavorjones/loofah",
}

extra_deps << ["nokogiri", ">=1.5.9"]
extra_deps << ["crass", "~> 1.0.2"]
Expand Down
9 changes: 0 additions & 9 deletions loofah.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,6 @@ 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 9c39a16

Please sign in to comment.