From 84f313ab5d47139dcbdc7f2efe8f6c0ccb33522d Mon Sep 17 00:00:00 2001 From: Rishi Jain Date: Sat, 1 Nov 2014 06:13:17 +0530 Subject: [PATCH 1/2] added punctuations, and role of queue_adapter module [ci skip] --- activejob/lib/active_job/queue_adapter.rb | 2 ++ .../lib/active_job/queue_adapters/delayed_job_adapter.rb | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/activejob/lib/active_job/queue_adapter.rb b/activejob/lib/active_job/queue_adapter.rb index 4bd28522ab2a..78b0f1fb780d 100644 --- a/activejob/lib/active_job/queue_adapter.rb +++ b/activejob/lib/active_job/queue_adapter.rb @@ -1,6 +1,8 @@ require 'active_job/queue_adapters/inline_adapter' require 'active_support/core_ext/string/inflections' +# The ActionJob::QueueAdapter module is used to load the +# correct adapter. The default queue adapter is the :inline queue. module ActiveJob module QueueAdapter #:nodoc: extend ActiveSupport::Concern diff --git a/activejob/lib/active_job/queue_adapters/delayed_job_adapter.rb b/activejob/lib/active_job/queue_adapters/delayed_job_adapter.rb index 4d27c4fff8ff..69d9e70de3e9 100644 --- a/activejob/lib/active_job/queue_adapters/delayed_job_adapter.rb +++ b/activejob/lib/active_job/queue_adapters/delayed_job_adapter.rb @@ -6,10 +6,10 @@ module QueueAdapters # # Delayed::Job (or DJ) encapsulates the common pattern of asynchronously # executing longer tasks in the background. Although DJ can have many - # storage backends one of the most used is based on Active Record. + # storage backends, one of the most used is based on Active Record. # Read more about Delayed Job {here}[https://github.com/collectiveidea/delayed_job]. # - # To use Delayed Job set the queue_adapter config to +:delayed_job+. + # To use Delayed Job, set the queue_adapter config to +:delayed_job+. # # Rails.application.config.active_job.queue_adapter = :delayed_job class DelayedJobAdapter From 19f6ac929bff5cb6ae95a26e8da29b20f5c4d146 Mon Sep 17 00:00:00 2001 From: Rishi Jain Date: Sat, 1 Nov 2014 10:29:34 +0530 Subject: [PATCH 2/2] placed description at correct place [ci skip] --- activejob/lib/active_job/queue_adapter.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/activejob/lib/active_job/queue_adapter.rb b/activejob/lib/active_job/queue_adapter.rb index 78b0f1fb780d..b42ec3b63843 100644 --- a/activejob/lib/active_job/queue_adapter.rb +++ b/activejob/lib/active_job/queue_adapter.rb @@ -1,9 +1,9 @@ require 'active_job/queue_adapters/inline_adapter' require 'active_support/core_ext/string/inflections' -# The ActionJob::QueueAdapter module is used to load the -# correct adapter. The default queue adapter is the :inline queue. module ActiveJob + # The ActionJob::QueueAdapter module is used to load the + # correct adapter. The default queue adapter is the :inline queue. module QueueAdapter #:nodoc: extend ActiveSupport::Concern