Skip to content

Commit

Permalink
Add gemspec metadata
Browse files Browse the repository at this point in the history
And require MFA enable to release the gem.
  • Loading branch information
rafaelfranca committed Dec 21, 2021
1 parent 7f3ee7f commit cfda718
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions jbuilder.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,12 @@ Gem::Specification.new do |s|

s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- test/*`.split("\n")

s.metadata = {
"bug_tracker_uri" => "https://github.com/rails/jbuilder/issues",
"changelog_uri" => "https://github.com/rails/jbuilder/releases/tag/v#{version}",
"mailing_list_uri" => "https://discuss.rubyonrails.org/c/rubyonrails-talk",
"source_code_uri" => "https://github.com/rails/jbuilder/tree/v#{version}",
"rubygems_mfa_required" => "true",
}
end

0 comments on commit cfda718

Please sign in to comment.