Cristian Bica
d3ff144f89
Implemented delayed job
2014-05-19 11:41:04 +03:00
David Heinemeier Hansson
fd1e61adfc
Dont need the explicit error handling -- if the require fails, it will raise exactly the error we want to communicate anyway. Also use the load path, so we can allow plugins, rather than requre_relative
2014-05-19 10:15:19 +02:00
David Heinemeier Hansson
d7c30987ff
Merge pull request #10 from seuros/master
...
Lazy-load adapters, fixes #6
2014-05-19 09:43:47 +02:00
Abdelkader Boudih
91461dc7a9
Lazy-load adapters, fixes #6
2014-05-18 20:59:12 +00:00
David Heinemeier Hansson
d3bc4499a2
List adapters supported and wanted
2014-05-18 21:37:16 +02:00
David Heinemeier Hansson
e5feb8b764
With dependencies for Sidekiq and Sucker Punch
2014-05-18 21:37:01 +02:00
David Heinemeier Hansson
12705fa568
Merge pull request #5 from seuros/master
...
Add Sidekiq adapter/wrapper fixes #3
2014-05-18 21:23:43 +02:00
Abdelkader Boudih
68543de836
Add Sucker Punch adapter/wrapper
2014-05-18 19:20:06 +00:00
Abdelkader Boudih
53f08f9868
Correct typo in version.rb
2014-05-18 19:11:03 +00:00
Abdelkader Boudih
a712c07c7f
Add Sidekiq adapter/wrapper fixes #3
2014-05-18 19:02:02 +00:00
David Heinemeier Hansson
ce124a19e5
Merge pull request #1 from charliesome/patch-1
...
Clean up JobWrappers::ResqueWrapper.perform
2014-05-18 17:38:27 +02:00
Charlie Somerville
2ac1a02102
Clean up JobWrappers::ResqueWrapper.perform
...
This is not only easier to read, but it'll also properly raise an ArgumentError rather than a NoMethodError when called with no arguments.
It also allocates 4 fewer objects per call (8 down from 12), and is about 50% faster according to a quick benchmark.
2014-05-19 01:27:50 +10:00
David Heinemeier Hansson
b32fdd5731
Queue naming with a base, which requires a JobWrapper to comply to Resques expectation of a class variable
2014-05-18 16:24:30 +02:00
David Heinemeier Hansson
eed52c8808
Add ResqueAdapter and provide test infrastructure for the now multiple adapters
2014-05-18 13:11:00 +02:00
David Heinemeier Hansson
30973e35a0
Rename to InlineAdapter to match *Adapter form, even if the queue is embedded in there too
2014-05-18 13:10:34 +02:00
David Heinemeier Hansson
08a2ba99e0
Simplest job and inline queue
2014-05-18 12:32:22 +02:00
David Heinemeier Hansson
60d13d638e
Run tests through Rake
2014-05-18 12:30:57 +02:00
David Heinemeier Hansson
a832bc387b
Skeleton gem
2014-05-18 11:44:28 +02:00