workforce 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/workforce/controller.rb +2 -2
- data/workforce.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.3
|
data/lib/workforce/controller.rb
CHANGED
@@ -103,9 +103,9 @@ module Workforce
|
|
103
103
|
end
|
104
104
|
|
105
105
|
def run_callbacks(event)
|
106
|
-
Config.instance.before(
|
106
|
+
Config.instance.before(event).each { |callback| callback.call }
|
107
107
|
yield
|
108
|
-
Config.instance.after(
|
108
|
+
Config.instance.after(event).each { |callback| callback.call }
|
109
109
|
end
|
110
110
|
|
111
111
|
def pid_file(worker_klass)
|
data/workforce.gemspec
CHANGED