db-postgres 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/db/postgres/native/result.rb +8 -1
- data/lib/db/postgres/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: 1d90cb0b30ac21b51181052703e14371c17c8bcb40bca035c422154ce9449eac
|
4
|
+
data.tar.gz: 01f29c76a41b51478b5a1d788ea414a46070771ea6f6de511915ede92de25556
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dcffe2a05c545de9dff9f4828a6f78994ca837f9c14fea9b2832dc1e035370d4ffab0221919e6a700dd35ba89edc1848c5510269f3ef419d92deb0ad07dbfacd
|
7
|
+
data.tar.gz: 16e19a3740ce534ff2e5cefcf73dc6c766bf65eb1b8a3938302bcd6943f6191eea45a6ca83270b5e39e55a466164bcdf50e3322776d031ee30234cacfff6ce2d
|
@@ -103,13 +103,20 @@ module DB
|
|
103
103
|
results = []
|
104
104
|
|
105
105
|
self.each do |row|
|
106
|
-
results << yield
|
106
|
+
results << yield(row)
|
107
107
|
end
|
108
108
|
|
109
109
|
return results
|
110
110
|
end
|
111
111
|
|
112
112
|
def to_a
|
113
|
+
rows = []
|
114
|
+
|
115
|
+
self.each do |row|
|
116
|
+
rows << row
|
117
|
+
end
|
118
|
+
|
119
|
+
return rows
|
113
120
|
end
|
114
121
|
|
115
122
|
protected
|
data/lib/db/postgres/version.rb
CHANGED