resque_manager 3.3.2 → 3.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 735b88a6f88951d523090c3533a1dcac2e753ae9
4
- data.tar.gz: 7647c53321229d8920c64fc7364982afb5e1a80c
3
+ metadata.gz: ffc55b0283a3bc92a8d50589360f1b15491232eb
4
+ data.tar.gz: 55a85d29a0002a76b3f07c2063a11b4a021ba500
5
5
  SHA512:
6
- metadata.gz: 20712d2a060222720058f5ca3d8ea02157b0c3aa41a67a1bd9055fffca605d4a368c8501cb0ee6eedd19311687372f234de44439cc7aed84e8c189673985bc23
7
- data.tar.gz: ebfb572eaeab14c7ae4b726b628990bf562b6d2f65885f3e83aaedefd1c27e95a20db6ea9c5297ca8063b196e734a1bf65755f5de5807f9b2816a49aeddf4aee
6
+ metadata.gz: 63316e22fc5fa1790cf3fcc70a6981da09c87fc7499c6f8a5c95c1e8e52cbd3de666e7a35440a47cd5481035b6f498ce4ea5f6c930beda94fe2e60dc2936091b
7
+ data.tar.gz: a5ed462f0de651eb8f1e6921172c58331948ae824b4db01ca1ace0523b719a5ad686a5538b1b09779440c83c310528eaa6faaba638ecd4cf5c8523a9a32fc9e4
@@ -279,6 +279,7 @@ unless defined?($rails_rake_task) && $rails_rake_task
279
279
 
280
280
  def find_worker(worker)
281
281
  return nil if worker.blank?
282
+ worker = CGI::unescape(worker)
282
283
  first_part, *rest = worker.split(':')
283
284
  first_part.gsub!(/_/, '.')
284
285
  Resque::Worker.find("#{first_part}:#{rest.join(':')}")
@@ -82,7 +82,7 @@ module ResqueManager
82
82
  if @polling
83
83
  text = "Last Updated: #{Time.now.strftime("%H:%M:%S")}"
84
84
  else
85
- text = link_to('Live Poll', {:action => 'poll', :page => current_section}, :rel => 'poll')
85
+ text = link_to('Live Poll', poll_resque_path(page: current_section), :rel => 'poll')
86
86
  end
87
87
  "<p class='poll'>#{text}</p>".html_safe
88
88
  end
@@ -46,7 +46,7 @@
46
46
  </tr>
47
47
  <% for queue in resque.queues.sort_by { |q| q.to_s } %>
48
48
  <tr>
49
- <td class='queue'><%= link_to(queue, {:action => "queues", :id => queue}, :class => 'queue') %></td>
49
+ <td class='queue'><%= link_to(queue, queues_resque_path(id: queue), :class => 'queue') %></td>
50
50
  <td class='size'><%= resque.size queue %></td>
51
51
  </tr>
52
52
  <% end %>
@@ -33,14 +33,14 @@
33
33
  <span>Not Paused</span>
34
34
  <% end %>
35
35
  </td>
36
- <td class='queues'><%= queues.split(',').map { |q| link_to(q, {:action => 'queues', :id => q}, :class => 'queue-tag') }.join('').html_safe %></td>
36
+ <td class='queues'><%= queues.split(',').map { |q| link_to(q, queues_resque_path(id: q), :class => 'queue-tag') }.join('').html_safe %></td>
37
37
  <td><%= worker.processed %></td>
38
38
  <td><%= worker.failed %></td>
39
39
  <td class='process'>
40
40
  <% data = worker.processing || {} %>
41
41
  <% if data['queue'] %>
42
42
  <code><%= data['payload']['class'] %></code>
43
- <small><%= link_to(format_time(Time.zone.parse(data['run_at'])), {:action => 'working', :id => worker.to_s.gsub(/\./, '_')}, :class => "queue time") %></small>
43
+ <small><%= link_to(format_time(Time.zone.parse(data['run_at'])), working_resque_path(id: worker.to_s.gsub(/\./, '_')), :class => "queue time") %></small>
44
44
  <br>
45
45
  <small><%= worker.overview_message %></small>
46
46
  <% else %>
@@ -73,14 +73,14 @@
73
73
  <img src="<%="/assets/resque_manager/#{state}" %>.png" alt="<%= state %>" title="<%= state %>"></td>
74
74
 
75
75
  <% host, pid, thread, path, queues = worker.to_s.split(':') %>
