Skip to content

Commit 31ce01b

Browse files
committed
Drop support for Ruby 2.5 and 2.6
1 parent 6284372 commit 31ce01b

File tree

5 files changed

+8
-5
lines changed

5 files changed

+8
-5
lines changed

.github/workflows/test.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ 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,

.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: 1 addition & 1 deletion
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

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)