- 01 2月, 2017 1 次提交
-
-
由 Yuji Yaginuma 提交于
The `ActiveJob::TestHelper` replace the adapter to test adapter in `before_setup`. It gets the target class using the `descendants`, but if the test target job class is not loaded, will not be a replacement of the adapter. Therefore, instead of replacing with `before_setup`, modified to replace when setting adapter. Fixes #26360
-
- 31 1月, 2017 1 次提交
-
-
由 Alexander Pauly 提交于
Refactored ActiveJob TestAdapter Updated ActiveJob changelog Fixed typo in changelog Fixed formatting issue in changelog
-
- 11 10月, 2016 2 次提交
-
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
- 09 10月, 2016 1 次提交
-
-
由 yuuji.yaginuma 提交于
If the deadlock has occurred `ActiveRecord::Deadlocked` will raise. Ref: #25107, #26059
-
- 19 8月, 2016 1 次提交
-
-
由 InJung Chung 提交于
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.
-
- 17 8月, 2016 1 次提交
-
-
由 David Heinemeier Hansson 提交于
Yield the job instance so you have access to things like `job.arguments` on the custom logic after retries fail
-
- 10 8月, 2016 1 次提交
-
-
由 Vipul A M 提交于
-
- 03 8月, 2016 1 次提交
-
-
由 David Heinemeier Hansson 提交于
-
- 10 5月, 2016 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 07 5月, 2016 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 29 4月, 2016 1 次提交
-
-
由 Prathamesh Sonpatki 提交于
Active Job: Add note about ability to configure adapters on per job basis in CHANGELOG and release notes. [ci skip]
-
- 28 4月, 2016 1 次提交
-
-
由 eileencodes 提交于
-
- 01 3月, 2016 2 次提交
-
-
由 Matthew Draper 提交于
-
由 Jeremy Daer 提交于
Use one shared worker pool for all queues with 0-#CPU workers rather than separate pools per queue with 2-10*#CPU workers each.
-
- 25 2月, 2016 1 次提交
-
-
由 eileencodes 提交于
Adds changelog headers for beta3 release
-
- 05 2月, 2016 1 次提交
-
-
由 David Heinemeier Hansson 提交于
-
- 02 2月, 2016 1 次提交
-
-
由 Sean Griffin 提交于
-
- 23 12月, 2015 1 次提交
-
-
由 Yves Senn 提交于
[ci skip]
-
- 21 12月, 2015 1 次提交
-
-
由 Genadi Samokovarov 提交于
During the `5.0.0.beta1` release, the CHANGELOGs got an entry like the following: ``` * No changes. ``` It is kinda confusing as there are indeed changes after it. Not a biggie, just a small pass over the CHANGELOGs. [ci skip]
-
- 19 12月, 2015 1 次提交
-
-
由 eileencodes 提交于
-
- 03 10月, 2015 2 次提交
-
-
由 Wojciech Wnętrzak 提交于
-
由 Wojciech Wnętrzak 提交于
-
- 18 9月, 2015 1 次提交
-
-
由 wvengen 提交于
-
- 26 8月, 2015 1 次提交
-
-
由 Jerry D'Antonio 提交于
-
- 13 8月, 2015 1 次提交
-
-
由 Yves Senn 提交于
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.
-
- 11 8月, 2015 1 次提交
-
-
由 Jean Boussier 提交于
-
- 04 8月, 2015 1 次提交
-
-
由 Johannes Opper 提交于
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.
-
- 31 5月, 2015 1 次提交
-
-
由 Yves Senn 提交于
-
- 16 5月, 2015 1 次提交
-
-
由 Prathamesh Sonpatki 提交于
-
- 08 5月, 2015 3 次提交
-
-
由 Kevin Deisz 提交于
Further work to provide provider_job_id for queue adapters.
-
由 Jeroen van Baarsen 提交于
Signed-off-by: NJeroen van Baarsen <jeroenvanbaarsen@gmail.com>
-
由 Jeroen van Baarsen 提交于
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: NJeroen van Baarsen <jeroenvanbaarsen@gmail.com>
-
- 05 5月, 2015 1 次提交
-
-
由 Kevin Deisz 提交于
When queueing with DelayedJob, get the id of the job instance and report it back to ActiveJob as provider_job_id.
-
- 24 3月, 2015 1 次提交
-
-
由 Jeroen van Baarsen 提交于
* Jobs generated now inherent from ApplicationJob * ApplicationJob inherents from ActiveJob::Base * Added entry to changelog Signed-off-by: NJeroen van Baarsen <jeroenvanbaarsen@gmail.com>
-
- 08 2月, 2015 1 次提交
-
-
由 Carlos Antonio da Silva 提交于
-
- 07 2月, 2015 1 次提交
-
-
由 Michael Ryan 提交于
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.
-
- 31 1月, 2015 1 次提交
-
-
由 Sean Griffin 提交于
Unfortunately, the HashWithIndifferent access approach is insufficient for our needs. It's perfectly reasonable to want to use keyword arguments with Active Job, which we will see as a symbol keyed hash. For Ruby to convert this back to keyword arguments, it must deserialize to a symbol keyed hash. There are two primary changes to the serialization behavior. We first treat a HWIA separately, and mark it as such so we can convert it back into a HWIA during deserialization. For normal hashes, we keep a list of all symbol keys, and convert them back to symbol keys after deserialization. Fixes #18741.
-
- 10 1月, 2015 1 次提交
-
-
由 Yves Senn 提交于
-
- 08 1月, 2015 1 次提交
-
-
由 Carlos Antonio da Silva 提交于
-