weel 1.99.85 → 1.99.88
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.
- checksums.yaml +4 -4
- data/lib/weel.rb +21 -19
- 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: 26837244dc867c672c8999f93f835092edbe37c02a61d1aad43b0e9b4e9566bf
|
|
4
|
+
data.tar.gz: b929d66dc9050ad20a130412d219de79715e27b9bed2e2df9c0b67cbe4621471
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a1e2c147083f56c6b2e1229414e118fe2387ed54cab963ae418c8e8b2142bfb7b70fced4fb1d731bc95e2093848fe79011242171c1cdcb469b3ffbe5880b3550
|
|
7
|
+
data.tar.gz: 59b6025af6e055145637abb28e988693e09c23771cf7f2747fd850dafe635db6c72f512a727320e0ff42fa4ba9218aee2ff30d9e816051a6cbb143b71eab4e01
|
data/lib/weel.rb
CHANGED
|
@@ -288,7 +288,7 @@ class WEEL
|
|
|
288
288
|
end
|
|
289
289
|
def as_json(*)
|
|
290
290
|
jsn = { 'position' => @position }
|
|
291
|
-
jsn['
|
|
291
|
+
jsn['passthrough'] = @passthrough if @passthrough
|
|
292
292
|
jsn
|
|
293
293
|
end
|
|
294
294
|
def to_s
|
|
@@ -669,24 +669,26 @@ class WEEL
|
|
|
669
669
|
|
|
670
670
|
def __weel_progress(searchmode, position, skip=false) #{{{
|
|
671
671
|
ipc = {}
|
|
672
|
-
if
|
|
673
|
-
|
|
674
|
-
ipc[:
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
if Thread.current[:branch_position]
|
|
683
|
-
@__weel_positions.delete Thread.current[:branch_position]
|
|
684
|
-
ipc[:unmark] ||= []
|
|
685
|
-
ipc[:unmark] << Thread.current[:branch_position] rescue nil
|
|
686
|
-
end
|
|
687
|
-
wp = WEEL::Position.new(position, skip ? :after : :at, nil)
|
|
688
|
-
ipc[skip ? :after : :at] = [wp]
|
|
672
|
+
if Thread.current[:branch_parent] && Thread.current[:branch_parent][:branch_position]
|
|
673
|
+
@__weel_positions.delete Thread.current[:branch_parent][:branch_position]
|
|
674
|
+
ipc[:unmark] ||= []
|
|
675
|
+
ipc[:unmark] << Thread.current[:branch_parent][:branch_position] rescue nil
|
|
676
|
+
Thread.current[:branch_parent][:branch_position] = nil
|
|
677
|
+
end
|
|
678
|
+
if Thread.current[:branch_position]
|
|
679
|
+
@__weel_positions.delete Thread.current[:branch_position]
|
|
680
|
+
ipc[:unmark] ||= []
|
|
681
|
+
ipc[:unmark] << Thread.current[:branch_position] rescue nil
|
|
689
682
|
end
|
|
683
|
+
wp = WEEL::Position.new(position, skip ? :after : :at, nil)
|
|
684
|
+
ipc[skip ? :after : :at] = [wp]
|
|
685
|
+
|
|
686
|
+
@__weel_search_positions.each do |k,ele| # some may still be in active search but lets unmark them for good measure
|
|
687
|
+
ipc[:unmark] ||= []
|
|
688
|
+
ipc[:unmark] << ele
|
|
689
|
+
true
|
|
690
|
+
end
|
|
691
|
+
|
|
690
692
|
@__weel_positions << wp
|
|
691
693
|
Thread.current[:branch_position] = wp
|
|
692
694
|
|
|
@@ -910,7 +912,7 @@ class WEEL
|
|
|
910
912
|
branch = branch[:branch_parent]
|
|
911
913
|
branch[:branch_search] = false
|
|
912
914
|
end
|
|
913
|
-
@__weel_search_positions[position].detail == :after
|
|
915
|
+
@__weel_search_positions[position].detail == :after
|
|
914
916
|
else
|
|
915
917
|
branch[:branch_search] = true
|
|
916
918
|
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.88
|
|
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: 2020-
|
|
12
|
+
date: 2020-09-23 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: test-unit
|