atp 1.1.2 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +5 -5
  2. data/config/version.rb +1 -1
  3. data/lib/atp/flow.rb +11 -0
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 69803282c2ed5e47a0166e8dd0a7a505d6752ed0
4
- data.tar.gz: a8230d4c6ee3f1944ef89067ea0fa24d245c2343
2
+ SHA256:
3
+ metadata.gz: a93029303e62d3ae4fd5d567c2d0aabbb5a8705cd265a1d8793685759d730439
4
+ data.tar.gz: c3cacf019890d6b9d028d22b4eb22b2a7e5a627a7569a1616a5081ff680e9f4d
5
5
  SHA512:
6
- metadata.gz: 8d28660d722cf5f95d5d5ed748ceca675d8ce1e1a6582c0c6b257a3fac90e7256f510bee29aec489429acf634d68f13993cb0a32ca12e0f26e8d36ea7ccf251c
7
- data.tar.gz: 65a339b165d89a1a73618999176f2735e1555c659a9bbf03c84b9a2e4bad1b0ca8f5a923d787cca7cd9cc93a6a2fa270eb2e445f5e553d4c6ecd0e855cfa895e
6
+ metadata.gz: 67ab728749a285ba53f1315bffb99743e763179aacee950a4c0396b3679faee1d38264893718d609f6a2685ad7b7e2a6dd1ef34681d62d5f079ea1e214892927
7
+ data.tar.gz: 884dd72d251267c2183a96d08bce8c76761bf2ed1b2bf71df65bb251277f96aa57b5122c23279c735dc4b59bcaadc4c44dbf045900bc9120936195a99d1bce65
@@ -1,7 +1,7 @@
1
1
  module ATP
2
2
  MAJOR = 1
3
3
  MINOR = 1
4
- BUGFIX = 2
4
+ BUGFIX = 3
5
5
  DEV = nil
6
6
 
7
7
  VERSION = [MAJOR, MINOR, BUGFIX].join(".") + (DEV ? ".pre#{DEV}" : '')
@@ -255,6 +255,10 @@ module ATP
255
255
  options[:on_fail] ||= {}
256
256
  options[:on_fail][:bin_description] = b
257
257
  end
258
+ if b = options.delete(:bin_attrs)
259
+ options[:on_fail] ||= {}
260
+ options[:on_fail][:bin_attrs] = b
261
+ end
258
262
  if b = options.delete(:softbin) || b = options.delete(:sbin) || b = options.delete(:soft_bin)
259
263
  options[:on_fail] ||= {}
260
264
  options[:on_fail][:softbin] = b
@@ -700,6 +704,7 @@ module ATP
700
704
  fail_opts = { bin: options[:bin], softbin: options[:softbin] }
701
705
  fail_opts[:bin_description] = options[:bin_description] if options[:bin_description]
702
706
  fail_opts[:softbin_description] = options[:softbin_description] if options[:softbin_description]
707
+ fail_opts[:bin_attrs] = options[:bin_attrs] if options[:bin_attrs]
703
708
  children << set_result(:fail, fail_opts)
704
709
  end
705
710
  if options[:set_run_flag] || options[:set_flag]
@@ -722,6 +727,7 @@ module ATP
722
727
  pass_opts = { bin: options[:bin], softbin: options[:softbin] }
723
728
  pass_opts[:bin_description] = options[:bin_description] if options[:bin_description]
724
729
  pass_opts[:softbin_description] = options[:softbin_description] if options[:softbin_description]
730
+ pass_opts[:bin_attrs] = options[:bin_attrs] if options[:bin_attrs]
725
731
  children << set_result(:pass, pass_opts)
726
732
  end
727
733
  if options[:set_run_flag] || options[:set_flag]
@@ -770,6 +776,11 @@ module ATP
770
776
  else
771
777
  children << n1(:softbin, options[:softbin]) if options[:softbin]
772
778
  end
779
+ if options[:bin_attrs]
780
+ options[:bin_attrs].each do |key, val|
781
+ children << n1(key, val)
782
+ end
783
+ end
773
784
  n(:set_result, children)
774
785
  end
775
786
 
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: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen McGinty
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-04 00:00:00.000000000 Z
11
+ date: 2019-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: origen
@@ -126,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
126
126
  version: 1.8.11
127
127
  requirements: []
128
128
  rubyforge_project:
129
- rubygems_version: 2.5.1
129
+ rubygems_version: 2.7.7
130
130
  signing_key:
131
131
  specification_version: 4
132
132
  summary: An abstract test program model for Origen