Skip to content

Commit df684d7

Browse files
committed
Merge pull request resque#770 from modclothpair/proofreading
Proofreading changes
2 parents 3df2f15 + f08c406 commit df684d7

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

docs/HOOKS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ like this:
7171
end
7272

7373
Once this hook is made available to your job (either by way of
74-
inheritence or `extend`), it will be run before the job's `perform`
74+
inheritance or `extend`), it will be run before the job's `perform`
7575
method is called. Hooks of each type are executed in alphabetical order,
7676
so `before_perform_a` will always be executed before `before_perform_b`.
7777
An unnamed hook (`before_perform`) will be executed first.

lib/resque.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def redis=(server)
5757
end
5858

5959
# Encapsulation of encode/decode. Overwrite this to use it across Resque.
60-
# This defaults to JSON for backwards compatibilty.
60+
# This defaults to JSON for backwards compatibility.
6161
def coder
6262
@coder ||= JsonCoder.new
6363
end
@@ -240,7 +240,7 @@ def size(queue)
240240
# start and count should be integer and can be used for pagination.
241241
# start is the item to begin, count is how many items to return.
242242
#
243-
# To get the 3rd page of a 30 item, paginatied list one would use:
243+
# To get the 3rd page of a 30 item, paginated list one would use:
244244
# Resque.peek('my_list', 59, 30)
245245
def peek(queue, start = 0, count = 1)
246246
result = queue(queue).slice(start, count)

lib/resque/failure.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def self.create(options = {})
1818
end
1919

2020
#
21-
# Sets the current backend. Expects a class descendent of
21+
# Sets the current backend. Expects a class descendant of
2222
# `Resque::Failure::Base`.
2323
#
2424
# Example use:

lib/resque/vendor/utf8_util/utf8_util_18.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def self.sequence_length(scanner)
8181

8282
private
8383

84-
# Read another byte off the scanner oving the scan position forward one place
84+
# Read another byte off the scanner moving the scan position forward one place
8585
#
8686
# Returns nothing.
8787
def self.check_next_sequence(scanner)

test/redis-test-cluster.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ databases 16
8282

8383
# Set the max number of connected clients at the same time. By default there
8484
# is no limit, and it's up to the number of file descriptors the Redis process
85-
# is able to open. The special value '0' means no limts.
85+
# is able to open. The special value '0' means no limits.
8686
# Once the limit is reached Redis will close all the new connections sending
8787
# an error 'max number of clients reached'.
8888

0 commit comments

Comments
 (0)