Skip to content

Commit 1f09e4c

Browse files
mrduncandefunkt
authored andcommitted
Cleanup trailing whitespace
1 parent f687521 commit 1f09e4c

File tree

7 files changed

+7
-10
lines changed

7 files changed

+7
-10
lines changed

examples/demo/README.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Great, now let's check out the Resque frontend. Either click on 'View
5454
Resque' in your web browser or run:
5555

5656
$ open http://localhost:9292/resque/
57-
57+
5858
You should see the Resque web frontend. 404 page? Don't forget the
5959
trailing slash!
6060

lib/resque/errors.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ class NoQueueError < RuntimeError; end
44

55
# Raised when trying to create a job without a class
66
class NoClassError < RuntimeError; end
7-
7+
88
# Raised when a worker was killed while processing a job.
99
class DirtyExit < RuntimeError; end
1010
end

lib/resque/failure.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ def self.all(start = 0, count = 1)
5353
def self.url
5454
backend.url
5555
end
56-
56+
5757
# Clear all failure jobs
5858
def self.clear
5959
backend.clear
6060
end
61-
61+
6262
def self.requeue(index)
6363
backend.requeue(index)
6464
end

lib/resque/server/test_helper.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ module Resque
55
module TestHelper
66
class Test::Unit::TestCase
77
include Rack::Test::Methods
8-
def app
8+
def app
99
Resque::Server.new
1010
end
1111

1212
def self.should_respond_with_success
1313
test "should respond with success" do
1414
assert last_response.ok?, last_response.errors
15-
end
16-
end
15+
end
16+
end
1717
end
1818
end
1919
end

lib/resque/server/views/key_sets.erb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
Showing <%= start = params[:start].to_i %> to <%= start + 20 %> of <b><%=size = redis_get_size(key) %></b>
55
</p>
66

7-
87
<h1>Key "<%= key %>" is a <%= resque.redis.type key %></h1>
98
<table>
109
<% for row in redis_get_value_as_array(key, start) %>

test/job_hooks_test.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,4 +320,3 @@ def self.on_failure_record_history(exception, history)
320320
]
321321
end
322322
end
323-

test/resque-web_test.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,3 @@
5151

5252
should_respond_with_success
5353
end
54-

0 commit comments

Comments
 (0)