Skip to content

Commit

Permalink
Sorting schedule tab, upping version
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben VandenBos committed Apr 14, 2010
1 parent 94a6a14 commit 6df7c40
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
2 changes: 2 additions & 0 deletions HISTORY.md
@@ -1,3 +1,5 @@
## 1.8.0 (2010-04-14)

## 1.0.5 (2010-03-01)

* Fixed support for overriding queue from schedule config.
Expand Down
3 changes: 2 additions & 1 deletion Rakefile
Expand Up @@ -36,10 +36,11 @@ begin
gemspec.authors = ["Ben VandenBos"]
gemspec.version = ResqueScheduler::Version

gemspec.add_dependency "resque", ">= 1.5.0"
gemspec.add_dependency "resque", ">= 1.8.0"
gemspec.add_dependency "rufus-scheduler"
gemspec.add_development_dependency "jeweler"
gemspec.add_development_dependency "mocha"
gemspec.add_development_dependency "rack-test"
end
end

Expand Down
3 changes: 2 additions & 1 deletion lib/resque_scheduler/server/views/scheduler.erb
Expand Up @@ -15,7 +15,8 @@
<th>Queue</th>
<th>Arguments</th>
</tr>
<% Resque.schedule.each do |name, config| %>
<% Resque.schedule.keys.sort.each do |name| %>
<% config = Resque.schedule[name] %>
<tr>
<td>
<form action="<%= url "/schedule/requeue" %>" method="post">
Expand Down
2 changes: 1 addition & 1 deletion lib/resque_scheduler/version.rb
@@ -1,3 +1,3 @@
module ResqueScheduler
Version = '1.0.6'
Version = '1.8.0'
end
5 changes: 3 additions & 2 deletions test/resque-web_test.rb
@@ -1,13 +1,14 @@
require File.dirname(__FILE__) + '/test_helper'
require '../resque/lib/resque/server/test_helper.rb'

# Pull in the server test_helper from resque
require 'resque/server/test_helper.rb'

context "on GET to /schedule" do
setup { get "/schedule" }

should_respond_with_success
end


context "on GET to /delayed" do
setup { get "/delayed" }

Expand Down

0 comments on commit 6df7c40

Please sign in to comment.