forwardable is stdlib, so it needs a require
use fully-qualified constant for stdlib constant Forwardable
version bump
implementation of Backend connection with Hash
closes #1142 - updated gemspec to point to redis-namespace 1.3
Merge pull request #1140 from KNEIP/1-x-stable

implementation of Backend connection with Hash
Point Docs link to rdoc
[ci skip]

Fixes #1130
Fixes #1143; require yaml for show_args support [ci skip]
Fix worker prune test to actually run its assertion & cover reality.

The block on Resque::Worker#work gets called *after* a job performs,
but nothing was in the queue so it never got evaluated.

    # https://github.com/resque/resque/blob/74c2025ab5fa46cdcbc4e13c4e3d044d46443fa0/test/worker_test.rb#L464-L466
    @worker.work(0) do
      assert_equal 1, Resque.workers.size
    end

This commit provides coverage for reality, ensuring that we prune
workers that:

1. track the exact same queues as us
2. are on the current host
3. not currently running
Eliminate infinite recursion when Resque::Helpers mixed into Resque

Some third-party plugins rely on the Resque::Helpers methods being available
in the Resque namespace, as opposed to mixing the helpers module into their
own code. While this is ill-advised, the change in Resque broke expectations
and consumers ended up with weird breakages (see #1150).

This patch enables consumers to mix the Resque::Helpers back into the Resque
module as a workaround until the third-party plugins receive the appropriate
updates:

``` ruby
  # Ill-advised legacy support for gems that hooked into private API.
  # WARNING: This won't work in Resque 2.x
  Resque.extend(Resque::Helpers)
```
Merge pull request #1131 from cade/fix-readme

Fix readme for #1130
use ruby, avoid shelling out. google++
Merge branch 'issue-1154' into 1-x-stable

This is a cherry-pick of an old commit on the 2.x master branch,
and backports a fix to avoid shelling out to get the hostname.

HT: @RunsFor for digging up the solution.

Fixes #1152
Merge remote-tracking branch 'KNEIP/1-x-stable-1142' into 1-x-stable
Ensure failed assertions, and fail-to-run assertions actually fail tests
fix failed assertion caught by #1157 fix
Fixes flapping test; ensure empty queue in setup
Merge pull request #1157 from resque/issue-1157/add-assert-in-work-block-helper

Failed Assertions Don't Fail Tests :rage:
Respect TERM_CHILD setting when not forking

The behavior of TERM_CHILD is desirable even when there is no child
process (using FORK_PER_JOB=false). This patch makes non-forking Resque
workers behave the same way when sent a TERM signal.
Fix travis build failure on 1.8.7