weel 1.99.18 → 1.99.19
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.
- data/lib/weel.rb +3 -3
- data/weel.gemspec +1 -1
- 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,
|
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[
|
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
|
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
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.
|
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-
|
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
|