Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Initial implementation of ActiveJob AsyncAdapter. | Jerry D'Antonio | 2015-08-25 | 1 | -0/+23 |
| | |||||
* | implement `provider_job_id` for `queue_classic`. | Yves Senn | 2015-08-13 | 1 | -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_id | Rafael Mendonça França | 2015-05-08 | 1 | -1/+5 |
|\ | | | | | Provide provider_job_id to qu adapter. | ||||
| * | Provide provider_job_id to qu adapter. | Kevin Deisz | 2015-05-07 | 1 | -1/+5 |
| | | | | | | | | Further work to provide provider_job_id for queue adapters. | ||||
* | | Refactor sidekiq adapter enqueue and enqueue_at methods | Mehmet Emin İNAÇ | 2015-05-08 | 1 | -6/+2 |
|/ | |||||
* | Make que report back its job_id to provider_job_id | Jeroen van Baarsen | 2015-05-07 | 1 | -2/+6 |
| | | | | Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> | ||||
* | Let Sidekiq set provider_job_id | Jeroen van Baarsen | 2015-05-07 | 1 | -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 DelayedJob | Kevin Deisz | 2015-05-05 | 1 | -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-queues | Rafael Mendonça França | 2015-05-03 | 1 | -2/+2 |
|\ | | | | | ActiveJob: Stop using Que's named queues. | ||||
| * | Stop using Que's named queues in its ActiveJob adapter. | Chris Hanks | 2015-03-24 | 1 | -2/+2 |
| | | |||||
* | | Add missing error messages for sucker_punch, sneakers and qu activejob ↵ | Mehmet Emin İNAÇ | 2015-04-29 | 4 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | | adapters [ci skip] fix error message change raise to use rails conventions fix misspells | ||||
* | | Pass wrapped class name to Sidekiq for logging purposes | Mike Perham | 2015-03-23 | 1 | -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 singletons | Tamir Duberstein | 2015-03-11 | 11 | -135/+115 |
| | |||||
* | Avoid creating an extra hash on the job test adapter | Carlos Antonio da Silva | 2015-02-24 | 1 | -1/+1 |
| | |||||
* | `ActiveJob::QueueAdapters::TestAdapter` is now a singleton | Tamir Duberstein | 2015-02-23 | 1 | -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 on | Michael Ryan | 2015-02-06 | 1 | -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 improvements | Cristian Bica | 2014-12-30 | 1 | -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.org | claudiob | 2014-12-20 | 1 | -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 Jain | 2014-11-01 | 1 | -2/+2 |
| | |||||
* | - Fix error string raised from `enqueue_at` | Vipul A M | 2014-10-22 | 1 | -1/+1 |
| | |||||
* | Don't pass retry option to Sidekiq | Ari Pollak | 2014-10-08 | 1 | -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 work | Rafael Mendonça França | 2014-10-08 | 1 | -1/+1 |
| | |||||
* | update error message when InlineAdapter is used | yuuji.yaginuma | 2014-10-08 | 1 | -1/+1 |
| | |||||
* | update queue_classic details | Jean-Philippe Boily | 2014-10-06 | 1 | -4/+4 |
| | |||||
* | Tiny follow-up to #16999 [ci skip] | Robin Dupret | 2014-09-27 | 2 | -3/+3 |
| | | | | | | * Fix a typo * Remove references to Rails version * Remove an extra whitespace | ||||
* | Fix some typos in ActiveJob | Prathamesh Sonpatki | 2014-09-27 | 2 | -2/+2 |
| | | | | [ci skip] | ||||
* | Merge pull request #16963 from collectiveidea/activejob-dj | Rafael Mendonça França | 2014-09-22 | 1 | -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 Job | David Genord II | 2014-09-18 | 1 | -3/+9 |
| | | |||||
* | | Added RDoc for each Active Job adapter | Cristian Bica | 2014-09-22 | 11 | -22/+148 |
|/ | |||||
* | [ci skip] AJ docs fixes | Akshay Vishnoi | 2014-09-18 | 9 | -9/+9 |
| | | | | | | | | 1. Indentation 2. Spaces issues 3. Spelling correction 4. Grammar correction 5. Add #:nodoc: to all internal classes | ||||
* | simplify test_adapter | Abdelkader Boudih | 2014-09-14 | 1 | -43/+4 |
| | |||||
* | ActiveJob Integration Tests | Cristian Bica | 2014-09-11 | 1 | -1/+1 |
| | |||||
* | Active Job refactoring | Cristian Bica | 2014-09-03 | 11 | -61/+60 |
| | |||||
* | Fix failing tests in ActiveJob Adapter | Abdelkader Boudih | 2014-09-02 | 1 | -0/+1 |
| | |||||
* | Merge pull request #16724 from seuros/testcase | Rafael Mendonça França | 2014-09-02 | 1 | -0/+75 |
|\ | | | | | [ActiveJob] TestCase | ||||
| * | [ActiveJob] TestCase (Will squash before merge) | Abdelkader Boudih | 2014-09-02 | 1 | -12/+12 |
| | | |||||
| * | [ActiveJob] TestCase | Abdelkader Boudih | 2014-09-02 | 1 | -60/+58 |
| | | |||||
| * | [ActiveJob] TestCase | Abdelkader Boudih | 2014-09-02 | 1 | -0/+77 |
| | | |||||
* | | ActiveJob: Implemented enqueue_at for QueueClassic | Cristian Bica | 2014-09-02 | 1 | -2/+17 |
|/ | |||||
* | Fixed Active Job Backburner adapter | Cristian Bica | 2014-08-30 | 1 | -1/+1 |
| | |||||
* | Merge pull request #16602 from thetron/active_job_que_enqueue_at_support | Rafael Mendonça França | 2014-08-22 | 1 | -1/+1 |
|\ | | | | | Added enqueue_at support for QueAdapter in ActiveJob | ||||
| * | Added enqueue_at support for QueAdapter in ActiveJob | Nicholas Bruning | 2014-08-21 | 1 | -1/+1 |
| | | | | | | | | | | * Added inline job runner for Que in test/support * Updated QueAdapter to support enqueue_at | ||||
* | | Implemented enqueue_at for ActiveJob's Backburner adapter | Cristian Bica | 2014-08-22 | 1 | -1/+2 |
|/ | |||||
* | use same idiom to define class method as in every other adapter. | Yves Senn | 2014-08-19 | 1 | -2/+4 |
| | |||||
* | "warning: `*' interpreted as argument prefix" | Akira Matsuda | 2014-08-18 | 10 | -10/+10 |
| | |||||
* | [ActiveJob] make the resque-scheduler optional | Cristian Bica | 2014-08-17 | 1 | -3/+6 |
| | |||||
* | Update resque_adapter.rb | Abdelkader Boudih | 2014-08-14 | 1 | -1/+1 |
| | |||||
* | Add 'activejob/' from commit '14f74a8331f94150dfee653224de8fc837797709' | Abdelkader Boudih | 2014-08-12 | 10 | -0/+271 |
git-subtree-dir: activejob git-subtree-mainline: b45b99894a60eda434abec94d133a1cfd8de2dda git-subtree-split: 14f74a8331f94150dfee653224de8fc837797709 |