diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 151802a..167efb0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -66,11 +66,8 @@ jobs: strategy: fail-fast: false matrix: - ruby: ["3.4", "3.3", "3.2", "3.1"] - rails: ["7.1.0", "7.0.0"] - include: - - ruby: "3.2" - rails: "6.1.0" + ruby: ["3.4", "3.3", "3.2"] + rails: ["8.0.0", "7.2.0", "7.1.0"] exclude: - ruby: "3.4" rails: "7.0.0" diff --git a/CHANGELOG.md b/CHANGELOG.md index 3187dac..5c5d185 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [2.3.0] - 2025-06-17 + +- DEV: Add compatibility with Rails 8.0+ + ## [2.2.0] - 2025-01-29 - DEV: Add compatibility with the Redis gem version 5.x diff --git a/lib/rails_failover/version.rb b/lib/rails_failover/version.rb index c1e4c7b..8b95c87 100644 --- a/lib/rails_failover/version.rb +++ b/lib/rails_failover/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module RailsFailover - VERSION = "2.2.0" + VERSION = "2.3.0" end diff --git a/rails_failover.gemspec b/rails_failover.gemspec index 342983a..5555124 100644 --- a/rails_failover.gemspec +++ b/rails_failover.gemspec @@ -23,8 +23,8 @@ Gem::Specification.new do |spec| spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ["lib"] - spec.add_dependency "activerecord", ">= 6.1", "< 8.0" - spec.add_dependency "railties", ">= 6.1", "< 8.0" + spec.add_dependency "activerecord", ">= 6.1", "< 9.0" + spec.add_dependency "railties", ">= 6.1", "< 9.0" spec.add_dependency "concurrent-ruby" spec.add_development_dependency "rake" diff --git a/spec/support/dummy_app/Gemfile b/spec/support/dummy_app/Gemfile index 482eb42..8160d23 100644 --- a/spec/support/dummy_app/Gemfile +++ b/spec/support/dummy_app/Gemfile @@ -5,7 +5,7 @@ source "https://rubygems.org" if ENV["RAILS_VERSION"] == "edge" gem "rails", github: "rails/rails" else - gem "rails", "~> #{ENV["RAILS_VERSION"] || "7.1.0"}" + gem "rails", "~> #{ENV["RAILS_VERSION"] || "8.0.0"}" end # Use SCSS for stylesheets