pgtk 0.21.0 → 0.21.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/pgtk/retry.rb +5 -0
- data/lib/pgtk/stash.rb +6 -6
- data/lib/pgtk/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7aafa6855949c2d53a9dbe211ea2fa398127195d82f295885ca1c2bea3f44c6d
|
|
4
|
+
data.tar.gz: 2b667ab6b48c439342897bde8ff23eaa43123ca1ca343bb742f9cef91282aeaf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a2d6cd764921a72746bc2f7128d90f0a63e9d526a06950a03f5f8937da2c0384bd5956245dce3eaa40db91f85089c492dec8bc2c6c48e9d516ddeec9deff4779
|
|
7
|
+
data.tar.gz: 3c34258ea93eb76b81813c3d1702d46d1df9843cda66bf58f7b5b53e6034ada597630c778efb54d3efa09c0aa9693992ca4d723a57097ca9d843026fa92605ff
|
data/lib/pgtk/retry.rb
CHANGED
|
@@ -57,6 +57,11 @@ class Pgtk::Retry
|
|
|
57
57
|
@attempts = attempts
|
|
58
58
|
end
|
|
59
59
|
|
|
60
|
+
# Start a new connection pool with the given arguments.
|
|
61
|
+
def start!(*)
|
|
62
|
+
@pool.start!(*)
|
|
63
|
+
end
|
|
64
|
+
|
|
60
65
|
# Get the version of PostgreSQL server.
|
|
61
66
|
#
|
|
62
67
|
# @return [String] Version of PostgreSQL server
|
data/lib/pgtk/stash.rb
CHANGED
|
@@ -66,6 +66,12 @@ class Pgtk::Stash
|
|
|
66
66
|
@loog = loog
|
|
67
67
|
end
|
|
68
68
|
|
|
69
|
+
# Start a new connection pool with the given arguments.
|
|
70
|
+
def start!(*)
|
|
71
|
+
launch!
|
|
72
|
+
@pool.start!(*)
|
|
73
|
+
end
|
|
74
|
+
|
|
69
75
|
# Get the PostgreSQL server version.
|
|
70
76
|
# @return [String] Version string of the database server
|
|
71
77
|
def version
|
|
@@ -162,12 +168,6 @@ class Pgtk::Stash
|
|
|
162
168
|
end
|
|
163
169
|
end
|
|
164
170
|
|
|
165
|
-
# Start a new connection pool with the given arguments.
|
|
166
|
-
def start!(*)
|
|
167
|
-
launch!
|
|
168
|
-
@pool.start!(*)
|
|
169
|
-
end
|
|
170
|
-
|
|
171
171
|
private
|
|
172
172
|
|
|
173
173
|
def launch!
|
data/lib/pgtk/version.rb
CHANGED