ruby_astm 1.2.8 → 1.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: acc8b44ff492a2a4c67d3afef6e13ae75606389d50400f074b65f7c288aeb7e8
4
- data.tar.gz: e714277a210d60f7491c820f313e9e310524b6b2cba4793df6387c32b5159dd0
3
+ metadata.gz: c73b81bdfca318caa0bb348e67c8fd87f01c3c1838a359ccde6c01fbb8d28ffa
4
+ data.tar.gz: 7f8a5e1e5aa5993a9d355e4dc10d6bf0c13ffee76c6cd1866ca2693ab6a26f7f
5
5
  SHA512:
6
- metadata.gz: 651a8624311ea2881c3d70818949ac2a618582a268f7577ecf2c7105c0ecaf1f2729bb74295a9ee505cd87ce231ff60231e96463a1465a7f5b395b83de0f03f0
7
- data.tar.gz: 15c5ad0a1a25d36e95f4b22da63dea12ddf8bc87c448e47916156d2cb9420314b1f030bb067d7449c4edfc7a3f07140d3b1ef27c696fa32017430cff8f63bff3
6
+ metadata.gz: acedba95a9ed8ee9da0ad7ae2a74b86148c3a274c6c91b1e32b514347d5071f2e52ef24e6b2bdf790e5bd13335639a40b335bf51b07740ea203842ccfcd65f26
7
+ data.tar.gz: ccd09a01fb4f99a7bbe974da0c989d0d99045c7695c69388e448821a8cee8f18fb3dce9f050a567fe87968318c20383f4cfe133ce51e4a05663a5bb9a9f344e7
@@ -189,9 +189,9 @@ module LabInterface
189
189
 
190
190
 
191
191
 
192
- #puts "concat is:"
192
+ puts "concat is:"
193
193
 
194
- #puts concat.to_s
194
+ puts concat.to_s
195
195
 
196
196
  self.data_buffer << concat
197
197
 
@@ -201,7 +201,7 @@ module LabInterface
201
201
 
202
202
 
203
203
  if data.bytes.to_a[-1] == 4
204
- #puts "GOT EOT --- PROCESSING BUFFER, AND CLEARING."
204
+ puts "GOT EOT --- PROCESSING BUFFER, AND CLEARING."
205
205
  process_text(self.data_buffer)
206
206
  #root_path = File.dirname __dir
207
207
  #puts "root path #{root_path}"
@@ -217,10 +217,11 @@ module LabInterface
217
217
  send_data(ENQ)
218
218
  end
219
219
  else
220
- #send_data(ACK)
220
+ puts "sending catch all --------------- ACK --------------"
221
+ send_data(ACK)
221
222
  end
222
223
  elsif data.bytes.to_a[0] == 6
223
- #puts "GOT ACK --- GENERATING RESPONSE"
224
+ puts "GOT ACK --- GENERATING RESPONSE"
224
225
  unless self.headers.blank?
225
226
  header_responses = self.headers[-1].build_one_response({machine_name: self.headers[-1].machine_name})
226
227
  ## if no queries then, we have to send ack.
@@ -249,7 +250,7 @@ module LabInterface
249
250
  #puts "NO HEADERS PRESENT --- "
250
251
  end
251
252
  elsif data.bytes.to_a[0] == 255
252
- #puts " ----------- got 255 data -----------, not sending anything back. "
253
+ puts " ----------- got 255 data -----------, not sending anything back. "
253
254
  else
254
255
  #unless self.data_buffer.blank?
255
256
  # puts self.data_buffer.gsub(/\r/,'\n').to_s
@@ -271,6 +272,7 @@ module LabInterface
271
272
  end
272
273
 
273
274
  rescue => e
275
+
274
276
  #self.headers = []
275
277
  AstmServer.log("data was: " + self.data_buffer + "error is:" + e.backtrace.to_s)
276
278
  #send_data(EOT)
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.8
4
+ version: 1.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bhargav Raut