weel 1.99.125 → 1.99.126

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/weel.rb +7 -7
  3. data/weel.gemspec +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6838b35c90188d87942d5f17b1d7c37a833a6918cbd6b3701094b4c7c5197213
4
- data.tar.gz: '08e6930846e12ead9eb55fd3de58a6bce02aa6105f92b768a9b24421c1067b4f'
3
+ metadata.gz: 60a41686ed63dd69b44c606cc695cfe066d47b7abc183cdd21404307b985895e
4
+ data.tar.gz: dbe0042ffcb494fbba0ec4a56b0a1c4e6943e97c99a954edea19d16be69a0589
5
5
  SHA512:
6
- metadata.gz: a3e4470dd2868f1f7a5ab2d2ded5339d42330c1cd2ec239a63c9be589d6c64faf284ddaf3d891abac67669c637702041ee600685e21f3461680a2c9fb3dbe554
7
- data.tar.gz: d7ee1c97b9e3169fb1acf19dc1ca84abdd5fc5de35f4ded4f9ccdfbb959c3747a9e6697ca9071c79000a3a6520a8d3df4f9bf1316735469751c59fbc62d9e915
6
+ metadata.gz: 5147adca88e3b08f54d972d39a625b1e12f360be7475799324f84029492d8c1b4912e43a700ad142fe4e349f86507642cd55ed8e22aedb5e74733eb01a1b6678
7
+ data.tar.gz: 543e59f9b75781ac2d87930584fb84032a991e5157dd18a549946ac9c222046ba44c74bae8f76b21138bef46c4a795694cdb3617a47cbe69ce2d0cbf671df7eb
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(*vars,&block)# {{{
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(*vars) do |*local|
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,Exception.new(err.message),nil)
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("eval_condition: `#{err.name}` is not a thing that can be used. Maybe it is meant to be a string and you forgot quotes?"),nil)
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,Exception.new(err.message),nil)
751
+ @__weel_connectionwrapper::inform_syntax_error(@__weel_connectionwrapper_args,err,nil)
752
752
  nil
753
753
  end
754
754
  end #}}}
@@ -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,Exception.new(se.message),code)
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,Exception.new(err.message),code)
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
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "weel"
3
- s.version = "1.99.125"
3
+ s.version = "1.99.126"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.license = "LGPL-3.0-or-later"
6
6
  s.summary = "Workflow Execution Engine Library (WEEL)"
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.125
4
+ version: 1.99.126
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen eTM Mangler