Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix metadata of final gemspec #181

Merged
merged 2 commits into from
Nov 29, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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