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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 07c1a180206229cb23f7ab6bbb5e8034ab4fedbb8735ab0a1b1317a960cc29e2
4
- data.tar.gz: e500c6b8b4fc9cceece797bfca1d09756a0b7723dd6c28ee67680e318d8215e8
3
+ metadata.gz: acc8b44ff492a2a4c67d3afef6e13ae75606389d50400f074b65f7c288aeb7e8
4
+ data.tar.gz: e714277a210d60f7491c820f313e9e310524b6b2cba4793df6387c32b5159dd0
5
5
  SHA512:
6
- metadata.gz: edbd9f93955c24d7a051bbb346054d5efe48f7fe76778c2a670a1d41c142f3585d5519bacc03b1ec8f2d7152b13bd6963bac4ef9a79473a0939d60036fff1efe
7
- data.tar.gz: ce93d38cb89612fbc319d7c3270530d6963730a11aad61e3f6501dfd4bbc9be700328fc3ed57ef08fa99f0523a8ac4addb5472830d82b12dc9bf8941194595e8
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
- if self.headers[-1].queries.blank?
212
- #puts "no queries in header so sending ack after getting EOT and processing the buffer"
213
- send_data(ACK)
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
- #puts "sending ENQ"
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"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_astm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.7
4
+ version: 1.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bhargav Raut