weel 1.99.125 → 1.99.127
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 -9
- 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: f160d41131af38c3087b40f26a0ba6bd05525e1dd4fe7aadb41246bd8b0b3eb9
|
4
|
+
data.tar.gz: ff7f466bddefecaa975670d6977abacc1fbf2bde393c1a5cfd4f3a4abe38af88
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 96b9d6cdfc740ecea0210a57a72277c75d313c3a8318a4ca69e8a1d1500ce0ab213c276e90b97a696eb365647553b3cd7ca45cd6a45366c52f4f86a62e15b15a
|
7
|
+
data.tar.gz: 1f430d38d063a362be2f286ccbfe2e3201b08049143c04fabbdc78289c4456b6a6b1d59f5a10ce2796e6531ca82f3ae570aa86163ae1e897361b44d6a73c7488
|
data/lib/weel.rb
CHANGED
@@ -527,11 +527,11 @@ class WEEL
|
|
527
527
|
end # }}}
|
528
528
|
|
529
529
|
# Defines a branch of a parallel-Construct
|
530
|
-
def parallel_branch(
|
530
|
+
def parallel_branch(data=@__weel_data,&block)# {{{
|
531
531
|
return if self.__weel_state == :stopping || self.__weel_state == :finishing || self.__weel_state == :stopped || Thread.current[:nolongernecessary]
|
532
532
|
branch_parent = Thread.current
|
533
533
|
|
534
|
-
branch_parent[:branches] << Thread.new(
|
534
|
+
branch_parent[:branches] << Thread.new(data) do |*local|
|
535
535
|
Thread.current.abort_on_exception = true
|
536
536
|
Thread.current[:branch_search] = @__weel_search_positions.any?
|
537
537
|
Thread.current[:branch_parent] = branch_parent
|
@@ -732,7 +732,7 @@ class WEEL
|
|
732
732
|
nil
|
733
733
|
rescue => err
|
734
734
|
self.__weel_state = :stopping
|
735
|
-
@__weel_connectionwrapper::inform_syntax_error(@__weel_connectionwrapper_args,
|
735
|
+
@__weel_connectionwrapper::inform_syntax_error(@__weel_connectionwrapper_args,err,nil)
|
736
736
|
nil
|
737
737
|
end
|
738
738
|
end #}}}
|
@@ -744,11 +744,11 @@ class WEEL
|
|
744
744
|
rescue NameError => err # don't look into it, or it will explode
|
745
745
|
# if you access $! here, BOOOM
|
746
746
|
self.__weel_state = :stopping
|
747
|
-
@__weel_connectionwrapper::inform_syntax_error(@__weel_connectionwrapper_args,Exception.new("
|
747
|
+
@__weel_connectionwrapper::inform_syntax_error(@__weel_connectionwrapper_args,Exception.new("protect_yield: `#{err.name}` is not a thing that can be used. Maybe it is meant to be a string and you forgot quotes?"),nil)
|
748
748
|
nil
|
749
749
|
rescue => err
|
750
750
|
self.__weel_state = :stopping
|
751
|
-
@__weel_connectionwrapper::inform_syntax_error(@__weel_connectionwrapper_args,
|
751
|
+
@__weel_connectionwrapper::inform_syntax_error(@__weel_connectionwrapper_args,err,nil)
|
752
752
|
nil
|
753
753
|
end
|
754
754
|
end #}}}
|
@@ -829,7 +829,7 @@ class WEEL
|
|
829
829
|
@__weel_connectionwrapper::inform_position_change @__weel_connectionwrapper_args, :after => [wp]
|
830
830
|
end
|
831
831
|
when :call
|
832
|
-
again = catch Signal::Again do
|
832
|
+
again = catch Signal::Again do # Will be nil if we do not throw (using default connectionwrapper)
|
833
833
|
connectionwrapper.mem_guard
|
834
834
|
params = connectionwrapper.prepare(@__weel_lock,@__weel_data,@__weel_endpoints,@__weel_status,Thread.current[:local],connectionwrapper.additional,prepare,endpoint,parameters)
|
835
835
|
|
@@ -894,7 +894,7 @@ class WEEL
|
|
894
894
|
wp.detail = :after
|
895
895
|
@__weel_connectionwrapper::inform_position_change @__weel_connectionwrapper_args, :after => [wp]
|
896
896
|
end
|
897
|
-
end # there is a catch
|
897
|
+
end while again == Signal::Again # there is a catch
|
898
898
|
end
|
899
899
|
raise Signal::Proceed
|
900
900
|
rescue Signal::SkipManipulate, Signal::Proceed
|
@@ -1089,13 +1089,13 @@ public
|
|
1089
1089
|
end
|
1090
1090
|
rescue SyntaxError => se
|
1091
1091
|
@dslr.__weel_state = :stopping
|
1092
|
-
@dslr.__weel_connectionwrapper::inform_syntax_error(@dslr.__weel_connectionwrapper_args,
|
1092
|
+
@dslr.__weel_connectionwrapper::inform_syntax_error(@dslr.__weel_connectionwrapper_args,se,code)
|
1093
1093
|
rescue NameError => err # don't look into it, or it will explode
|
1094
1094
|
@dslr.__weel_state = :stopping
|
1095
1095
|
@dslr.__weel_connectionwrapper::inform_syntax_error(@dslr.__weel_connectionwrapper_args,Exception.new("main: `#{err.name}` is not a thing that can be used. Maybe it is meant to be a string and you forgot quotes?"),code)
|
1096
1096
|
rescue => err
|
1097
1097
|
@dslr.__weel_state = :stopping
|
1098
|
-
@dslr.__weel_connectionwrapper::inform_syntax_error(@dslr.__weel_connectionwrapper_args,
|
1098
|
+
@dslr.__weel_connectionwrapper::inform_syntax_error(@dslr.__weel_connectionwrapper_args,err,code)
|
1099
1099
|
end
|
1100
1100
|
if @dslr.__weel_state == :running || @dslr.__weel_state == :finishing
|
1101
1101
|
ipc = { :unmark => [] }
|
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.127
|
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: 2024-09-
|
12
|
+
date: 2024-09-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: test-unit
|