Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add more rubocop rules about whitespaces | Rafael Mendonça França | 2016-10-29 | 1 | -1/+1 |
| | |||||
* | Added instance variable `@queue` to JobWrapper. | InJung Chung | 2016-08-19 | 1 | -0/+1 |
| | | | | | This will fix issues in [resque-scheduler](https://github.com/resque/resque-scheduler) `#job_to_hash` method, so we can use `#enqueue_delayed_selection`, `#remove_delayed` method in resque-scheduler smoothly. | ||||
* | normalizes indentation and whitespace across the project | Xavier Noria | 2016-08-06 | 2 | -14/+14 |
| | |||||
* | applies new string literal convention in activejob/lib | Xavier Noria | 2016-08-06 | 11 | -34/+34 |
| | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | Fix accessing provider_job_id inside active jobs for sidekiq adapter | Azzurrio | 2016-07-28 | 1 | -1/+1 |
| | |||||
* | Fix typo, `of of` -> `of` [ci skip] | Jake Worth | 2016-06-09 | 1 | -1/+1 |
| | |||||
* | Active Job: smaller footprint for the dev/test async adapter | Jeremy Daer | 2016-02-29 | 1 | -7/+98 |
| | | | | | Use one shared worker pool for all queues with 0-#CPU workers rather than separate pools per queue with 2-10*#CPU workers each. | ||||
* | [ci skip] Fix enqueuing spelling to maintain consistency | Abhishek Jain | 2016-02-12 | 2 | -2/+2 |
| | |||||
* | Update sucker_punch adapter's description | Jon Moss | 2016-01-27 | 1 | -6/+4 |
| | | | | [ci skip] | ||||
* | Update ActiveJob adapter for sucker_punch 2.0 | Jon Moss | 2016-01-27 | 1 | -2/+13 |
| | | | | | | | | This PR includes two changes for 2.0.0: - Breaking API change around `async.perform` --> `perform_async` - New addition of `perform_in`, which now allows end users of the adapter to use the `enqueued_at` public API method. | ||||
* | monitor is require for SneakersAdapter | Gaurav Sharma | 2015-10-06 | 1 | -1/+1 |
| | | | we are using `@monitor = Monitor.new` that inherit from Monitor class, we leave behind this commit https://github.com/rails/rails/commit/cbfc8b36 | ||||
* | Add job priorities to ActiveJob | wvengen | 2015-09-17 | 2 | -4/+4 |
| | |||||
* | 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 |
| | |