weel 1.99.66 → 1.99.68

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 +4 -4
  2. data/lib/weel.rb +14 -2
  3. data/weel.gemspec +1 -1
  4. metadata +29 -29
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 585af2d1c6a8f8f561b4e2e3c6b398c193f8448a6a191df1d1d6febb349ae398
4
- data.tar.gz: b1ac71ea7b5c5e92f24908879e5832342c306c8dc902c62cdeefe75664eb966f
3
+ metadata.gz: 8598771e2e58896c2f54c1f86363a662169fe14d2585c853aba21e5bbc32aa45
4
+ data.tar.gz: 6410090bd48dd91ee506377c3f71bd8102bc97552d8663563022eaa3d6c2fce4
5
5
  SHA512:
6
- metadata.gz: 3d6c2bb19ebf081ef8d6eb563c631a07a12baf9832c87fbd0f61748e928f0323e09499110a644a850899bdfd16cc4e573b8f260eeab0aa176345d246e5568b56
7
- data.tar.gz: e10ae0743a10aad688049da90cf291af840781974ce602dfb1018a656bbe2682ce1d57781399d6ae5a94ccbd97f993e424a616352cb8f14cdf78e495542a3d90
6
+ metadata.gz: 541863996ded5f8b6d1cd40e0297e222f2f783486f754b9642b5132c1a9d95f9b598d0b4498768a46c03922daaaebaabcdf4497b8975b0d3d55612416ec31555
7
+ data.tar.gz: ed21fe39b95f526545810ddee4f39aff3f22050f5fbbfcc49bc6f3d47b2ea1019e17c9d129bb66145e706a6b92053e4dfd80508db48ea199bb635574563bca22
@@ -523,7 +523,13 @@ class WEEL
523
523
  catch :escape do
524
524
  __weel_protect_yield(&Proc.new)
525
525
  end
526
- return if __weel_is_in_search_mode
526
+ if __weel_is_in_search_mode
527
+ return
528
+ else
529
+ ### in case it was a :post_test we wake inside the loop so we can check
530
+ ### condition first thing
531
+ condition[1] = :pre_test
532
+ end
527
533
  end
528
534
  if __weel_sim
529
535
  cond = condition[0].is_a?(Proc) ? true : condition[0]
@@ -712,7 +718,13 @@ class WEEL
712
718
  raise Signal::Stop unless handlerwrapper.vote_sync_before(params)
713
719
  raise Signal::Skip if self.__weel_state == :stopping || self.__weel_state == :finishing
714
720
 
715
- passthrough = @__weel_search_positions[position] ? @__weel_search_positions[position].passthrough : nil
721
+ if @__weel_search_positions[position]
722
+ passthrough = @__weel_search_positions[position].passthrough
723
+ @__weel_search_positions[position].passthrough = nil
724
+ else
725
+ passthrough = nil
726
+ end
727
+
716
728
  handlerwrapper.activity_handle passthrough, params
717
729
  begin
718
730
  # with loop if catching Signal::Again
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "weel"
3
- s.version = "1.99.66"
3
+ s.version = "1.99.68"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.license = "LGPL-3.0"
6
6
  s.summary = "Preliminary release of the Workflow Execution Engine Library (WEEL)"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: weel
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.99.66
4
+ version: 1.99.68
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen eTM Mangler
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-05-04 00:00:00.000000000 Z
12
+ date: 2018-07-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: test-unit
@@ -107,39 +107,39 @@ specification_version: 4
107
107
  summary: Preliminary release of the Workflow Execution Engine Library (WEEL)
108
108
  test_files:
109
109
  - test/TestHandlerWrapper.rb
110
- - test/TestMixin.rb
111
- - test/TestWorkflow.rb
112
- - test/README
113
110
  - test/ContinueTest.rb
111
+ - test/TestWorkflow.rb
112
+ - test/TestMixin.rb
114
113
  - test/SimHandlerWrapper.rb
115
- - test/exec/tc_again.rb
116
- - test/exec/tc_exec.rb
114
+ - test/README
117
115
  - test/wfp_iteration/tc_structuredloop.rb
118
- - test/basic/tc_choose.rb
119
- - test/basic/tc_parallel.rb
120
- - test/basic/tc_codereplace.rb
121
- - test/basic/tc_wf_control.rb
122
- - test/basic/tc_handler.rb
123
- - test/basic/tc_state.rb
124
- - test/basic/tc_endpoint.rb
125
- - test/basic/tc_search.rb
126
- - test/basic/tc_data.rb
127
- - test/speed/tc_speed2.rb
128
- - test/speed/tc_speed1.rb
129
- - test/wfp_adv_branching/tc_generalsynchronizingmerge.rb
130
- - test/wfp_adv_branching/tc_structured_discriminator.rb
131
- - test/wfp_adv_branching/tc_multimerge.rb
132
- - test/wfp_adv_branching/tc_multichoice_structuredsynchronizingmerge.rb
133
- - test/wfp_adv_branching/tc_generalizedjoin.rb
116
+ - test/wfp_adv_branching/tc_structured_partial_join.rb
134
117
  - test/wfp_adv_branching/tc_threadmerge.rb
135
118
  - test/wfp_adv_branching/tc_threadsplit.rb
136
- - test/wfp_adv_branching/tc_structured_partial_join.rb
119
+ - test/wfp_adv_branching/tc_multichoice_structuredsynchronizingmerge.rb
137
120
  - test/wfp_adv_branching/tc_localsynchronizingmerge.rb
138
- - test/complex/tc_parallel_stop.rb
139
- - test/complex/tc_generalsynchonizingmerge_loopsearch.rb
140
- - test/complexsearch/tc_search.rb
121
+ - test/wfp_adv_branching/tc_generalizedjoin.rb
122
+ - test/wfp_adv_branching/tc_generalsynchronizingmerge.rb
123
+ - test/wfp_adv_branching/tc_multimerge.rb
124
+ - test/wfp_adv_branching/tc_structured_discriminator.rb
125
+ - test/wfp_state_based/tc_deferredchoice.rb
126
+ - test/wfp_state_based/tc_interleavedparallelrouting.rb
127
+ - test/speed/tc_speed1.rb
128
+ - test/speed/tc_speed2.rb
129
+ - test/exec/tc_again.rb
130
+ - test/exec/tc_exec.rb
141
131
  - test/wfp_basic/tc_parallelsplit_synchronization.rb
142
132
  - test/wfp_basic/tc_exclusivechoice_simplemerge.rb
143
133
  - test/wfp_basic/tc_sequence.rb
144
- - test/wfp_state_based/tc_deferredchoice.rb
145
- - test/wfp_state_based/tc_interleavedparallelrouting.rb
134
+ - test/complex/tc_generalsynchonizingmerge_loopsearch.rb
135
+ - test/complex/tc_parallel_stop.rb
136
+ - test/basic/tc_state.rb
137
+ - test/basic/tc_endpoint.rb
138
+ - test/basic/tc_data.rb
139
+ - test/basic/tc_choose.rb
140
+ - test/basic/tc_search.rb
141
+ - test/basic/tc_handler.rb
142
+ - test/basic/tc_codereplace.rb
143
+ - test/basic/tc_wf_control.rb
144
+ - test/basic/tc_parallel.rb
145
+ - test/complexsearch/tc_search.rb