atp 0.5.3 → 0.5.4

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
  SHA1:
3
- metadata.gz: f62f7363f60de549fcdd62079d15f1a2a15d1080
4
- data.tar.gz: f8c1f9056501a2df6d68726081a2d6a214150e77
3
+ metadata.gz: e28ca2366324cd8b6f8e8b459483cc7976bab5d5
4
+ data.tar.gz: 8374d8161c577c29d64634f212e2d9c4911ccc3d
5
5
  SHA512:
6
- metadata.gz: ecb5cc42b0edf32d97e331a98ec302f145e98e48eddf292161916c79ee00e8bfc0b50c3e8eadbed7868fc326aed95c83e1ea63cbbc83036f0ef74dd1622197cd
7
- data.tar.gz: b5efe45ab648a39ce0e785fff92d11203aee8f351907f5ae4ecd9aacd6c7b02e4dcc9ecd67b9746900cee8d23cf96443549f4ac04d3785405a48de7c83f85273
6
+ metadata.gz: f710df8bc7360c6434111a562bd2524b7d0214046f99c91e857591f34085bc26e7b138c1e7032c7e80f5754d66cabdc032fb36bd1029cc3b0514cec60315f272
7
+ data.tar.gz: 64d8faca1a37bdfed81481d687e80eee5aab581966d66d693324fdfb7161df50c53eeaa2a1caa0e47e1f0a8ff04e3617986b005eb123ba4c7975d95a55db1840
@@ -1,7 +1,7 @@
1
1
  module ATP
2
2
  MAJOR = 0
3
3
  MINOR = 5
4
- BUGFIX = 3
4
+ BUGFIX = 4
5
5
  DEV = nil
6
6
 
7
7
  VERSION = [MAJOR, MINOR, BUGFIX].join(".") + (DEV ? ".pre#{DEV}" : '')
@@ -38,5 +38,9 @@ module ATP
38
38
  def n1(type, arg)
39
39
  n(type, [arg])
40
40
  end
41
+
42
+ def n2(type, arg1, arg2)
43
+ n(type, [arg1, arg2])
44
+ end
41
45
  end
42
46
  end
@@ -61,7 +61,7 @@ module ATP
61
61
  node = node.ensure_node_present(:on_fail)
62
62
  node.updated(nil, node.children.map do |n|
63
63
  if n.type == :on_pass
64
- n = n.add n1(:set_run_flag, "#{id}_PASSED")
64
+ n = n.add n2(:set_run_flag, "#{id}_PASSED", :auto_generated)
65
65
  elsif n.type == :on_fail
66
66
  n.ensure_node_present(:continue)
67
67
  else
@@ -74,7 +74,7 @@ module ATP
74
74
  node = node.ensure_node_present(:on_fail)
75
75
  node.updated(nil, node.children.map do |n|
76
76
  if n.type == :on_fail
77
- n = n.add n1(:set_run_flag, "#{id}_FAILED")
77
+ n = n.add n2(:set_run_flag, "#{id}_FAILED", :auto_generated)
78
78
  n.ensure_node_present(:continue)
79
79
  else
80
80
  n
@@ -87,7 +87,7 @@ module ATP
87
87
  node = node.ensure_node_present(:on_pass)
88
88
  node.updated(nil, node.children.map do |n|
89
89
  if n.type == :on_pass || n.type == :on_fail
90
- n = n.add n1(:set_run_flag, "#{id}_RAN")
90
+ n = n.add n2(:set_run_flag, "#{id}_RAN", :auto_generated)
91
91
  else
92
92
  n
93
93
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: atp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.4
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-02-21 00:00:00.000000000 Z
11
+ date: 2017-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: origen