Skip to content

Commit 1fcb337

Browse files
authored
Merge pull request #59 from maxmind/horgh/ruby-version
Test on Ruby 3.3
2 parents 3a4211e + 31ce01b commit 1fcb337

File tree

6 files changed

+11
-7
lines changed

6 files changed

+11
-7
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.2
16+
ruby-version: 3.3
1717
- run: bundle install
1818
- run: bundle exec rake -t rubocop

.github/workflows/test.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,11 @@ jobs:
1515
os: [ubuntu-latest, windows-latest, macos-latest]
1616
version:
1717
[
18-
2.5,
19-
2.6,
2018
2.7,
2119
'3.0',
2220
3.1,
2321
3.2,
22+
3.3,
2423
jruby,
2524
]
2625
exclude:

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
require: rubocop-performance
22

33
AllCops:
4-
TargetRubyVersion: 2.5
4+
TargetRubyVersion: 2.7
55
NewCops: enable
66

77
# Metrics are too arbitrary.

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## 1.3.0
4+
5+
* Ruby 2.5 and 2.6 are no longer supported. If you're using one of these
6+
versions, please use version 1.2.0 of this gem.
7+
38
## 1.2.0 (2023-12-04)
49

510
* `MaxMind::GeoIP2::Client` now validates the IP address before making a

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ client API, please see [our support page](https://www.maxmind.com/en/support).
332332

333333
## Requirements
334334

335-
This code requires Ruby version 2.5 or higher.
335+
This code requires Ruby version 2.7 or higher.
336336

337337
## Contributing
338338

@@ -345,7 +345,7 @@ This library uses [Semantic Versioning](https://semver.org/).
345345

346346
## Copyright and License
347347

348-
This software is Copyright (c) 2020-2023 by MaxMind, Inc.
348+
This software is Copyright (c) 2020-2024 by MaxMind, Inc.
349349

350350
This is free software, licensed under the [Apache License, Version
351351
2.0](LICENSE-APACHE) or the [MIT License](LICENSE-MIT), at your option.

maxmind-geoip2.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Gem::Specification.new do |s|
2424
'rubygems_mfa_required' => 'true',
2525
'source_code_uri' => 'https://github.com/maxmind/GeoIP2-ruby',
2626
}
27-
s.required_ruby_version = '>= 2.5.0'
27+
s.required_ruby_version = '>= 2.7.0'
2828

2929
s.add_runtime_dependency 'connection_pool', ['~> 2.2']
3030
s.add_runtime_dependency 'http', '>= 4.3', '< 6.0'

0 commit comments

Comments
 (0)