opee 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +2 -6
- data/lib/opee/actor.rb +1 -0
- data/lib/opee/collector.rb +2 -1
- data/lib/opee/env.rb +2 -1
- data/lib/opee/version.rb +1 -1
- metadata +2 -2
data/README.md
CHANGED
@@ -24,13 +24,9 @@ Give it a try. Any comments, thoughts, or suggestions are welcome.
|
|
24
24
|
|
25
25
|
## <a name="release">Release Notes</a>
|
26
26
|
|
27
|
-
### Release 1.0.
|
27
|
+
### Release 1.0.1
|
28
28
|
|
29
|
-
-
|
30
|
-
|
31
|
-
- Use Actor name in log messages if set
|
32
|
-
|
33
|
-
- Added Actor lookup by name
|
29
|
+
- Fixed bug in Exception handling
|
34
30
|
|
35
31
|
# Plans and Notes
|
36
32
|
|
data/lib/opee/actor.rb
CHANGED
data/lib/opee/collector.rb
CHANGED
@@ -41,6 +41,7 @@ module Opee
|
|
41
41
|
# Actor or if it should wait until more processing paths have
|
42
42
|
# finished. This method is executed asynchronously.
|
43
43
|
# @param [Job|Object] job data to process or pass on
|
44
|
+
# @param [Object] path_id identifier of the path the request came from
|
44
45
|
def collect(job, path_id=nil)
|
45
46
|
key = job_key(job)
|
46
47
|
token = @cache[key]
|
@@ -95,7 +96,7 @@ module Opee
|
|
95
96
|
job.keep_going()
|
96
97
|
else
|
97
98
|
# TBD @next_actor = Env.find_actor(@next_actor) if @next_actor.is_a?(Symbol)
|
98
|
-
@next_actor.send(@next_method, job)
|
99
|
+
@next_actor.send(@next_method, job) unless @next_actor.nil? || @next_method.nil?
|
99
100
|
end
|
100
101
|
end
|
101
102
|
|
data/lib/opee/env.rb
CHANGED
@@ -120,6 +120,7 @@ module Opee
|
|
120
120
|
# rescue() method is called.
|
121
121
|
# @param [Exception] ex Exception to handle
|
122
122
|
def self.rescue(ex)
|
123
|
+
puts "*** rescue"
|
123
124
|
begin
|
124
125
|
log_rescue(ex)
|
125
126
|
@@rescuer.rescue(ex) unless @@rescuer.nil?
|
@@ -141,7 +142,7 @@ module Opee
|
|
141
142
|
if Logger::Severity::WARN >= @@log.level
|
142
143
|
ex.backtrace.each { |line| msg << " #{line}\n" }
|
143
144
|
end
|
144
|
-
|
145
|
+
log(Logger::Severity::ERROR, msg)
|
145
146
|
end
|
146
147
|
|
147
148
|
# Returns the current Log Actor. If the current logger is nil then a new
|
data/lib/opee/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opee
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-05-
|
12
|
+
date: 2012-05-18 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: ! 'An experimental Object-base Parallel Evaluation Environment. '
|
15
15
|
email: peter@ohler.com
|