weel 1.99.9 → 1.99.10

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 (3) hide show
  1. data/lib/weel.rb +2 -0
  2. data/weel.gemspec +1 -1
  3. metadata +2 -2
@@ -70,6 +70,7 @@ class WEEL
70
70
  class Proceed < Exception; end
71
71
  class NoLongerNecessary < Exception; end
72
72
  class Again < Exception; end
73
+ class Error < Exception; end
73
74
  end # }}}
74
75
 
75
76
  class ReadStructure # {{{
@@ -628,6 +629,7 @@ class WEEL
628
629
  waitingresult = nil
629
630
  waitingresult = Thread.current[:continue].wait unless Thread.current[:nolongernecessary] || self.__weel_state == :stopping || self.__weel_state == :stopped
630
631
  raise waitingresult if !waitingresult.nil? && waitingresult.is_a?(Signal::Again)
632
+ raise waitingresult[1] if !waitingresult.nil? && waitingresult.is_a?(Array) && waitingresult.length == 2 && waitingresult[0].is_a?(Signal::Error)
631
633
 
632
634
  if Thread.current[:nolongernecessary]
633
635
  handlerwrapper.activity_no_longer_necessary
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "weel"
3
- s.version = "1.99.9"
3
+ s.version = "1.99.10"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.license = "LGPL-3"
6
6
  s.summary = "Preliminary release of the 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.9
4
+ version: 1.99.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-04-03 00:00:00.000000000 Z
13
+ date: 2014-04-17 00:00:00.000000000 Z
14
14
  dependencies: []
15
15
  description: see http://cpee.org
16
16
  email: juergen.mangler@gmail.com