76
- <td class='where'><%= link_to("#{host}:#{pid}:#{thread}:#{path}", :action => 'workers', :id => worker.to_s.gsub(/\./, '_')) %></td>
77
- <td class='queues'><%= queues.split(',').map { |q| link_to(q, {:action => 'queues', :id => q}, :class => 'queue-tag') }.join('').html_safe %></td>
76
+ <td class='where'><%= link_to("#{host}:#{pid}:#{thread}:#{path}", workers_resque_path(id: worker.to_s.gsub(/\./, '_'))) %></td>
77
+ <td class='queues'><%= queues.split(',').map { |q| link_to(q, queues_resque_path(id: q), :class => 'queue-tag') }.join('').html_safe %></td>
78
78
 
79
79
  <td class='process'>
80
80
  <% data = worker.processing || {} %>
81
81
  <% if data['queue'] %>
82
82
  <code><%= data['payload']['class'] %></code>
83
- <small><%= link_to(format_time(Time.zone.parse(data['run_at'])), {:action => 'working', :id => worker.to_s.gsub(/\./, '_')}, :class => "queue time") %></small>
83
+ <small><%= link_to(format_time(Time.zone.parse(data['run_at'])), working_resque_path(id: worker.to_s.gsub(/\./, '_')), :class => "queue time") %></small>
84
84
  <br/>
85
85
  <small><%= worker.overview_message %></small>
86
86
  <% else %>
@@ -13,10 +13,10 @@
13
13
  <tr>
14
14
  <td><img src="<%='assets/resque_manager/working.png' %>" alt="working" title="working"></td>
15
15
  <% host, pid,thread, path, _ = worker.to_s.split(':') %>
16
- <td><%= link_to("#{host}:#{pid}:#{thread}:#{path}", {:action => 'workers', :id => worker.to_s.gsub(/\./,'_')}) %></td>
16
+ <td><%= link_to("#{host}:#{pid}:#{thread}:#{path}", workers_resque_path(id: worker.to_s.gsub(/\./, '_'))) %></td>
17
17
  <% data = worker.job %>
18
18
  <% queue = data['queue'] %>
19
- <td><%= link_to(queue, {:action => 'queues', :id => queue}, :class => 'queue') %></td>
19
+ <td><%= link_to(queue, queues_resque_path(id: queue), :class => 'queue') %></td>
20
20
  <td><span class="time"><%= format_time(Time.zone.parse(data['run_at'].to_s)) %></span></td>
21
21
  <td>
22
22
  <code><%= data['payload']['class'] %></code>
@@ -48,14 +48,14 @@
48
48
  <tr>
49
49
  <td class='icon'><img src="<%="/assets/resque_manager/#{state = worker.state}" %>.png" alt="<%= state %>" title="<%= state %>"></td>
50
50
  <% host, pid, thread, path, queues = worker.to_s.split(':') %>
51
- <td class='where'><%= link_to("#{host}:#{pid}:#{thread}:#{path}", {:action => 'workers', :id => worker.to_s.gsub(/\./,'_')}) %></td>
51
+ <td class='where'><%= link_to("#{host}:#{pid}:#{thread}:#{path}", workers_resque_path(id: worker.to_s.gsub(/\./, '_'))) %></td>
52
52
  <td class='queues queue'>
53
- <%= link_to(job['queue'], {:action => 'queues', :id => job['queue']}, :class => 'queue-tag') %>
53
+ <%= link_to(job['queue'], queues_resque_path(id: job['queue']), :class => 'queue-tag') %>
54
54
  </td>
55
55
  <td class='process'>
56
56
  <% if job['queue'] %>
57
57
  <code><%= job['payload']['class'] %></code>
58
- <small><%= link_to(format_time(Time.zone.parse(job['run_at'].to_s)), {:action => 'working', :id => worker.to_s.gsub(/\./,'_')}, :class => 'queue time') %></small>
58
+ <small><%= link_to(format_time(Time.zone.parse(job['run_at'].to_s)), working_resque_path(id: worker.to_s.gsub(/\./, '_')), :class => 'queue time') %></small>
59
59
  <br/>
60
60
  <small><%=worker.overview_message%></small>
61
61
  <% else %>
@@ -74,7 +74,9 @@
74
74
  <dd>&nbsp;</dd>
75
75
  <dt>Worker</dt>
76
76
  <dd>
77
- <a href="<%= u(:workers, job['worker']) %>"><%= job['worker'].split(':')[0...2].join(':') %></a> on <b class='queue-tag'><%= job['queue'] %></b > at <b><span class="time"><%= Time.parse(job['failed_at']).strftime(date_format) %></span></b>
77
+ <% host, pid, thread, path, queues = job['worker'].to_s.split(':') %>
78
+ <%= link_to("#{host}:#{pid}:#{thread}", workers_resque_path(id: job['worker'].to_s.gsub(/\./, '_'))) %>
79
+ on <b class='queue-tag'><%= job['queue'] %></b > at <b><span class="time"><%= Time.parse(job['failed_at']).strftime(date_format) %></span></b>
78
80
  <% if job['retried_at'] %>
