ruby_astm 1.2.7 → 1.2.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ruby_astm/lab_interface.rb +9 -5
- 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: acc8b44ff492a2a4c67d3afef6e13ae75606389d50400f074b65f7c288aeb7e8
|
4
|
+
data.tar.gz: e714277a210d60f7491c820f313e9e310524b6b2cba4793df6387c32b5159dd0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 651a8624311ea2881c3d70818949ac2a618582a268f7577ecf2c7105c0ecaf1f2729bb74295a9ee505cd87ce231ff60231e96463a1465a7f5b395b83de0f03f0
|
7
|
+
data.tar.gz: 15c5ad0a1a25d36e95f4b22da63dea12ddf8bc87c448e47916156d2cb9420314b1f030bb067d7449c4edfc7a3f07140d3b1ef27c696fa32017430cff8f63bff3
|
@@ -208,12 +208,16 @@ module LabInterface
|
|
208
208
|
#IO.write((File.join root_path,'test','resources','roche_multi_frame_bytes.txt'),self.test_data_bytes.to_s)
|
209
209
|
#puts self.test_data_bytes.flatten.to_s
|
210
210
|
self.data_buffer = ''
|
211
|
-
|
212
|
-
|
213
|
-
|
211
|
+
unless self.headers.blank?
|
212
|
+
if self.headers[-1].queries.blank?
|
213
|
+
#puts "no queries in header so sending ack after getting EOT and processing the buffer"
|
214
|
+
send_data(ACK)
|
215
|
+
else
|
216
|
+
#puts "sending ENQ"
|
217
|
+
send_data(ENQ)
|
218
|
+
end
|
214
219
|
else
|
215
|
-
#
|
216
|
-
send_data(ENQ)
|
220
|
+
#send_data(ACK)
|
217
221
|
end
|
218
222
|
elsif data.bytes.to_a[0] == 6
|
219
223
|
#puts "GOT ACK --- GENERATING RESPONSE"
|