resque-access_worker_from_job 0.2.0 → 0.2.1
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/README.rdoc +1 -1
- data/VERSION +1 -1
- data/lib/resque-access_worker_from_job.rb +1 -1
- data/resque-access_worker_from_job.gemspec +1 -1
- metadata +1 -1
data/README.rdoc
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Small plugin allowing the +perform+ method of Resque jobs to access the worker running them via the cleverly-named +worker+ instance variable.
|
|
4
4
|
|
|
5
|
-
Purpose: this allows jobs to access shared sockets in the parent worker.
|
|
5
|
+
Purpose: this allows jobs to access shared sockets in the parent worker, which I needed to implement a persistent TCP connection for {sending background iPhone messages via Apple's Push Notification Service}[http://github.com/kdonovan/apple_push_notification].
|
|
6
6
|
|
|
7
7
|
As additional functionality, it can also abort a job gracefully if it's picked up by the wrong worker
|
|
8
8
|
class, which is useful if you've subclassed Resque::Worker to add your own functionality and need to ensure
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.2.
|
|
1
|
+
0.2.1
|
|
@@ -1 +1 @@
|
|
|
1
|
-
require File.
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__)) + "/resque/plugins/access_worker_from_job.rb"
|