Skip to content

Commit

Permalink
Add gemspec metadata (#167)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximeD authored Sep 15, 2023
1 parent 08a6fab commit 3b01c04
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions gem_updater.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

require_relative 'lib/gem_updater/version'

REPOSITORY_URI = 'https://github.com/MaximeD/gem_updater'

Gem::Specification.new do |s|
s.name = 'gem_updater'
s.version = GemUpdater::VERSION
Expand All @@ -11,8 +13,14 @@ Gem::Specification.new do |s|
s.authors = ['Maxime Demolin']
s.email = 'maxime_dev@demol.in'
s.files = Dir['{lib}/**/*']
s.homepage = 'https://github.com/MaximeD/gem_updater'
s.homepage = REPOSITORY_URI
s.license = 'MIT'
s.metadata = {
'homepage_uri' => REPOSITORY_URI,
'changelog_uri' => "#{REPOSITORY_URI}/blob/master/CHANGELOG.md",
'source_code_uri' => REPOSITORY_URI,
'rubygems_mfa_required' => 'true'
}

s.required_ruby_version = '>= 3.0.0'

Expand All @@ -29,5 +37,4 @@ Gem::Specification.new do |s|
s.add_development_dependency 'webmock', '~> 3.18'

s.executables << 'gem_update'
s.metadata['rubygems_mfa_required'] = 'true'
end

0 comments on commit 3b01c04

Please sign in to comment.