Skip to content
This repository has been archived by the owner on Mar 30, 2021. It is now read-only.

Commit

Permalink
Cleanup trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
mrduncan authored and defunkt committed Feb 4, 2011
1 parent f687521 commit 1f09e4c
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion examples/demo/README.markdown
Expand Up @@ -54,7 +54,7 @@ Great, now let's check out the Resque frontend. Either click on 'View
Resque' in your web browser or run:

$ open http://localhost:9292/resque/

You should see the Resque web frontend. 404 page? Don't forget the
trailing slash!

Expand Down
2 changes: 1 addition & 1 deletion lib/resque/errors.rb
Expand Up @@ -4,7 +4,7 @@ class NoQueueError < RuntimeError; end

# Raised when trying to create a job without a class
class NoClassError < RuntimeError; end

# Raised when a worker was killed while processing a job.
class DirtyExit < RuntimeError; end
end
4 changes: 2 additions & 2 deletions lib/resque/failure.rb
Expand Up @@ -53,12 +53,12 @@ def self.all(start = 0, count = 1)
def self.url
backend.url
end

# Clear all failure jobs
def self.clear
backend.clear
end

def self.requeue(index)
backend.requeue(index)
end
Expand Down
6 changes: 3 additions & 3 deletions lib/resque/server/test_helper.rb
Expand Up @@ -5,15 +5,15 @@ module Resque
module TestHelper
class Test::Unit::TestCase
include Rack::Test::Methods
def app
def app
Resque::Server.new
end

def self.should_respond_with_success
test "should respond with success" do
assert last_response.ok?, last_response.errors
end
end
end
end
end
end
end
1 change: 0 additions & 1 deletion lib/resque/server/views/key_sets.erb
Expand Up @@ -4,7 +4,6 @@
Showing <%= start = params[:start].to_i %> to <%= start + 20 %> of <b><%=size = redis_get_size(key) %></b>
</p>


<h1>Key "<%= key %>" is a <%= resque.redis.type key %></h1>
<table>
<% for row in redis_get_value_as_array(key, start) %>
Expand Down
1 change: 0 additions & 1 deletion test/job_hooks_test.rb
Expand Up @@ -320,4 +320,3 @@ def self.on_failure_record_history(exception, history)
]
end
end

1 change: 0 additions & 1 deletion test/resque-web_test.rb
Expand Up @@ -51,4 +51,3 @@

should_respond_with_success
end

0 comments on commit 1f09e4c

Please sign in to comment.