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

Add sadd_returns_boolean + sadd? method #217

Merged
merged 2 commits into from
Dec 13, 2022
Merged

Conversation

radar
Copy link
Contributor

@radar radar commented Nov 25, 2022

Fixes #216.

class << self
attr_accessor :sadd_returns_boolean
end

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't needed, right? Can we remove it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's needed, as it provides the way to set and read the sadd_returns_boolean value. This is used by the Redis gem to determine whether or not to display that deprecation message.

@radar
Copy link
Contributor Author

radar commented Dec 12, 2022

@iloveitaly Is there anything else you'd like me to look into for this PR?

@iloveitaly iloveitaly merged commit b949b5d into resque:master Dec 13, 2022
@radar
Copy link
Contributor Author

radar commented Dec 14, 2022

Thanks for the merge! Can we please get this included in a new gem release?

@iloveitaly
Copy link
Contributor

iloveitaly commented Dec 18, 2022 via email

@PatrickTulskie
Copy link
Contributor

@iloveitaly if you're busy I should be able to knock out a release today/tomorrow.

@iloveitaly
Copy link
Contributor

iloveitaly commented Dec 19, 2022 via email

@PatrickTulskie
Copy link
Contributor

Release is mostly done but rubygems is kicking me out. I'll push up the gem once @iloveitaly has a chance to take a look.

@iloveitaly
Copy link
Contributor

iloveitaly commented Dec 22, 2022 via email

@PatrickTulskie
Copy link
Contributor

Thanks @iloveitaly

@radar this is now in 1.10.0. Thanks for sorting this out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deprecation warning: Redis#sadd will always return an Integer in Redis 5.0.0. Use Redis#sadd? instead
3 participants