1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

19 commits

Author SHA1 Message Date
David Heinemeier Hansson
afb3d4f9e5 Move to instance method and document usage 2014-05-19 12:46:27 +02:00
David Heinemeier Hansson
37b13cdd1f No need to qualify the Parameters class with the namespace 2014-05-19 12:36:01 +02:00
David Heinemeier Hansson
501cc60ff2 Inline the job wrappers 2014-05-19 12:34:27 +02:00
David Heinemeier Hansson
211ce71400 Add GlobalID support for serialization 2014-05-19 12:06:09 +02:00
David Heinemeier Hansson
60d76c5651 Extract QueueName into its own module 2014-05-19 11:04:23 +02:00
David Heinemeier Hansson
dc20f7d4d4 Merge branch 'master' of github.com:rails/activejob 2014-05-19 10:56:08 +02:00
David Heinemeier Hansson
c334bea362 Extract QueueAdapter module for setting and looking up adapters 2014-05-19 10:55:57 +02:00
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
Abdelkader Boudih
91461dc7a9 Lazy-load adapters, fixes #6 2014-05-18 20:59:12 +00: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
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
a832bc387b Skeleton gem 2014-05-18 11:44:28 +02:00