ruby_astm 1.1.5 → 1.1.6

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: 433fd3c434412d3e8e82a0aec5f7ea4d02171ec6eb4114f40ba6683167ce76ef
4
- data.tar.gz: 10f9cbfd6ab7153bf671e0e67709dd1a24faea4f430c5c53a9f8089a3f7c0496
3
+ metadata.gz: 97473c3503fe13333b10d72191a32d48e7893885a953059f6e30b13a749e0b18
4
+ data.tar.gz: db9984ca11f5302743aab7406469925ce2cc223e7c7a0c35131576c94eb5e84e
5
5
  SHA512:
6
- metadata.gz: 453b97c83bfa1c3ab8901a7988168de09f9d97332a69d8a4efb69a783fbf467e28c5d04d620a997400719b8846489f3e71802ec3645546ec31e11b6b8c0db22e
7
- data.tar.gz: 89def7573598d2b8aef88ee880223bc6b03aed1f835abe044a52d2fa05a37bdaa85d55fb8a4b2248d4618a44394613b359157fd753a1973ceebfd6882a51ca54
6
+ metadata.gz: 44e68e846d2d9acdc9580c0b5a5881091f104a68fb894540768bd43b6465fc6c717425775bddee642d8102ee1fdcd5a156042aff22c8a86bd7ae5aef90d14b25
7
+ data.tar.gz: 54499a0a1880df3c0933878f5bc1af9ba714767cad0ed2038a4cd2704df4ac43cf711e2cb2d4ba265f2a5d65513c8cf18f5f2a0d61048e1c8dad91d56513944a
@@ -160,7 +160,7 @@ module LabInterface
160
160
  puts self.data_buffer.gsub(/\r/,'\n').to_s
161
161
  ## send the header
162
162
  #puts "--------- SENT ACK -----------"
163
- if self.data_buffer[1..3] == "MSH"
163
+ if self.data_buffer =~ /MSH\|/
164
164
  puts " -------------- HEADERS ARE BLANK WITH HL7, sending ack. ------------ "
165
165
  process_text(self.data_buffer)
166
166
  self.data_buffer = ''
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.1.5
4
+ version: 1.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bhargav Raut