Skip to content

Commit

Permalink
Merge pull request #286 from riemann/require-mfa-to-push-gem-to-rubygems
Browse files Browse the repository at this point in the history
Require MFA to push to rubygems.org
  • Loading branch information
jamtur01 committed Jan 22, 2024
2 parents 06818a6 + 100ac63 commit 0e0e224
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ AllCops:
require:
- rubocop-rake
- rubocop-rspec
Gemspec/RequireMFA:
Enabled: false
Gemspec/RequiredRubyVersion:
Enabled: false
Layout/HashAlignment:
Expand Down
3 changes: 2 additions & 1 deletion riemann-tools.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ Gem::Specification.new do |spec|
spec.license = 'MIT'
spec.required_ruby_version = Gem::Requirement.new('>= 2.6.0')

spec.metadata['allowed_push_host'] = 'https://rubygems.org/'
spec.metadata['allowed_push_host'] = 'https://rubygems.org/'
spec.metadata['rubygems_mfa_required'] = 'true'

spec.metadata['homepage_uri'] = spec.homepage
spec.metadata['source_code_uri'] = spec.homepage
Expand Down

0 comments on commit 0e0e224

Please sign in to comment.