Skip to content

Relax ActiveJob version constraint #28

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

Merged
merged 1 commit into from
Jan 18, 2025

Conversation

dixpac
Copy link
Contributor

@dixpac dixpac commented Jan 18, 2025

Initially gem checked for existence of active_job >=7.2, mainly because of ActiveJob::QueueAdapters::AbstractAdapter.

But since that class is base adapter with contract for enqueue and enqueue_at we don't have to inherit from it. This should allow other rails versions to work.

Initialy gem checked for existance of active_job >=7.2, mainly because
of `ActiveJob::QueueAdapters::AbstractAdapter`.

But since that class is base adapter with conteact for `enqueue` and
`enqueue_at` we don't have to inherit from it. This should allow other
rails versions to work.
@dixpac dixpac changed the title Relax ActiveJob version constraints Relax ActiveJob version constraint Jan 18, 2025
@michaelklishin michaelklishin added this to the 3.2.0 milestone Jan 18, 2025
@michaelklishin
Copy link
Member

@dixpac good find!

@michaelklishin michaelklishin merged commit 03eead7 into ruby-amqp:main Jan 18, 2025
4 checks passed
@michaelklishin
Copy link
Member

Thank you for contributing. I've set the milestone to 3.2.0 since there might be a subtle behavior change with the elimination of inheritance.

michaelklishin added a commit that referenced this pull request Jan 18, 2025
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.

2 participants