Skip to content

Commit

Permalink
Merge pull request #107 from maxmind/horgh/update-ruby
Browse files Browse the repository at this point in the history
Test on Ruby 3.4, drop Ruby 2.7
  • Loading branch information
oschwald authored Dec 30, 2024
2 parents c7b164d + b0c4f23 commit 75b7876
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ jobs:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3
ruby-version: 3.4
- run: bundle install
- run: bundle exec rake -t rubocop
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]
version:
[
2.7,
'3.0',
3.1,
3.2,
3.3,
3.4,
jruby,
]
exclude:
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.7
TargetRubyVersion: '3.0'
NewCops: enable

# Metrics.
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
reasons output codes and reasons are currently in beta and are subject to
change. We recommend that you use these beta outputs with caution and avoid
relying on them for critical applications.
* Ruby 3.0+ is now required. If you're using Ruby 2.7, please use version
2.6.0 of this gem.

## v2.6.0 (2024-07-08)

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.7 and above.
This gem works with Ruby 3.0 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.7.0'
spec.required_ruby_version = '>= 3.0'

spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^.gitignore$|^(?:\.github|dev-bin|spec)/}) }
spec.bindir = 'exe'
Expand Down

0 comments on commit 75b7876

Please sign in to comment.