Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct a spelling error #34481

Merged
merged 1 commit into from Nov 19, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -45,7 +45,7 @@ or to generate the body of an email. In Rails, View generation is handled by [Ac
[Active Record](activerecord/README.rdoc), [Active Model](activemodel/README.rdoc), [Action Pack](actionpack/README.rdoc), and [Action View](actionview/README.rdoc) can each be used independently outside Rails.
In addition to that, Rails also comes with [Action Mailer](actionmailer/README.rdoc), a library
to generate and send emails; [Active Job](activejob/README.md), a
framework for declaring jobs and making them run on a variety of queueing
framework for declaring jobs and making them run on a variety of queuing
backends; [Action Cable](actioncable/README.md), a framework to
integrate WebSockets with a Rails application; [Active Storage](activestorage/README.md), a library to attach cloud
and local files to Rails applications;
Expand Down
10 changes: 5 additions & 5 deletions activejob/README.md
@@ -1,7 +1,7 @@
# Active Job -- Make work happen later

Active Job is a framework for declaring jobs and making them run on a variety
of queueing backends. These jobs can be everything from regularly scheduled
of queuing backends. These jobs can be everything from regularly scheduled
clean-ups, to billing charges, to mailings. Anything that can be chopped up into
small units of work and run in parallel, really.

Expand All @@ -20,7 +20,7 @@ switch between them without having to rewrite your jobs.

## Usage

To learn how to use your preferred queueing backend see its adapter
To learn how to use your preferred queuing backend see its adapter
documentation at
[ActiveJob::QueueAdapters](http://api.rubyonrails.org/classes/ActiveJob/QueueAdapters.html).

Expand All @@ -39,7 +39,7 @@ end
Enqueue a job like so:

```ruby
MyJob.perform_later record # Enqueue a job to be performed as soon as the queueing system is free.
MyJob.perform_later record # Enqueue a job to be performed as soon as the queuing system is free.
```

```ruby
Expand Down Expand Up @@ -82,9 +82,9 @@ This works with any class that mixes in GlobalID::Identification, which
by default has been mixed into Active Record classes.


## Supported queueing systems
## Supported queuing systems

Active Job has built-in adapters for multiple queueing backends (Sidekiq,
Active Job has built-in adapters for multiple queuing backends (Sidekiq,
Resque, Delayed Job and others). To get an up-to-date list of the adapters
see the API Documentation for [ActiveJob::QueueAdapters](http://api.rubyonrails.org/classes/ActiveJob/QueueAdapters.html).

Expand Down
2 changes: 1 addition & 1 deletion activejob/activejob.gemspec
Expand Up @@ -7,7 +7,7 @@ Gem::Specification.new do |s|
s.name = "activejob"
s.version = version
s.summary = "Job framework with pluggable queues."
s.description = "Declare job classes that can be run by a variety of queueing backends."
s.description = "Declare job classes that can be run by a variety of queuing backends."

s.required_ruby_version = ">= 2.4.1"

Expand Down
2 changes: 1 addition & 1 deletion activejob/lib/active_job/base.rb
Expand Up @@ -40,7 +40,7 @@ module ActiveJob #:nodoc:
# Records that are passed in are serialized/deserialized using Global
# ID. More information can be found in Arguments.
#
# To enqueue a job to be performed as soon as the queueing system is free:
# To enqueue a job to be performed as soon as the queuing system is free:
#
# ProcessPhotoJob.perform_later(photo)
#
Expand Down
2 changes: 1 addition & 1 deletion activejob/lib/active_job/callbacks.rb
Expand Up @@ -130,7 +130,7 @@ def after_enqueue(*filters, &blk)
set_callback(:enqueue, :after, *filters, &blk)
end

# Defines a callback that will get called around the enqueueing
# Defines a callback that will get called around the enqueuing
# of the job.
#
# class VideoProcessJob < ActiveJob::Base
Expand Down
2 changes: 1 addition & 1 deletion activejob/lib/active_job/core.rb
Expand Up @@ -78,7 +78,7 @@ def initialize(*arguments)
end

# Returns a hash with the job data that can safely be passed to the
# queueing adapter.
# queuing adapter.
def serialize
{
"job_class" => self.class.name,
Expand Down
2 changes: 1 addition & 1 deletion activejob/lib/active_job/execution.rb
Expand Up @@ -26,7 +26,7 @@ def execute(job_data) #:nodoc:
end
end

# Performs the job immediately. The job is not sent to the queueing adapter
# Performs the job immediately. The job is not sent to the queuing adapter
# but directly executed by blocking the execution of others until it's finished.
#
# MyJob.new(*args).perform_now
Expand Down
6 changes: 3 additions & 3 deletions activejob/lib/active_job/queue_adapters.rb
Expand Up @@ -3,7 +3,7 @@
module ActiveJob
# == Active Job adapters
#
# Active Job has adapters for the following queueing backends:
# Active Job has adapters for the following queuing backends:
#
# * {Backburner}[https://github.com/nesquena/backburner]
# * {Delayed Job}[https://github.com/collectiveidea/delayed_job]
Expand Down Expand Up @@ -52,7 +52,7 @@ module ActiveJob
#
# No: The adapter will run jobs at the next opportunity and cannot use perform_later.
#
# N/A: The adapter does not support queueing.
# N/A: The adapter does not support queuing.
#
# NOTE:
# queue_classic supports job scheduling since version 3.1.
Expand All @@ -74,7 +74,7 @@ module ActiveJob
#
# No: Does not allow the priority of jobs to be configured.
#
# N/A: The adapter does not support queueing, and therefore sorting them.
# N/A: The adapter does not support queuing, and therefore sorting them.
#
# ==== Timeout
#
Expand Down
2 changes: 1 addition & 1 deletion guides/source/configuring.md
Expand Up @@ -731,7 +731,7 @@ There are a few configuration options available in Active Support:

`config.active_job` provides the following configuration options:

* `config.active_job.queue_adapter` sets the adapter for the queueing backend. The default adapter is `:async`. For an up-to-date list of built-in adapters see the [ActiveJob::QueueAdapters API documentation](http://api.rubyonrails.org/classes/ActiveJob/QueueAdapters.html).
* `config.active_job.queue_adapter` sets the adapter for the queuing backend. The default adapter is `:async`. For an up-to-date list of built-in adapters see the [ActiveJob::QueueAdapters API documentation](http://api.rubyonrails.org/classes/ActiveJob/QueueAdapters.html).

```ruby
# Be sure to have the adapter's gem in your Gemfile
Expand Down