jfb 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jfb/jfb.rb +7 -3
- data/lib/jfb/version.rb +5 -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: 9eb1b5b0e01579dd466716b80a819ffb4c5f64ea
|
4
|
+
data.tar.gz: 27e9fd75fda5626bc6a0e746267033fcfb06e87d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 71ffa534d86ca29952da227ab0e33cbf9c02194d912b75bad4736ae382b20c1b546ae43536a726ecda0890252b1fcd48132a39ecaf57d16a748892f69600da97
|
7
|
+
data.tar.gz: 34671b0ecd0d634730a66dd94be272eac00e09b08f0ebea482a10f0d43314c4f74cf5bcf0ac11ff49de598566f308553e342291d1786a061de522459c1b10c0a
|
data/lib/jfb/jfb.rb
CHANGED
@@ -102,11 +102,15 @@ class JFB
|
|
102
102
|
res = []
|
103
103
|
k = 0
|
104
104
|
|
105
|
+
cols = rs.get_meta_data.get_column_count
|
106
|
+
|
105
107
|
while rs.next do
|
106
|
-
cols
|
108
|
+
(1..cols).each do |i|
|
109
|
+
if res[k] == nil then
|
110
|
+
res[k] = []
|
111
|
+
end
|
107
112
|
|
108
|
-
|
109
|
-
res[k][i] = rs.get_string(i)
|
113
|
+
res[k][i - 1] = rs.get_string(i)
|
110
114
|
end
|
111
115
|
|
112
116
|
k = k + 1
|
data/lib/jfb/version.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
module Jfb
|
2
|
-
VERSION = "0.5.
|
2
|
+
VERSION = "0.5.1"
|
3
3
|
|
4
4
|
#What the numbers mean: rr.ff.hh
|
5
5
|
# rr: Major releases and changes in the project;
|
@@ -59,4 +59,8 @@ module Jfb
|
|
59
59
|
|
60
60
|
#Version 0.5.0
|
61
61
|
# Implements standard rs to matrix conversion
|
62
|
+
|
63
|
+
#Version 0.5.1
|
64
|
+
# Implements a simple test to interact with a database in my envyro.
|
65
|
+
# Fixes wrong column refference.
|
62
66
|
end
|