em-pg 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/em-pg.gemspec +2 -2
- data/lib/em/pg.rb +5 -1
- metadata +2 -2
data/em-pg.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
spec = Gem::Specification.new do |s|
|
2
2
|
s.name = 'em-pg'
|
3
|
-
s.version = '0.1.
|
4
|
-
s.date = '2013-01-
|
3
|
+
s.version = '0.1.2'
|
4
|
+
s.date = '2013-01-30'
|
5
5
|
s.summary = 'Async PostgreSQL client API for Ruby/EventMachine'
|
6
6
|
s.email = "ceo@prepor.ru"
|
7
7
|
s.homepage = "http://github.com/prepor/em-postgres"
|
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.
|
7
|
+
VERSION = '0.1.2'
|
8
8
|
include EM::Deferrable
|
9
9
|
|
10
10
|
class Error < RuntimeError
|
@@ -24,6 +24,10 @@ module EM
|
|
24
24
|
class BadPollStatusError < UnexpectedStateError; end
|
25
25
|
class PGError < Error
|
26
26
|
attr_accessor :original
|
27
|
+
|
28
|
+
def to_s
|
29
|
+
original.to_s
|
30
|
+
end
|
27
31
|
end
|
28
32
|
|
29
33
|
class Watcher < EM::Connection
|
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.
|
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: 2013-01-
|
12
|
+
date: 2013-01-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: eventmachine
|