Permalink
Browse files

== 3.2.4 2011-12-08

*  Override the filter_backtrace method for the redis backend failure object introduced in resque 1.18.0.
   Filter needs to be different for resque_ui, otherwise backtrace is always an empty array on the cleaner page.
  • Loading branch information...
1 parent 4c20a6c commit fdeda5910d98a30755e877799e0eb70e3a229e3c @kevintyll committed Dec 8, 2011
View
185 rdoc/Redis.html
@@ -0,0 +1,185 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
+
+<title>Class: Redis</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+ var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+ <nav id="home-section" class="section">
+ <h3 class="section-header">
+ <a href="./index.html">Home</a>
+ <a href="./table_of_contents.html#classes">Classes</a>
+ <a href="./table_of_contents.html#methods">Methods</a>
+ </h3>
+</nav>
+
+
+ <nav id="search-section" class="section project-section" class="initially-hidden">
+ <form action="#" method="get" accept-charset="utf-8">
+ <h3 class="section-header">
+ <input type="text" name="search" placeholder="Search" id="search-field"
+ title="Type to search, Up and Down to navigate, Enter to load">
+ </h3>
+ </form>
+
+ <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+ <div id="file-metadata">
+ <nav id="file-list-section" class="section">
+ <h3 class="section-header">Defined In</h3>
+ <ul>
+ <li>lib/resque_ui/overrides/resque/failure/redis.rb
+ </ul>
+</nav>
+
+
+ </div>
+
+ <div id="class-metadata">
+
+ <nav id="parent-class-section" class="section">
+ <h3 class="section-header">Parent</h3>
+
+ <p class="link"><a href="Object.html">Object</a>
+
+</nav>
+
+
+ <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+ <h3 class="section-header">Methods</h3>
+
+ <ul class="link-list">
+
+ <li><a href="#method-i-filter_backtrace">#filter_backtrace</a>
+
+ </ul>
+</nav>
+
+ </div>
+
+ <div id="project-metadata">
+
+ <nav id="classindex-section" class="section project-section">
+ <h3 class="section-header">Class and Module Index</h3>
+
+ <ul class="link-list">
+
+ <li><a href="./Resque.html">Resque</a>
+
+ <li><a href="./Resque/ChainedJobWithStatus.html">Resque::ChainedJobWithStatus</a>
+
+ <li><a href="./Resque/Job.html">Resque::Job</a>
+
+ <li><a href="./Resque/JobWithStatus.html">Resque::JobWithStatus</a>
+
+ <li><a href="./Resque/Status.html">Resque::Status</a>
+
+ <li><a href="./Resque/Worker.html">Resque::Worker</a>
+
+ <li><a href="./ResqueUi.html">ResqueUi</a>
+
+ <li><a href="./ResqueUi/Cap.html">ResqueUi::Cap</a>
+
+ <li><a href="./ResqueUi/Engine.html">ResqueUi::Engine</a>
+
+ <li><a href="./Object.html">Object</a>
+
+ <li><a href="./Redis.html">Redis</a>
+
+ <li><a href="./ResqueScheduler.html">ResqueScheduler</a>
+
+ </ul>
+</nav>
+
+ </div>
+</nav>
+
+<div id="documentation">
+ <h1 class="class">class Redis</h1>
+
+ <div id="description" class="description">
+
+ </div><!-- description -->
+
+
+
+
+ <section id="5Buntitled-5D" class="documentation-section">
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+ <h3 class="section-header">Public Instance Methods</h3>
+
+
+ <div id="method-i-filter_backtrace" class="method-detail ">
+
+ <div class="method-heading">
+ <span class="method-name">filter_backtrace</span><span
+ class="method-args">(backtrace)</span>
+ <span class="method-click-advice">click to toggle source</span>
+ </div>
+
+
+ <div class="method-description">
+
+
+
+
+
+ <div class="method-source-code" id="filter_backtrace-source">
+ <pre><span class="ruby-comment"># File lib/resque_ui/overrides/resque/failure/redis.rb, line 2</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">filter_backtrace</span>(<span class="ruby-identifier">backtrace</span>)
+ <span class="ruby-identifier">index</span> = <span class="ruby-identifier">backtrace</span>.<span class="ruby-identifier">index</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">item</span><span class="ruby-operator">|</span> <span class="ruby-identifier">item</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-string">'/lib/resque_ui/overrides/resque/job.rb'</span>) }
+ <span class="ruby-identifier">backtrace</span>.<span class="ruby-identifier">first</span>(<span class="ruby-identifier">index</span>.<span class="ruby-identifier">to_i</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div><!-- filter_backtrace-source -->
+
+ </div>
+
+
+
+
+ </div><!-- filter_backtrace-method -->
+
+
+ </section><!-- public-instance-method-details -->
+
+ </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.11.
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
View
134 rdoc/Resque/Failure.html
@@ -0,0 +1,134 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
+
+<title>Module: Resque::Failure</title>
+
+<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+ var rdoc_rel_prefix = "../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
+
+
+<body id="top" class="module">
+<nav id="metadata">
+ <nav id="home-section" class="section">
+ <h3 class="section-header">
+ <a href="../index.html">Home</a>
+ <a href="../table_of_contents.html#classes">Classes</a>
+ <a href="../table_of_contents.html#methods">Methods</a>
+ </h3>
+</nav>
+
+
+ <nav id="search-section" class="section project-section" class="initially-hidden">
+ <form action="#" method="get" accept-charset="utf-8">
+ <h3 class="section-header">
+ <input type="text" name="search" placeholder="Search" id="search-field"
+ title="Type to search, Up and Down to navigate, Enter to load">
+ </h3>
+ </form>
+
+ <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+ <div id="file-metadata">
+ <nav id="file-list-section" class="section">
+ <h3 class="section-header">Defined In</h3>
+ <ul>
+ <li>lib/resque_ui/overrides/resque/failure/redis.rb
+ </ul>
+</nav>
+
+
+ </div>
+
+ <div id="class-metadata">
+
+
+
+
+ </div>
+
+ <div id="project-metadata">
+
+ <nav id="classindex-section" class="section project-section">
+ <h3 class="section-header">Class and Module Index</h3>
+
+ <ul class="link-list">
+
+ <li><a href="../Resque.html">Resque</a>
+
+ <li><a href="../Resque/ChainedJobWithStatus.html">Resque::ChainedJobWithStatus</a>
+
+ <li><a href="../Resque/Failure.html">Resque::Failure</a>
+
+ <li><a href="../Resque/Failure/Redis.html">Resque::Failure::Redis</a>
+
+ <li><a href="../Resque/Job.html">Resque::Job</a>
+
+ <li><a href="../Resque/JobWithStatus.html">Resque::JobWithStatus</a>
+
+ <li><a href="../Resque/Status.html">Resque::Status</a>
+
+ <li><a href="../Resque/Worker.html">Resque::Worker</a>
+
+ <li><a href="../ResqueUi.html">ResqueUi</a>
+
+ <li><a href="../ResqueUi/Cap.html">ResqueUi::Cap</a>
+
+ <li><a href="../ResqueUi/Engine.html">ResqueUi::Engine</a>
+
+ <li><a href="../Object.html">Object</a>
+
+ <li><a href="../ResqueScheduler.html">ResqueScheduler</a>
+
+ </ul>
+</nav>
+
+ </div>
+</nav>
+
+<div id="documentation">
+ <h1 class="module">module Resque::Failure</h1>
+
+ <div id="description" class="description">
+
+ </div><!-- description -->
+
+
+
+
+ <section id="5Buntitled-5D" class="documentation-section">
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.11.
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
View
187 rdoc/Resque/Failure/Redis.html
@@ -0,0 +1,187 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
+
+<title>Class: Resque::Failure::Redis</title>
+
+<link type="text/css" media="screen" href="../../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+ var rdoc_rel_prefix = "../../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+ <nav id="home-section" class="section">
+ <h3 class="section-header">
+ <a href="../../index.html">Home</a>
+ <a href="../../table_of_contents.html#classes">Classes</a>
+ <a href="../../table_of_contents.html#methods">Methods</a>
+ </h3>
+</nav>
+
+
+ <nav id="search-section" class="section project-section" class="initially-hidden">
+ <form action="#" method="get" accept-charset="utf-8">
+ <h3 class="section-header">
+ <input type="text" name="search" placeholder="Search" id="search-field"
+ title="Type to search, Up and Down to navigate, Enter to load">
+ </h3>
+ </form>
+
+ <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+ <div id="file-metadata">
+ <nav id="file-list-section" class="section">
+ <h3 class="section-header">Defined In</h3>
+ <ul>
+ <li>lib/resque_ui/overrides/resque/failure/redis.rb
+ </ul>
+</nav>
+
+
+ </div>
+
+ <div id="class-metadata">
+
+ <nav id="parent-class-section" class="section">
+ <h3 class="section-header">Parent</h3>
+
+ <p class="link"><a href="../../Object.html">Object</a>
+
+</nav>
+
+
+ <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+ <h3 class="section-header">Methods</h3>
+
+ <ul class="link-list">
+
+ <li><a href="#method-i-filter_backtrace">#filter_backtrace</a>
+
+ </ul>
+</nav>
+
+ </div>
+
+ <div id="project-metadata">
+
+ <nav id="classindex-section" class="section project-section">
+ <h3 class="section-header">Class and Module Index</h3>
+
+ <ul class="link-list">
+
+ <li><a href="../../Resque.html">Resque</a>
+
+ <li><a href="../../Resque/ChainedJobWithStatus.html">Resque::ChainedJobWithStatus</a>
+
+ <li><a href="../../Resque/Failure.html">Resque::Failure</a>
+
+ <li><a href="../../Resque/Failure/Redis.html">Resque::Failure::Redis</a>
+
+ <li><a href="../../Resque/Job.html">Resque::Job</a>
+
+ <li><a href="../../Resque/JobWithStatus.html">Resque::JobWithStatus</a>
+
+ <li><a href="../../Resque/Status.html">Resque::Status</a>
+
+ <li><a href="../../Resque/Worker.html">Resque::Worker</a>
+
+ <li><a href="../../ResqueUi.html">ResqueUi</a>
+
+ <li><a href="../../ResqueUi/Cap.html">ResqueUi::Cap</a>
+
+ <li><a href="../../ResqueUi/Engine.html">ResqueUi::Engine</a>
+
+ <li><a href="../../Object.html">Object</a>
+
+ <li><a href="../../ResqueScheduler.html">ResqueScheduler</a>
+
+ </ul>
+</nav>
+
+ </div>
+</nav>
+
+<div id="documentation">
+ <h1 class="class">class Resque::Failure::Redis</h1>
+
+ <div id="description" class="description">
+
+ </div><!-- description -->
+
+
+
+
+ <section id="5Buntitled-5D" class="documentation-section">
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+ <h3 class="section-header">Public Instance Methods</h3>
+
+
+ <div id="method-i-filter_backtrace" class="method-detail ">
+
+ <div class="method-heading">
+ <span class="method-name">filter_backtrace</span><span
+ class="method-args">(backtrace)</span>
+ <span class="method-click-advice">click to toggle source</span>
+ </div>
+
+
+ <div class="method-description">
+
+
+
+
+
+ <div class="method-source-code" id="filter_backtrace-source">
+ <pre><span class="ruby-comment"># File lib/resque_ui/overrides/resque/failure/redis.rb, line 5</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">filter_backtrace</span>(<span class="ruby-identifier">backtrace</span>)
+ <span class="ruby-identifier">index</span> = <span class="ruby-identifier">backtrace</span>.<span class="ruby-identifier">index</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">item</span><span class="ruby-operator">|</span> <span class="ruby-identifier">item</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-string">'/lib/resque_ui/overrides/resque/job.rb'</span>) }
+ <span class="ruby-identifier">backtrace</span>.<span class="ruby-identifier">first</span>(<span class="ruby-identifier">index</span>.<span class="ruby-identifier">to_i</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div><!-- filter_backtrace-source -->
+
+ </div>
+
+
+
+
+ </div><!-- filter_backtrace-method -->
+
+
+ </section><!-- public-instance-method-details -->
+
+ </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.11.
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
View
BIN rdoc/images/add.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN rdoc/images/delete.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN rdoc/images/tag_blue.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN rdoc/images/transparent.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
142 rdoc/js/navigation.js
@@ -0,0 +1,142 @@
+/*
+ * Navigation allows movement using the arrow keys through the search results.
+ *
+ * When using this library you will need to set scrollIntoView to the
+ * appropriate function for your layout. Use scrollInWindow if the container
+ * is not scrollable and scrollInElement if the container is a separate
+ * scrolling region.
+ */
+Navigation = new function() {
+ this.initNavigation = function() {
+ var _this = this;
+
+ $(document).keydown(function(e) {
+ _this.onkeydown(e);
+ }).keyup(function(e) {
+ _this.onkeyup(e);
+ });
+
+ this.navigationActive = true;
+ }
+
+ this.setNavigationActive = function(state) {
+ this.navigationActive = state;
+ this.clearMoveTimeout();
+ }
+
+ this.onkeyup = function(e) {
+ if (!this.navigationActive) return;
+
+ switch(e.keyCode) {
+ case 37: //Event.KEY_LEFT:
+ case 38: //Event.KEY_UP:
+ case 39: //Event.KEY_RIGHT:
+ case 40: //Event.KEY_DOWN:
+ this.clearMoveTimeout();
+ break;
+ }
+ }
+
+ this.onkeydown = function(e) {
+ if (!this.navigationActive) return;
+ switch(e.keyCode) {
+ case 37: //Event.KEY_LEFT:
+ if (this.moveLeft()) e.preventDefault();
+ break;
+ case 38: //Event.KEY_UP:
+ if (e.keyCode == 38 || e.ctrlKey) {
+ if (this.moveUp()) e.preventDefault();
+ this.startMoveTimeout(false);
+ }
+ break;
+ case 39: //Event.KEY_RIGHT:
+ if (this.moveRight()) e.preventDefault();
+ break;
+ case 40: //Event.KEY_DOWN:
+ if (e.keyCode == 40 || e.ctrlKey) {
+ if (this.moveDown()) e.preventDefault();
+ this.startMoveTimeout(true);
+ }
+ break;
+ case 13: //Event.KEY_RETURN:
+ if (this.$current)
+ e.preventDefault();
+ this.select(this.$current);
+ break;
+ }
+ if (e.ctrlKey && e.shiftKey) this.select(this.$current);
+ }
+
+ this.clearMoveTimeout = function() {
+ clearTimeout(this.moveTimeout);
+ this.moveTimeout = null;
+ }
+
+ this.startMoveTimeout = function(isDown) {
+ if (!$.browser.mozilla && !$.browser.opera) return;
+ if (this.moveTimeout) this.clearMoveTimeout();
+ var _this = this;
+
+ var go = function() {
+ if (!_this.moveTimeout) return;
+ _this[isDown ? 'moveDown' : 'moveUp']();
+ _this.moveTimout = setTimeout(go, 100);
+ }
+ this.moveTimeout = setTimeout(go, 200);
+ }
+
+ this.moveRight = function() {
+ }
+
+ this.moveLeft = function() {
+ }
+
+ this.move = function(isDown) {
+ }
+
+ this.moveUp = function() {
+ return this.move(false);
+ }
+
+ this.moveDown = function() {
+ return this.move(true);
+ }
+
+ /*
+ * Scrolls to the given element in the scrollable element view.
+ */
+ this.scrollInElement = function(element, view) {
+ var offset, viewHeight, viewScroll, height;
+ offset = element.offsetTop;
+ height = element.offsetHeight;
+ viewHeight = view.offsetHeight;
+ viewScroll = view.scrollTop;
+
+ if (offset - viewScroll + height > viewHeight) {
+ view.scrollTop = offset - viewHeight + height;
+ }
+ if (offset < viewScroll) {
+ view.scrollTop = offset;
+ }
+ }
+
+ /*
+ * Scrolls to the given element in the window. The second argument is
+ * ignored
+ */
+ this.scrollInWindow = function(element, ignored) {
+ var offset, viewHeight, viewScroll, height;
+ offset = element.offsetTop;
+ height = element.offsetHeight;
+ viewHeight = window.innerHeight;
+ viewScroll = window.scrollY;
+
+ if (offset - viewScroll + height > viewHeight) {
+ window.scrollTo(window.scrollX, offset - viewHeight + height);
+ }
+ if (offset < viewScroll) {
+ window.scrollTo(window.scrollX, offset);
+ }
+ }
+}
+
View
94 rdoc/js/search.js
@@ -0,0 +1,94 @@
+Search = function(data, input, result) {
+ this.data = data;
+ this.$input = $(input);
+ this.$result = $(result);
+
+ this.$current = null;
+ this.$view = this.$result.parent();
+ this.searcher = new Searcher(data.index);
+ this.init();
+}
+
+Search.prototype = $.extend({}, Navigation, new function() {
+ var suid = 1;
+
+ this.init = function() {
+ var _this = this;
+ var observer = function() {
+ _this.search(_this.$input[0].value);
+ };
+ this.$input.keyup(observer);
+ this.$input.click(observer); // mac's clear field
+
+ this.searcher.ready(function(results, isLast) {
+ _this.addResults(results, isLast);
+ })
+
+ this.initNavigation();
+ this.setNavigationActive(false);
+ }
+
+ this.search = function(value, selectFirstMatch) {
+ value = jQuery.trim(value).toLowerCase();
+ if (value) {
+ this.setNavigationActive(true);
+ } else {
+ this.setNavigationActive(false);
+ }
+
+ if (value == '') {
+ this.lastQuery = value;
+ this.$result.empty();
+ this.setNavigationActive(false);
+ } else if (value != this.lastQuery) {
+ this.lastQuery = value;
+ this.firstRun = true;
+ this.searcher.find(value);
+ }
+ }
+
+ this.addResults = function(results, isLast) {
+ var target = this.$result.get(0);
+ if (this.firstRun && (results.length > 0 || isLast)) {
+ this.$current = null;
+ this.$result.empty();
+ }
+
+ for (var i=0, l = results.length; i < l; i++) {
+ target.appendChild(this.renderItem.call(this, results[i]));
+ };
+
+ if (this.firstRun && results.length > 0) {
+ this.firstRun = false;
+ this.$current = $(target.firstChild);
+ this.$current.addClass('current');
+ }
+ if (jQuery.browser.msie) this.$element[0].className += '';
+ }
+
+ this.move = function(isDown) {
+ if (!this.$current) return;
+ var $next = this.$current[isDown ? 'next' : 'prev']();
+ if ($next.length) {
+ this.$current.removeClass('current');
+ $next.addClass('current');
+ this.scrollIntoView($next[0], this.$view[0]);
+ this.$current = $next;
+ }
+ return true;
+ }
+
+ this.hlt = function(html) {
+ return this.escapeHTML(html).
+ replace(/\u0001/g, '<em>').
+ replace(/\u0002/g, '</em>');
+ }
+
+ this.escapeHTML = function(html) {
+ return html.replace(/[&<>]/g, function(c) {
+ return '&#' + c.charCodeAt(0) + ';';
+ });
+ }
+
+});
+
View
1 rdoc/js/search_index.js
@@ -0,0 +1 @@
+var search_data = {"index":{"searchIndex":["object","resque","chainedjobwithstatus","failure","redis","job","jobwithstatus","status","worker","resquescheduler","resqueui","cap","engine","all_workers_in_pid_working()","clear()","completed()","continue()","counter()","counter()","counter_key()","enqueue()","enqueue()","farm_status()","filter_backtrace()","get_rake()","id()","incr_counter()","incr_counter()","ip()","local_ip()","name()","name()","new()","pause()","pause!()","pause_key()","pause_processing()","paused()","paused?()","paused?()","perform()","perform()","pids()","prune_dead_workers()","queue()","queues()","queues_in_pid()","quit()","quit()","restart()","restart()","safe_perform!()","schedule()","schedule=()","shutdown()","start()","start()","startup()","status()","status=()","status_ids()","thread()","throttle()","tick()","to_s()","unpause_processing()","unregister_worker()","work()","workers_in_pid()","working()"],"longSearchIndex":["object","resque","resque::chainedjobwithstatus","resque::failure","resque::failure::redis","resque::job","resque::jobwithstatus","resque::status","resque::worker","resquescheduler","resqueui","resqueui::cap","resqueui::engine","resque::worker#all_workers_in_pid_working()","resque::status::clear()","resque::chainedjobwithstatus#completed()","resque::worker#continue()","resque::jobwithstatus#counter()","resque::status::counter()","resque::status::counter_key()","resque::chainedjobwithstatus::enqueue()","resque::jobwithstatus::enqueue()","resquescheduler::farm_status()","resque::failure::redis#filter_backtrace()","object#get_rake()","resque::worker#id()","resque::jobwithstatus#incr_counter()","resque::status::incr_counter()","resque::worker#ip()","resque::worker#local_ip()","resque::chainedjobwithstatus#name()","resque::jobwithstatus#name()","resque::jobwithstatus::new()","resque::worker#pause()","resque::jobwithstatus#pause!()","resque::worker#pause_key()","resque::worker#pause_processing()","resque::worker#paused()","resque::status#paused?()","resque::worker#paused?()","resque::job#perform()","resque::jobwithstatus::perform()","resquescheduler::pids()","resque::worker#prune_dead_workers()","resque::worker#queue()","resque::worker#queues()","resque::worker#queues_in_pid()","resque::worker#quit()","resquescheduler::quit()","resque::worker#restart()","resquescheduler::restart()","resque::jobwithstatus#safe_perform!()","resquescheduler#schedule()","resquescheduler#schedule=()","resque::worker#shutdown()","resque::worker::start()","resquescheduler::start()","resque::worker#startup()","resque::worker#status()","resque::worker#status=()","resque::status::status_ids()","resque::worker#thread()","resque::throttle()","resque::jobwithstatus#tick()","resque::worker#to_s()","resque::worker#unpause_processing()","resque::worker#unregister_worker()","resque::worker#work()","resque::worker#workers_in_pid()","resque::worker::working()"],"info":[["Object","","Object.html","",""],["Resque","","Resque.html","",""],["Resque::ChainedJobWithStatus","","Resque/ChainedJobWithStatus.html","",""],["Resque::Failure","","Resque/Failure.html","",""],["Resque::Failure::Redis","","Resque/Failure/Redis.html","",""],["Resque::Job","","Resque/Job.html","",""],["Resque::JobWithStatus","","Resque/JobWithStatus.html","",""],["Resque::Status","","Resque/Status.html","",""],["Resque::Worker","","Resque/Worker.html","",""],["ResqueScheduler","","ResqueScheduler.html","",""],["ResqueUi","","ResqueUi.html","",""],["ResqueUi::Cap","","ResqueUi/Cap.html","",""],["ResqueUi::Engine","","ResqueUi/Engine.html","",""],["all_workers_in_pid_working","Resque::Worker","Resque/Worker.html#method-i-all_workers_in_pid_working","()",""],["clear","Resque::Status","Resque/Status.html#method-c-clear","(range_start = nil, range_end = nil)","<p>clear statuses from redis passing an optional range. See `statuses` for\ninfo about ranges\n"],["completed","Resque::ChainedJobWithStatus","Resque/ChainedJobWithStatus.html#method-i-completed","(*messages)",""],["continue","Resque::Worker","Resque/Worker.html#method-i-continue","()",""],["counter","Resque::JobWithStatus","Resque/JobWithStatus.html#method-i-counter","(counter)",""],["counter","Resque::Status","Resque/Status.html#method-c-counter","(counter, uuid)",""],["counter_key","Resque::Status","Resque/Status.html#method-c-counter_key","(counter, uuid)","<p>If multiple workers are running at once and you need an incrementer, you\ncan’t use the status’ num attribute …\n"],["enqueue","Resque::ChainedJobWithStatus","Resque/ChainedJobWithStatus.html#method-c-enqueue","(klass, options = {})",""],["enqueue","Resque::JobWithStatus","Resque/JobWithStatus.html#method-c-enqueue","(klass, options = {})","<p>Adds a job of type &lt;tt&gt;klass&lt;tt&gt; to the queue with\n&lt;tt&gt;options&lt;tt&gt;. Returns the …\n"],["farm_status","ResqueScheduler","ResqueScheduler.html#method-c-farm_status","()",""],["filter_backtrace","Resque::Failure::Redis","Resque/Failure/Redis.html#method-i-filter_backtrace","(backtrace)",""],["get_rake","Object","Object.html#method-i-get_rake","()",""],["id","Resque::Worker","Resque/Worker.html#method-i-id","()",""],["incr_counter","Resque::JobWithStatus","Resque/JobWithStatus.html#method-i-incr_counter","(counter)",""],["incr_counter","Resque::Status","Resque/Status.html#method-c-incr_counter","(counter, uuid)",""],["ip","Resque::Worker","Resque/Worker.html#method-i-ip","()",""],["local_ip","Resque::Worker","Resque/Worker.html#method-i-local_ip","()",""],["name","Resque::ChainedJobWithStatus","Resque/ChainedJobWithStatus.html#method-i-name","()",""],["name","Resque::JobWithStatus","Resque/JobWithStatus.html#method-i-name","()",""],["new","Resque::JobWithStatus","Resque/JobWithStatus.html#method-c-new","(uuid, worker = nil, options = {})","<p>Create a new instance with <code>uuid</code> and <code>options</code>\nOVERRIDE to add the worker attr\n"],["pause","Resque::Worker","Resque/Worker.html#method-i-pause","()",""],["pause!","Resque::JobWithStatus","Resque/JobWithStatus.html#method-i-pause-21","()","<p>Pause the current job, setting the status to ‘paused’\n"],["pause_key","Resque::Worker","Resque/Worker.html#method-i-pause_key","()","<p>When the worker gets the -USR2 signal, to_s may give a different value for\nthe thread and queue portion …\n"],["pause_processing","Resque::Worker","Resque/Worker.html#method-i-pause_processing","()","\n<pre>Stop processing jobs after the current one has completed (if we're\ncurrently running one).</pre>\n<p>OVERRIDE to …\n"],["paused","Resque::Worker","Resque/Worker.html#method-i-paused","()",""],["paused?","Resque::Status","Resque/Status.html#method-i-paused-3F","()","<p>The STATUSES constant is frozen, so we’ll just manually add the paused?\nmethod here\n"],["paused?","Resque::Worker","Resque/Worker.html#method-i-paused-3F","()","<p>are we paused? OVERRIDE so UI can tell if we’re paused\n"],["perform","Resque::Job","Resque/Job.html#method-i-perform","()","<p>Attempts to perform the work represented by this job instance. Calls\n#perform on the class given in the …\n"],["perform","Resque::JobWithStatus","Resque/JobWithStatus.html#method-c-perform","(uuid=nil, options = {})","<p>This is the method called by Resque::Worker when processing jobs. It\ncreates a new instance of the job …\n"],["pids","ResqueScheduler","ResqueScheduler.html#method-c-pids","()","<p>Returns an array of string pids of all the other workers on this machine.\nUseful when pruning dead workers …\n"],["prune_dead_workers","Resque::Worker","Resque/Worker.html#method-i-prune_dead_workers","()","<p>Looks for any workers which should be running on this server and, if\nthey’re not, removes them from …\n"],["queue","Resque::Worker","Resque/Worker.html#method-i-queue","()",""],["queues","Resque::Worker","Resque/Worker.html#method-i-queues","()","<p>OVERRIDE for multithreaded workers\n"],["queues_in_pid","Resque::Worker","Resque/Worker.html#method-i-queues_in_pid","()",""],["quit","Resque::Worker","Resque/Worker.html#method-i-quit","()",""],["quit","ResqueScheduler","ResqueScheduler.html#method-c-quit","(ips)",""],["restart","Resque::Worker","Resque/Worker.html#method-i-restart","()",""],["restart","ResqueScheduler","ResqueScheduler.html#method-c-restart","(ips)",""],["safe_perform!","Resque::JobWithStatus","Resque/JobWithStatus.html#method-i-safe_perform-21","()","<p>Run by the Resque::Worker when processing this job. It wraps the\n<code>perform</code> method ensuring that the final …\n"],["schedule","ResqueScheduler","ResqueScheduler.html#method-i-schedule","()","<p>Returns the schedule hash\n"],["schedule=","ResqueScheduler","ResqueScheduler.html#method-i-schedule-3D","(schedule_hash)",""],["shutdown","Resque::Worker","Resque/Worker.html#method-i-shutdown","()","\n<pre>Schedule this worker for shutdown. Will finish processing the\ncurrent job.</pre>\n<p>OVERRIDE for multithreaded …\n"],["start","Resque::Worker","Resque/Worker.html#method-c-start","(ips, queues)",""],["start","ResqueScheduler","ResqueScheduler.html#method-c-start","(ips)",""],["startup","Resque::Worker","Resque/Worker.html#method-i-startup","()","\n<pre>Runs all the methods needed when a worker begins its lifecycle.</pre>\n<p>OVERRIDE for multithreaded workers\n"],["status","Resque::Worker","Resque/Worker.html#method-i-status","()",""],["status=","Resque::Worker","Resque/Worker.html#method-i-status-3D","(status)",""],["status_ids","Resque::Status","Resque/Status.html#method-c-status_ids","(range_start = nil, range_end = nil)","\n<pre>Return the &lt;tt&gt;num&lt;/tt&gt; most recent status/job UUIDs in reverse chronological order.</pre>\n<p>override the gem …\n"],["thread","Resque::Worker","Resque/Worker.html#method-i-thread","()",""],["throttle","Resque","Resque.html#method-c-throttle","(queue, limit = 10000, sleep_for = 60)",""],["tick","Resque::JobWithStatus","Resque/JobWithStatus.html#method-i-tick","(*messages)","<p>sets the status of the job for the current iteration. You should use the\n<code>at</code> method if you have actual …\n"],["to_s","Resque::Worker","Resque/Worker.html#method-i-to_s","()","<p>The string representation is the same as the id for this worker instance.\nCan be used with `Worker.find …\n"],["unpause_processing","Resque::Worker","Resque/Worker.html#method-i-unpause_processing","()","\n<pre>Start processing jobs again after a pause</pre>\n<p>OVERRIDE to set remove redis key so UI knows it’s unpaused too …\n"],["unregister_worker","Resque::Worker","Resque/Worker.html#method-i-unregister_worker","()","<p>Unregisters ourself as a worker. Useful when shutting down. OVERRIDE to\nalso remove the pause key Would …\n"],["work","Resque::Worker","Resque/Worker.html#method-i-work","(interval = 5, &block)","\n<pre>This is the main workhorse method. Called on a Worker instance,\nit begins the worker life cycle.\n\nThe ...</pre>\n"],["workers_in_pid","Resque::Worker","Resque/Worker.html#method-i-workers_in_pid","()",""],["working","Resque::Worker","Resque/Worker.html#method-c-working","()","<p>logic for mappged_mget changed where it returns keys with nil values in\nlatest redis gem.\n"]]}}
View
228 rdoc/js/searcher.js
@@ -0,0 +1,228 @@
+Searcher = function(data) {
+ this.data = data;
+ this.handlers = [];
+}
+
+Searcher.prototype = new function() {
+ // search is performed in chunks of 1000 for non-blocking user input
+ var CHUNK_SIZE = 1000;
+ // do not try to find more than 100 results
+ var MAX_RESULTS = 100;
+ var huid = 1;
+ var suid = 1;
+ var runs = 0;
+
+ this.find = function(query) {
+ var queries = splitQuery(query);
+ var regexps = buildRegexps(queries);
+ var highlighters = buildHilighters(queries);
+ var state = { from: 0, pass: 0, limit: MAX_RESULTS, n: suid++};
+ var _this = this;
+
+ this.currentSuid = state.n;
+
+ if (!query) return;
+
+ var run = function() {
+ // stop current search thread if new search started
+ if (state.n != _this.currentSuid) return;
+
+ var results =
+ performSearch(_this.data, regexps, queries, highlighters, state);
+ var hasMore = (state.limit > 0 && state.pass < 4);
+
+ triggerResults.call(_this, results, !hasMore);
+ if (hasMore) {
+ setTimeout(run, 2);
+ }
+ runs++;
+ };
+ runs = 0;
+
+ // start search thread
+ run();
+ }
+
+ /* ----- Events ------ */
+ this.ready = function(fn) {
+ fn.huid = huid;
+ this.handlers.push(fn);
+ }
+
+ /* ----- Utilities ------ */
+ function splitQuery(query) {
+ return jQuery.grep(query.split(/(\s+|::?|\(\)?)/), function(string) {
+ return string.match(/\S/)
+ });
+ }
+
+ function buildRegexps(queries) {
+ return jQuery.map(queries, function(query) {
+ return new RegExp(query.replace(/(.)/g, '([$1])([^$1]*?)'), 'i')
+ });
+ }
+
+ function buildHilighters(queries) {
+ return jQuery.map(queries, function(query) {
+ return jQuery.map(query.split(''), function(l, i) {
+ return '\u0001$' + (i*2+1) + '\u0002$' + (i*2+2);
+ }).join('');
+ });
+ }
+
+ // function longMatchRegexp(index, longIndex, regexps) {
+ // for (var i = regexps.length - 1; i >= 0; i--){
+ // if (!index.match(regexps[i]) && !longIndex.match(regexps[i])) return false;
+ // };
+ // return true;
+ // }
+
+
+ /* ----- Mathchers ------ */
+
+ /*
+ * This record matches if the index starts with queries[0] and the record
+ * matches all of the regexps
+ */
+ function matchPassBeginning(index, longIndex, queries, regexps) {
+ if (index.indexOf(queries[0]) != 0) return false;
+ for (var i=1, l = regexps.length; i < l; i++) {
+ if (!index.match(regexps[i]) && !longIndex.match(regexps[i]))
+ return false;
+ };
+ return true;
+ }
+
+ /*
+ * This record matches if the longIndex starts with queries[0] and the
+ * longIndex matches all of the regexps
+ */
+ function matchPassLongIndex(index, longIndex, queries, regexps) {
+ if (longIndex.indexOf(queries[0]) != 0) return false;
+ for (var i=1, l = regexps.length; i < l; i++) {
+ if (!longIndex.match(regexps[i]))
+ return false;
+ };
+ return true;
+ }
+
+ /*
+ * This record matches if the index contains queries[0] and the record
+ * matches all of the regexps
+ */
+ function matchPassContains(index, longIndex, queries, regexps) {
+ if (index.indexOf(queries[0]) == -1) return false;
+ for (var i=1, l = regexps.length; i < l; i++) {
+ if (!index.match(regexps[i]) && !longIndex.match(regexps[i]))
+ return false;
+ };
+ return true;
+ }
+
+ /*
+ * This record matches if regexps[0] matches the index and the record
+ * matches all of the regexps
+ */
+ function matchPassRegexp(index, longIndex, queries, regexps) {
+ if (!index.match(regexps[0])) return false;
+ for (var i=1, l = regexps.length; i < l; i++) {
+ if (!index.match(regexps[i]) && !longIndex.match(regexps[i]))
+ return false;
+ };
+ return true;
+ }
+
+
+ /* ----- Highlighters ------ */
+ function highlightRegexp(info, queries, regexps, highlighters) {
+ var result = createResult(info);
+ for (var i=0, l = regexps.length; i < l; i++) {
+ result.title = result.title.replace(regexps[i], highlighters[i]);
+ result.namespace = result.namespace.replace(regexps[i], highlighters[i]);
+ };
+ return result;
+ }
+
+ function hltSubstring(string, pos, length) {
+ return string.substring(0, pos) + '\u0001' + string.substring(pos, pos + length) + '\u0002' + string.substring(pos + length);
+ }
+
+ function highlightQuery(info, queries, regexps, highlighters) {
+ var result = createResult(info);
+ var pos = 0;
+ var lcTitle = result.title.toLowerCase();
+
+ pos = lcTitle.indexOf(queries[0]);
+ if (pos != -1) {
+ result.title = hltSubstring(result.title, pos, queries[0].length);
+ }
+
+ result.namespace = result.namespace.replace(regexps[0], highlighters[0]);
+ for (var i=1, l = regexps.length; i < l; i++) {
+ result.title = result.title.replace(regexps[i], highlighters[i]);
+ result.namespace = result.namespace.replace(regexps[i], highlighters[i]);
+ };
+ return result;
+ }
+
+ function createResult(info) {
+ var result = {};
+ result.title = info[0];
+ result.namespace = info[1];
+ result.path = info[2];
+ result.params = info[3];
+ result.snippet = info[4];
+ return result;
+ }
+
+ /* ----- Searching ------ */
+ function performSearch(data, regexps, queries, highlighters, state) {
+ var searchIndex = data.searchIndex;
+ var longSearchIndex = data.longSearchIndex;
+ var info = data.info;
+ var result = [];
+ var i = state.from;
+ var l = searchIndex.length;
+ var togo = CHUNK_SIZE;
+ var matchFunc, hltFunc;
+
+ while (state.pass < 4 && state.limit > 0 && togo > 0) {
+ if (state.pass == 0) {
+ matchFunc = matchPassBeginning;
+ hltFunc = highlightQuery;
+ } else if (state.pass == 1) {
+ matchFunc = matchPassLongIndex;
+ hltFunc = highlightQuery;
+ } else if (state.pass == 2) {
+ matchFunc = matchPassContains;
+ hltFunc = highlightQuery;
+ } else if (state.pass == 3) {
+ matchFunc = matchPassRegexp;
+ hltFunc = highlightRegexp;
+ }
+
+ for (; togo > 0 && i < l && state.limit > 0; i++, togo--) {
+ if (info[i].n == state.n) continue;
+ if (matchFunc(searchIndex[i], longSearchIndex[i], queries, regexps)) {
+ info[i].n = state.n;
+ result.push(hltFunc(info[i], queries, regexps, highlighters));
+ state.limit--;
+ }
+ };
+ if (searchIndex.length <= i) {
+ state.pass++;
+ i = state.from = 0;
+ } else {
+ state.from = i;
+ }
+ }
+ return result;
+ }
+
+ function triggerResults(results, isLast) {
+ jQuery.each(this.handlers, function(i, fn) {
+ fn.call(this, results, isLast)
+ })
+ }
+}
+
View
196 rdoc/table_of_contents.html
@@ -0,0 +1,196 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
+
+<title>Table of Contents</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+ var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body class="indexpage">
+<h1>Table of Contents</h1>
+
+
+<h2 id="classes">Classes/Modules</h2>
+<ul>
+ <li class="module">
+ <a href="Resque.html">Resque</a>
+ </li>
+ <li class="class">
+ <a href="Resque/ChainedJobWithStatus.html">Resque::ChainedJobWithStatus</a>
+ </li>
+ <li class="module">
+ <a href="Resque/Failure.html">Resque::Failure</a>
+ </li>
+ <li class="class">
+ <a href="Resque/Failure/Redis.html">Resque::Failure::Redis</a>
+ </li>
+ <li class="class">
+ <a href="Resque/Job.html">Resque::Job</a>
+ </li>
+ <li class="class">
+ <a href="Resque/JobWithStatus.html">Resque::JobWithStatus</a>
+ </li>
+ <li class="class">
+ <a href="Resque/Status.html">Resque::Status</a>
+ </li>
+ <li class="class">
+ <a href="Resque/Worker.html">Resque::Worker</a>
+ </li>
+ <li class="module">
+ <a href="ResqueUi.html">ResqueUi</a>
+ </li>
+ <li class="class">
+ <a href="ResqueUi/Cap.html">ResqueUi::Cap</a>
+ </li>
+ <li class="class">
+ <a href="ResqueUi/Engine.html">ResqueUi::Engine</a>
+ </li>
+ <li class="class">
+ <a href="Object.html">Object</a>
+ </li>
+ <li class="module">
+ <a href="ResqueScheduler.html">ResqueScheduler</a>
+ </li>
+
+</ul>
+
+<h2 id="methods">Methods</h2>
+<ul>
+
+ <li class="method"><a href="Resque/Status.html#method-c-clear">::clear &mdash; Resque::Status</a>
+
+ <li class="method"><a href="Resque/Status.html#method-c-counter">::counter &mdash; Resque::Status</a>
+
+ <li class="method"><a href="Resque/Status.html#method-c-counter_key">::counter_key &mdash; Resque::Status</a>
+
+ <li class="method"><a href="Resque/JobWithStatus.html#method-c-enqueue">::enqueue &mdash; Resque::JobWithStatus</a>
+
+ <li class="method"><a href="Resque/ChainedJobWithStatus.html#method-c-enqueue">::enqueue &mdash; Resque::ChainedJobWithStatus</a>
+
+ <li class="method"><a href="ResqueScheduler.html#method-c-farm_status">::farm_status &mdash; ResqueScheduler</a>
+
+ <li class="method"><a href="Resque/Status.html#method-c-incr_counter">::incr_counter &mdash; Resque::Status</a>
+
+ <li class="method"><a href="Resque/JobWithStatus.html#method-c-new">::new &mdash; Resque::JobWithStatus</a>
+
+ <li class="method"><a href="Resque/JobWithStatus.html#method-c-perform">::perform &mdash; Resque::JobWithStatus</a>
+
+ <li class="method"><a href="ResqueScheduler.html#method-c-pids">::pids &mdash; ResqueScheduler</a>
+
+ <li class="method"><a href="ResqueScheduler.html#method-c-quit">::quit &mdash; ResqueScheduler</a>
+
+ <li class="method"><a href="ResqueScheduler.html#method-c-restart">::restart &mdash; ResqueScheduler</a>
+
+ <li class="method"><a href="ResqueScheduler.html#method-c-start">::start &mdash; ResqueScheduler</a>
+
+ <li class="method"><a href="Resque/Worker.html#method-c-start">::start &mdash; Resque::Worker</a>
+
+ <li class="method"><a href="Resque/Status.html#method-c-status_ids">::status_ids &mdash; Resque::Status</a>
+
+ <li class="method"><a href="Resque.html#method-c-throttle">::throttle &mdash; Resque</a>
+
+ <li class="method"><a href="Resque/Worker.html#method-c-working">::working &mdash; Resque::Worker</a>
+
+ <li class="method"><a href="Resque/Worker.html#method-i-all_workers_in_pid_working">#all_workers_in_pid_working &mdash; Resque::Worker</a>
+
+ <li class="method"><a href="Resque/ChainedJobWithStatus.html#method-i-completed">#completed &mdash; Resque::ChainedJobWithStatus</a>
+
+ <li class="method"><a href="Resque/Worker.html#method-i-continue">#continue &mdash; Resque::Worker</a>
+
+ <li class="method"><a href="Resque/JobWithStatus.html#method-i-counter">#counter &mdash; Resque::JobWithStatus</a>
+
+ <li class="method"><a href="Resque/Failure/Redis.html#method-i-filter_backtrace">#filter_backtrace &mdash; Resque::Failure::Redis</a>
+
+ <li class="method"><a href="Object.html#method-i-get_rake">#get_rake &mdash; Object</a>
+
+ <li class="method"><a href="Resque/Worker.html#method-i-id">#id &mdash; Resque::Worker</a>
+
+ <li class="method"><a href="Resque/JobWithStatus.html#method-i-incr_counter">#incr_counter &mdash; Resque::JobWithStatus</a>
+
+ <li class="method"><a href="Resque/Worker.html#method-i-ip">#ip &mdash; Resque::Worker</a>
+
+ <li class="method"><a href="Resque/Worker.html#method-i-local_ip">#local_ip &mdash; Resque::Worker</a>
+
+ <li class="method"><a href="Resque/JobWithStatus.html#method-i-name">#name &mdash; Resque::JobWithStatus</a>
+
+ <li class="method"><a href="Resque/ChainedJobWithStatus.html#method-i-name">#name &mdash; Resque::ChainedJobWithStatus</a>
+
+ <li class="method"><a href="Resque/Worker.html#method-i-pause">#pause &mdash; Resque::Worker</a>
+
+ <li class="method"><a href="Resque/JobWithStatus.html#method-i-pause-21">#pause! &mdash; Resque::JobWithStatus</a>
+
+ <li class="method"><a href="Resque/Worker.html#method-i-pause_key">#pause_key &mdash; Resque::Worker</a>
+
+ <li class="method"><a href="Resque/Worker.html#method-i-pause_processing">#pause_processing &mdash; Resque::Worker</a>
+
+ <li class="method"><a href="Resque/Worker.html#method-i-paused">#paused &mdash; Resque::Worker</a>
+
+ <li class="method"><a href="Resque/Worker.html#method-i-paused-3F">#paused? &mdash; Resque::Worker</a>
+
+ <li class="method"><a href="Resque/Status.html#method-i-paused-3F">#paused? &mdash; Resque::Status</a>
+
+ <li class="method"><a href="Resque/Job.html#method-i-perform">#perform &mdash; Resque::Job</a>
+
+ <li class="method"><a href="Resque/Worker.html#method-i-prune_dead_workers">#prune_dead_workers &mdash; Resque::Worker</a>
+
+ <li class="method"><a href="Resque/Worker.html#method-i-queue">#queue &mdash; Resque::Worker</a>
+
+ <li class="method"><a href="Resque/Worker.html#method-i-queues">#queues &mdash; Resque::Worker</a>
+
+ <li class="method"><a href="Resque/Worker.html#method-i-queues_in_pid">#queues_in_pid &mdash; Resque::Worker</a>
+
+ <li class="method"><a href="Resque/Worker.html#method-i-quit">#quit &mdash; Resque::Worker</a>
+
+ <li class="method"><a href="Resque/Worker.html#method-i-restart">#restart &mdash; Resque::Worker</a>
+
+ <li class="method"><a href="Resque/JobWithStatus.html#method-i-safe_perform-21">#safe_perform! &mdash; Resque::JobWithStatus</a>
+
+ <li class="method"><a href="ResqueScheduler.html#method-i-schedule">#schedule &mdash; ResqueScheduler</a>
+
+ <li class="method"><a href="ResqueScheduler.html#method-i-schedule-3D">#schedule= &mdash; ResqueScheduler</a>
+
+ <li class="method"><a href="Resque/Worker.html#method-i-shutdown">#shutdown &mdash; Resque::Worker</a>
+
+ <li class="method"><a href="Resque/Worker.html#method-i-startup">#startup &mdash; Resque::Worker</a>
+
+ <li class="method"><a href="Resque/Worker.html#method-i-status">#status &mdash; Resque::Worker</a>
+
+ <li class="method"><a href="Resque/Worker.html#method-i-status-3D">#status= &mdash; Resque::Worker</a>
+
+ <li class="method"><a href="Resque/Worker.html#method-i-thread">#thread &mdash; Resque::Worker</a>
+
+ <li class="method"><a href="Resque/JobWithStatus.html#method-i-tick">#tick &mdash; Resque::JobWithStatus</a>
+
+ <li class="method"><a href="Resque/Worker.html#method-i-to_s">#to_s &mdash; Resque::Worker</a>
+
+ <li class="method"><a href="Resque/Worker.html#method-i-unpause_processing">#unpause_processing &mdash; Resque::Worker</a>
+
+ <li class="method"><a href="Resque/Worker.html#method-i-unregister_worker">#unregister_worker &mdash; Resque::Worker</a>
+
+ <li class="method"><a href="Resque/Worker.html#method-i-work">#work &mdash; Resque::Worker</a>
+
+ <li class="method"><a href="Resque/Worker.html#method-i-workers_in_pid">#workers_in_pid &mdash; Resque::Worker</a>
+
+</ul>
+
+
+<footer id="validator-badges">
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.11.
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+

0 comments on commit fdeda59

Please sign in to comment.