From ec8d1221b5d62b935e45b9dbe2a7e1aa07f31094 Mon Sep 17 00:00:00 2001 From: William Storey Date: Tue, 26 Dec 2023 08:23:20 -0800 Subject: [PATCH 1/3] Test on Ruby 3.3 --- .github/workflows/rubocop.yml | 2 +- .github/workflows/test.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rubocop.yml b/.github/workflows/rubocop.yml index 76f8ee8..248167a 100644 --- a/.github/workflows/rubocop.yml +++ b/.github/workflows/rubocop.yml @@ -13,6 +13,6 @@ jobs: - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: - ruby-version: 3.2 + ruby-version: 3.3 - run: bundle install - run: bundle exec rake -t rubocop diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 22fcbe0..021b73e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,6 +21,7 @@ jobs: '3.0', 3.1, 3.2, + 3.3, jruby, ] exclude: From 296fd3d7cd4c9df4a1bc838d7110e3fdfc911868 Mon Sep 17 00:00:00 2001 From: William Storey Date: Tue, 26 Dec 2023 08:23:26 -0800 Subject: [PATCH 2/3] Bump copyright date --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d410a89..184469a 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ This library uses [Semantic Versioning](https://semver.org/). ## Copyright and License -This software is Copyright (c) 2018 - 2023 by MaxMind, Inc. +This software is Copyright (c) 2018 - 2024 by MaxMind, Inc. This is free software, licensed under the [Apache License, Version 2.0](LICENSE-APACHE) or the [MIT License](LICENSE-MIT), at your option. From b36962a29ed8bc48b4c4b956777affe4e8ac8b0e Mon Sep 17 00:00:00 2001 From: William Storey Date: Tue, 26 Dec 2023 09:52:29 -0800 Subject: [PATCH 3/3] Drop support for Ruby 2.5 and 2.6 --- .github/workflows/test.yml | 2 -- .rubocop.yml | 2 +- CHANGELOG.md | 5 +++++ README.md | 2 +- maxmind-db.gemspec | 2 +- 5 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 021b73e..95ede35 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,8 +15,6 @@ jobs: os: [ubuntu-latest, windows-latest, macos-latest] version: [ - 2.5, - 2.6, 2.7, '3.0', 3.1, diff --git a/.rubocop.yml b/.rubocop.yml index 043136b..ebd5fef 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,7 +1,7 @@ require: rubocop-performance AllCops: - TargetRubyVersion: 2.5 + TargetRubyVersion: 2.7 NewCops: enable # Metrics are too arbitrary. diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c2efed..546df34 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 1.3.0 + +* Ruby 2.5 and 2.6 are no longer supported. If you're using one of these + versions, please use version 1.2.0 of this gem. + ## 1.2.0 (2023-11-22) * Ruby 2.4 is no longer supported. If you're using Ruby 2.4, please use diff --git a/README.md b/README.md index 184469a..10a3327 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ For more information see the ## Requirements -This code requires Ruby version 2.5 or higher. +This code requires Ruby version 2.7 or higher. ## Contributing diff --git a/maxmind-db.gemspec b/maxmind-db.gemspec index eb0d875..40f63e3 100644 --- a/maxmind-db.gemspec +++ b/maxmind-db.gemspec @@ -19,7 +19,7 @@ Gem::Specification.new do |s| 'source_code_uri' => 'https://github.com/maxmind/MaxMind-DB-Reader-ruby', 'rubygems_mfa_required' => 'true', } - s.required_ruby_version = '>= 2.5.0' + s.required_ruby_version = '>= 2.7.0' s.add_development_dependency 'minitest' s.add_development_dependency 'rake'