Skip to content

Commit 349cef7

Browse files
horghclaude
andcommitted
Add gemspec metadata for RubyGems.org links
Adds bug_tracker_uri, changelog_uri, documentation_uri, homepage_uri, and source_code_uri metadata fields. Also reformats and reorganizes the gemspec for consistency. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent 8540e4f commit 349cef7

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

minfraud.gemspec

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,21 @@ Gem::Specification.new do |spec|
1111
spec.authors = ['kushnir.yb', 'William Storey']
1212
spec.email = ['[email protected]']
1313

14-
spec.summary = 'Ruby API for the minFraud Score, Insights, Factors, and Report Transactions services'
15-
spec.homepage = 'https://github.com/maxmind/minfraud-api-ruby'
16-
spec.license = 'MIT'
17-
14+
spec.summary = 'Ruby API for the minFraud Score, Insights, Factors, and Report Transactions services'
15+
spec.homepage = 'https://github.com/maxmind/minfraud-api-ruby'
16+
spec.license = 'MIT'
17+
spec.metadata = {
18+
'bug_tracker_uri' => 'https://github.com/maxmind/minfraud-api-ruby/issues',
19+
'changelog_uri' => 'https://github.com/maxmind/minfraud-api-ruby/blob/main/CHANGELOG.md',
20+
'documentation_uri' => 'https://www.rubydoc.info/gems/minfraud',
21+
'homepage_uri' => 'https://github.com/maxmind/minfraud-api-ruby',
22+
'rubygems_mfa_required' => 'true',
23+
'source_code_uri' => 'https://github.com/maxmind/minfraud-api-ruby',
24+
}
1825
spec.required_ruby_version = '>= 3.2'
1926

20-
spec.files = Dir['**/*'].difference(Dir['CLAUDE.md', 'CODE_OF_CONDUCT.md', 'dev-bin/**/*', 'Gemfile*', 'Rakefile', 'README.dev.md', 'spec/**/*', '*.gemspec'])
27+
spec.files = Dir['**/*'].difference(Dir['CLAUDE.md', 'CODE_OF_CONDUCT.md', 'dev-bin/**/*', 'Gemfile*', 'Rakefile', 'README.dev.md',
28+
'spec/**/*', '*.gemspec'])
2129

2230
spec.add_dependency 'connection_pool', '~> 2.2'
2331
spec.add_dependency 'http', '>= 4.3', '< 6.0'
@@ -33,7 +41,4 @@ Gem::Specification.new do |spec|
3341
spec.add_development_dependency 'rubocop-rspec'
3442
spec.add_development_dependency 'rubocop-thread_safety'
3543
spec.add_development_dependency 'webmock', '~> 3.14'
36-
spec.metadata = {
37-
'rubygems_mfa_required' => 'true'
38-
}
3944
end

0 commit comments

Comments
 (0)