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

Address rails 7.1 deprecation when using ActiveJobExtensions::Concurrency #1097

Merged
merged 1 commit into from
Oct 4, 2023

Conversation

Earlopain
Copy link
Collaborator

Closes #1096, it's a simple fix so why not do it myself.

There are still a few references to exponentially_longer in the readme but it didn't seem wise to change those while it's not actually usable. I did change one instance in the readme where it explains what it does, since it's not actually exponetially longer but if you think that's just going to cause confusion I'll just drop that.

Copy link

@mhenrixon mhenrixon left a comment

Choose a reason for hiding this comment

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

Looks good to me, just came here to create a PR, this is how I would have solved it.

Copy link
Contributor

@bkeepers bkeepers left a comment

Choose a reason for hiding this comment

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

👍 same here as @mhenrixon. Thanks @Earlopain

@bensheldon
Copy link
Owner

thank you!

@bensheldon bensheldon merged commit 77a6262 into bensheldon:main Oct 4, 2023
20 checks passed
@Earlopain Earlopain deleted the rails-7.1-deprecation branch October 4, 2023 10:22
@Earlopain
Copy link
Collaborator Author

Just a note, rc (and probably beta) versions don't match like this. The deprecation warning will stop triggering once a non-preview version of rails is released.

@bensheldon
Copy link
Owner

@Earlopain oh, we should fix that. There's a version matcher that will include RC versions, I just need to find/remember what it is.

@Earlopain
Copy link
Collaborator Author

My bad, I wasn't aware about that functionality. As per the docs appending .a to the version check should do the trick. https://ruby-doc.org/3.2.2/stdlibs/rubygems/Gem/Version.html. A quick test seems to confirm this.

@bensheldon
Copy link
Owner

Thanks! I'll make that change on main 👍🏻

@edouard
Copy link

edouard commented Oct 4, 2023

Hey @bensheldon I see you’ve released 3.19.4 but the latest version released on rubygems.org is 3.19.3. Could you push 3.19.4 to rubygems.org?

@bensheldon
Copy link
Owner

Oops! Sorry about that! I just pushed the gem.

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

Successfully merging this pull request may close these issues.

Including GoodJob::ActiveJobExtensions::Concurrency triggers rails deprecation notice
5 participants