Unverified Commit 65dc39f5 by Olle Jonsson Committed by GitHub

gemspec: Add metadata URIs (#798)

Allow people easier access the source code, raise issues and read the changelog, by adding [project metadata](https://guides.rubygems.org/specification-reference/#metadata) to the gemspec file. These links will appear on the RubyGems page at https://rubygems.org/gems/annotate and be available via the RubyGems API – after the next release. Also: used https in URLs.
parent 8666d893
......@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
s.executables = ['annotate']
s.extra_rdoc_files = ['README.md', 'CHANGELOG.md']
s.files = `git ls-files -z LICENSE.txt *.md *.gemspec bin lib`.split("\x0")
s.homepage = 'http://github.com/ctran/annotate_models'
s.homepage = 'https://github.com/ctran/annotate_models'
s.licenses = ['Ruby']
s.require_paths = ['lib']
s.rubygems_version = '2.1.11'
......@@ -25,5 +25,8 @@ Gem::Specification.new do |s|
s.add_runtime_dependency(%q<rake>, '>= 10.4', '< 14.0')
s.add_runtime_dependency(%q<activerecord>, ['>= 3.2', '< 7.0'])
s.metadata = { "github_repo" => "ssh://github.com/ctran/annotate_models" }
s.metadata = {
"bug_tracker_uri" => "https://github.com/ctran/annotate_models/issues/",
"source_code_uri" => "https://github.com/ctran/annotate_models.git"
}
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment