diff options
| author | Vipul A M <vipulnsward@gmail.com> | 2014-10-19 23:17:22 +0530 | 
|---|---|---|
| committer | Vipul A M <vipulnsward@gmail.com> | 2014-10-19 23:17:22 +0530 | 
| commit | 86608537701fb52d3515049efac8646a6914e461 (patch) | |
| tree | 526d3a62bac6575108e6e8d424badbb3835b346f | |
| parent | 16c04040f47a1f33259858ae7a867014ed295186 (diff) | |
| download | rails-86608537701fb52d3515049efac8646a6914e461.tar.gz rails-86608537701fb52d3515049efac8646a6914e461.tar.bz2 rails-86608537701fb52d3515049efac8646a6914e461.zip | |
- Removed unused variable warnings from ActiveJob Adapters
5 files changed, 5 insertions, 5 deletions
| diff --git a/activejob/test/support/integration/adapters/backburner.rb b/activejob/test/support/integration/adapters/backburner.rb index 0cda36a273..2e82562948 100644 --- a/activejob/test/support/integration/adapters/backburner.rb +++ b/activejob/test/support/integration/adapters/backburner.rb @@ -29,7 +29,7 @@ module BackburnerJobsManager    def can_run?      begin        Backburner::Worker.connection.send :connect! -    rescue => e +    rescue        return false      end      true diff --git a/activejob/test/support/integration/adapters/qu.rb b/activejob/test/support/integration/adapters/qu.rb index e913f04a24..3a5b66a057 100644 --- a/activejob/test/support/integration/adapters/qu.rb +++ b/activejob/test/support/integration/adapters/qu.rb @@ -30,7 +30,7 @@ module QuJobsManager    def can_run?      begin        Qu.backend.connection.client.connect -    rescue => e +    rescue        return false      end      true diff --git a/activejob/test/support/integration/adapters/resque.rb b/activejob/test/support/integration/adapters/resque.rb index 9de3e7c879..82acb17b2b 100644 --- a/activejob/test/support/integration/adapters/resque.rb +++ b/activejob/test/support/integration/adapters/resque.rb @@ -41,7 +41,7 @@ module ResqueJobsManager    def can_run?      begin        Resque.redis.client.connect -    rescue => e +    rescue        return false      end      true diff --git a/activejob/test/support/integration/adapters/sidekiq.rb b/activejob/test/support/integration/adapters/sidekiq.rb index 0a0a549c9e..3cc9a34993 100644 --- a/activejob/test/support/integration/adapters/sidekiq.rb +++ b/activejob/test/support/integration/adapters/sidekiq.rb @@ -49,7 +49,7 @@ module SidekiqJobsManager    def can_run?      begin        Sidekiq.redis { |conn| conn.connect } -    rescue => e +    rescue        return false      end      true diff --git a/activejob/test/support/integration/adapters/sneakers.rb b/activejob/test/support/integration/adapters/sneakers.rb index f21bb38a32..875803a2d8 100644 --- a/activejob/test/support/integration/adapters/sneakers.rb +++ b/activejob/test/support/integration/adapters/sneakers.rb @@ -68,7 +68,7 @@ module SneakersJobsManager    def can_run?      begin        bunny_publisher -    rescue => e +    rescue        return false      end      true | 
