resque-heroku 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module Resque
2
2
  module Heroku
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
File without changes
data/readme.rdoc CHANGED
@@ -1,7 +1,18 @@
1
1
  = Overview
2
2
 
3
- This is not an official Heroku gem. But it does encapsulate the community best practices for running Resque on Heroku.
4
-
3
+ Handle db connection and disconnection during forking of resque jobs on Heroku cedar stack.
4
+
5
+ Fixes the following postgres log errors...
6
+
7
+ PGError: server closed the connection unexpectedly
8
+
9
+ And
10
+
11
+ LOG: could not receive data from client: Connection reset by peer
12
+ LOG: unexpected EOF on client connection
13
+
14
+ This is not an official Heroku gem.
15
+
5
16
  = Usage
6
17
 
7
18
  Install the gem in your Gemfile
@@ -18,5 +29,9 @@ Include Resque::Heroku in your job classes
18
29
  end
19
30
  end
20
31
 
32
+ Require resque-heroku from your Rakefile
33
+
34
+ require 'resque-heroku'
35
+ require 'tasks/resque-heroku'
21
36
 
22
37
 
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.1
4
+ version: 0.0.2
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: &2168651180 !ruby/object:Gem::Requirement
16
+ requirement: &2152957600 !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: *2168651180
24
+ version_requirements: *2152957600
25
25
  description: Handles establishing and disconnecting db connections when running Resque
26
26
  on Heroku cedar stack.
27
27
  email:
@@ -35,7 +35,7 @@ files:
35
35
  - Rakefile
36
36
  - lib/resque-heroku.rb
37
37
  - lib/resque-heroku/version.rb
38
- - lib/tasks/resque.rake
38
+ - lib/tasks/resque-heroku.rake
39
39
  - readme.rdoc
40
40
  - resque-heroku.gemspec
41
41
  homepage: ''