Skip to content

Commit 75b7876

Browse files
authored
Merge pull request #107 from maxmind/horgh/update-ruby
Test on Ruby 3.4, drop Ruby 2.7
2 parents c7b164d + b0c4f23 commit 75b7876

File tree

6 files changed

+7
-5
lines changed

6 files changed

+7
-5
lines changed

.github/workflows/rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ jobs:
1313
- uses: actions/checkout@v4
1414
- uses: ruby/setup-ruby@v1
1515
with:
16-
ruby-version: 3.3
16+
ruby-version: 3.4
1717
- run: bundle install
1818
- run: bundle exec rake -t rubocop

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ jobs:
1515
os: [ubuntu-latest, windows-latest, macos-latest]
1616
version:
1717
[
18-
2.7,
1918
'3.0',
2019
3.1,
2120
3.2,
2221
3.3,
22+
3.4,
2323
jruby,
2424
]
2525
exclude:

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
AllCops:
2-
TargetRubyVersion: 2.7
2+
TargetRubyVersion: '3.0'
33
NewCops: enable
44

55
# Metrics.

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
reasons output codes and reasons are currently in beta and are subject to
1313
change. We recommend that you use these beta outputs with caution and avoid
1414
relying on them for critical applications.
15+
* Ruby 3.0+ is now required. If you're using Ruby 2.7, please use version
16+
2.6.0 of this gem.
1517

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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ to the client API, please see
275275
276276
## Requirements
277277
278-
This gem works with Ruby 2.7 and above.
278+
This gem works with Ruby 3.0 and above.
279279
280280
## Contributing
281281

minfraud.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
1515
spec.homepage = 'https://github.com/maxmind/minfraud-api-ruby'
1616
spec.license = 'MIT'
1717

18-
spec.required_ruby_version = '>= 2.7.0'
18+
spec.required_ruby_version = '>= 3.0'
1919

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

0 commit comments

Comments
 (0)