tapsoob 0.4.8-java → 0.4.14-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tapsoob/data_stream.rb +2 -2
- data/lib/tapsoob/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: c1d186408226b625b302951f8130ef2594579af0fe21c8e7a05c48324afd0a64
|
4
|
+
data.tar.gz: 002354b3ab09739f3687d9b14f9599f91870ad6bfe0dd5d7927f5e20b0aa81a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4df3ae5d7c27a1f73f340854fc228f2e7d8ce0955edd0ba59796b5765a73a1d832acbae50024306f956dc7aea0ed5d589eff7dc65a3e0f718a94ccb4defa7b1
|
7
|
+
data.tar.gz: 98cc115db20635c92e788f193011537422c53a4a1c0a7bf64ac655c1f0aa490529c80a7cee27e40f7880779fb8d3b57a10c2dcd4736c1e42e10abfdb917cfca1
|
data/lib/tapsoob/data_stream.rb
CHANGED
@@ -159,8 +159,8 @@ module Tapsoob
|
|
159
159
|
|
160
160
|
unless @complete
|
161
161
|
yield rows if block_given?
|
162
|
-
state[:offset] += rows[:data].size
|
163
|
-
rows[:data].size
|
162
|
+
state[:offset] += (rows[:data].nil? ? 0 : rows[:data].size)
|
163
|
+
(rows[:data].nil? ? 0 : rows[:data].size)
|
164
164
|
else
|
165
165
|
0
|
166
166
|
end
|
data/lib/tapsoob/version.rb
CHANGED