weel 1.99.106 → 1.99.108
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/weel.rb +10 -8
- data/weel.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 511cda1fdaa0d79582c2a839872cbbadf5770d196cb447ef986b4c1700ca656b
|
4
|
+
data.tar.gz: 71e38ec4147d9407a93f2b36dfcd2963164f3f6dbc67a1686fbd10d4c5db30f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a925eb9537591d6e2f736fb240541106cc709e886058269d3b5037c95deb37b956dd0481b54d5a1940775791d932eab4c4ddd794118b913cae6782df8e681f4f
|
7
|
+
data.tar.gz: 0ed0009b0a88731e993afe4201e8a7460c529e9abc029548d72acb1f96a891d50dd00d2fba3944cabdf469f64746d47498a9fc15f038622bc1f7608915785a26
|
data/lib/weel.rb
CHANGED
@@ -333,6 +333,7 @@ class WEEL
|
|
333
333
|
|
334
334
|
def activity_stop; end
|
335
335
|
def activity_passthrough_value; end
|
336
|
+
def activity_uuid; '42424242-cpee-cpee-cpee-424242424242'; end
|
336
337
|
|
337
338
|
def activity_no_longer_necessary; end
|
338
339
|
|
@@ -359,15 +360,16 @@ class WEEL
|
|
359
360
|
end # }}}
|
360
361
|
|
361
362
|
class Position # {{{
|
362
|
-
attr_reader :position
|
363
|
+
attr_reader :position, :uuid
|
363
364
|
attr_accessor :detail, :passthrough
|
364
|
-
def initialize(position, detail=:at, passthrough=nil) # :at or :after or :unmark
|
365
|
+
def initialize(position, uuid, detail=:at, passthrough=nil) # :at or :after or :unmark
|
365
366
|
@position = position
|
366
367
|
@detail = detail
|
368
|
+
@uuid = uuid
|
367
369
|
@passthrough = passthrough
|
368
370
|
end
|
369
371
|
def as_json(*)
|
370
|
-
jsn = { 'position' => @position }
|
372
|
+
jsn = { 'position' => @position, 'uuid' => @uuid }
|
371
373
|
jsn['passthrough'] = @passthrough if @passthrough
|
372
374
|
jsn
|
373
375
|
end
|
@@ -736,7 +738,7 @@ class WEEL
|
|
736
738
|
Thread.current[:branch_parent][:branch_traces][Thread.current[:branch_traces_id]] << position
|
737
739
|
end
|
738
740
|
|
739
|
-
__weel_progress position, true
|
741
|
+
__weel_progress position, 0, true
|
740
742
|
self.__weel_state = :stopping
|
741
743
|
end #}}}
|
742
744
|
|
@@ -781,7 +783,7 @@ class WEEL
|
|
781
783
|
end
|
782
784
|
end #}}}
|
783
785
|
|
784
|
-
def __weel_progress(position, skip=false) #{{{
|
786
|
+
def __weel_progress(position, uuid, skip=false) #{{{
|
785
787
|
ipc = {}
|
786
788
|
branch = Thread.current
|
787
789
|
if Thread.current[:branch_parent] && Thread.current[:branch_parent][:branch_position]
|
@@ -797,9 +799,9 @@ class WEEL
|
|
797
799
|
end
|
798
800
|
wp = if branch[:branch_search_now] == true
|
799
801
|
branch[:branch_search_now] = false
|
800
|
-
WEEL::Position.new(position, skip ? :after : :at, @__weel_search_positions[position]&.passthrough)
|
802
|
+
WEEL::Position.new(position, uuid, skip ? :after : :at, @__weel_search_positions[position]&.passthrough)
|
801
803
|
else
|
802
|
-
WEEL::Position.new(position, skip ? :after : :at)
|
804
|
+
WEEL::Position.new(position, uuid, skip ? :after : :at)
|
803
805
|
end
|
804
806
|
ipc[skip ? :after : :at] = [wp]
|
805
807
|
|
@@ -839,7 +841,7 @@ class WEEL
|
|
839
841
|
Thread.current[:branch_parent][:branch_traces][Thread.current[:branch_traces_id]] << position
|
840
842
|
end
|
841
843
|
|
842
|
-
wp = __weel_progress position
|
844
|
+
wp = __weel_progress position, connectionwrapper.activity_uuid
|
843
845
|
|
844
846
|
# searchmode position is after, jump directly to vote_sync_after
|
845
847
|
raise Signal::Proceed if searchmode == :after
|
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.108
|
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: 2023-
|
12
|
+
date: 2023-03-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: test-unit
|