Skip to content

Commit

Permalink
Drop support for Ruby 2.5 and 2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
horgh committed Dec 26, 2023
1 parent bac19bb commit 20ead25
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]
version:
[
2.5,
2.6,
2.7,
'3.0',
3.1,
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
AllCops:
TargetRubyVersion: 2.5
TargetRubyVersion: 2.7
NewCops: enable

# Metrics.
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## v2.4.0

* Ruby 2.7+ is now required. If you're using Ruby 2.5 or 2.6, please use
version 2.3.0 of this gem.

## v2.3.0 (2023-12-04)

* Added the processor `:shopify_payments` to `Minfraud::Components::Payment`.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ to the client API, please see
## Requirements
This gem works with Ruby 2.5 and above.
This gem works with Ruby 2.7 and above.
## Contributing
Expand Down
2 changes: 1 addition & 1 deletion minfraud.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
spec.homepage = 'https://github.com/maxmind/minfraud-api-ruby'
spec.license = 'MIT'

spec.required_ruby_version = '>= 2.5.0'
spec.required_ruby_version = '>= 2.7.0'

spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
spec.bindir = 'exe'
Expand Down

0 comments on commit 20ead25

Please sign in to comment.