Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #21145 from toydestroyer/master | Yves Senn | 2015-08-06 | 1 | -15/+14 |
|\ | | | | | | | | | | | [ci skip] Documentation: update queue_classic info in Active Job adapters list | ||||
| * | Documentation: update queue_classic info in Active Job adapters list | Sergey Toy | 2015-08-06 | 1 | -4/+3 |
|/ | |||||
* | Add missing HelloJob require. | Kasper Timm Hansen | 2015-08-05 | 1 | -0/+1 |
| | | | | This way JobSerializationTest runs in isolation without errors. | ||||
* | Merge pull request #20800 from xijo/make_active_job_locale_aware | Kasper Timm Hansen | 2015-08-04 | 10 | -2/+98 |
|\ | | | | | Make ActiveJob locale aware | ||||
| * | Fixes #20799 | Johannes Opper | 2015-08-04 | 10 | -2/+98 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When `#perform_later` is called the locale isn't stored on the queue, which results in a locale reset when the job is performed. An example of the problem: I18n.locale = 'de' HelloJob.perform_now # german message, correct but I18n.locale = 'de' HelloJob.perform_later # english message, incorrect This PR attaches the current I18n.locale to every job during the serialization process. It is then restored during deserialization and used to perform the job with the correct locale. It falls back to the default locale if no serialized locale is found in order to provide backward compatibility with previously stored jobs. It is not necessary to clear the queue for the update. | ||||
* | | Add `:nodoc:` for internal testing methods [ci skip] | Robin Dupret | 2015-07-28 | 1 | -2/+2 |
|/ | |||||
* | Improve error message when serializing unsaved records for jobs | Faraz Yashar | 2015-06-28 | 2 | -7/+21 |
| | |||||
* | [ci skip] Add `.` | yui-knk | 2015-06-10 | 1 | -1/+1 |
| | |||||
* | [skip ci] Add documentation for QueueAdapter::queue_adapter | Anton Davydov | 2015-06-02 | 1 | -0/+2 |
| | |||||
* | Merge pull request #20371 from davydovanton/doc-adapter-lookup | Yves Senn | 2015-06-01 | 1 | -0/+4 |
|\ | | | | | Update documentation for QueueAdapters::lookup [ci skip] | ||||
| * | [skip ci] Update documentation for QueueAdapters::lookup | Anton Davydov | 2015-06-01 | 1 | -0/+4 |
| | | |||||
* | | minor formatting changes in changelogs. [ci skip] | Yves Senn | 2015-05-31 | 1 | -1/+1 |
| | | |||||
* | | Remove unused package tasks | Arun Agrawal | 2015-05-28 | 1 | -8/+0 |
|/ | | | | We are using `all:build` now. | ||||
* | Merge pull request #20262 from arunagw/aa-remove-broken-unused-release-task | Yves Senn | 2015-05-27 | 1 | -7/+0 |
|\ | | | | | Remove broken and unused release task | ||||
| * | Remove broken and unused release task | Arun Agrawal | 2015-05-22 | 1 | -7/+0 |
| | | | | | | | | | | - We do release with release.rb - There is no `rake/gemcutter` | ||||
* | | Fix spelling mistakes | Yoong Kang Lim | 2015-05-25 | 1 | -4/+4 |
|/ | |||||
* | doc changes for readability [ci skip] | Gourav Tiwari | 2015-05-19 | 1 | -2/+2 |
| | |||||
* | Pass over CHANGELOGS [ci skip] | Prathamesh Sonpatki | 2015-05-16 | 1 | -1/+1 |
| | |||||
* | [ci skip] Don’t encourage `sudo gem install` | claudiob | 2015-05-12 | 1 | -1/+1 |
| | | | | | | | | | | | | | I think we are better off leaving `sudo` outside of the documented way of installing gems (`activerecord`, `actionpack`, …). We don’t want newbies to think that `sudo` is required or, even worse, than they actually have to type `[sudo] gem install`. In most scenarios, `sudo` is not needed to install gems, and people who do need it, probably already know about it. What do you think? :grin: | ||||
* | Merge pull request #20064 from kddeisz/qu_provider_job_id | Rafael Mendonça França | 2015-05-08 | 4 | -9/+16 |
|\ | | | | | Provide provider_job_id to qu adapter. | ||||
| * | Provide provider_job_id to qu adapter. | Kevin Deisz | 2015-05-07 | 4 | -9/+16 |
| | | | | | | | | Further work to provide provider_job_id for queue adapters. | ||||
* | | Merge pull request #20072 from vngrs/refactor_active_job_sidekiq_adapter | Yves Senn | 2015-05-08 | 1 | -6/+2 |
|\ \ | | | | | | | Refactor sidekiq adapter enqueue and enqueue_at methods | ||||
| * | | Refactor sidekiq adapter enqueue and enqueue_at methods | Mehmet Emin İNAÇ | 2015-05-08 | 1 | -6/+2 |
| |/ | |||||
* / | Don't need to explicitly set test_order it's :random default | Mehmet Emin İNAÇ | 2015-05-08 | 1 | -2/+0 |
|/ | |||||
* | Make que report back its job_id to provider_job_id | Jeroen van Baarsen | 2015-05-07 | 3 | -20/+13 |
| | | | | Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> | ||||
* | Let Sidekiq set provider_job_id | Jeroen van Baarsen | 2015-05-07 | 3 | -2/+21 |
| | | | | | | | | | | 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 | 4 | -2/+22 |
| | | | | | When queueing with DelayedJob, get the id of the job instance and report it back to ActiveJob as provider_job_id. | ||||
* | Do not use named queues for que adapter | Rafael Mendonça França | 2015-05-03 | 2 | -2/+2 |
| | | | | See #19498 | ||||
* | Disable warnings on activejob tests | Rafael Mendonça França | 2015-05-03 | 1 | -2/+2 |
| | | | | | The implementations seems to not be interested to remove the warnings so enabling them we are just making harder to read the outputs | ||||
* | Merge pull request #19498 from chanks/activejob-que-remove-named-queues | Rafael Mendonça França | 2015-05-03 | 2 | -3/+7 |
|\ | | | | | ActiveJob: Stop using Que's named queues. | ||||
| * | Stop using Que's named queues in its ActiveJob adapter. | Chris Hanks | 2015-03-24 | 2 | -3/+7 |
| | | |||||
* | | Merge pull request #19969 from y-yagi/fix_job_helper_method | Yves Senn | 2015-05-01 | 3 | -2/+30 |
|\ \ | | | | | | | | | | match a expected value with message of `assert_equal` in AJ helper methods | ||||
| * | | match a expected value with message of `assert_equal` in AJ helper methods | yuuji.yaginuma | 2015-05-01 | 1 | -2/+2 |
|/ / | |||||
* | | Add doc for original_exception in ActiveJob::DeserializationError [ci skip] | Zachary Scott | 2015-04-29 | 1 | -0/+2 |
| | | |||||
* | | Add initial doc for Core in AJ [ci skip] | Zachary Scott | 2015-04-29 | 1 | -0/+2 |
| | | |||||
* | | Add initial doc for Enqueuing module [ci skip] | Zachary Scott | 2015-04-29 | 1 | -0/+1 |
| | | |||||
* | | Rails should be nodoc'd here [ci skip] | Zachary Scott | 2015-04-29 | 1 | -1/+1 |
| | | |||||
* | | 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 | ||||
* | | nodoc private internal constants from ActiveJob::Arguments | Zachary Scott | 2015-04-26 | 1 | -0/+5 |
| | | |||||
* | | Remove nonexistent adapter | Rafael Mendonça França | 2015-04-23 | 1 | -1/+0 |
| | | | | | | | | | | | | Closes #19866 [ci skip] | ||||
* | | Queue Classic runs a second earlier than scheduled | Matthew Draper | 2015-04-23 | 1 | -1/+1 |
| | | | | | | | | | | | | | | That seems to be a bug, but as we don't actually care about the precision for our test, we'll just give it a bit longer. [Matthew Draper & Cristian Bica] | ||||
* | | Only *configure* the queue in setup; DB creation must come later | Matthew Draper | 2015-04-20 | 2 | -21/+25 |
| | | | | | | | | | | | | | | | | | | setup gets called from the initializer, so it happens more than once in a test run. Trying to drop the database again after the first process is connected is.. ineffective. And entirely pointless. Instead, defer creating the database to start_workers -- which only happens once, right before we start doing anything real. | ||||
* | | Shuffle a few things in aid of easier debugging | Matthew Draper | 2015-04-20 | 1 | -20/+36 |
| | | | | | | | | | | | | | | * Don't swallow output -- if there is any, it's probably useful * Wait for the process to finish * Use IPC instead of a sleep * No need for a pidfile | ||||
* | | Fix sidekiq test order dependency | Matthew Draper | 2015-04-20 | 2 | -2/+3 |
| | | | | | | | | | | | | | | | | Requiring sidekiq/testing changes stuff, so we need to counteract that after we do so. And given its potential to confuse things, let's do it up front, at a predictable point. | ||||
* | | avoid double initialization error caused to sidekiq | Takumi IINO | 2015-04-14 | 1 | -13/+34 |
| | | | | | | | | | | | | Sidekiq::CLI#boot_system require "#{dummy_app_path}/config/environment.rb". But this file has already been required in'test/support/integration/helper.rb'. This patch will change to use Sidekiq::Launcher directly. | ||||
* | | Merge pull request #19753 from jonatack/use-ruby-2-2-2 | Guillermo Iguaran | 2015-04-13 | 1 | -1/+1 |
|\ \ | | | | | | | Upgrade to Ruby 2.2.2 | ||||
| * | | Upgrade to Ruby 2.2.2 | Jon Atack | 2015-04-14 | 1 | -1/+1 |
| | | | | | | | | | | | | and fix the grammar in the ruby_version_check.rb user message. | ||||
* | | | Fix a few typos and wrap some lines [ci skip] | Robin Dupret | 2015-04-12 | 1 | -9/+17 |
| | | | |||||
* | | | Copy edits for QueueAdapters docs to fix #17765 [ci skip] | Zachary Scott | 2015-04-10 | 1 | -18/+18 |
| | | | |||||
* | | | [ci skip] Adds documentation explaining table labels for Active Job ↵ | KingsleyKelly | 2015-04-09 | 1 | -7/+47 |
| | | | | | | | | | | | | QueueAdapters table in docs. |