ruby_astm 1.2.0 → 1.2.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: 2112548ce7282e1b26867f34a1513d83d6b8005f65be22d3a9281c7ec5aeade2
4
- data.tar.gz: 9364cdefede2a5deee4e79756113d980c6384777f88e7d9fd2d2724c6449d033
3
+ metadata.gz: 7c86edc30a8aa2f89b804e0dbb28d2727d63b15cc5dd0e113bf04df2f9fcc769
4
+ data.tar.gz: 8ce45624e70cf7b8c1338f8b21eadbef19ac44781f16f46dabb0f27dc7960901
5
5
  SHA512:
6
- metadata.gz: fd0b11fe38096f4e7cd9ca0abff9ccfc53861f96522621bd11f107c25b35f5db7585ebd2b857c7c9241288c561925526a59a5784f4c537e551f90e6a56ba632b
7
- data.tar.gz: d2145cf6de008b1bbc2439f00edd1ee9ae389a113009e1f84d10d67f8463111de3eef4d6df7e9cc7a89df5ecd1039a530c2190d84dad57ccfefe533b8e7a9af7
6
+ metadata.gz: 7c35e684f3affb40bbe3d2178f6585d1a199b7d7325bebffbe3c5af4087fab9ec86bd694658fe7aed242fbb39d97334efa1a482cae7b3ac06ae2804e7520b835
7
+ data.tar.gz: f163dd00c01a3dd5b793ec1625b6f3ce323e27b52c7a08efb9c9d9ce50c07e7508249603791be5906da3cac43b023bf47561f1507f2f55f12aaf203d3dc3ae14
@@ -176,7 +176,9 @@ module LabInterface
176
176
  end
177
177
  end
178
178
  rescue => e
179
- AstmServer.log(e.backtrace.to_s)
179
+ self.headers = []
180
+ AstmServer.log("data was: " + self.data_buffer + "error is:" + e.backtrace.to_s)
181
+ send_data(EOT)
180
182
  end
181
183
  end
182
184
 
@@ -10,7 +10,8 @@ class Result
10
10
 
11
11
  def set_name(args)
12
12
  if line = args[:line]
13
-
13
+ puts line.to_s
14
+ puts line.fields[2].to_s
14
15
  line.fields[2].scan(/\^+(?<name>[A-Za-z0-9\%\#\-\_\?\/]+)\^?(?<dilution>\d+)?/) { |name,dilution|
15
16
 
16
17
  self.name = lookup_mapping(name)
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.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bhargav Raut