weel 1.99.18 → 1.99.19

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/weel.rb +3 -3
  2. data/weel.gemspec +1 -1
  3. metadata +2 -2
data/lib/weel.rb CHANGED
@@ -527,7 +527,7 @@ class WEEL
527
527
  end # }}}
528
528
 
529
529
  private
530
- def __weel_activity(position, type, endpoint, parameters, code)# {{{
530
+ def __weel_activity(position, type, endpoints, parameters, code)# {{{
531
531
  position = __weel_position_test position
532
532
  begin
533
533
  searchmode = __weel_is_in_search_mode(position)
@@ -535,10 +535,10 @@ class WEEL
535
535
  return if self.__weel_state == :stopping || self.__weel_state == :stopped || Thread.current[:nolongernecessary]
536
536
 
537
537
  Thread.current[:continue] = Continue.new
538
- handlerwrapper = @__weel_handlerwrapper.new @__weel_handlerwrapper_args, @__weel_endpoints[endpoint], position, Thread.current[:continue]
538
+ handlerwrapper = @__weel_handlerwrapper.new @__weel_handlerwrapper_args, endpoints.is_a?(Array) ? endpoints.map{|ep| @__weel_endpoints[ep] }.compact : @__weel_endpoints[endpoints], position, Thread.current[:continue]
539
539
 
540
540
  if __weel_sim
541
- handlerwrapper.simulate(:activity,:none,position,Thread.current[:branch_sim_pos],:parameters=>parameters, :endpoint => endpoint, :type => type)
541
+ handlerwrapper.simulate(:activity,:none,position,Thread.current[:branch_sim_pos],:parameters=>parameters,:endpoints => endpoints,:type => type)
542
542
  return
543
543
  end
544
544
 
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.18"
3
+ s.version = "1.99.19"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.license = "LGPL-3"
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.18
4
+ version: 1.99.19
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-07-16 00:00:00.000000000 Z
13
+ date: 2014-07-17 00:00:00.000000000 Z
14
14
  dependencies: []
15
15
  description: see http://cpee.org
16
16
  email: juergen.mangler@gmail.com