gadget 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gadget.rb +1 -1
- data/lib/gadget/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 24e2729b10924a133fdc80f51c2770bb92befec3
|
4
|
+
data.tar.gz: 8e023fdf04781fdbd9e58457e288776dd3c95325
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7cdc1e31fe6aacf03900eb6474d7802db27e9591b7d7dbb52c0bd3ffe78339dfe5a1eaf2ed02ec6da253bdac88db4d14175677dce76a3d19e7af06f5a03c37ca
|
7
|
+
data.tar.gz: 2c92315e64427bcd7d82a5f63c4ccd662a20c23a5e787b33a107a1c8603a4bf36eba5617d66ae29b39aaded2a7d67b9795d5908b468a276594085a2a4c3b644e
|
data/lib/gadget.rb
CHANGED
@@ -22,7 +22,7 @@ FROM pg_catalog.pg_tables t
|
|
22
22
|
INNER JOIN pg_catalog.pg_class c ON c.relname=t.tablename
|
23
23
|
WHERE t.schemaname='public'
|
24
24
|
END_OF_SQL
|
25
|
-
rs = conn.exec(
|
25
|
+
rs = conn.exec(sql)
|
26
26
|
tuples = rs.reduce({}) do | h, row |
|
27
27
|
h[row['tablename']] = {
|
28
28
|
:oid => row['oid'].to_i,
|
data/lib/gadget/version.rb
CHANGED