Commit 484b56c
Add enqueue_after_transaction_commit? for Rails 7.2 compatibility (#777)
* Add enqueue_after_transaction_commit? for Rails 7.2 compatibility
* Better to inherit from ActiveJob::QueueAdapters::AbstractAdapter
and the default for enqueue_after_transaction_commit? is true - see https://github.com/rails/rails/pull/51426/files#diff-572a695cc044413e9d509392a9230f9fbe8a039518f3e438a3c88f2b6a259480
* Remove test since it does not add much value
and it complicates testing agaainst rails versions less than 7.2
* Attempt to fix CI
ActiveJob::QueueAdapters::AbstractAdapter was only introduced in Rails 7.2.0 so let's retain compatability with older Rails versions by not referencing it
---------
Co-authored-by: Pablo Cantero <pablohstc@gmail.com>
Co-authored-by: Maciej Mensfeld <maciej@mensfeld.pl>1 parent cfedc73 commit 484b56c
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
33 | 38 | | |
34 | 39 | | |
35 | 40 | | |
| |||
0 commit comments