resque-heroku 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,11 +2,11 @@ require 'resque-heroku/version'
2
2
 
3
3
  # extend Resque::Heroku in your job class
4
4
  module Resque::Heroku
5
- def after_perform_heroku
5
+ def after_perform_heroku(*args)
6
6
  ActiveRecord::Base.connection.disconnect!
7
7
  end
8
8
 
9
- def on_failure_heroku
9
+ def on_failure_heroku(e, *args)
10
10
  ActiveRecord::Base.connection.disconnect!
11
11
  end
12
12
  end
@@ -1,5 +1,5 @@
1
1
  module Resque
2
2
  module Heroku
3
- VERSION = "0.0.4"
3
+ VERSION = "0.0.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resque-heroku
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2011-09-12 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: resque
16
- requirement: &2152982380 !ruby/object:Gem::Requirement
16
+ requirement: &2165317020 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *2152982380
24
+ version_requirements: *2165317020
25
25
  description: Handles establishing and disconnecting db connections when running Resque
26
26
  on Heroku cedar stack.
27
27
  email: