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

Hi! I cleaned up your code for you! #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .autotest
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ class Autotest

result[filename] = File.stat(filename).mtime rescue next
end
return result
return result
end
end
4 changes: 2 additions & 2 deletions doc/layouts/default/default.erb
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@

<div id="footer">
<div id="footer-valid">
<a href="http://validator.w3.org/check/referer">xhtml</a> ::
<a href="http://validator.w3.org/check/referer">xhtml</a> ::
<span align="right"> Created with <a href="http://nanoc.stoneship.org/"> Nanoc </a> </span>
</div>

</div>

</div> <!-- end of wrapper div tag -->
Expand Down
4 changes: 2 additions & 2 deletions doc/output/style.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/*
Theme Name: Ginger Ninja! v2
Description: The new Ginger Ninja! theme.
Version: 1.0
Expand Down Expand Up @@ -220,7 +220,7 @@ a:hover {
margin-top:10px;
}
#sidebar li {

}
#sidebar li a {
display:block;
Expand Down
2 changes: 1 addition & 1 deletion test/client/test_bdrb_job_queue.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
BdrbJobQueue.insert_job(:priority => 1, :worker_name => "hello_world",:worker_method => "foovar",:job_key => "1",:args => "priority 1", :scheduled_at => Time.now.utc)
BdrbJobQueue.insert_job(:priority => 10, :worker_name => "hello_world",:worker_method => "foovar",:job_key => "10",:args => "priority 10", :scheduled_at => Time.now.utc)

[10,4,1].each do |priority|
[10,4,1].each do |priority|
next_job = BdrbJobQueue.find_next("hello_world")
next_job.taken.should == 1
next_job.started_at.should.not.be nil
Expand Down
2 changes: 1 addition & 1 deletion test/client/test_worker_proxy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
value[:priority] == priority
}.once
end

@worker_proxy.enq_foobar(:job_key => '4', :priority => 4, :arg => :hello)
@worker_proxy.enq_foobar(:job_key => '2', :priority => 2, :arg => :hello)
@worker_proxy.enq_foobar(:job_key => '10', :priority => 10, :arg => :hello)
Expand Down