Skip to content

Commit

Permalink
Merge pull request #71 from maxmind/horgh/ruby-version
Browse files Browse the repository at this point in the history
Test on Ruby 3.3
  • Loading branch information
faktas2 authored Dec 27, 2023
2 parents 7632b9e + b36962a commit 6bb0726
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,11 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]
version:
[
2.5,
2.6,
2.7,
'3.0',
3.1,
3.2,
3.3,
jruby,
]
exclude:
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require: rubocop-performance

AllCops:
TargetRubyVersion: 2.5
TargetRubyVersion: 2.7
NewCops: enable

# Metrics are too arbitrary.
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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.
2 changes: 1 addition & 1 deletion maxmind-db.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 6bb0726

Please sign in to comment.