79
81
  <div class='retried'>
80
82
  Retried <b><span class="time"><%= Time.parse(job['retried_at']).strftime(date_format) %></span></b>
@@ -1,3 +1,3 @@
1
1
  module ResqueManager
2
- VERSION = "3.3.2"
2
+ VERSION = "3.3.3"
3
3
  end
@@ -1889,3 +1889,344 @@ Completed 200 OK in 13ms (Views: 11.9ms)
1889
1889
  Processing by ResqueManager::ResqueController#working as HTML
1890
1890
  Filter chain halted as :check_connection rendered or redirected
1891
1891
  Completed 200 OK in 10ms (Views: 9.6ms)
1892
+ Processing by ResqueManager::ResqueController#add_scheduled_job as HTML
1893
+ Parameters: {"name"=>"TestName", "class"=>"SingleRecordLoader", "ip"=>"0.0.0.0", "args"=>nil, "description"=>"Test job", "cron"=>"TestCron"}
1894
+ Redirected to http://test.host/resque/schedule
1895
+ Completed 302 Found in 3ms
1896
+ Processing by ResqueManager::ResqueController#add_scheduled_job as HTML
1897
+ Parameters: {"name"=>"key", "resque client connected to redis://127.0.0.1:6379/0"=>{"name"=>"key", "controller"=>"resque_manager/resque", "action"=>"add_scheduled_job"}}
1898
+ Redirected to http://test.host/resque/schedule
1899
+ Completed 302 Found in 1ms
1900
+ Processing by ResqueManager::ResqueController#cleaner_stale as HTML
1901
+ Redirected to http://test.host/resque/cleaner
1902
+ Completed 302 Found in 2ms
1903
+ Processing by ResqueManager::ResqueController#clear_statuses as HTML
1904
+ Redirected to http://test.host/resque/statuses
1905
+ Completed 302 Found in 3ms
1906
+ Processing by ResqueManager::ResqueController#continue_worker as HTML
1907
+ Completed 500 Internal Server Error in 1ms
1908
+ Processing by ResqueManager::ResqueController#continue_worker as HTML
1909
+ Parameters: {"worker"=>"714s4r1.clarity.net(10.10.1.68):80562:70239237048020::"}
1910
+ Redirected to http://test.host/resque/workers
1911
+ Completed 302 Found in 3ms
1912
+ Processing by ResqueManager::ResqueController#kill as HTML
1913
+ Parameters: {"id"=>"UUID"}
1914
+ Redirected to http://test.host/resque/statuses
1915
+ Completed 302 Found in 4ms
1916
+ Processing by ResqueManager::ResqueController#pause_worker as HTML
1917
+ Completed 500 Internal Server Error in 1ms
1918
+ Processing by ResqueManager::ResqueController#pause_worker as HTML
1919
+ Parameters: {"worker"=>"714s4r1.clarity.net(10.10.1.68):80562:70239237048020::"}
1920
+ Redirected to http://test.host/resque/workers
1921
+ Completed 302 Found in 2ms
1922
+ Processing by ResqueManager::ResqueController#poll as HTML
1923
+ Parameters: {"page"=>"overview"}
1924
+ Rendered /Users/ktyll/rails_sites/git/resque_manager/app/views/resque_manager/resque/_queues.html.erb (3.0ms)
1925
+ Rendered /Users/ktyll/rails_sites/git/resque_manager/app/views/resque_manager/resque/_working.html.erb (2.9ms)
1926
+ Completed 200 OK in 49ms (Views: 3.8ms)
1927
+ Processing by ResqueManager::ResqueController#queues as HTML
1928
+ Completed 200 OK in 8ms (Views: 7.6ms)
1929
+ Processing by ResqueManager::ResqueController#remove_from_schedule as HTML
1930
+ Redirected to http://test.host/resque/schedule
1931
+ Completed 302 Found in 1ms
1932
+ Processing by ResqueManager::ResqueController#remove_from_schedule as HTML
1933
+ Parameters: {"ip"=>"0.0.0.0", "job_name"=>"SingleRecordLoader"}
1934
+ Redirected to http://test.host/resque/schedule
1935
+ Completed 302 Found in 1ms
1936
+ Processing by ResqueManager::ResqueController#remove_job as HTML
1937
+ Parameters: {"class"=>"SingleRecordLoader"}
1938
+ Redirected to http://test.host/resque/queues/single_record_loader
1939
+ Completed 302 Found in 1ms
1940
+ Processing by ResqueManager::ResqueController#remove_job as HTML
1941
+ Parameters: {"class"=>"SingleRecordLoader"}
1942
+ Redirected to http://test.host/resque/queues/single_record_loader
1943
+ Completed 302 Found in 1ms
1944
+ Processing by ResqueManager::ResqueController#restart_worker as HTML
1945
+ Completed 500 Internal Server Error in 1ms
1946
+ Processing by ResqueManager::ResqueController#restart_worker as HTML
1947
+ Parameters: {"worker"=>"714s4r1.clarity.net(10.10.1.68):80562:70239237048020::"}
1948
+ Redirected to http://test.host/resque/workers
1949
+ Completed 302 Found in 1ms
1950
+ Processing by ResqueManager::ResqueController#schedule as HTML
1951
+ Completed 200 OK in 86ms (Views: 10.2ms)
1952
+ Processing by ResqueManager::ResqueController#schedule_requeue as HTML
1953
+ Redirected to http://test.host/resque/overview
1954
+ Completed 302 Found in 2ms
1955
+ Processing by ResqueManager::ResqueController#start_scheduler as HTML
1956
+ Parameters: {"ip"=>"0.0.0.0"}
1957
+ Redirected to http://test.host/resque/schedule
1958
+ Completed 302 Found in 1ms
1959
+ Processing by ResqueManager::ResqueController#start_worker as HTML
1960
+ Redirected to http://test.host/resque/workers
1961
+ Completed 302 Found in 2ms
1962
+ Processing by ResqueManager::ResqueController#start_worker as HTML
1963
+ Parameters: {"worker"=>"714s4r1.clarity.net(10.10.1.68):80562:70239237048020::"}
1964
+ Redirected to http://test.host/resque/workers
1965
+ Completed 302 Found in 2ms
1966
+ Processing by ResqueManager::ResqueController#stats as HTML
1967
+ Redirected to http://test.host/resque/stats?id=resque
1968
+ Completed 302 Found in 2ms
1969
+ Processing by ResqueManager::ResqueController#stats as HTML
1970
+ Parameters: {"id"=>"txt"}
1971
+ Completed 200 OK in 3ms (Views: 0.6ms)
1972
+ Processing by ResqueManager::ResqueController#status as HTML
1973
+ Parameters: {"id"=>"UUID"}
1974
+ Rendered /Users/ktyll/rails_sites/git/resque_manager/app/views/resque_manager/resque/_status_styles.erb (0.5ms)
1975
+ Completed 200 OK in 18ms (Views: 16.6ms)
1976
+ Processing by ResqueManager::ResqueController#status as JS
1977
+ Parameters: {"id"=>"UUID"}
1978
+ Completed 200 OK in 1ms (Views: 0.2ms)
1979
+ Processing by ResqueManager::ResqueController#status_poll as HTML
1980
+ Rendered /Users/ktyll/rails_sites/git/resque_manager/app/views/resque_manager/resque/_status_styles.erb (0.1ms)
1981
+ Completed 200 OK in 5ms (Views: 0.3ms)
1982
+ Processing by ResqueManager::ResqueController#statuses as HTML
1983
+ Rendered /Users/ktyll/rails_sites/git/resque_manager/app/views/resque_manager/resque/_status_styles.erb (0.1ms)
1984
+ Rendered /Users/ktyll/rails_sites/git/resque_manager/app/views/resque_manager/resque/_next_more.html.erb (0.6ms)
1985
+ Completed 200 OK in 7ms (Views: 5.9ms)
1986
+ Processing by ResqueManager::ResqueController#statuses as JS
1987
+ Completed 200 OK in 1ms (Views: 0.2ms)
1988
+ Processing by ResqueManager::ResqueController#stop_scheduler as HTML
1989
+ Parameters: {"ip"=>"0.0.0.0"}
1990
+ Redirected to http://test.host/resque/schedule
1991
+ Completed 302 Found in 1ms
1992
+ Processing by ResqueManager::ResqueController#stop_worker as HTML
1993
+ Completed 500 Internal Server Error in 1ms
1994
+ Processing by ResqueManager::ResqueController#stop_worker as HTML
1995
+ Parameters: {"worker"=>"714s4r1.clarity.net(10.10.1.68):80562:70239237048020::"}
1996
+ Redirected to http://test.host/resque/workers
1997
+ Completed 302 Found in 1ms
1998
+ Processing by ResqueManager::ResqueController#working as HTML
1999
+ Completed 200 OK in 8ms (Views: 6.9ms)
2000
+ Processing by ResqueManager::ResqueController#working as HTML
2001
+ Filter chain halted as :check_connection rendered or redirected
2002
+ Completed 200 OK in 8ms (Views: 7.3ms)
2003
+ Processing by ResqueManager::ResqueController#add_scheduled_job as HTML
2004
+ Parameters: {"name"=>"TestName", "class"=>"SingleRecordLoader", "ip"=>"0.0.0.0", "args"=>nil, "description"=>"Test job", "cron"=>"TestCron"}
2005
+ Redirected to http://test.host/resque/schedule
2006
+ Completed 302 Found in 3ms
2007
+ Processing by ResqueManager::ResqueController#add_scheduled_job as HTML
2008
+ Parameters: {"name"=>"key", "resque client connected to redis://127.0.0.1:6379/0"=>{"name"=>"key", "controller"=>"resque_manager/resque", "action"=>"add_scheduled_job"}}
2009
+ Redirected to http://test.host/resque/schedule
2010
+ Completed 302 Found in 5ms
2011
+ Processing by ResqueManager::ResqueController#cleaner_stale as HTML
2012
+ Redirected to http://test.host/resque/cleaner
2013
+ Completed 302 Found in 1ms
2014
+ Processing by ResqueManager::ResqueController#clear_statuses as HTML
2015
+ Redirected to http://test.host/resque/statuses
2016
+ Completed 302 Found in 2ms
2017
+ Processing by ResqueManager::ResqueController#continue_worker as HTML
2018
+ Redirected to http://test.host/resque/workers
2019
+ Completed 302 Found in 2ms
2020
+ Processing by ResqueManager::ResqueController#continue_worker as HTML
2021
+ Parameters: {"worker"=>"714s4r1.clarity.net(10.10.1.68):80688:70241648772820::"}
2022
+ Redirected to http://test.host/resque/workers
2023
+ Completed 302 Found in 2ms
2024
+ Processing by ResqueManager::ResqueController#kill as HTML
2025
+ Parameters: {"id"=>"UUID"}
2026
+ Redirected to http://test.host/resque/statuses
2027
+ Completed 302 Found in 5ms
2028
+ Processing by ResqueManager::ResqueController#pause_worker as HTML
2029
+ Redirected to http://test.host/resque/workers
2030
+ Completed 302 Found in 2ms
2031
+ Processing by ResqueManager::ResqueController#pause_worker as HTML
2032
+ Parameters: {"worker"=>"714s4r1.clarity.net(10.10.1.68):80688:70241648772820::"}
2033
+ Redirected to http://test.host/resque/workers
2034
+ Completed 302 Found in 3ms
2035
+ Processing by ResqueManager::ResqueController#poll as HTML
2036
+ Parameters: {"page"=>"overview"}
2037
+ Rendered /Users/ktyll/rails_sites/git/resque_manager/app/views/resque_manager/resque/_queues.html.erb (4.4ms)
2038
+ Rendered /Users/ktyll/rails_sites/git/resque_manager/app/views/resque_manager/resque/_working.html.erb (3.3ms)
2039
+ Completed 200 OK in 48ms (Views: 4.0ms)
2040
+ Processing by ResqueManager::ResqueController#queues as HTML
2041
+ Completed 200 OK in 13ms (Views: 11.8ms)
2042
+ Processing by ResqueManager::ResqueController#remove_from_schedule as HTML
2043
+ Redirected to http://test.host/resque/schedule
2044
+ Completed 302 Found in 2ms
2045
+ Processing by ResqueManager::ResqueController#remove_from_schedule as HTML
2046
+ Parameters: {"ip"=>"0.0.0.0", "job_name"=>"SingleRecordLoader"}
2047
+ Redirected to http://test.host/resque/schedule
2048
+ Completed 302 Found in 2ms
2049
+ Processing by ResqueManager::ResqueController#remove_job as HTML
2050
+ Parameters: {"class"=>"SingleRecordLoader"}
2051
+ Redirected to http://test.host/resque/queues/single_record_loader
2052
+ Completed 302 Found in 2ms
2053
+ Processing by ResqueManager::ResqueController#remove_job as HTML
2054
+ Parameters: {"class"=>"SingleRecordLoader"}
2055
+ Redirected to http://test.host/resque/queues/single_record_loader
2056
+ Completed 302 Found in 1ms
2057
+ Processing by ResqueManager::ResqueController#restart_worker as HTML
2058
+ Redirected to http://test.host/resque/workers
2059
+ Completed 302 Found in 3ms
2060
+ Processing by ResqueManager::ResqueController#restart_worker as HTML
2061
+ Parameters: {"worker"=>"714s4r1.clarity.net(10.10.1.68):80688:70241648772820::"}
2062
+ Redirected to http://test.host/resque/workers
2063
+ Completed 302 Found in 2ms
2064
+ Processing by ResqueManager::ResqueController#schedule as HTML
2065
+ Completed 200 OK in 75ms (Views: 13.1ms)
2066
+ Processing by ResqueManager::ResqueController#schedule_requeue as HTML
2067
+ Redirected to http://test.host/resque/overview
2068
+ Completed 302 Found in 8ms
2069
+ Processing by ResqueManager::ResqueController#start_scheduler as HTML
2070
+ Parameters: {"ip"=>"0.0.0.0"}
2071
+ Redirected to http://test.host/resque/schedule
2072
+ Completed 302 Found in 2ms
2073
+ Processing by ResqueManager::ResqueController#start_worker as HTML
2074
+ Redirected to http://test.host/resque/workers
2075
+ Completed 302 Found in 4ms
2076
+ Processing by ResqueManager::ResqueController#start_worker as HTML
2077
+ Parameters: {"worker"=>"714s4r1.clarity.net(10.10.1.68):80688:70241648772820::"}
2078
+ Redirected to http://test.host/resque/workers
2079
+ Completed 302 Found in 2ms
2080
+ Processing by ResqueManager::ResqueController#stats as HTML
2081
+ Redirected to http://test.host/resque/stats?id=resque
2082
+ Completed 302 Found in 7ms
2083
+ Processing by ResqueManager::ResqueController#stats as HTML
2084
+ Parameters: {"id"=>"txt"}
2085
+ Completed 200 OK in 6ms (Views: 0.8ms)
2086
+ Processing by ResqueManager::ResqueController#status as HTML
2087
+ Parameters: {"id"=>"UUID"}
2088
+ Rendered /Users/ktyll/rails_sites/git/resque_manager/app/views/resque_manager/resque/_status_styles.erb (0.9ms)
2089
+ Completed 200 OK in 23ms (Views: 20.8ms)
2090
+ Processing by ResqueManager::ResqueController#status as JS
2091
+ Parameters: {"id"=>"UUID"}
2092
+ Completed 200 OK in 1ms (Views: 0.4ms)
2093
+ Processing by ResqueManager::ResqueController#status_poll as HTML
2094
+ Rendered /Users/ktyll/rails_sites/git/resque_manager/app/views/resque_manager/resque/_status_styles.erb (0.1ms)
2095
+ Completed 200 OK in 6ms (Views: 0.4ms)
2096
+ Processing by ResqueManager::ResqueController#statuses as HTML
2097
+ Rendered /Users/ktyll/rails_sites/git/resque_manager/app/views/resque_manager/resque/_status_styles.erb (0.1ms)
2098
+ Rendered /Users/ktyll/rails_sites/git/resque_manager/app/views/resque_manager/resque/_next_more.html.erb (1.0ms)
2099
+ Completed 200 OK in 10ms (Views: 8.3ms)
2100
+ Processing by ResqueManager::ResqueController#statuses as JS
2101
+ Completed 200 OK in 2ms (Views: 0.5ms)
2102
+ Processing by ResqueManager::ResqueController#stop_scheduler as HTML
2103
+ Parameters: {"ip"=>"0.0.0.0"}
2104
+ Redirected to http://test.host/resque/schedule
2105
+ Completed 302 Found in 2ms
2106
+ Processing by ResqueManager::ResqueController#stop_worker as HTML
2107
+ Redirected to http://test.host/resque/workers
2108
+ Completed 302 Found in 2ms
2109
+ Processing by ResqueManager::ResqueController#stop_worker as HTML
2110
+ Parameters: {"worker"=>"714s4r1.clarity.net(10.10.1.68):80688:70241648772820::"}
2111
+ Redirected to http://test.host/resque/workers
2112
+ Completed 302 Found in 2ms
2113
+ Processing by ResqueManager::ResqueController#working as HTML
2114
+ Completed 200 OK in 11ms (Views: 9.5ms)
2115
+ Processing by ResqueManager::ResqueController#working as HTML
2116
+ Filter chain halted as :check_connection rendered or redirected
2117
+ Completed 200 OK in 8ms (Views: 7.5ms)
2118
+ Processing by ResqueManager::ResqueController#add_scheduled_job as HTML
2119
+ Parameters: {"name"=>"TestName", "class"=>"SingleRecordLoader", "ip"=>"0.0.0.0", "args"=>nil, "description"=>"Test job", "cron"=>"TestCron"}
2120
+ Redirected to http://test.host/resque/schedule
2121
+ Completed 302 Found in 2ms
2122
+ Processing by ResqueManager::ResqueController#add_scheduled_job as HTML
2123
+ Parameters: {"name"=>"key", "resque client connected to redis://127.0.0.1:6379/0"=>{"name"=>"key", "controller"=>"resque_manager/resque", "action"=>"add_scheduled_job"}}
2124
+ Redirected to http://test.host/resque/schedule
2125
+ Completed 302 Found in 1ms
2126
+ Processing by ResqueManager::ResqueController#cleaner_stale as HTML
2127
+ Redirected to http://test.host/resque/cleaner
2128
+ Completed 302 Found in 2ms
2129
+ Processing by ResqueManager::ResqueController#clear_statuses as HTML
2130
+ Redirected to http://test.host/resque/statuses
2131
+ Completed 302 Found in 1ms
2132
+ Processing by ResqueManager::ResqueController#continue_worker as HTML
2133
+ Redirected to http://test.host/resque/workers
2134
+ Completed 302 Found in 1ms
2135
+ Processing by ResqueManager::ResqueController#continue_worker as HTML
2136
+ Parameters: {"worker"=>"Kevins-MacBook-Air.local(10.10.1.56):56836:70132194215640::"}
2137
+ Redirected to http://test.host/resque/workers
2138
+ Completed 302 Found in 1ms
2139
+ Processing by ResqueManager::ResqueController#kill as HTML
2140
+ Parameters: {"id"=>"UUID"}
2141
+ Redirected to http://test.host/resque/statuses
2142
+ Completed 302 Found in 3ms
2143
+ Processing by ResqueManager::ResqueController#pause_worker as HTML
2144
+ Redirected to http://test.host/resque/workers
2145
+ Completed 302 Found in 1ms
2146
+ Processing by ResqueManager::ResqueController#pause_worker as HTML
2147
+ Parameters: {"worker"=>"Kevins-MacBook-Air.local(10.10.1.56):56836:70132194215640::"}
2148
+ Redirected to http://test.host/resque/workers
2149
+ Completed 302 Found in 2ms
2150
+ Processing by ResqueManager::ResqueController#poll as HTML
2151
+ Parameters: {"page"=>"overview"}
2152
+ Rendered /Users/ktyll/rails_sites/git/resque_manager/app/views/resque_manager/resque/_queues.html.erb (2.8ms)
2153
+ Rendered /Users/ktyll/rails_sites/git/resque_manager/app/views/resque_manager/resque/_working.html.erb (2.1ms)
2154
+ Completed 200 OK in 45ms (Views: 3.5ms)
2155
+ Processing by ResqueManager::ResqueController#queues as HTML
2156
+ Completed 200 OK in 9ms (Views: 8.4ms)
2157
+ Processing by ResqueManager::ResqueController#remove_from_schedule as HTML
2158
+ Redirected to http://test.host/resque/schedule
2159
+ Completed 302 Found in 1ms
2160
+ Processing by ResqueManager::ResqueController#remove_from_schedule as HTML
2161
+ Parameters: {"ip"=>"0.0.0.0", "job_name"=>"SingleRecordLoader"}
2162
+ Redirected to http://test.host/resque/schedule
2163
+ Completed 302 Found in 1ms
2164
+ Processing by ResqueManager::ResqueController#remove_job as HTML
2165
+ Parameters: {"class"=>"SingleRecordLoader"}
2166
+ Redirected to http://test.host/resque/queues/single_record_loader
2167
+ Completed 302 Found in 1ms
2168
+ Processing by ResqueManager::ResqueController#remove_job as HTML
2169
+ Parameters: {"class"=>"SingleRecordLoader"}
2170
+ Redirected to http://test.host/resque/queues/single_record_loader
2171
+ Completed 302 Found in 1ms
2172
+ Processing by ResqueManager::ResqueController#restart_worker as HTML
2173
+ Redirected to http://test.host/resque/workers
2174
+ Completed 302 Found in 1ms
2175
+ Processing by ResqueManager::ResqueController#restart_worker as HTML
2176
+ Parameters: {"worker"=>"Kevins-MacBook-Air.local(10.10.1.56):56836:70132194215640::"}
2177
+ Redirected to http://test.host/resque/workers
2178
+ Completed 302 Found in 2ms
2179
+ Processing by ResqueManager::ResqueController#schedule as HTML
2180
+ Completed 200 OK in 57ms (Views: 11.6ms)
2181
+ Processing by ResqueManager::ResqueController#schedule_requeue as HTML
2182
+ Redirected to http://test.host/resque/overview
2183
+ Completed 302 Found in 2ms
2184
+ Processing by ResqueManager::ResqueController#start_scheduler as HTML
2185
+ Parameters: {"ip"=>"0.0.0.0"}
2186
+ Redirected to http://test.host/resque/schedule
2187
+ Completed 302 Found in 1ms
2188
+ Processing by ResqueManager::ResqueController#start_worker as HTML
2189
+ Redirected to http://test.host/resque/workers
2190
+ Completed 302 Found in 1ms
2191
+ Processing by ResqueManager::ResqueController#start_worker as HTML
2192
+ Parameters: {"worker"=>"Kevins-MacBook-Air.local(10.10.1.56):56836:70132194215640::"}
2193
+ Redirected to http://test.host/resque/workers
2194
+ Completed 302 Found in 1ms
2195
+ Processing by ResqueManager::ResqueController#stats as HTML
2196
+ Redirected to http://test.host/resque/stats?id=resque
2197
+ Completed 302 Found in 1ms
2198
+ Processing by ResqueManager::ResqueController#stats as HTML
2199
+ Parameters: {"id"=>"txt"}
2200
+ Completed 200 OK in 2ms (Views: 0.5ms)
2201
+ Processing by ResqueManager::ResqueController#status as HTML
2202
+ Parameters: {"id"=>"UUID"}
2203
+ Rendered /Users/ktyll/rails_sites/git/resque_manager/app/views/resque_manager/resque/_status_styles.erb (0.6ms)
2204
+ Completed 200 OK in 15ms (Views: 13.6ms)
2205
+ Processing by ResqueManager::ResqueController#status as JS
2206
+ Parameters: {"id"=>"UUID"}
2207
+ Completed 200 OK in 1ms (Views: 0.2ms)
2208
+ Processing by ResqueManager::ResqueController#status_poll as HTML
2209
+ Rendered /Users/ktyll/rails_sites/git/resque_manager/app/views/resque_manager/resque/_status_styles.erb (0.1ms)
2210
+ Completed 200 OK in 5ms (Views: 0.2ms)
2211
+ Processing by ResqueManager::ResqueController#statuses as HTML
2212
+ Rendered /Users/ktyll/rails_sites/git/resque_manager/app/views/resque_manager/resque/_status_styles.erb (0.1ms)
2213
+ Rendered /Users/ktyll/rails_sites/git/resque_manager/app/views/resque_manager/resque/_next_more.html.erb (0.7ms)
2214
+ Completed 200 OK in 8ms (Views: 6.2ms)
2215
+ Processing by ResqueManager::ResqueController#statuses as JS
2216
+ Completed 200 OK in 2ms (Views: 0.4ms)
2217
+ Processing by ResqueManager::ResqueController#stop_scheduler as HTML
2218
+ Parameters: {"ip"=>"0.0.0.0"}
2219
+ Redirected to http://test.host/resque/schedule
2220
+ Completed 302 Found in 1ms
2221
+ Processing by ResqueManager::ResqueController#stop_worker as HTML
2222
+ Redirected to http://test.host/resque/workers
2223
+ Completed 302 Found in 1ms
2224
+ Processing by ResqueManager::ResqueController#stop_worker as HTML
2225
+ Parameters: {"worker"=>"Kevins-MacBook-Air.local(10.10.1.56):56836:70132194215640::"}
2226
+ Redirected to http://test.host/resque/workers
2227
+ Completed 302 Found in 1ms
2228
+ Processing by ResqueManager::ResqueController#working as HTML
2229
+ Completed 200 OK in 7ms (Views: 6.0ms)
2230
+ Processing by ResqueManager::ResqueController#working as HTML
2231
+ Filter chain halted as :check_connection rendered or redirected
2232
+ Completed 200 OK in 6ms (Views: 5.9ms)
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resque_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.2
4
+ version: 3.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Tyll
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-01 00:00:00.000000000 Z
11
+ date: 2013-12-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: '3.2'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - '>='
25
25
  - !ruby/object:Gem::Version
26
26
  version: '3.2'
27
27
  - !ruby/object:Gem::Dependency
@@ -94,6 +94,20 @@ dependencies:
94
94
  - - '>='
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: capistrano
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - '>='
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - '>='
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
97
111
  - !ruby/object:Gem::Dependency
98
112
  name: mocha
99
113
  requirement: !ruby/object:Gem::Requirement