Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the redis .multi code to remove the warnings in the logs #23

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

LauraCollins-Sage
Copy link

@LauraCollins-Sage LauraCollins-Sage commented Oct 17, 2024

https://jira.sage.com/browse/ENG-2692

As per the warnings we're now passing a parameter into the block that should be used instead of calling the redis client.

https://github.com/redis/redis-rb/blob/08f3e18db95ab4f3980d35a22f16904b53bb505d/README.md#executing-commands-atomically

Upgraded the ruby version to 3.2, and added a matrix of ruby versions 3.0 - 3.2 to the rspecs.

This version now locks minimum ruby version to 3.0 and above

noodl
noodl previously approved these changes Oct 17, 2024
….4 - but versions prior to 2.5 will use an implementation that will fail the rspecs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants