pgx 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/pgx.rb +2 -0
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: bc8c171b9b9651e13a4eebbeb2873b6f426a25b4a2bd4cb82bd9b65e950459e8
|
4
|
+
data.tar.gz: 4195f233ff1d9e9f61c421f4a8cb59e62f338ca8e844c2d96b8e9364e01aaf52
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7562776898166472bfdb9e1221b7fe43013ba9ae2f18c062e42f121e7a4927ccb896162f4d37bc3340403ac1e733cdb8ad6f3e02b344af4096818e2a19e50a22
|
7
|
+
data.tar.gz: 566e4c585cbf14b57f29ba898659645fe31ec6a718c5e6b874da5f3546bedaaef4e3460eb223c73c07f68a4166f61e5cb8b5e6eac8869040a60fc8d99796ec49
|
data/lib/pgx.rb
CHANGED
@@ -44,6 +44,7 @@ module PGx
|
|
44
44
|
# @see http://www.mockbites.com/articles/tech/pgx pgx documentation
|
45
45
|
# @see http://deveiate.org/code/pg/PG/Connection.html Base class methods
|
46
46
|
class PGx::Connection < PG::Connection
|
47
|
+
alias PG_close close # for use when closing bad connections
|
47
48
|
|
48
49
|
# @param [Logger] logger: a logger object, or a lambda returning the
|
49
50
|
# logger object. Note that a lambda returning the logger is
|
@@ -353,6 +354,7 @@ module PGx
|
|
353
354
|
end # the transaction
|
354
355
|
else # not connected
|
355
356
|
log_warn 'bad database connection'
|
357
|
+
PG_close()
|
356
358
|
connect_loop()
|
357
359
|
retry
|
358
360
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pgx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kiriakos Georgiou
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-07-18 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: |2
|
14
14
|
A pure ruby "thin" extension of pg that provides logging,
|
@@ -38,8 +38,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
38
38
|
- !ruby/object:Gem::Version
|
39
39
|
version: '0'
|
40
40
|
requirements: []
|
41
|
-
|
42
|
-
rubygems_version: 2.5.2.1
|
41
|
+
rubygems_version: 3.1.2
|
43
42
|
signing_key:
|
44
43
|
specification_version: 4
|
45
44
|
summary: A thin extension of pg
|