ruby_astm 1.3.0 → 1.3.1

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: a276eabf353e3d09a9b132f167cca51b1d0bb0c85da34b5cf4474ae70b3412ae
4
- data.tar.gz: 6ba7b3e47712630c7276ec3d25bf66bc2b40cbc8a7c512bd015aa8ea9d2c39f3
3
+ metadata.gz: 2d0ca7efebc513483bc39a26ce3edb98872ecabfef6790000e6b61a25586a7a9
4
+ data.tar.gz: f3c8edd01acc93d105a0813cb32d93bed8f4d70c0d1ed3d43f653ea70cff9448
5
5
  SHA512:
6
- metadata.gz: cece9db47a72baf428e6e3db8c47c7f253f4a4428e1ce9671cc1012f80b59166a50c4388192a85e9a9b4aecc61ac559105cdb46c164bc077ef840d81a1f3b572
7
- data.tar.gz: 90afe5cdfbea386175f45044e17b7455cf11fd628d961054327781813e48280325fcedcfc40cf77d609b0c4e1d4417867545e6fdc8a40d5604c704bc99b4bf79
6
+ metadata.gz: 79c567529d38f41a49c38dc86a94133abbe953f74914ca5e5fdae79d7a9a96a9ba8ab6f843039bac5d960bd9c4e7a54a87e12c0842e91e7085495a877ae2cf03
7
+ data.tar.gz: d4bccb3a56a699fdff7def93f556aa5d1bb95cea39e38d5e05e1812b9d8b38f83277f75d14a4ac028a8b3d527ec9789de95d927b95e4b263e451520203be48b5
@@ -257,6 +257,8 @@ module LabInterface
257
257
  #end
258
258
  ## send the header
259
259
  #puts "--------- SENT ACK -----------"
260
+ ## strip non utf 8 characters from it.
261
+ self.data_buffer.encode('UTF-8', 'binary', invalid: :replace, undef: :replace, replace: '')
260
262
  if self.data_buffer =~ /MSH\|/
261
263
  #puts " -------------- HEADERS ARE BLANK WITH HL7, sending ack. ------------ "
262
264
  process_text(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.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bhargav Raut