Skip to content

Commit 1ad113e

Browse files
authored
Merge pull request #181 from maxmind/wstorey/eng-3664-files-are-removed-from-maxmind-db-reader-ruby-and-minfraud
Remove unneeded files from the gem package
2 parents 847b21c + 349cef7 commit 1ad113e

File tree

4 files changed

+17
-34
lines changed

4 files changed

+17
-34
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## v2.10.0
4+
5+
* Unnecessary files were removed from the published .gem.
6+
37
## v2.9.0 (2025-11-20)
48

59
* Added the processor `:securepay` to `Minfraud::Components::Payment`.

bin/console

Lines changed: 0 additions & 15 deletions
This file was deleted.

bin/setup

Lines changed: 0 additions & 8 deletions
This file was deleted.

minfraud.gemspec

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +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 = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^.gitignore$|^Gemfile|^(?:\.github|dev-bin|spec)/}) }
21-
spec.bindir = 'exe'
22-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23-
spec.require_paths = ['lib']
27+
spec.files = Dir['**/*'].difference(Dir['CLAUDE.md', 'CODE_OF_CONDUCT.md', 'dev-bin/**/*', 'Gemfile*', 'Rakefile', 'README.dev.md',
28+
'spec/**/*', '*.gemspec'])
2429

2530
spec.add_dependency 'connection_pool', '~> 2.2'
2631
spec.add_dependency 'http', '>= 4.3', '< 6.0'
@@ -36,7 +41,4 @@ Gem::Specification.new do |spec|
3641
spec.add_development_dependency 'rubocop-rspec'
3742
spec.add_development_dependency 'rubocop-thread_safety'
3843
spec.add_development_dependency 'webmock', '~> 3.14'
39-
spec.metadata = {
40-
'rubygems_mfa_required' => 'true'
41-
}
4244
end

0 commit comments

Comments
 (0)