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 +4 -4
- data/lib/ruby-pg-extras/version.rb +1 -1
- data/lib/ruby-pg-extras.rb +1 -9
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 24b2658f1f03b3d3251ec09c992a3622b30793ef64caf92f51baaa8558c792f9
|
4
|
+
data.tar.gz: d9b716c71c8bb2cf230b61132b91df5537f543857a0dbf4d37679b9805e2d1ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a4478c18db57ce31dd34faa8c998aef38bd18b85c758312656e2d24604cd89f12e6978b754aac9045b1273705f71813e51401a930dadc50ad3c3c081dd5df83
|
7
|
+
data.tar.gz: 0e3ad8983b6ce98b0dad4db84b444040b2060e268395ec67d322a2d8fee8043f3996da03f7a20b90945180e939078bafeae7d30a2d45fec8d42a19ce5ebb05b7
|
data/lib/ruby-pg-extras.rb
CHANGED
@@ -159,15 +159,7 @@ module RubyPGExtras
|
|
159
159
|
end
|
160
160
|
|
161
161
|
def self.connection
|
162
|
-
|
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.
|
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-
|
11
|
+
date: 2022-02-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pg
|