em-pg 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/em-pg.gemspec +1 -1
  2. data/lib/em/pg.rb +2 -2
  3. metadata +1 -1
data/em-pg.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  spec = Gem::Specification.new do |s|
2
2
  s.name = 'em-pg'
3
- s.version = '0.1.0'
3
+ s.version = '0.1.1'
4
4
  s.date = '2013-01-28'
5
5
  s.summary = 'Async PostgreSQL client API for Ruby/EventMachine'
6
6
  s.email = "ceo@prepor.ru"
data/lib/em/pg.rb CHANGED
@@ -4,7 +4,7 @@ require 'logger'
4
4
 
5
5
  module EM
6
6
  class PG
7
- VERSION = '0.1.0'
7
+ VERSION = '0.1.1'
8
8
  include EM::Deferrable
9
9
 
10
10
  class Error < RuntimeError
@@ -64,7 +64,7 @@ module EM
64
64
  attr_accessor :pg, :conn, :opts, :state, :logger, :watcher, :on_disconnect
65
65
  def initialize(opts)
66
66
  opts = opts.dup
67
- @logger = opts.delete(:logger) || EM::Postgres.logger
67
+ @logger = opts.delete(:logger) || EM::PG.logger
68
68
  @on_disconnect = opts.delete(:on_disconnect)
69
69
  @opts = opts
70
70
  @state = :connecting
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: em-pg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: