Skip to content

Commit

Permalink
Set rubygems_mfa_required in gemspec.
Browse files Browse the repository at this point in the history
  • Loading branch information
dvandersluis committed Nov 12, 2021
1 parent 041f15f commit 4243c97
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions rubocop-rake.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@ Gem::Specification.new do |spec|
spec.required_ruby_version = Gem::Requirement.new(">= 2.5.0")
spec.licenses = ['MIT']

spec.metadata["allowed_push_host"] = "https://rubygems.org"

spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = spec.homepage
spec.metadata["changelog_uri"] = "https://github.com/rubocop/rubocop-rake/blob/master/CHANGELOG.md"
spec.metadata = {
'allowed_push_host' => 'https://rubygems.org',
'homepage_uri' => spec.homepage,
'source_code_uri' => spec.homepage,
'changelog_uri' => "https://github.com/rubocop/rubocop-rake/blob/master/CHANGELOG.md",
'rubygems_mfa_required' => 'true'
}

# Specify which files should be added to the gem when it is released.
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
Expand Down

0 comments on commit 4243c97

Please sign in to comment.