Skip to content

Commit ed48afe

Browse files
committed
Drop support for Ruby 2.7
1 parent e4d8e36 commit ed48afe

File tree

5 files changed

+5
-6
lines changed

5 files changed

+5
-6
lines changed

.github/workflows/test.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ jobs:
1515
os: [ubuntu-latest, windows-latest, macos-latest]
1616
version:
1717
[
18-
2.7,
1918
'3.0',
2019
3.1,
2120
3.2,

.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.7
4+
TargetRubyVersion: '3.0'
55
NewCops: enable
66

77
# Metrics are too arbitrary.

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
## 1.3.0
44

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.
5+
* Ruby 3.0+ is now required. If you're using Ruby 2.5, 2.6, or 2.7, please
6+
use version 1.2.0 of this gem.
77

88
## 1.2.0 (2023-12-04)
99

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.7 or higher.
335+
This code requires Ruby version 3.0 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.7.0'
27+
s.required_ruby_version = '>= 3.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)