ruby-pg-extras 3.2.7 → 3.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6f995f931c2dc41eaf38f0a9618aa591b351c953bc5f2c5c33381e3180137291
4
- data.tar.gz: 1a0bd0e16237505d6f5bc6a1d7f99be0b09e4dc0985076c61d3295fe6edcbca0
3
+ metadata.gz: 24b2658f1f03b3d3251ec09c992a3622b30793ef64caf92f51baaa8558c792f9
4
+ data.tar.gz: d9b716c71c8bb2cf230b61132b91df5537f543857a0dbf4d37679b9805e2d1ed
5
5
  SHA512:
6
- metadata.gz: ecde58728d9d1929477a994d28b318bc978dfd645d853628ac31f6ba88ec2189fb50749b71dae5021f42aa0925c77eb1712013ce07715352ca42526b6d9d8b40
7
- data.tar.gz: 0d106567d3f9bdb9f0c691a0d4dcf1eb7ca53b4baffb823140648322b49a5b26ecaacdd6c70e9aaffa686f225db04b75cd101e90035a83919cd45c2af4a9fbf8
6
+ metadata.gz: 8a4478c18db57ce31dd34faa8c998aef38bd18b85c758312656e2d24604cd89f12e6978b754aac9045b1273705f71813e51401a930dadc50ad3c3c081dd5df83
7
+ data.tar.gz: 0e3ad8983b6ce98b0dad4db84b444040b2060e268395ec67d322a2d8fee8043f3996da03f7a20b90945180e939078bafeae7d30a2d45fec8d42a19ce5ebb05b7
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RubyPGExtras
4
- VERSION = "3.2.7"
4
+ VERSION = "3.3.0"
5
5
  end
@@ -159,15 +159,7 @@ module RubyPGExtras
159
159
  end
160
160
 
161
161
  def self.connection
162
- database_uri = URI.parse(database_url)
163
-
164
- @_connection ||= PG.connect(
165
- dbname: database_uri.path[1..-1],
166
- host: database_uri.host,
167
- port: database_uri.port,
168
- user: database_uri.user,
169
- password: database_uri.password
170
- )
162
+ @_connection ||= PG.connect(database_url)
171
163
  end
172
164
 
173
165
  def self.database_url=(value)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-pg-extras
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.7
4
+ version: 3.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - pawurb
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-21 00:00:00.000000000 Z
11
+ date: 2022-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg