diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3d738863..7c4ee94c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,7 @@ jobs: strategy: fail-fast: false matrix: - ruby: [ ruby-2.7, ruby-3.0, ruby-3.1, ruby-3.2 ] + ruby: [ ruby-2.7, ruby-3.0, ruby-3.1, ruby-3.2, ruby-3.3 ] redis: [ "redis:6.2", "redis:7.0", "redis:7.2" ] steps: diff --git a/CHANGES.md b/CHANGES.md index 8911388a..bcd858ba 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -8,6 +8,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +- Add Ruby 3.3 support + ## [1.2.0] - 2023-12-18 ### Added diff --git a/README.adoc b/README.adoc index 2680a8ae..f184b4df 100644 --- a/README.adoc +++ b/README.adoc @@ -107,7 +107,7 @@ end * `Sidekiq::Throttled::Middlewares::Server` The middleware is automatically injected when you require `sidekiq/throttled`. -In rare cases this might be an issue. You can change to order manually: +In rare cases, when this causes an issue, you can change middleware order manually: [source,ruby] ---- @@ -115,8 +115,7 @@ Sidekiq.configure_server do |config| # ... config.server_middleware do |chain| - chain.remove(Sidekiq::Throttled::Middlewares::Server) - chain.add(Sidekiq::Throttled::Middlewares::Server) + chain.prepend(Sidekiq::Throttled::Middlewares::Server) end end ---- @@ -271,6 +270,7 @@ This library aims to support and is tested against the following Ruby versions: * Ruby 3.0.x * Ruby 3.1.x * Ruby 3.2.x +* Ruby 3.3.x If something doesn't work on one of these versions, it's a bug.