diff --git a/CHANGELOG.md b/CHANGELOG.md index 82dd714a..9ca55354 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## v2.10.0 + +* Unnecessary files were removed from the published .gem. + ## v2.9.0 (2025-11-20) * Added the processor `:securepay` to `Minfraud::Components::Payment`. diff --git a/bin/console b/bin/console deleted file mode 100755 index b8d9c8e6..00000000 --- a/bin/console +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env ruby -# frozen_string_literal: true - -require 'bundler/setup' -require 'minfraud' - -# You can add fixtures and/or initialization code here to make experimenting -# with your gem easier. You can also use a different console, if you like. - -# (If you use this, don't forget to add pry to your Gemfile!) -# require "pry" -# Pry.start - -require 'irb' -IRB.start diff --git a/bin/setup b/bin/setup deleted file mode 100755 index dce67d86..00000000 --- a/bin/setup +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/env bash -set -euo pipefail -IFS=$'\n\t' -set -vx - -bundle install - -# Do any other automated setup that you need to do here diff --git a/minfraud.gemspec b/minfraud.gemspec index 1b6bd637..372b3e01 100644 --- a/minfraud.gemspec +++ b/minfraud.gemspec @@ -11,16 +11,21 @@ Gem::Specification.new do |spec| spec.authors = ['kushnir.yb', 'William Storey'] spec.email = ['support@maxmind.com'] - spec.summary = 'Ruby API for the minFraud Score, Insights, Factors, and Report Transactions services' - spec.homepage = 'https://github.com/maxmind/minfraud-api-ruby' - spec.license = 'MIT' - + spec.summary = 'Ruby API for the minFraud Score, Insights, Factors, and Report Transactions services' + spec.homepage = 'https://github.com/maxmind/minfraud-api-ruby' + spec.license = 'MIT' + spec.metadata = { + 'bug_tracker_uri' => 'https://github.com/maxmind/minfraud-api-ruby/issues', + 'changelog_uri' => 'https://github.com/maxmind/minfraud-api-ruby/blob/main/CHANGELOG.md', + 'documentation_uri' => 'https://www.rubydoc.info/gems/minfraud', + 'homepage_uri' => 'https://github.com/maxmind/minfraud-api-ruby', + 'rubygems_mfa_required' => 'true', + 'source_code_uri' => 'https://github.com/maxmind/minfraud-api-ruby', + } spec.required_ruby_version = '>= 3.2' - spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^.gitignore$|^Gemfile|^(?:\.github|dev-bin|spec)/}) } - spec.bindir = 'exe' - spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } - spec.require_paths = ['lib'] + spec.files = Dir['**/*'].difference(Dir['CLAUDE.md', 'CODE_OF_CONDUCT.md', 'dev-bin/**/*', 'Gemfile*', 'Rakefile', 'README.dev.md', + 'spec/**/*', '*.gemspec']) spec.add_dependency 'connection_pool', '~> 2.2' spec.add_dependency 'http', '>= 4.3', '< 6.0' @@ -36,7 +41,4 @@ Gem::Specification.new do |spec| spec.add_development_dependency 'rubocop-rspec' spec.add_development_dependency 'rubocop-thread_safety' spec.add_development_dependency 'webmock', '~> 3.14' - spec.metadata = { - 'rubygems_mfa_required' => 'true' - } end