Permalink
Browse files

update docs

  • Loading branch information...
1 parent f082819 commit dfb965d457d61dfb9fc41f2ab99dc3d2c432cfb9 @defunkt defunkt committed Apr 30, 2010
Showing with 840 additions and 790 deletions.
  1. +177 −176 classes/Resque.html
  2. +40 −40 classes/Resque/Failure.html
  3. +20 −20 classes/Resque/Failure/Hoptoad.html
  4. +68 −32 classes/Resque/Failure/Multiple.html
  5. +25 −25 classes/Resque/Failure/Redis.html
  6. +25 −25 classes/Resque/Helpers.html
  7. +56 −56 classes/Resque/Job.html
  8. +15 −15 classes/Resque/Plugin.html
  9. +80 −80 classes/Resque/Server.html
  10. +30 −30 classes/Resque/Stat.html
  11. +10 −10 classes/Resque/TestHelper/Test/Unit/TestCase.html
  12. +227 −227 classes/Resque/Worker.html
  13. +1 −1 created.rid
  14. +1 −1 files/CONTRIBUTORS.html
  15. +11 −2 files/HISTORY_md.html
  16. +1 −1 files/LICENSE.html
  17. +3 −3 files/README_markdown.html
  18. +1 −1 files/lib/resque/errors_rb.html
  19. +1 −1 files/lib/resque/failure/base_rb.html
  20. +1 −1 files/lib/resque/failure/hoptoad_rb.html
  21. +1 −1 files/lib/resque/failure/multiple_rb.html
  22. +1 −8 files/lib/resque/failure/redis_rb.html
  23. +8 −1 files/lib/resque/failure_rb.html
  24. +1 −1 files/lib/resque/helpers_rb.html
  25. +1 −1 files/lib/resque/job_rb.html
  26. +1 −1 files/lib/resque/plugin_rb.html
  27. +1 −1 files/lib/resque/server/public/jquery-1_3_2_min_js.html
  28. +1 −1 files/lib/resque/server/public/jquery_relatize_date_js.html
  29. +1 −1 files/lib/resque/server/public/ranger_js.html
  30. +1 −1 files/lib/resque/server/public/reset_css.html
  31. +1 −1 files/lib/resque/server/public/style_css.html
  32. +1 −1 files/lib/resque/server/test_helper_rb.html
  33. +1 −1 files/lib/resque/server/views/error_erb.html
  34. +9 −5 files/lib/resque/server/views/failed_erb.html
  35. +1 −1 files/lib/resque/server/views/key_sets_erb.html
  36. +1 −1 files/lib/resque/server/views/key_string_erb.html
  37. +1 −1 files/lib/resque/server/views/layout_erb.html
  38. +1 −1 files/lib/resque/server/views/next_more_erb.html
  39. +1 −1 files/lib/resque/server/views/overview_erb.html
  40. +1 −1 files/lib/resque/server/views/queues_erb.html
  41. +1 −1 files/lib/resque/server/views/stats_erb.html
  42. +2 −2 files/lib/resque/server/views/workers_erb.html
  43. +2 −2 files/lib/resque/server/views/working_erb.html
  44. +1 −1 files/lib/resque/server_rb.html
  45. +1 −1 files/lib/resque/stat_rb.html
  46. +1 −1 files/lib/resque/tasks_rb.html
  47. +1 −1 files/lib/resque/version_rb.html
  48. +1 −1 files/lib/resque/worker_rb.html
  49. +1 −1 files/lib/resque_rb.html
  50. +1 −1 panel/search_index.js
