tapsoob 0.4.15-java → 0.4.16-java

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bf90aef94141e6d998c8ec0661f8d0b2d6f4340b40a565113bee04865c881314
4
- data.tar.gz: 4123d828e01e86483c8ebf0a2a600e2eeb1c5a7788fc699e6348bee62fd95304
3
+ metadata.gz: 5552561bbd6689d39f15fb5f2981aedc8a23bcbeee6a48c879cfdd95787b8997
4
+ data.tar.gz: 1dd506b6483e1d2bb29805adeea4bd58fd267b30d8332ea32631121ebc022669
5
5
  SHA512:
6
- metadata.gz: ac7bba0277b68116b4a46673d90f0f6bef88d35293ad47d517f3f23928c65fc42041e4da6ecb7bf6ddf3028828d7c85858b703fdb3c9d25685a806f29a1d12f3
7
- data.tar.gz: fe2aeb16c60b303db8190e0b20de0e4129410c50ad17b0a71ef7e64793a0ea80df35582b1747098270f40f83d0ceb4c07ec60021d9c21e1456e996f07e692e90
6
+ metadata.gz: 937f72eca25fdf75e6332aedda245bff93300ec31693a96363e4a99260927e59aeef108cfb76e636619201492c627cd6b336674c9871342d4745f5b279c42581
7
+ data.tar.gz: 288b6bc189ef4fee8986febf34d0d7857843b4bc54170fb0b8c26ac5e6de604605e6ec41cd27f1ef537ad92aeac6a472e5b4100c5e7978c66b3e5d4ad7960a53
@@ -152,15 +152,15 @@ module Tapsoob
152
152
 
153
153
  rows = parse_encoded_data(encoded_data, json[:checksum])
154
154
 
155
- @complete = rows[:data] == [ ]
155
+ @complete = rows == { }
156
156
 
157
157
  # update local state
158
158
  state.merge!(json[:state].merge(:chunksize => state[:chunksize]))
159
159
 
160
160
  unless @complete
161
161
  yield rows if block_given?
162
- state[:offset] += (rows[:data].nil? ? 0 : rows[:data].size)
163
- (rows[:data].nil? ? 0 : rows[:data].size)
162
+ state[:offset] += rows[:data].size
163
+ rows[:data].size
164
164
  else
165
165
  0
166
166
  end
@@ -1,4 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module Tapsoob
3
- VERSION = "0.4.15".freeze
3
+ VERSION = "0.4.16".freeze
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tapsoob
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.15
4
+ version: 0.4.16
5
5
  platform: java
6
6
  authors:
7
7
  - Félix Bellanger