Skip to content

Commit

Permalink
feat: Add Ruby-3.3 support
Browse files Browse the repository at this point in the history
Extracted from ixti#175
  • Loading branch information
ixti committed Jan 16, 2024
1 parent cafb542 commit ff43b39
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -107,16 +107,15 @@ 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]
----
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
----
Expand Down Expand Up @@ -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.

Expand Down

0 comments on commit ff43b39

Please sign in to comment.