Skip to content

Commit

Permalink
Refactor gem metadata to include rubygems_mfa_required
Browse files Browse the repository at this point in the history
  • Loading branch information
Parth-Rewind committed Sep 25, 2023
1 parent cb3d7e1 commit 55ae707
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions omniauth-azure-devops.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@ Gem::Specification.new do |gem|
gem.homepage = 'https://github.com/rewind/omniauth-azure-devops'
gem.license = 'MIT'
gem.metadata = {
'rubygems_mfa_required' => 'true',
'bug_tracker_uri' => "#{gem.homepage}/issues",
'changelog_uri' => "#{gem.homepage}/blob/main/CHANGELOG.md",
'documentation_uri' => gem.homepage.to_s,
'homepage_uri' => gem.homepage.to_s,
'source_code_uri' => gem.homepage.to_s,
'source_code_uri' => gem.homepage.to_s
}

gem.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(spec|.github|examples)/}) }
Expand All @@ -29,6 +30,4 @@ Gem::Specification.new do |gem|

gem.add_runtime_dependency 'omniauth', '>= 1', '< 3'
gem.add_runtime_dependency 'omniauth-oauth2'

gem.metadata['rubygems_mfa_required'] = 'true'
end

0 comments on commit 55ae707

Please sign in to comment.