origen_testers 0.8.11 → 0.8.13

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
  SHA1:
3
- metadata.gz: 7ed958b1b36384ed7b4a41e661f02417f93222e8
4
- data.tar.gz: 8cc64da5f2fbc873fdfdc0f28b123c5997cccee9
3
+ metadata.gz: 541a7c2d06ea2ac98f2ab4a2bb75835f781688b8
4
+ data.tar.gz: 9ab649e317b59f06b00acbbdf6dae10c379f98ac
5
5
  SHA512:
6
- metadata.gz: 4c5f7386212c7bd5e98e6011c380b2f76e1854a276540ccff31cdd2443e8a06e71352b318f24371b6a20a28afe26aa79f33167776ccb78b47ccfc709b7ecc330
7
- data.tar.gz: c0863289ac50871b42a001ab6bad83c2462af78cdf6b1db74014a143e710e65334794b0ea4a10c523c59f574a5e0fa00929795695335931fdb7aaeda364d6caa
6
+ metadata.gz: 93691c672f9cd3d331a28f456d4ad9c300a4a649480d719995df42c30f566e90eafe3bf0a93489aa779d75a5144397cff862abcd452603f0575251c1b7a4d731
7
+ data.tar.gz: 2c9a0ebfd524b9ef53a5d038d179a93b593bd86430b9c9bebe17830acddd52d17a3f9c771ff7c4d50279c8c63c917744f1a865f25381d2a0677c0f1c608b3032
@@ -1,7 +1,7 @@
1
1
  module OrigenTesters
2
2
  MAJOR = 0
3
3
  MINOR = 8
4
- BUGFIX = 11
4
+ BUGFIX = 13
5
5
  DEV = nil
6
6
 
7
7
  VERSION = [MAJOR, MINOR, BUGFIX].join(".") + (DEV ? ".pre#{DEV}" : '')
@@ -6,6 +6,7 @@ module OrigenTesters
6
6
  attr_reader :test_method
7
7
  attr_accessor :lo_limit, :hi_limit
8
8
  attr_accessor :unit
9
+ attr_accessor :tnum
9
10
  alias_method :lo, :lo_limit
10
11
  alias_method :lo=, :lo_limit=
11
12
  alias_method :hi, :hi_limit
@@ -13,6 +14,7 @@ module OrigenTesters
13
14
 
14
15
  def initialize(test_method)
15
16
  @test_method = test_method
17
+ @tnum = ''
16
18
  end
17
19
 
18
20
  def unit=(val)
@@ -28,13 +30,17 @@ module OrigenTesters
28
30
 
29
31
  def to_s
30
32
  if !lo_limit && !hi_limit
31
- "\"#{test_name}\"" + ' = "":"NA":"":"NA":"":"":""'
33
+ if tnum == ''
34
+ "\"#{test_name}\"" + ' = "":"NA":"":"NA":"":"":""'
35
+ else
36
+ "\"#{test_name}\"" + " = \"\":\"NA\":\"\":\"NA\":\"\":\"#{tnum}\":\"0\""
37
+ end
32
38
  elsif !lo_limit
33
- "\"#{test_name}\"" + " = \"\":\"NA\":\"#{hi_limit}\":\"LE\":\"#{unit}\":\"\":\"0\""
39
+ "\"#{test_name}\"" + " = \"\":\"NA\":\"#{hi_limit}\":\"LE\":\"#{unit}\":\"#{tnum}\":\"0\""
34
40
  elsif !hi_limit
35
- "\"#{test_name}\"" + " = \"#{lo_limit}\":\"GE\":\"\":\"NA\":\"#{unit}\":\"\":\"0\""
41
+ "\"#{test_name}\"" + " = \"#{lo_limit}\":\"GE\":\"\":\"NA\":\"#{unit}\":\"#{tnum}\":\"0\""
36
42
  else
37
- "\"#{test_name}\"" + " = \"#{lo_limit}\":\"GE\":\"#{hi_limit}\":\"LE\":\"#{unit}\":\"\":\"0\""
43
+ "\"#{test_name}\"" + " = \"#{lo_limit}\":\"GE\":\"#{hi_limit}\":\"LE\":\"#{unit}\":\"#{tnum}\":\"0\""
38
44
  end
39
45
  end
40
46
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: origen_testers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.11
4
+ version: 0.8.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen McGinty
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-13 00:00:00.000000000 Z
11
+ date: 2017-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: origen