aboutsummaryrefslogtreecommitdiffstats
path: root/activejob/lib/active_job/queue_adapters
Commit message (Collapse)AuthorAgeFilesLines
* Initial implementation of ActiveJob AsyncAdapter.Jerry D'Antonio2015-08-251-0/+23
|
* implement `provider_job_id` for `queue_classic`.Yves Senn2015-08-131-2/+6
| | | | | | The latest, currently unreleased, version of queue_classic is required for this to work. See https://github.com/QueueClassic/queue_classic/pull/262 for more details.
* Merge pull request #20064 from kddeisz/qu_provider_job_idRafael Mendonça França2015-05-081-1/+5
|\ | | | | Provide provider_job_id to qu adapter.
| * Provide provider_job_id to qu adapter.Kevin Deisz2015-05-071-1/+5
| | | | | | | | Further work to provide provider_job_id for queue adapters.
* | Refactor sidekiq adapter enqueue and enqueue_at methodsMehmet Emin İNAÇ2015-05-081-6/+2
|/
* Make que report back its job_id to provider_job_idJeroen van Baarsen2015-05-071-2/+6
| | | | Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
* Let Sidekiq set provider_job_idJeroen van Baarsen2015-05-071-2/+6
| | | | | | | | | | When a job is added to Sidekiq by ActiveJob, make sure we still can get the original job_id provider by Sidekiq. We do this by adding the sidekiq jid to provider_job_id field on the job object. Partly fixes #18821 Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
* Get provider_job_id from DelayedJobKevin Deisz2015-05-051-2/+6
| | | | | When queueing with DelayedJob, get the id of the job instance and report it back to ActiveJob as provider_job_id.
* Merge pull request #19498 from chanks/activejob-que-remove-named-queuesRafael Mendonça França2015-05-031-2/+2
|\ | | | | ActiveJob: Stop using Que's named queues.
| * Stop using Que's named queues in its ActiveJob adapter.Chris Hanks2015-03-241-2/+2
| |
* | Add missing error messages for sucker_punch, sneakers and qu activejob ↵Mehmet Emin İNAÇ2015-04-294-4/+4
| | | | | | | | | | | | | | | | | | | | adapters [ci skip] fix error message change raise to use rails conventions fix misspells
* | Pass wrapped class name to Sidekiq for logging purposesMike Perham2015-03-231-7/+9
|/ | | | | | | Sidekiq logs the name of the job class being performed. Because ActiveJob wraps the class, this means every job logs as an AJ::JobWrapper instead of the actual class name. Will help fix mperham/sidekiq#2248
* `ActiveJob::QueueAdapters::*` are no longer singletonsTamir Duberstein2015-03-1111-135/+115
|
* Avoid creating an extra hash on the job test adapterCarlos Antonio da Silva2015-02-241-1/+1
|
* `ActiveJob::QueueAdapters::TestAdapter` is now a singletonTamir Duberstein2015-02-231-26/+26
| | | | | | | | | Since `ActiveJob::TestHelper` globally sets `ActiveJob::Base.queue_adapter` on setup, there is no benefit in instantiating a new `TestAdapter` per tests. The original rationale was to allow parallel tests to run without interference, but since they'd all mutate the global `ActiveJob::Base.queue_adapter`, that was never realized.
* Add an `:only` option to `perform_enqueued_jobs` to filter jobs based onMichael Ryan2015-02-061-13/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | type. This allows specific jobs to be tested, while preventing others from being performed unnecessarily. Example: def test_hello_job assert_performed_jobs 1, only: HelloJob do HelloJob.perform_later('jeremy') LoggingJob.perform_later end end An array may also be specified, to support testing multiple jobs. Example: def test_hello_and_logging_jobs assert_nothing_raised do assert_performed_jobs 2, only: [HelloJob, LoggingJob] do HelloJob.perform_later('jeremy') LoggingJob.perform_later('stewie') RescueJob.perform_later('david') end end end Fixes #18802. Trim space and document :only option.
* ActiveJob testing improvementsCristian Bica2014-12-301-6/+11
| | | | | | | | 1. The :test adapter wasn't going through a full cycle of serialize/deserialize when performing jobs. Now it does 2. Regular AJ tests were not run for the :test adapter. Now they are 3. ActiveJob::TestHelper uses assert_valid_keys but doesn’t requires the file that implements that method. Now it does
* Replace guides.ror.org/v4.2.0 with guides.ror.orgclaudiob2014-12-201-1/+1
| | | | | No need to point links to http://guides.rubyonrails.org/v4.2.0/... now that the Ruby on Rails guides point to 4.2.0.
* added punctuations, and role of queue_adapter module [ci skip]Rishi Jain2014-11-011-2/+2
|
* - Fix error string raised from `enqueue_at`Vipul A M2014-10-221-1/+1
|
* Don't pass retry option to SidekiqAri Pollak2014-10-081-3/+1
| | | | | * This would override whatever default is configured in Sidekiq system-wide, and retry is true by default anyway.
* Point to a specific version of guide to make the redirect workRafael Mendonça França2014-10-081-1/+1
|
* update error message when InlineAdapter is usedyuuji.yaginuma2014-10-081-1/+1
|
* update queue_classic detailsJean-Philippe Boily2014-10-061-4/+4
|
* Tiny follow-up to #16999 [ci skip]Robin Dupret2014-09-272-3/+3
| | | | | | * Fix a typo * Remove references to Rails version * Remove an extra whitespace
* Fix some typos in ActiveJobPrathamesh Sonpatki2014-09-272-2/+2
| | | | [ci skip]
* Merge pull request #16963 from collectiveidea/activejob-djRafael Mendonça França2014-09-221-3/+9
|\ | | | | | | | | | | | | Cleaner queuing of jobs using Delayed Job Conflicts: activejob/lib/active_job/queue_adapters/delayed_job_adapter.rb
| * Cleaner queuing of jobs using Delayed JobDavid Genord II2014-09-181-3/+9
| |
* | Added RDoc for each Active Job adapterCristian Bica2014-09-2211-22/+148
|/
* [ci skip] AJ docs fixesAkshay Vishnoi2014-09-189-9/+9
| | | | | | | | 1. Indentation 2. Spaces issues 3. Spelling correction 4. Grammar correction 5. Add #:nodoc: to all internal classes
* simplify test_adapterAbdelkader Boudih2014-09-141-43/+4
|
* ActiveJob Integration TestsCristian Bica2014-09-111-1/+1
|
* Active Job refactoringCristian Bica2014-09-0311-61/+60
|
* Fix failing tests in ActiveJob AdapterAbdelkader Boudih2014-09-021-0/+1
|
* Merge pull request #16724 from seuros/testcaseRafael Mendonça França2014-09-021-0/+75
|\ | | | | [ActiveJob] TestCase
| * [ActiveJob] TestCase (Will squash before merge)Abdelkader Boudih2014-09-021-12/+12
| |
| * [ActiveJob] TestCaseAbdelkader Boudih2014-09-021-60/+58
| |
| * [ActiveJob] TestCaseAbdelkader Boudih2014-09-021-0/+77
| |
* | ActiveJob: Implemented enqueue_at for QueueClassicCristian Bica2014-09-021-2/+17
|/
* Fixed Active Job Backburner adapterCristian Bica2014-08-301-1/+1
|
* Merge pull request #16602 from thetron/active_job_que_enqueue_at_supportRafael Mendonça França2014-08-221-1/+1
|\ | | | | Added enqueue_at support for QueAdapter in ActiveJob
| * Added enqueue_at support for QueAdapter in ActiveJobNicholas Bruning2014-08-211-1/+1
| | | | | | | | | | * Added inline job runner for Que in test/support * Updated QueAdapter to support enqueue_at
* | Implemented enqueue_at for ActiveJob's Backburner adapterCristian Bica2014-08-221-1/+2
|/
* use same idiom to define class method as in every other adapter.Yves Senn2014-08-191-2/+4
|
* "warning: `*' interpreted as argument prefix"Akira Matsuda2014-08-1810-10/+10
|
* [ActiveJob] make the resque-scheduler optionalCristian Bica2014-08-171-3/+6
|
* Update resque_adapter.rbAbdelkader Boudih2014-08-141-1/+1
|
* Add 'activejob/' from commit '14f74a8331f94150dfee653224de8fc837797709'Abdelkader Boudih2014-08-1210-0/+271
git-subtree-dir: activejob git-subtree-mainline: b45b99894a60eda434abec94d133a1cfd8de2dda git-subtree-split: 14f74a8331f94150dfee653224de8fc837797709