weel 1.99.153 → 1.99.156

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/weel.rb +10 -8
  3. data/weel.gemspec +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 98ff5ec5f2c89a41f30f5087cf4f9fb9c58f12569e84d586a3095e29b8390740
4
- data.tar.gz: 30686408ed8c016612b825221dff7836331deec7bfad36f32d34ece39d200d4c
3
+ metadata.gz: 42b27210321a79d1137f6397758d7c65325300ad7076cf4bc7c09b3aee0545bc
4
+ data.tar.gz: cad54b14c2685013ce4d71fda9e80226718b48bf29ed064337dac6476b9ae29d
5
5
  SHA512:
6
- metadata.gz: 53734eb99a548c08525a41bfc717bc4ab495efcc23bbb8ce8774e82be40e19c83ff4053dda16e76a304c9d96600f57b333771465f3a4817ae5a9a587bd511183
7
- data.tar.gz: 4ffa05575fda41d1fbd7218b1379f07deaee1cdb701034b25c613c1818bbf8fcd85db4d66e2fe0103212fb29e6216f99ed6e530a71f34b452364695ce5f9cda6
6
+ metadata.gz: 3e242a628af29ea0c73c4934b7ba90056125afbc2ab53d79cc6ffe2f61029414ea406d864d918fb8209762d2aa662b159e4e237f367579843575669dc510ab1b
7
+ data.tar.gz: fd8b876a3ad64a2c697fd6a49528a171dc72dd1e6c3f217b1c5f532275b927c3ac957522dd8a2a946332ba36cef295b316acbfae04ae660c25767e245df86ab7
data/lib/weel.rb CHANGED
@@ -356,7 +356,7 @@ class WEEL
356
356
 
357
357
  def additional; {}; end
358
358
 
359
- def activity_handle(passthrough, parameters); end
359
+ def activity_handle(passthrough, parameters, dataelements); end
360
360
  def activity_manipulate_handle(parameters); end
361
361
 
362
362
  def activity_stop; end
@@ -663,14 +663,16 @@ class WEEL
663
663
  def alternative(eid,condition,args={},&block)# {{{
664
664
  return if self.__weel_state == :stopping || self.__weel_state == :finishing || self.__weel_state == :stopped || Thread.current[:nolongernecessary]
665
665
  Thread.current[:mutex] ||= Mutex.new
666
- Thread.current[:mutex].synchronize do
667
- return if Thread.current[:alternative_mode][-1] == :exclusive && Thread.current[:alternative_executed][-1] == true
668
- if condition.is_a?(String)
669
- condition = __weel_eval_condition(eid, condition, args)
666
+ searchmode = __weel_is_in_search_mode
667
+ unless searchmode
668
+ Thread.current[:mutex].synchronize do
669
+ return if Thread.current[:alternative_mode][-1] == :exclusive && Thread.current[:alternative_executed][-1] == true
670
+ if condition.is_a?(String)
671
+ condition = __weel_eval_condition(eid, condition, args)
672
+ end
673
+ Thread.current[:alternative_executed][-1] = true if condition
670
674
  end
671
- Thread.current[:alternative_executed][-1] = true if condition
672
675
  end
673
- searchmode = __weel_is_in_search_mode
674
676
  __weel_protect_yield(&block) if searchmode || condition
675
677
  Thread.current[:alternative_executed][-1] = true if __weel_is_in_search_mode != searchmode # we swiched from searchmode true to false, thus branch has been executed which is as good as evaling the condition to true
676
678
  end # }}}
@@ -928,7 +930,7 @@ class WEEL
928
930
  raise Signal::Stop unless connectionwrapper.vote_sync_before(params)
929
931
  raise Signal::Skip if self.__weel_state == :stopping || self.__weel_state == :finishing
930
932
 
931
- connectionwrapper.activity_handle wp.passthrough, params
933
+ connectionwrapper.activity_handle wp.passthrough, params, @__weel_data
932
934
  wp.passthrough = connectionwrapper.activity_passthrough_value
933
935
  unless wp.passthrough.nil?
934
936
  @__weel_connectionwrapper::inform_position_change @__weel_connectionwrapper_args, :wait => [wp]
data/weel.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "weel"
3
- s.version = "1.99.153"
3
+ s.version = "1.99.156"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.license = "LGPL-3.0-or-later"
6
6
  s.summary = "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.153
4
+ version: 1.99.156
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen eTM Mangler