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.
- data/lib/weel.rb +2 -0
- data/weel.gemspec +1 -1
- metadata +2 -2
data/lib/weel.rb
CHANGED
|
@@ -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
|
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.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-
|
|
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
|