pg_reconnect 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  ActiveRecord PostgreSQL auto-reconnection, works with 2.3 and 3.2 rails.
4
4
  Uses hackety wrapper on adapter execute.
5
+ Ideal for using with pgbouncer and large number of almost idle connections (in threads).
5
6
 
6
7
  ## Installation
7
8
 
@@ -2,8 +2,8 @@ require 'active_record'
2
2
  require 'active_record/connection_adapters/postgresql_adapter'
3
3
 
4
4
  # Hackety monkey patch
5
- if ActiveRecord::VERSION::STRING < '3'
5
+ if ActiveRecord::VERSION::STRING < '3.1'
6
6
  require File.join(File.dirname(__FILE__), %w{ar23})
7
- elsif ActiveRecord::VERSION::STRING >= '3'
7
+ elsif ActiveRecord::VERSION::STRING >= '3.1'
8
8
  require File.join(File.dirname(__FILE__), %w{ar3})
9
9
  end
data/pg_reconnect.gemspec CHANGED
@@ -4,11 +4,11 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |gem|
6
6
  gem.name = "pg_reconnect"
7
- gem.version = "0.1.1"
7
+ gem.version = "0.1.2"
8
8
  gem.authors = ["'Konstantin Makarchev'"]
9
9
  gem.email = ["'kostya27@gmail.com'"]
10
10
  gem.description = %q{ActiveRecord PostgreSQL auto-reconnection, works with 2.3 and 3.2 rails.}
11
- gem.summary = %q{ActiveRecord PostgreSQL auto-reconnection, works with 2.3 and 3.2 rails.}
11
+ gem.summary = %q{ActiveRecord PostgreSQL auto-reconnection, works with 2.3 and 3.2 rails. Uses hackety wrapper on adapter execute. Ideal for using with pgbouncer and large number of almost idle connections (in threads).}
12
12
  gem.homepage = ""
13
13
 
14
14
  gem.files = `git ls-files`.split($/)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pg_reconnect
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-14 00:00:00.000000000 Z
12
+ date: 2012-12-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activerecord
@@ -68,5 +68,7 @@ rubygems_version: 1.8.24
68
68
  signing_key:
69
69
  specification_version: 3
70
70
  summary: ActiveRecord PostgreSQL auto-reconnection, works with 2.3 and 3.2 rails.
71
+ Uses hackety wrapper on adapter execute. Ideal for using with pgbouncer and large
72
+ number of almost idle connections (in threads).
71
73
  test_files: []
72
74
  has_rdoc: