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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e46e57835cc795fd4c73ef4016911c17cf3e088ddadda330f72a25efe56aa8c5
4
- data.tar.gz: e921ed037a9b9ea1291513959bc73809fb615dac2e1f35a5f74d272514596396
3
+ metadata.gz: 7aafa6855949c2d53a9dbe211ea2fa398127195d82f295885ca1c2bea3f44c6d
4
+ data.tar.gz: 2b667ab6b48c439342897bde8ff23eaa43123ca1ca343bb742f9cef91282aeaf
5
5
  SHA512:
6
- metadata.gz: bdffbbdd4ee6e868ec6b61a7cc9d674f4ba17db9cf968b49fa6dbc3e6a92f9edc25d31f439fa30bbb3aab6a6d7ceac12a4b63e752bde38659f54dafa0ea2d67f
7
- data.tar.gz: af7a104cffffd53bbdcb6a4a25666115fae8f0b5f312971a1244ce28030acdca11d673d244fb4303fcfe9594928e107ea69fc9070ebecc2e23f6d7533dbb4376
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
@@ -11,5 +11,5 @@ require_relative '../pgtk'
11
11
  # License:: MIT
12
12
  module Pgtk
13
13
  # Current version of the library.
14
- VERSION = '0.21.0'
14
+ VERSION = '0.21.1'
15
15
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pgtk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.0
4
+ version: 0.21.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yegor Bugayenko