weel 1.99.108 → 1.99.109
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 +9 -6
- 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: e376343e3c78f99b2493270370374a4302f89dea8d0a6f2b8458fb72b6ebf688
|
4
|
+
data.tar.gz: 5db57f52c74226550c86bf7e1c4dc83d891cf52b139b623a202216457c3d310a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0a3bef1073e2b3e253092f1cb46c48cf2153dcf7eaaade3b95c5bb23654ef3cb9d99f402b8eecaf485f5376fc6df0ddddae03f0ec0cf8cef493480c1d4a0afa
|
7
|
+
data.tar.gz: 5f1dc555fd6755c6736b500c67630653d7bd6e541a0c17a67471c094dd4c5c78be3a537dd639e4fb798153ad68079bc089a2acb9ada65db82a98a101fa4c030d
|
data/lib/weel.rb
CHANGED
@@ -360,13 +360,13 @@ class WEEL
|
|
360
360
|
end # }}}
|
361
361
|
|
362
362
|
class Position # {{{
|
363
|
-
attr_reader :position
|
364
|
-
attr_accessor :detail, :passthrough
|
365
|
-
def initialize(position,
|
363
|
+
attr_reader :position
|
364
|
+
attr_accessor :detail, :passthrough, :uuid
|
365
|
+
def initialize(position, detail=:at, passthrough=nil) # :at or :after or :unmark
|
366
366
|
@position = position
|
367
367
|
@detail = detail
|
368
|
-
@uuid = uuid
|
369
368
|
@passthrough = passthrough
|
369
|
+
@uuid = 0
|
370
370
|
end
|
371
371
|
def as_json(*)
|
372
372
|
jsn = { 'position' => @position, 'uuid' => @uuid }
|
@@ -799,10 +799,11 @@ class WEEL
|
|
799
799
|
end
|
800
800
|
wp = if branch[:branch_search_now] == true
|
801
801
|
branch[:branch_search_now] = false
|
802
|
-
WEEL::Position.new(position,
|
802
|
+
WEEL::Position.new(position, skip ? :after : :at, @__weel_search_positions[position]&.passthrough)
|
803
803
|
else
|
804
|
-
WEEL::Position.new(position,
|
804
|
+
WEEL::Position.new(position, skip ? :after : :at)
|
805
805
|
end
|
806
|
+
wp.uuid = uuid
|
806
807
|
ipc[skip ? :after : :at] = [wp]
|
807
808
|
|
808
809
|
@__weel_search_positions.delete(position)
|
@@ -914,6 +915,8 @@ class WEEL
|
|
914
915
|
update
|
915
916
|
elsif waitingresult == WEEL::Signal::Salvage
|
916
917
|
salvage || raise('HTTP Error. The service return status was not between 200 and 300.')
|
918
|
+
elsif waitingresult == WEEL::Signal::Stop
|
919
|
+
self.__weel_state = :stopping
|
917
920
|
else
|
918
921
|
finalize
|
919
922
|
end
|
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.109
|
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-06-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: test-unit
|