View
353 classes/Resque.html
@@ -29,10 +29,10 @@
<li><a href="../files/lib/resque/failure/multiple_rb.html">lib/resque/failure/multiple.rb</a></li>
- <li><a href="../files/lib/resque/failure_rb.html">lib/resque/failure.rb</a></li>
-
<li><a href="../files/lib/resque/failure/redis_rb.html">lib/resque/failure/redis.rb</a></li>
+ <li><a href="../files/lib/resque/failure_rb.html">lib/resque/failure.rb</a></li>
+
<li><a href="../files/lib/resque/helpers_rb.html">lib/resque/helpers.rb</a></li>
<li><a href="../files/lib/resque/job_rb.html">lib/resque/job.rb</a></li>
@@ -47,10 +47,10 @@
<li><a href="../files/lib/resque/version_rb.html">lib/resque/version.rb</a></li>
- <li><a href="../files/lib/resque_rb.html">lib/resque.rb</a></li>
-
<li><a href="../files/lib/resque/worker_rb.html">lib/resque/worker.rb</a></li>
+ <li><a href="../files/lib/resque_rb.html">lib/resque.rb</a></li>
+
</ul>
</div>
<div id="bodyContent">
@@ -71,9 +71,9 @@
<dd>
<ul>
- <li><a href="#M000093">after_fork</a>,</li>
+ <li><a href="#M000096">after_fork</a>,</li>
- <li><a href="#M000094">after_fork=</a></li>
+ <li><a href="#M000097">after_fork=</a></li>
</ul>
</dd>
@@ -82,13 +82,13 @@
<dd>
<ul>
- <li><a href="#M000087">before_first_fork</a>,</li>
+ <li><a href="#M000090">before_first_fork</a>,</li>
- <li><a href="#M000088">before_first_fork=</a>,</li>
+ <li><a href="#M000091">before_first_fork=</a>,</li>
- <li><a href="#M000089">before_fork</a>,</li>
+ <li><a href="#M000092">before_fork</a>,</li>
- <li><a href="#M000092">before_fork=</a></li>
+ <li><a href="#M000095">before_fork=</a></li>
</ul>
</dd>
@@ -97,7 +97,7 @@
<dd>
<ul>
- <li><a href="#M000115">dequeue</a></li>
+ <li><a href="#M000114">dequeue</a></li>
</ul>
</dd>
@@ -115,7 +115,7 @@
<dd>
<ul>
- <li><a href="#M000122">info</a></li>
+ <li><a href="#M000123">info</a></li>
</ul>
</dd>
@@ -124,7 +124,7 @@
<dd>
<ul>
- <li><a href="#M000126">keys</a></li>
+ <li><a href="#M000127">keys</a></li>
</ul>
</dd>
@@ -133,7 +133,7 @@
<dd>
<ul>
- <li><a href="#M000103">list_range</a></li>
+ <li><a href="#M000104">list_range</a></li>
</ul>
</dd>
@@ -142,11 +142,11 @@
<dd>
<ul>
- <li><a href="#M000102">peek</a>,</li>
+ <li><a href="#M000103">peek</a>,</li>
- <li><a href="#M000099">pop</a>,</li>
+ <li><a href="#M000101">pop</a>,</li>
- <li><a href="#M000098">push</a></li>
+ <li><a href="#M000100">push</a></li>
</ul>
</dd>
@@ -155,9 +155,9 @@
<dd>
<ul>
- <li><a href="#M000116">queue_from_class</a>,</li>
+ <li><a href="#M000115">queue_from_class</a>,</li>
- <li><a href="#M000105">queues</a></li>
+ <li><a href="#M000107">queues</a></li>
</ul>
</dd>
@@ -166,15 +166,15 @@
<dd>
<ul>
- <li><a href="#M000083">redis</a>,</li>
+ <li><a href="#M000086">redis</a>,</li>
- <li><a href="#M000082">redis=</a>,</li>
+ <li><a href="#M000083">redis=</a>,</li>
- <li><a href="#M000106">remove_queue</a>,</li>
+ <li><a href="#M000108">remove_queue</a>,</li>
<li><a href="#M000121">remove_worker</a>,</li>
- <li><a href="#M000117">reserve</a></li>
+ <li><a href="#M000118">reserve</a></li>
</ul>
</dd>
@@ -183,7 +183,7 @@
<dd>
<ul>
- <li><a href="#M000100">size</a></li>
+ <li><a href="#M000102">size</a></li>
</ul>
</dd>
@@ -192,7 +192,7 @@
<dd>
<ul>
- <li><a href="#M000095">to_s</a></li>
+ <li><a href="#M000098">to_s</a></li>
</ul>
</dd>
@@ -201,7 +201,7 @@
<dd>
<ul>
- <li><a href="#M000107">watch_queue</a>,</li>
+ <li><a href="#M000109">watch_queue</a>,</li>
<li><a href="#M000119">workers</a>,</li>
@@ -265,7 +265,7 @@
<tr valign='top'>
<td class="attr-name">Version</td>
<td>=</td>
- <td class="attr-value">'1.8.0'</td>
+ <td class="attr-value">'1.8.1'</td>
</tr>
@@ -278,15 +278,15 @@
<div class="sectiontitle">Instance Public methods</div>
<div class="method">
- <div class="title" id="M000093">
+ <div class="title" id="M000096">
- <a name="M000093"></a><b>after_fork</b>(&amp;block)
+ <a name="M000096"></a><b>after_fork</b>(&amp;block)
</div>
<div class="description">
<p>
-The `<a href="Resque.html#M000093">after_fork</a>` hook will be run in the
+The `<a href="Resque.html#M000096">after_fork</a>` hook will be run in the
child process and is passed the current job. Any changes you make,
therefor, will only live as long as the job currently being processes.
</p>
@@ -302,13 +302,13 @@
<div class="sourcecode">
<p class="source-link">
- Source: <a href="javascript:toggleSource('M000093_source')" id="l_M000093_source">show</a>
+ Source: <a href="javascript:toggleSource('M000096_source')" id="l_M000096_source">show</a>
- | <a href="http://github.com/defunkt/resque/blob/168d19e1e8ea68f77142edbeae07d1185267b520/lib/resque.rb#L92" target="_blank" class="github_url">on GitHub</a>
+ | <a href="http://github.com/defunkt/resque/blob/e7175fd5167a054e33b5ccf19cca3fb5c44db32e/lib/resque.rb#L93" target="_blank" class="github_url">on GitHub</a>
</p>
- <div id="M000093_source" class="dyn-source">
- <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 92</span>
+ <div id="M000096_source" class="dyn-source">
+ <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 93</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">after_fork</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
<span class="ruby-identifier">block</span> <span class="ruby-value">? </span>(<span class="ruby-ivar">@after_fork</span> = <span class="ruby-identifier">block</span>) <span class="ruby-operator">:</span> <span class="ruby-ivar">@after_fork</span>
<span class="ruby-keyword kw">end</span></pre>
@@ -318,15 +318,15 @@
</div>
<div class="method">
- <div class="title" id="M000094">
+ <div class="title" id="M000097">
- <a name="M000094"></a><b>after_fork=</b>(after_fork)
+ <a name="M000097"></a><b>after_fork=</b>(after_fork)
</div>
<div class="description">
<p>
-Set the <a href="Resque.html#M000093">after_fork</a> proc.
+Set the <a href="Resque.html#M000096">after_fork</a> proc.
</p>
</div>
@@ -336,13 +336,13 @@
<div class="sourcecode">
<p class="source-link">
- Source: <a href="javascript:toggleSource('M000094_source')" id="l_M000094_source">show</a>
+ Source: <a href="javascript:toggleSource('M000097_source')" id="l_M000097_source">show</a>
- | <a href="http://github.com/defunkt/resque/blob/168d19e1e8ea68f77142edbeae07d1185267b520/lib/resque.rb#L97" target="_blank" class="github_url">on GitHub</a>
+ | <a href="http://github.com/defunkt/resque/blob/e7175fd5167a054e33b5ccf19cca3fb5c44db32e/lib/resque.rb#L98" target="_blank" class="github_url">on GitHub</a>
</p>
- <div id="M000094_source" class="dyn-source">
- <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 97</span>
+ <div id="M000097_source" class="dyn-source">
+ <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 98</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">after_fork=</span>(<span class="ruby-identifier">after_fork</span>)
<span class="ruby-ivar">@after_fork</span> = <span class="ruby-identifier">after_fork</span>
<span class="ruby-keyword kw">end</span></pre>
@@ -352,15 +352,15 @@
</div>
<div class="method">
- <div class="title" id="M000087">
+ <div class="title" id="M000090">
- <a name="M000087"></a><b>before_first_fork</b>(&amp;block)
+ <a name="M000090"></a><b>before_first_fork</b>(&amp;block)
</div>
<div class="description">
<p>
-The `<a href="Resque.html#M000087">before_first_fork</a>` hook will be run
+The `<a href="Resque.html#M000090">before_first_fork</a>` hook will be run
in the *<b>parent</b>* process only once, before forking to run the first
job. Be careful- any changes you make will be permanent for the lifespan of
the worker.
@@ -377,13 +377,13 @@
<div class="sourcecode">
<p class="source-link">
- Source: <a href="javascript:toggleSource('M000087_source')" id="l_M000087_source">show</a>
+ Source: <a href="javascript:toggleSource('M000090_source')" id="l_M000090_source">show</a>
- | <a href="http://github.com/defunkt/resque/blob/168d19e1e8ea68f77142edbeae07d1185267b520/lib/resque.rb#L61" target="_blank" class="github_url">on GitHub</a>
+ | <a href="http://github.com/defunkt/resque/blob/e7175fd5167a054e33b5ccf19cca3fb5c44db32e/lib/resque.rb#L62" target="_blank" class="github_url">on GitHub</a>
</p>
- <div id="M000087_source" class="dyn-source">
- <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 61</span>
+ <div id="M000090_source" class="dyn-source">
+ <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 62</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">before_first_fork</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
<span class="ruby-identifier">block</span> <span class="ruby-value">? </span>(<span class="ruby-ivar">@before_first_fork</span> = <span class="ruby-identifier">block</span>) <span class="ruby-operator">:</span> <span class="ruby-ivar">@before_first_fork</span>
<span class="ruby-keyword kw">end</span></pre>
@@ -393,9 +393,9 @@
</div>
<div class="method">
- <div class="title" id="M000088">
+ <div class="title" id="M000091">
- <a name="M000088"></a><b>before_first_fork=</b>(before_first_fork)
+ <a name="M000091"></a><b>before_first_fork=</b>(before_first_fork)
</div>
@@ -412,13 +412,13 @@
<div class="sourcecode">
<p class="source-link">
- Source: <a href="javascript:toggleSource('M000088_source')" id="l_M000088_source">show</a>
+ Source: <a href="javascript:toggleSource('M000091_source')" id="l_M000091_source">show</a>
- | <a href="http://github.com/defunkt/resque/blob/168d19e1e8ea68f77142edbeae07d1185267b520/lib/resque.rb#L67" target="_blank" class="github_url">on GitHub</a>
+ | <a href="http://github.com/defunkt/resque/blob/e7175fd5167a054e33b5ccf19cca3fb5c44db32e/lib/resque.rb#L68" target="_blank" class="github_url">on GitHub</a>
</p>
- <div id="M000088_source" class="dyn-source">
- <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 67</span>
+ <div id="M000091_source" class="dyn-source">
+ <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 68</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">before_first_fork=</span>(<span class="ruby-identifier">before_first_fork</span>)
<span class="ruby-ivar">@before_first_fork</span> = <span class="ruby-identifier">before_first_fork</span>
<span class="ruby-keyword kw">end</span></pre>
@@ -428,15 +428,15 @@
</div>
<div class="method">
- <div class="title" id="M000089">
+ <div class="title" id="M000092">
- <a name="M000089"></a><b>before_fork</b>(&amp;block)
+ <a name="M000092"></a><b>before_fork</b>(&amp;block)
</div>
<div class="description">
<p>
-The `<a href="Resque.html#M000089">before_fork</a>` hook will be run in the
+The `<a href="Resque.html#M000092">before_fork</a>` hook will be run in the
*<b>parent</b>* process before every job, so be careful- any changes you
make will be permanent for the lifespan of the worker.
</p>
@@ -452,13 +452,13 @@
<div class="sourcecode">
<p class="source-link">
- Source: <a href="javascript:toggleSource('M000089_source')" id="l_M000089_source">show</a>
+ Source: <a href="javascript:toggleSource('M000092_source')" id="l_M000092_source">show</a>
- | <a href="http://github.com/defunkt/resque/blob/168d19e1e8ea68f77142edbeae07d1185267b520/lib/resque.rb#L77" target="_blank" class="github_url">on GitHub</a>
+ | <a href="http://github.com/defunkt/resque/blob/e7175fd5167a054e33b5ccf19cca3fb5c44db32e/lib/resque.rb#L78" target="_blank" class="github_url">on GitHub</a>
</p>
- <div id="M000089_source" class="dyn-source">
- <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 77</span>
+ <div id="M000092_source" class="dyn-source">
+ <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 78</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">before_fork</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
<span class="ruby-identifier">block</span> <span class="ruby-value">? </span>(<span class="ruby-ivar">@before_fork</span> = <span class="ruby-identifier">block</span>) <span class="ruby-operator">:</span> <span class="ruby-ivar">@before_fork</span>
<span class="ruby-keyword kw">end</span></pre>
@@ -468,15 +468,15 @@
</div>
<div class="method">
- <div class="title" id="M000092">
+ <div class="title" id="M000095">
- <a name="M000092"></a><b>before_fork=</b>(before_fork)
+ <a name="M000095"></a><b>before_fork=</b>(before_fork)
</div>
<div class="description">
<p>
-Set the <a href="Resque.html#M000089">before_fork</a> proc.
+Set the <a href="Resque.html#M000092">before_fork</a> proc.
</p>
</div>
@@ -486,13 +486,13 @@
<div class="sourcecode">
<p class="source-link">
- Source: <a href="javascript:toggleSource('M000092_source')" id="l_M000092_source">show</a>
+ Source: <a href="javascript:toggleSource('M000095_source')" id="l_M000095_source">show</a>
- | <a href="http://github.com/defunkt/resque/blob/168d19e1e8ea68f77142edbeae07d1185267b520/lib/resque.rb#L82" target="_blank" class="github_url">on GitHub</a>
+ | <a href="http://github.com/defunkt/resque/blob/e7175fd5167a054e33b5ccf19cca3fb5c44db32e/lib/resque.rb#L83" target="_blank" class="github_url">on GitHub</a>
</p>
- <div id="M000092_source" class="dyn-source">
- <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 82</span>
+ <div id="M000095_source" class="dyn-source">
+ <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 83</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">before_fork=</span>(<span class="ruby-identifier">before_fork</span>)
<span class="ruby-ivar">@before_fork</span> = <span class="ruby-identifier">before_fork</span>
<span class="ruby-keyword kw">end</span></pre>
@@ -502,9 +502,9 @@
</div>
<div class="method">
- <div class="title" id="M000115">
+ <div class="title" id="M000114">
- <a name="M000115"></a><b>dequeue</b>(klass, *args)
+ <a name="M000114"></a><b>dequeue</b>(klass, *args)
</div>
@@ -528,7 +528,7 @@
<p>
If no args are given, this method will dequeue <b>all</b> jobs matching the
provided class. See `<a
-href="Resque/Job.html#M000043">Resque::Job.destroy</a>` for more
+href="Resque/Job.html#M000044">Resque::Job.destroy</a>` for more
information.
</p>
<p>
@@ -555,13 +555,13 @@
<div class="sourcecode">
<p class="source-link">
- Source: <a href="javascript:toggleSource('M000115_source')" id="l_M000115_source">show</a>
+ Source: <a href="javascript:toggleSource('M000114_source')" id="l_M000114_source">show</a>
- | <a href="http://github.com/defunkt/resque/blob/168d19e1e8ea68f77142edbeae07d1185267b520/lib/resque.rb#L220" target="_blank" class="github_url">on GitHub</a>
+ | <a href="http://github.com/defunkt/resque/blob/e7175fd5167a054e33b5ccf19cca3fb5c44db32e/lib/resque.rb#L221" target="_blank" class="github_url">on GitHub</a>
</p>
- <div id="M000115_source" class="dyn-source">
- <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 220</span>
+ <div id="M000114_source" class="dyn-source">
+ <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 221</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">dequeue</span>(<span class="ruby-identifier">klass</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
<span class="ruby-constant">Job</span>.<span class="ruby-identifier">destroy</span>(<span class="ruby-identifier">queue_from_class</span>(<span class="ruby-identifier">klass</span>), <span class="ruby-identifier">klass</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
<span class="ruby-keyword kw">end</span></pre>
@@ -607,11 +607,11 @@
<p class="source-link">
Source: <a href="javascript:toggleSource('M000112_source')" id="l_M000112_source">show</a>
- | <a href="http://github.com/defunkt/resque/blob/168d19e1e8ea68f77142edbeae07d1185267b520/lib/resque.rb#L189" target="_blank" class="github_url">on GitHub</a>
+ | <a href="http://github.com/defunkt/resque/blob/e7175fd5167a054e33b5ccf19cca3fb5c44db32e/lib/resque.rb#L190" target="_blank" class="github_url">on GitHub</a>
</p>
<div id="M000112_source" class="dyn-source">
- <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 189</span>
+ <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 190</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">enqueue</span>(<span class="ruby-identifier">klass</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
<span class="ruby-constant">Job</span>.<span class="ruby-identifier">create</span>(<span class="ruby-identifier">queue_from_class</span>(<span class="ruby-identifier">klass</span>), <span class="ruby-identifier">klass</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
<span class="ruby-keyword kw">end</span></pre>
@@ -621,16 +621,16 @@
</div>
<div class="method">
- <div class="title" id="M000122">
+ <div class="title" id="M000123">
- <a name="M000122"></a><b>info</b>()
+ <a name="M000123"></a><b>info</b>()
</div>
<div class="description">
<p>
Returns a hash, similar to redis-rb&#8217;s <a
-href="Resque.html#M000122">info</a>, of interesting stats.
+href="Resque.html#M000123">info</a>, of interesting stats.
</p>
</div>
@@ -640,13 +640,13 @@
<div class="sourcecode">
<p class="source-link">
- Source: <a href="javascript:toggleSource('M000122_source')" id="l_M000122_source">show</a>
+ Source: <a href="javascript:toggleSource('M000123_source')" id="l_M000123_source">show</a>
- | <a href="http://github.com/defunkt/resque/blob/168d19e1e8ea68f77142edbeae07d1185267b520/lib/resque.rb#L267" target="_blank" class="github_url">on GitHub</a>
+ | <a href="http://github.com/defunkt/resque/blob/e7175fd5167a054e33b5ccf19cca3fb5c44db32e/lib/resque.rb#L268" target="_blank" class="github_url">on GitHub</a>
</p>
- <div id="M000122_source" class="dyn-source">
- <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 267</span>
+ <div id="M000123_source" class="dyn-source">
+ <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 268</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">info</span>
<span class="ruby-keyword kw">return</span> {
<span class="ruby-identifier">:pending</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">queues</span>.<span class="ruby-identifier">inject</span>(<span class="ruby-value">0</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">m</span>,<span class="ruby-identifier">k</span><span class="ruby-operator">|</span> <span class="ruby-identifier">m</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">size</span>(<span class="ruby-identifier">k</span>) },
@@ -664,9 +664,9 @@
</div>
<div class="method">
- <div class="title" id="M000126">
+ <div class="title" id="M000127">
- <a name="M000126"></a><b>keys</b>()
+ <a name="M000127"></a><b>keys</b>()
</div>
@@ -684,13 +684,13 @@
<div class="sourcecode">
<p class="source-link">
- Source: <a href="javascript:toggleSource('M000126_source')" id="l_M000126_source">show</a>
+ Source: <a href="javascript:toggleSource('M000127_source')" id="l_M000127_source">show</a>
- | <a href="http://github.com/defunkt/resque/blob/168d19e1e8ea68f77142edbeae07d1185267b520/lib/resque.rb#L281" target="_blank" class="github_url">on GitHub</a>
+ | <a href="http://github.com/defunkt/resque/blob/e7175fd5167a054e33b5ccf19cca3fb5c44db32e/lib/resque.rb#L282" target="_blank" class="github_url">on GitHub</a>
</p>
- <div id="M000126_source" class="dyn-source">
- <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 281</span>
+ <div id="M000127_source" class="dyn-source">
+ <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 282</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">keys</span>
<span class="ruby-identifier">redis</span>.<span class="ruby-identifier">keys</span>(<span class="ruby-value str">&quot;*&quot;</span>).<span class="ruby-identifier">map</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">key</span><span class="ruby-operator">|</span>
<span class="ruby-identifier">key</span>.<span class="ruby-identifier">sub</span>(<span class="ruby-node">&quot;#{redis.namespace}:&quot;</span>, <span class="ruby-value str">''</span>)
@@ -702,9 +702,9 @@
</div>
<div class="method">
- <div class="title" id="M000103">
+ <div class="title" id="M000104">
- <a name="M000103"></a><b>list_range</b>(key, start = 0, count = 1)
+ <a name="M000104"></a><b>list_range</b>(key, start = 0, count = 1)
</div>
@@ -721,13 +721,13 @@
<div class="sourcecode">
<p class="source-link">
- Source: <a href="javascript:toggleSource('M000103_source')" id="l_M000103_source">show</a>
+ Source: <a href="javascript:toggleSource('M000104_source')" id="l_M000104_source">show</a>
- | <a href="http://github.com/defunkt/resque/blob/168d19e1e8ea68f77142edbeae07d1185267b520/lib/resque.rb#L144" target="_blank" class="github_url">on GitHub</a>
+ | <a href="http://github.com/defunkt/resque/blob/e7175fd5167a054e33b5ccf19cca3fb5c44db32e/lib/resque.rb#L145" target="_blank" class="github_url">on GitHub</a>
</p>
- <div id="M000103_source" class="dyn-source">
- <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 144</span>
+ <div id="M000104_source" class="dyn-source">
+ <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 145</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">list_range</span>(<span class="ruby-identifier">key</span>, <span class="ruby-identifier">start</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">count</span> = <span class="ruby-value">1</span>)
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">count</span> <span class="ruby-operator">==</span> <span class="ruby-value">1</span>
<span class="ruby-identifier">decode</span> <span class="ruby-identifier">redis</span>.<span class="ruby-identifier">lindex</span>(<span class="ruby-identifier">key</span>, <span class="ruby-identifier">start</span>)
@@ -743,9 +743,9 @@
</div>
<div class="method">
- <div class="title" id="M000102">
+ <div class="title" id="M000103">
- <a name="M000102"></a><b>peek</b>(queue, start = 0, count = 1)
+ <a name="M000103"></a><b>peek</b>(queue, start = 0, count = 1)
</div>
@@ -771,13 +771,13 @@
<div class="sourcecode">
<p class="source-link">
- Source: <a href="javascript:toggleSource('M000102_source')" id="l_M000102_source">show</a>
+ Source: <a href="javascript:toggleSource('M000103_source')" id="l_M000103_source">show</a>
- | <a href="http://github.com/defunkt/resque/blob/168d19e1e8ea68f77142edbeae07d1185267b520/lib/resque.rb#L138" target="_blank" class="github_url">on GitHub</a>
+ | <a href="http://github.com/defunkt/resque/blob/e7175fd5167a054e33b5ccf19cca3fb5c44db32e/lib/resque.rb#L139" target="_blank" class="github_url">on GitHub</a>
</p>
- <div id="M000102_source" class="dyn-source">
- <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 138</span>
+ <div id="M000103_source" class="dyn-source">
+ <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 139</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">peek</span>(<span class="ruby-identifier">queue</span>, <span class="ruby-identifier">start</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">count</span> = <span class="ruby-value">1</span>)
<span class="ruby-identifier">list_range</span>(<span class="ruby-node">&quot;queue:#{queue}&quot;</span>, <span class="ruby-identifier">start</span>, <span class="ruby-identifier">count</span>)
<span class="ruby-keyword kw">end</span></pre>
@@ -787,9 +787,9 @@
</div>
<div class="method">
- <div class="title" id="M000099">
+ <div class="title" id="M000101">
- <a name="M000099"></a><b>pop</b>(queue)
+ <a name="M000101"></a><b>pop</b>(queue)
</div>
@@ -808,13 +808,13 @@
<div class="sourcecode">
<p class="source-link">
- Source: <a href="javascript:toggleSource('M000099_source')" id="l_M000099_source">show</a>
+ Source: <a href="javascript:toggleSource('M000101_source')" id="l_M000101_source">show</a>
- | <a href="http://github.com/defunkt/resque/blob/168d19e1e8ea68f77142edbeae07d1185267b520/lib/resque.rb#L120" target="_blank" class="github_url">on GitHub</a>
+ | <a href="http://github.com/defunkt/resque/blob/e7175fd5167a054e33b5ccf19cca3fb5c44db32e/lib/resque.rb#L121" target="_blank" class="github_url">on GitHub</a>
</p>
- <div id="M000099_source" class="dyn-source">
- <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 120</span>
+ <div id="M000101_source" class="dyn-source">
+ <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 121</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pop</span>(<span class="ruby-identifier">queue</span>)
<span class="ruby-identifier">decode</span> <span class="ruby-identifier">redis</span>.<span class="ruby-identifier">lpop</span>(<span class="ruby-node">&quot;queue:#{queue}&quot;</span>)
<span class="ruby-keyword kw">end</span></pre>
@@ -824,9 +824,9 @@
</div>
<div class="method">
- <div class="title" id="M000098">
+ <div class="title" id="M000100">
- <a name="M000098"></a><b>push</b>(queue, item)
+ <a name="M000100"></a><b>push</b>(queue, item)
</div>
@@ -843,13 +843,13 @@
<div class="sourcecode">
<p class="source-link">
- Source: <a href="javascript:toggleSource('M000098_source')" id="l_M000098_source">show</a>
+ Source: <a href="javascript:toggleSource('M000100_source')" id="l_M000100_source">show</a>
- | <a href="http://github.com/defunkt/resque/blob/168d19e1e8ea68f77142edbeae07d1185267b520/lib/resque.rb#L112" target="_blank" class="github_url">on GitHub</a>
+ | <a href="http://github.com/defunkt/resque/blob/e7175fd5167a054e33b5ccf19cca3fb5c44db32e/lib/resque.rb#L113" target="_blank" class="github_url">on GitHub</a>
</p>
- <div id="M000098_source" class="dyn-source">
- <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 112</span>
+ <div id="M000100_source" class="dyn-source">
+ <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 113</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">push</span>(<span class="ruby-identifier">queue</span>, <span class="ruby-identifier">item</span>)
<span class="ruby-identifier">watch_queue</span>(<span class="ruby-identifier">queue</span>)
<span class="ruby-identifier">redis</span>.<span class="ruby-identifier">rpush</span> <span class="ruby-node">&quot;queue:#{queue}&quot;</span>, <span class="ruby-identifier">encode</span>(<span class="ruby-identifier">item</span>)
@@ -860,9 +860,9 @@
</div>
<div class="method">
- <div class="title" id="M000116">
+ <div class="title" id="M000115">
- <a name="M000116"></a><b>queue_from_class</b>(klass)
+ <a name="M000115"></a><b>queue_from_class</b>(klass)
</div>
@@ -879,13 +879,13 @@
<div class="sourcecode">
<p class="source-link">
- Source: <a href="javascript:toggleSource('M000116_source')" id="l_M000116_source">show</a>
+ Source: <a href="javascript:toggleSource('M000115_source')" id="l_M000115_source">show</a>
- | <a href="http://github.com/defunkt/resque/blob/168d19e1e8ea68f77142edbeae07d1185267b520/lib/resque.rb#L226" target="_blank" class="github_url">on GitHub</a>
+ | <a href="http://github.com/defunkt/resque/blob/e7175fd5167a054e33b5ccf19cca3fb5c44db32e/lib/resque.rb#L227" target="_blank" class="github_url">on GitHub</a>
</p>
- <div id="M000116_source" class="dyn-source">
- <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 226</span>
+ <div id="M000115_source" class="dyn-source">
+ <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 227</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">queue_from_class</span>(<span class="ruby-identifier">klass</span>)
<span class="ruby-identifier">klass</span>.<span class="ruby-identifier">instance_variable_get</span>(<span class="ruby-identifier">:@queue</span>) <span class="ruby-operator">||</span>
(<span class="ruby-identifier">klass</span>.<span class="ruby-identifier">respond_to?</span>(<span class="ruby-identifier">:queue</span>) <span class="ruby-keyword kw">and</span> <span class="ruby-identifier">klass</span>.<span class="ruby-identifier">queue</span>)
@@ -896,9 +896,9 @@
</div>
<div class="method">
- <div class="title" id="M000105">
+ <div class="title" id="M000107">
- <a name="M000105"></a><b>queues</b>()
+ <a name="M000107"></a><b>queues</b>()
</div>
@@ -915,13 +915,13 @@
<div class="sourcecode">
<p class="source-link">
- Source: <a href="javascript:toggleSource('M000105_source')" id="l_M000105_source">show</a>
+ Source: <a href="javascript:toggleSource('M000107_source')" id="l_M000107_source">show</a>
- | <a href="http://github.com/defunkt/resque/blob/168d19e1e8ea68f77142edbeae07d1185267b520/lib/resque.rb#L155" target="_blank" class="github_url">on GitHub</a>
+ | <a href="http://github.com/defunkt/resque/blob/e7175fd5167a054e33b5ccf19cca3fb5c44db32e/lib/resque.rb#L156" target="_blank" class="github_url">on GitHub</a>
</p>
- <div id="M000105_source" class="dyn-source">
- <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 155</span>
+ <div id="M000107_source" class="dyn-source">
+ <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 156</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">queues</span>
<span class="ruby-identifier">redis</span>.<span class="ruby-identifier">smembers</span>(<span class="ruby-identifier">:queues</span>)
<span class="ruby-keyword kw">end</span></pre>
@@ -931,9 +931,9 @@
</div>
<div class="method">
- <div class="title" id="M000083">
+ <div class="title" id="M000086">
- <a name="M000083"></a><b>redis</b>()
+ <a name="M000086"></a><b>redis</b>()
</div>
@@ -950,13 +950,13 @@
<div class="sourcecode">
<p class="source-link">
- Source: <a href="javascript:toggleSource('M000083_source')" id="l_M000083_source">show</a>
+ Source: <a href="javascript:toggleSource('M000086_source')" id="l_M000086_source">show</a>
- | <a href="http://github.com/defunkt/resque/blob/168d19e1e8ea68f77142edbeae07d1185267b520/lib/resque.rb#L48" target="_blank" class="github_url">on GitHub</a>
+ | <a href="http://github.com/defunkt/resque/blob/e7175fd5167a054e33b5ccf19cca3fb5c44db32e/lib/resque.rb#L49" target="_blank" class="github_url">on GitHub</a>
</p>
- <div id="M000083_source" class="dyn-source">
- <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 48</span>
+ <div id="M000086_source" class="dyn-source">
+ <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 49</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">redis</span>
<span class="ruby-keyword kw">return</span> <span class="ruby-ivar">@redis</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@redis</span>
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">redis</span> = <span class="ruby-value str">'localhost:6379'</span>
@@ -968,9 +968,9 @@
</div>
<div class="method">
- <div class="title" id="M000082">
+ <div class="title" id="M000083">
- <a name="M000082"></a><b>redis=</b>(server)
+ <a name="M000083"></a><b>redis=</b>(server)
</div>
@@ -981,7 +981,8 @@
<pre>
1. A 'hostname:port' string
2. A 'hostname:port:db' string (to select the Redis db)
- 3. An instance of `Redis`, `Redis::Client`, or `Redis::Namespace`.
+ 3. An instance of `Redis`, `Redis::Client`, `Redis::DistRedis`,
+ or `Redis::Namespace`.
</pre>
</div>
@@ -991,21 +992,21 @@
<div class="sourcecode">
<p class="source-link">
- Source: <a href="javascript:toggleSource('M000082_source')" id="l_M000082_source">show</a>
+ Source: <a href="javascript:toggleSource('M000083_source')" id="l_M000083_source">show</a>
- | <a href="http://github.com/defunkt/resque/blob/168d19e1e8ea68f77142edbeae07d1185267b520/lib/resque.rb#L30" target="_blank" class="github_url">on GitHub</a>
+ | <a href="http://github.com/defunkt/resque/blob/e7175fd5167a054e33b5ccf19cca3fb5c44db32e/lib/resque.rb#L31" target="_blank" class="github_url">on GitHub</a>
</p>
- <div id="M000082_source" class="dyn-source">
- <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 30</span>
+ <div id="M000083_source" class="dyn-source">
+ <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 31</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">redis=</span>(<span class="ruby-identifier">server</span>)
<span class="ruby-keyword kw">case</span> <span class="ruby-identifier">server</span>
<span class="ruby-keyword kw">when</span> <span class="ruby-constant">String</span>
<span class="ruby-identifier">host</span>, <span class="ruby-identifier">port</span>, <span class="ruby-identifier">db</span> = <span class="ruby-identifier">server</span>.<span class="ruby-identifier">split</span>(<span class="ruby-value str">':'</span>)
<span class="ruby-identifier">redis</span> = <span class="ruby-constant">Redis</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">:host</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">host</span>, <span class="ruby-identifier">:port</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">port</span>,
<span class="ruby-identifier">:thread_safe</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-keyword kw">true</span>, <span class="ruby-identifier">:db</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">db</span>)
<span class="ruby-ivar">@redis</span> = <span class="ruby-constant">Redis</span><span class="ruby-operator">::</span><span class="ruby-constant">Namespace</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">:resque</span>, <span class="ruby-identifier">:redis</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">redis</span>)
- <span class="ruby-keyword kw">when</span> <span class="ruby-constant">Redis</span>, <span class="ruby-constant">Redis</span><span class="ruby-operator">::</span><span class="ruby-constant">Client</span>
+ <span class="ruby-keyword kw">when</span> <span class="ruby-constant">Redis</span>, <span class="ruby-constant">Redis</span><span class="ruby-operator">::</span><span class="ruby-constant">Client</span>, <span class="ruby-constant">Redis</span><span class="ruby-operator">::</span><span class="ruby-constant">DistRedis</span>
<span class="ruby-ivar">@redis</span> = <span class="ruby-constant">Redis</span><span class="ruby-operator">::</span><span class="ruby-constant">Namespace</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">:resque</span>, <span class="ruby-identifier">:redis</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">server</span>)
<span class="ruby-keyword kw">when</span> <span class="ruby-constant">Redis</span><span class="ruby-operator">::</span><span class="ruby-constant">Namespace</span>
<span class="ruby-ivar">@redis</span> = <span class="ruby-identifier">server</span>
@@ -1019,9 +1020,9 @@
</div>
<div class="method">
- <div class="title" id="M000106">
+ <div class="title" id="M000108">
- <a name="M000106"></a><b>remove_queue</b>(queue)
+ <a name="M000108"></a><b>remove_queue</b>(queue)
</div>
@@ -1037,13 +1038,13 @@
<div class="sourcecode">
<p class="source-link">
- Source: <a href="javascript:toggleSource('M000106_source')" id="l_M000106_source">show</a>
+ Source: <a href="javascript:toggleSource('M000108_source')" id="l_M000108_source">show</a>
- | <a href="http://github.com/defunkt/resque/blob/168d19e1e8ea68f77142edbeae07d1185267b520/lib/resque.rb#L160" target="_blank" class="github_url">on GitHub</a>
+ | <a href="http://github.com/defunkt/resque/blob/e7175fd5167a054e33b5ccf19cca3fb5c44db32e/lib/resque.rb#L161" target="_blank" class="github_url">on GitHub</a>
</p>
- <div id="M000106_source" class="dyn-source">
- <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 160</span>
+ <div id="M000108_source" class="dyn-source">
+ <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 161</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remove_queue</span>(<span class="ruby-identifier">queue</span>)
<span class="ruby-identifier">redis</span>.<span class="ruby-identifier">srem</span>(<span class="ruby-identifier">:queues</span>, <span class="ruby-identifier">queue</span>.<span class="ruby-identifier">to_s</span>)
<span class="ruby-identifier">redis</span>.<span class="ruby-identifier">del</span>(<span class="ruby-node">&quot;queue:#{queue}&quot;</span>)
@@ -1074,11 +1075,11 @@
<p class="source-link">
Source: <a href="javascript:toggleSource('M000121_source')" id="l_M000121_source">show</a>
- | <a href="http://github.com/defunkt/resque/blob/168d19e1e8ea68f77142edbeae07d1185267b520/lib/resque.rb#L257" target="_blank" class="github_url">on GitHub</a>
+ | <a href="http://github.com/defunkt/resque/blob/e7175fd5167a054e33b5ccf19cca3fb5c44db32e/lib/resque.rb#L258" target="_blank" class="github_url">on GitHub</a>
</p>
<div id="M000121_source" class="dyn-source">
- <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 257</span>
+ <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 258</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remove_worker</span>(<span class="ruby-identifier">worker_id</span>)
<span class="ruby-identifier">worker</span> = <span class="ruby-constant">Resque</span><span class="ruby-operator">::</span><span class="ruby-constant">Worker</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">worker_id</span>)
<span class="ruby-identifier">worker</span>.<span class="ruby-identifier">unregister_worker</span>
@@ -1089,9 +1090,9 @@
</div>
<div class="method">
- <div class="title" id="M000117">
+ <div class="title" id="M000118">
- <a name="M000117"></a><b>reserve</b>(queue)
+ <a name="M000118"></a><b>reserve</b>(queue)
</div>
@@ -1112,13 +1113,13 @@
<div class="sourcecode">
<p class="source-link">
- Source: <a href="javascript:toggleSource('M000117_source')" id="l_M000117_source">show</a>
+ Source: <a href="javascript:toggleSource('M000118_source')" id="l_M000118_source">show</a>
- | <a href="http://github.com/defunkt/resque/blob/168d19e1e8ea68f77142edbeae07d1185267b520/lib/resque.rb#L236" target="_blank" class="github_url">on GitHub</a>
+ | <a href="http://github.com/defunkt/resque/blob/e7175fd5167a054e33b5ccf19cca3fb5c44db32e/lib/resque.rb#L237" target="_blank" class="github_url">on GitHub</a>
</p>
- <div id="M000117_source" class="dyn-source">
- <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 236</span>
+ <div id="M000118_source" class="dyn-source">
+ <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 237</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reserve</span>(<span class="ruby-identifier">queue</span>)
<span class="ruby-constant">Job</span>.<span class="ruby-identifier">reserve</span>(<span class="ruby-identifier">queue</span>)
<span class="ruby-keyword kw">end</span></pre>
@@ -1128,9 +1129,9 @@
</div>
<div class="method">
- <div class="title" id="M000100">
+ <div class="title" id="M000102">
- <a name="M000100"></a><b>size</b>(queue)
+ <a name="M000102"></a><b>size</b>(queue)
</div>
@@ -1147,13 +1148,13 @@
<div class="sourcecode">
<p class="source-link">
- Source: <a href="javascript:toggleSource('M000100_source')" id="l_M000100_source">show</a>
+ Source: <a href="javascript:toggleSource('M000102_source')" id="l_M000102_source">show</a>
- | <a href="http://github.com/defunkt/resque/blob/168d19e1e8ea68f77142edbeae07d1185267b520/lib/resque.rb#L126" target="_blank" class="github_url">on GitHub</a>
+ | <a href="http://github.com/defunkt/resque/blob/e7175fd5167a054e33b5ccf19cca3fb5c44db32e/lib/resque.rb#L127" target="_blank" class="github_url">on GitHub</a>
</p>
- <div id="M000100_source" class="dyn-source">
- <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 126</span>
+ <div id="M000102_source" class="dyn-source">
+ <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 127</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">size</span>(<span class="ruby-identifier">queue</span>)
<span class="ruby-identifier">redis</span>.<span class="ruby-identifier">llen</span>(<span class="ruby-node">&quot;queue:#{queue}&quot;</span>).<span class="ruby-identifier">to_i</span>
<span class="ruby-keyword kw">end</span></pre>
@@ -1163,9 +1164,9 @@
</div>
<div class="method">
- <div class="title" id="M000095">
+ <div class="title" id="M000098">
- <a name="M000095"></a><b>to_s</b>()
+ <a name="M000098"></a><b>to_s</b>()
</div>
@@ -1174,13 +1175,13 @@
<div class="sourcecode">
<p class="source-link">
- Source: <a href="javascript:toggleSource('M000095_source')" id="l_M000095_source">show</a>
+ Source: <a href="javascript:toggleSource('M000098_source')" id="l_M000098_source">show</a>
- | <a href="http://github.com/defunkt/resque/blob/168d19e1e8ea68f77142edbeae07d1185267b520/lib/resque.rb#L101" target="_blank" class="github_url">on GitHub</a>
+ | <a href="http://github.com/defunkt/resque/blob/e7175fd5167a054e33b5ccf19cca3fb5c44db32e/lib/resque.rb#L102" target="_blank" class="github_url">on GitHub</a>
</p>
- <div id="M000095_source" class="dyn-source">
- <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 101</span>
+ <div id="M000098_source" class="dyn-source">
+ <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 102</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_s</span>
<span class="ruby-node">&quot;Resque Client connected to #{redis.server}&quot;</span>
<span class="ruby-keyword kw">end</span></pre>
@@ -1190,9 +1191,9 @@
</div>
<div class="method">
- <div class="title" id="M000107">
+ <div class="title" id="M000109">
- <a name="M000107"></a><b>watch_queue</b>(queue)
+ <a name="M000109"></a><b>watch_queue</b>(queue)
</div>
@@ -1209,13 +1210,13 @@
<div class="sourcecode">
<p class="source-link">
- Source: <a href="javascript:toggleSource('M000107_source')" id="l_M000107_source">show</a>
+ Source: <a href="javascript:toggleSource('M000109_source')" id="l_M000109_source">show</a>
- | <a href="http://github.com/defunkt/resque/blob/168d19e1e8ea68f77142edbeae07d1185267b520/lib/resque.rb#L167" target="_blank" class="github_url">on GitHub</a>
+ | <a href="http://github.com/defunkt/resque/blob/e7175fd5167a054e33b5ccf19cca3fb5c44db32e/lib/resque.rb#L168" target="_blank" class="github_url">on GitHub</a>
</p>
- <div id="M000107_source" class="dyn-source">
- <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 167</span>
+ <div id="M000109_source" class="dyn-source">
+ <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 168</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">watch_queue</span>(<span class="ruby-identifier">queue</span>)
<span class="ruby-identifier">redis</span>.<span class="ruby-identifier">sadd</span>(<span class="ruby-identifier">:queues</span>, <span class="ruby-identifier">queue</span>.<span class="ruby-identifier">to_s</span>)
<span class="ruby-keyword kw">end</span></pre>
@@ -1245,11 +1246,11 @@
<p class="source-link">
Source: <a href="javascript:toggleSource('M000119_source')" id="l_M000119_source">show</a>
- | <a href="http://github.com/defunkt/resque/blob/168d19e1e8ea68f77142edbeae07d1185267b520/lib/resque.rb#L246" target="_blank" class="github_url">on GitHub</a>
+ | <a href="http://github.com/defunkt/resque/blob/e7175fd5167a054e33b5ccf19cca3fb5c44db32e/lib/resque.rb#L247" target="_blank" class="github_url">on GitHub</a>
</p>
<div id="M000119_source" class="dyn-source">
- <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 246</span>
+ <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 247</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">workers</span>
<span class="ruby-constant">Worker</span>.<span class="ruby-identifier">all</span>
<span class="ruby-keyword kw">end</span></pre>
@@ -1279,11 +1280,11 @@
<p class="source-link">
Source: <a href="javascript:toggleSource('M000120_source')" id="l_M000120_source">show</a>
- | <a href="http://github.com/defunkt/resque/blob/168d19e1e8ea68f77142edbeae07d1185267b520/lib/resque.rb#L251" target="_blank" class="github_url">on GitHub</a>
+ | <a href="http://github.com/defunkt/resque/blob/e7175fd5167a054e33b5ccf19cca3fb5c44db32e/lib/resque.rb#L252" target="_blank" class="github_url">on GitHub</a>
</p>
<div id="M000120_source" class="dyn-source">
- <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 251</span>
+ <pre><span class="ruby-comment cmt"># File lib/resque.rb, line 252</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">working</span>
<span class="ruby-constant">Worker</span>.<span class="ruby-identifier">working</span>
<span class="ruby-keyword kw">end</span></pre>
View
80 classes/Resque/Failure.html
@@ -65,7 +65,7 @@
<dd>
<ul>
- <li><a href="#M000030">all</a></li>
+ <li><a href="#M000033">all</a></li>
</ul>
</dd>
@@ -74,9 +74,9 @@
<dd>
<ul>
- <li><a href="#M000028">backend</a>,</li>
+ <li><a href="#M000031">backend</a>,</li>
- <li><a href="#M000025">backend=</a></li>
+ <li><a href="#M000030">backend=</a></li>
</ul>
</dd>
@@ -85,11 +85,11 @@
<dd>
<ul>
- <li><a href="#M000034">clear</a>,</li>
+ <li><a href="#M000035">clear</a>,</li>
- <li><a href="#M000029">count</a>,</li>
+ <li><a href="#M000032">count</a>,</li>
- <li><a href="#M000024">create</a></li>
+ <li><a href="#M000028">create</a></li>
</ul>
</dd>
@@ -98,7 +98,7 @@
<dd>
<ul>
- <li><a href="#M000035">requeue</a></li>
+ <li><a href="#M000036">requeue</a></li>
</ul>
</dd>
@@ -107,7 +107,7 @@
<dd>
<ul>
- <li><a href="#M000033">url</a></li>
+ <li><a href="#M000034">url</a></li>
</ul>
</dd>
@@ -142,9 +142,9 @@
<div class="sectiontitle">Class Public methods</div>
<div class="method">
- <div class="title" id="M000030">
+ <div class="title" id="M000033">
- <a name="M000030"></a><b>all</b>(start = 0, count = 1)
+ <a name="M000033"></a><b>all</b>(start = 0, count = 1)
</div>
@@ -164,12 +164,12 @@
<div class="sourcecode">
<p class="source-link">
- Source: <a href="javascript:toggleSource('M000030_source')" id="l_M000030_source">show</a>
+ Source: <a href="javascript:toggleSource('M000033_source')" id="l_M000033_source">show</a>
| <a href="http://github.com/defunkt/resque/blob/2af831cdb81350fa14dadd0929f3e355b866c618/lib/resque/failure.rb#L48" target="_blank" class="github_url">on GitHub</a>
</p>
- <div id="M000030_source" class="dyn-source">
+ <div id="M000033_source" class="dyn-source">
<pre><span class="ruby-comment cmt"># File lib/resque/failure.rb, line 48</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">all</span>(<span class="ruby-identifier">start</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">count</span> = <span class="ruby-value">1</span>)
<span class="ruby-identifier">backend</span>.<span class="ruby-identifier">all</span>(<span class="ruby-identifier">start</span>, <span class="ruby-identifier">count</span>)
@@ -180,9 +180,9 @@
</div>
<div class="method">
- <div class="title" id="M000028">
+ <div class="title" id="M000031">
- <a name="M000028"></a><b>backend</b>()
+ <a name="M000031"></a><b>backend</b>()
</div>
@@ -199,12 +199,12 @@
<div class="sourcecode">
<p class="source-link">
- Source: <a href="javascript:toggleSource('M000028_source')" id="l_M000028_source">show</a>
+ Source: <a href="javascript:toggleSource('M000031_source')" id="l_M000031_source">show</a>
| <a href="http://github.com/defunkt/resque/blob/2af831cdb81350fa14dadd0929f3e355b866c618/lib/resque/failure.rb#L33" target="_blank" class="github_url">on GitHub</a>
</p>
- <div id="M000028_source" class="dyn-source">
+ <div id="M000031_source" class="dyn-source">
<pre><span class="ruby-comment cmt"># File lib/resque/failure.rb, line 33</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">backend</span>
<span class="ruby-keyword kw">return</span> <span class="ruby-ivar">@backend</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@backend</span>
@@ -217,9 +217,9 @@
</div>
<div class="method">
- <div class="title" id="M000025">
+ <div class="title" id="M000030">
- <a name="M000025"></a><b>backend=</b>(backend)
+ <a name="M000030"></a><b>backend=</b>(backend)
</div>
@@ -243,12 +243,12 @@
<div class="sourcecode">
<p class="source-link">
- Source: <a href="javascript:toggleSource('M000025_source')" id="l_M000025_source">show</a>
+ Source: <a href="javascript:toggleSource('M000030_source')" id="l_M000030_source">show</a>
| <a href="http://github.com/defunkt/resque/blob/2af831cdb81350fa14dadd0929f3e355b866c618/lib/resque/failure.rb#L27" target="_blank" class="github_url">on GitHub</a>
</p>
- <div id="M000025_source" class="dyn-source">
+ <div id="M000030_source" class="dyn-source">
<pre><span class="ruby-comment cmt"># File lib/resque/failure.rb, line 27</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">backend=</span>(<span class="ruby-identifier">backend</span>)
<span class="ruby-ivar">@backend</span> = <span class="ruby-identifier">backend</span>
@@ -259,9 +259,9 @@
</div>
<div class="method">
- <div class="title" id="M000034">
+ <div class="title" id="M000035">
- <a name="M000034"></a><b>clear</b>()
+ <a name="M000035"></a><b>clear</b>()
</div>
@@ -277,12 +277,12 @@
<div class="sourcecode">
<p class="source-link">
- Source: <a href="javascript:toggleSource('M000034_source')" id="l_M000034_source">show</a>
+ Source: <a href="javascript:toggleSource('M000035_source')" id="l_M000035_source">show</a>
| <a href="http://github.com/defunkt/resque/blob/2af831cdb81350fa14dadd0929f3e355b866c618/lib/resque/failure.rb#L58" target="_blank" class="github_url">on GitHub</a>
</p>
- <div id="M000034_source" class="dyn-source">
+ <div id="M000035_source" class="dyn-source">
<pre><span class="ruby-comment cmt"># File lib/resque/failure.rb, line 58</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">clear</span>
<span class="ruby-identifier">backend</span>.<span class="ruby-identifier">clear</span>
@@ -293,9 +293,9 @@
</div>
<div class="method">
- <div class="title" id="M000029">
+ <div class="title" id="M000032">
- <a name="M000029"></a><b>count</b>()
+ <a name="M000032"></a><b>count</b>()
</div>
@@ -311,12 +311,12 @@
<div class="sourcecode">
<p class="source-link">
- Source: <a href="javascript:toggleSource('M000029_source')" id="l_M000029_source">show</a>
+ Source: <a href="javascript:toggleSource('M000032_source')" id="l_M000032_source">show</a>
| <a href="http://github.com/defunkt/resque/blob/2af831cdb81350fa14dadd0929f3e355b866c618/lib/resque/failure.rb#L40" target="_blank" class="github_url">on GitHub</a>
</p>
- <div id="M000029_source" class="dyn-source">
+ <div id="M000032_source" class="dyn-source">
<pre><span class="ruby-comment cmt"># File lib/resque/failure.rb, line 40</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">count</span>
<span class="ruby-identifier">backend</span>.<span class="ruby-identifier">count</span>
@@ -327,9 +327,9 @@
</div>
<div class="method">
- <div class="title" id="M000024">
+ <div class="title" id="M000028">
- <a name="M000024"></a><b>create</b>(options = {})
+ <a name="M000028"></a><b>create</b>(options = {})
</div>
@@ -354,12 +354,12 @@
<div class="sourcecode">
<p class="source-link">
- Source: <a href="javascript:toggleSource('M000024_source')" id="l_M000024_source">show</a>
+ Source: <a href="javascript:toggleSource('M000028_source')" id="l_M000028_source">show</a>
| <a href="http://github.com/defunkt/resque/blob/2af831cdb81350fa14dadd0929f3e355b866c618/lib/resque/failure.rb#L16" target="_blank" class="github_url">on GitHub</a>
</p>
- <div id="M000024_source" class="dyn-source">
+ <div id="M000028_source" class="dyn-source">
<pre><span class="ruby-comment cmt"># File lib/resque/failure.rb, line 16</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">create</span>(<span class="ruby-identifier">options</span> = {})
<span class="ruby-identifier">backend</span>.<span class="ruby-identifier">new</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">options</span>.<span class="ruby-identifier">values_at</span>(<span class="ruby-identifier">:exception</span>, <span class="ruby-identifier">:worker</span>, <span class="ruby-identifier">:queue</span>, <span class="ruby-identifier">:payload</span>)).<span class="ruby-identifier">save</span>
@@ -370,9 +370,9 @@
</div>
<div class="method">
- <div class="title" id="M000035">
+ <div class="title" id="M000036">
- <a name="M000035"></a><b>requeue</b>(index)
+ <a name="M000036"></a><b>requeue</b>(index)
</div>
@@ -381,12 +381,12 @@
<div class="sourcecode">
<p class="source-link">
- Source: <a href="javascript:toggleSource('M000035_source')" id="l_M000035_source">show</a>
+ Source: <a href="javascript:toggleSource('M000036_source')" id="l_M000036_source">show</a>
| <a href="http://github.com/defunkt/resque/blob/2af831cdb81350fa14dadd0929f3e355b866c618/lib/resque/failure.rb#L62" target="_blank" class="github_url">on GitHub</a>
</p>
- <div id="M000035_source" class="dyn-source">
+ <div id="M000036_source" class="dyn-source">
<pre><span class="ruby-comment cmt"># File lib/resque/failure.rb, line 62</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">requeue</span>(<span class="ruby-identifier">index</span>)
<span class="ruby-identifier">backend</span>.<span class="ruby-identifier">requeue</span>(<span class="ruby-identifier">index</span>)
@@ -397,9 +397,9 @@
</div>
<div class="method">
- <div class="title" id="M000033">
+ <div class="title" id="M000034">
- <a name="M000033"></a><b>url</b>()
+ <a name="M000034"></a><b>url</b>()
</div>
@@ -415,12 +415,12 @@
<div class="sourcecode">
<p class="source-link">
- Source: <a href="javascript:toggleSource('M000033_source')" id="l_M000033_source">show</a>
+ Source: <a href="javascript:toggleSource('M000034_source')" id="l_M000034_source">show</a>
| <a href="http://github.com/defunkt/resque/blob/2af831cdb81350fa14dadd0929f3e355b866c618/lib/resque/failure.rb#L53" target="_blank" class="github_url">on GitHub</a>
</p>
- <div id="M000033_source" class="dyn-source">
+ <div id="M000034_source" class="dyn-source">
<pre><span class="ruby-comment cmt"># File lib/resque/failure.rb, line 53</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">url</span>
<span class="ruby-identifier">backend</span>.<span class="ruby-identifier">url</span>
View
40 classes/Resque/Failure/Hoptoad.html
@@ -75,7 +75,7 @@
<dd>
<ul>
- <li><a href="#M000020">api_key</a></li>
+ <li><a href="#M000022">api_key</a></li>
</ul>
</dd>
@@ -95,7 +95,7 @@
<dd>
<ul>
- <li><a href="#M000014">fill_in_backtrace_lines</a></li>
+ <li><a href="#M000018">fill_in_backtrace_lines</a></li>
</ul>
</dd>
@@ -106,7 +106,7 @@
<li><a href="#M000010">save</a>,</li>
- <li><a href="#M000021">server_environment</a></li>
+ <li><a href="#M000023">server_environment</a></li>
</ul>
</dd>
@@ -115,7 +115,7 @@
<dd>
<ul>
- <li><a href="#M000019">use_ssl?</a></li>
+ <li><a href="#M000021">use_ssl?</a></li>
</ul>
</dd>
@@ -270,9 +270,9 @@
<div class="sectiontitle">Instance Public methods</div>
<div class="method">
- <div class="title" id="M000020">
+ <div class="title" id="M000022">
- <a name="M000020"></a><b>api_key</b>()
+ <a name="M000022"></a><b>api_key</b>()
</div>
@@ -281,12 +281,12 @@
<div class="sourcecode">
<p class="source-link">
- Source: <a href="javascript:toggleSource('M000020_source')" id="l_M000020_source">show</a>
+ Source: <a href="javascript:toggleSource('M000022_source')" id="l_M000022_source">show</a>
| <a href="http://github.com/defunkt/resque/blob/ff7efcf35a62accc75efb2f364741cecae629980/lib/resque/failure/hoptoad.rb#L122" target="_blank" class="github_url">on GitHub</a>
</p>
- <div id="M000020_source" class="dyn-source">
+ <div id="M000022_source" class="dyn-source">
<pre><span class="ruby-comment cmt"># File lib/resque/failure/hoptoad.rb, line 122</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">api_key</span>
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">api_key</span>
@@ -297,9 +297,9 @@
</div>
<div class="method">
- <div class="title" id="M000014">
+ <div class="title" id="M000018">
- <a name="M000014"></a><b>fill_in_backtrace_lines</b>(x)
+ <a name="M000018"></a><b>fill_in_backtrace_lines</b>(x)
</div>
@@ -308,12 +308,12 @@
<div class="sourcecode">
<p class="source-link">
- Source: <a href="javascript:toggleSource('M000014_source')" id="l_M000014_source">show</a>
+ Source: <a href="javascript:toggleSource('M000018_source')" id="l_M000018_source">show</a>
| <a href="http://github.com/defunkt/resque/blob/ff7efcf35a62accc75efb2f364741cecae629980/lib/resque/failure/hoptoad.rb#L111" target="_blank" class="github_url">on GitHub</a>
</p>
- <div id="M000014_source" class="dyn-source">
+ <div id="M000018_source" class="dyn-source">
<pre><span class="ruby-comment cmt"># File lib/resque/failure/hoptoad.rb, line 111</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">fill_in_backtrace_lines</span>(<span class="ruby-identifier">x</span>)
<span class="ruby-identifier">exception</span>.<span class="ruby-identifier">backtrace</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">unparsed_line</span><span class="ruby-operator">|</span>
@@ -381,9 +381,9 @@
</div>
<div class="method">
- <div class="title" id="M000021">
+ <div class="title" id="M000023">
- <a name="M000021"></a><b>server_environment</b>()
+ <a name="M000023"></a><b>server_environment</b>()
</div>
@@ -392,12 +392,12 @@
<div class="sourcecode">
<p class="source-link">
- Source: <a href="javascript:toggleSource('M000021_source')" id="l_M000021_source">show</a>
+ Source: <a href="javascript:toggleSource('M000023_source')" id="l_M000023_source">show</a>
| <a href="http://github.com/defunkt/resque/blob/ff7efcf35a62accc75efb2f364741cecae629980/lib/resque/failure/hoptoad.rb#L126" target="_blank" class="github_url">on GitHub</a>
</p>
- <div id="M000021_source" class="dyn-source">
+ <div id="M000023_source" class="dyn-source">
<pre><span class="ruby-comment cmt"># File lib/resque/failure/hoptoad.rb, line 126</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">server_environment</span>
<span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">server_environment</span> <span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">server_environment</span>
@@ -409,9 +409,9 @@
</div>
<div class="method">
- <div class="title" id="M000019">
+ <div class="title" id="M000021">
- <a name="M000019"></a><b>use_ssl?</b>()
+ <a name="M000021"></a><b>use_ssl?</b>()
</div>
@@ -420,12 +420,12 @@
<div class="sourcecode">
<p class="source-link">
- Source: <a href="javascript:toggleSource('M000019_source')" id="l_M000019_source">show</a>
+ Source: <a href="javascript:toggleSource('M000021_source')" id="l_M000021_source">show</a>
| <a href="http://github.com/defunkt/resque/blob/ff7efcf35a62accc75efb2f364741cecae629980/lib/resque/failure/hoptoad.rb#L118" target="_blank" class="github_url">on GitHub</a>
</p>
- <div id="M000019_source" class="dyn-source">
+ <div id="M000021_source" class="dyn-source">
<pre><span class="ruby-comment cmt"># File lib/resque/failure/hoptoad.rb, line 118</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">use_ssl?</span>
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">secure</span>
View
100 classes/Resque/Failure/Multiple.html
@@ -57,7 +57,7 @@
<dd>
<ul>
- <li><a href="#M000017">all</a></li>
+ <li><a href="#M000016">all</a></li>
</ul>
</dd>
@@ -66,11 +66,11 @@
<dd>
<ul>
- <li><a href="#M000022">clear</a>,</li>
+ <li><a href="#M000019">clear</a>,</li>
<li><a href="#M000012">configure</a>,</li>
- <li><a href="#M000016">count</a></li>
+ <li><a href="#M000015">count</a></li>
</ul>
</dd>
@@ -84,11 +84,20 @@
</ul>
</dd>
+ <dt>R</dt>
+ <dd>
+ <ul>
+
+ <li><a href="#M000020">requeue</a></li>
+
+ </ul>
+ </dd>
+
<dt>S</dt>
<dd>
<ul>
- <li><a href="#M000015">save</a></li>
+ <li><a href="#M000014">save</a></li>
</ul>
</dd>
@@ -97,7 +106,7 @@
<dd>
<ul>
- <li><a href="#M000018">url</a></li>
+ <li><a href="#M000017">url</a></li>
</ul>
</dd>
@@ -132,9 +141,9 @@
<div class="sectiontitle">Class Public methods</div>
<div class="method">
- <div class="title" id="M000017">
+ <div class="title" id="M000016">
- <a name="M000017"></a><b>all</b>(start = 0, count = 1)
+ <a name="M000016"></a><b>all</b>(start = 0, count = 1)
</div>
@@ -150,12 +159,12 @@