Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ jobs:
environment: release
permissions:
id-token: write
env:
# Keep the bundle out of the system gems. release-gem signs the gem
# with an unbundled `gem exec` that sees the system gems, and the json
# version in Gemfile.lock can break the signer there.
BUNDLE_PATH: vendor/bundle
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
Expand All @@ -35,4 +40,17 @@ jobs:

# zizmor complains that 'v1' is a ref that can be provided by both the branch and tag namespaces.
# specify that we want the v1 branch.
- uses: rubygems/release-gem@7f9650160c1a4e7989fdc9855807bdbd421d8b6b # v1.4.1
- uses: rubygems/release-gem@5c53f5308233b7c0f47411f0471b3faae6fa57b2 # v1.4.2

# release-gem pushes the gem without an attestation if signing fails,
# and the job still passes. Fail the job so that someone notices.
- name: Check that RubyGems.org has an attestation
run: |
for gem in pkg/*.gem; do
name="$(basename "$gem" .gem)"
if ! curl -fsS "https://rubygems.org/api/v1/attestations/$name.json" |
jq -e 'length > 0' >/dev/null; then
Comment thread
oschwald marked this conversation as resolved.
Resolved
echo "::error::RubyGems.org has no attestation for $name."
exit 1
fi
done
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ pkg
.DS_Store
.claude
.lycheecache
/vendor/bundle
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## v2.11.0
## v2.11.0 (2026-11-18)

* Added the `phone_verification_method`,
`phone_was_verification_successful`, and `phone_verification_time`
Expand Down Expand Up @@ -46,6 +46,10 @@
second 60, a UTC offset of 24 hours or more, and a lowercase `t` or
`z`.
* Added the processor `:ryft` to `Minfraud::Components::Payment`.
* The minimum version of the `maxmind-geoip2` gem is now 1.7.0. It
requires `maxmind-db` 1.5.0, which limits the work and memory of each
decode of a crafted database and makes lookups faster. See the
[maxmind-geoip2 1.7.0 changelog](https://github.com/maxmind/GeoIP2-ruby/blob/v1.7.0/CHANGELOG.md).

## v2.10.0 (2026-07-21)

Expand Down
10 changes: 5 additions & 5 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
PATH
remote: .
specs:
minfraud (2.10.0)
minfraud (2.11.0)
connection_pool (>= 2.2, < 4.0)
http (>= 4.3, < 7.0)
maxmind-geoip2 (~> 1.6)
maxmind-geoip2 (~> 1.7)
simpleidn (~> 0.1, >= 0.1.1)

GEM
Expand Down Expand Up @@ -42,11 +42,11 @@ GEM
llhttp-ffi (0.5.1)
ffi-compiler (~> 1.0)
rake (~> 13.0)
maxmind-db (1.4.0)
maxmind-geoip2 (1.6.0)
maxmind-db (1.5.0)
maxmind-geoip2 (1.7.0)
connection_pool (>= 2.2, < 4.0)
http (>= 4.3, < 7.0)
maxmind-db (~> 1.4)
maxmind-db (~> 1.5)
parallel (1.28.0)
parser (3.3.13.0)
ast (~> 2.4.1)
Expand Down
2 changes: 1 addition & 1 deletion lib/minfraud/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

module Minfraud
# The Gem version.
VERSION = '2.10.0'
VERSION = '2.11.0'
end
2 changes: 1 addition & 1 deletion minfraud.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Gem::Specification.new do |spec|

spec.add_dependency 'connection_pool', '>= 2.2', '< 4.0'
spec.add_dependency 'http', '>= 4.3', '< 7.0'
spec.add_dependency 'maxmind-geoip2', '~> 1.6'
spec.add_dependency 'maxmind-geoip2', '~> 1.7'
spec.add_dependency 'simpleidn', '~> 0.1', '>= 0.1.1'

spec.add_development_dependency 'bundler', '~> 2.2'
Expand Down
Loading