Skip to content

Commit fc1eea1

Browse files
authored
Merge pull request #57 from maxmind/horgh/ruby-version
Drop Ruby 2.4 support, test on Ruby 3.0
2 parents 40333a9 + ec15707 commit fc1eea1

File tree

6 files changed

+10
-5
lines changed

6 files changed

+10
-5
lines changed

.github/workflows/rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ jobs:
77
- uses: actions/checkout@v2
88
- uses: ruby/setup-ruby@v1
99
with:
10-
ruby-version: 2.7
10+
ruby-version: 3.0
1111
- run: bundle install
1212
- run: bundle exec rake -t rubocop

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ jobs:
99
os: [ubuntu-latest, windows-latest, macos-latest]
1010
version:
1111
[
12-
2.4,
1312
2.5,
1413
2.6,
1514
2.7,
15+
3.0,
1616
jruby,
1717
]
1818
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.4
4+
TargetRubyVersion: 2.5
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.2.0
4+
5+
* Ruby 2.4 is no longer supported. If you're using Ruby 2.4, please use
6+
version 1.1.1 of this gem.
7+
38
## 1.1.1 (2020-06-23)
49

510
* Fixed the memory reader's inspect method to no longer attempt to modify a

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ For more information see the
3636

3737
## Requirements
3838

39-
This code requires Ruby version 2.4 or higher.
39+
This code requires Ruby version 2.5 or higher.
4040

4141
## Contributing
4242

maxmind-db.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
1818
'homepage_uri' => 'https://github.com/maxmind/MaxMind-DB-Reader-ruby',
1919
'source_code_uri' => 'https://github.com/maxmind/MaxMind-DB-Reader-ruby',
2020
}
21-
s.required_ruby_version = '>= 2.4.0'
21+
s.required_ruby_version = '>= 2.5.0'
2222

2323
s.add_development_dependency 'minitest'
2424
s.add_development_dependency 'rake'

0 commit comments

Comments
 (0)