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

29 commits

Author SHA1 Message Date
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
f71147ecb0 Use markdown instead of rdoc 2014-05-19 12:06:24 +02:00
David Heinemeier Hansson
211ce71400 Add GlobalID support for serialization 2014-05-19 12:06:09 +02:00
David Heinemeier Hansson
65bf5f101e Spacing 2014-05-19 11:05:34 +02:00
David Heinemeier Hansson
60d76c5651 Extract QueueName into its own module 2014-05-19 11:04:23 +02:00
David Heinemeier Hansson
935f53bd5a Fix for the new adapter setter 2014-05-19 11:00:00 +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
David Heinemeier Hansson
e06e64efd3 Merge pull request #9 from cristianbica/delayed_job_adapter
Implemented delayed_job support
2014-05-19 10:54:30 +02:00
Cristian Bica
6e18a7469f Modified readme 2014-05-19 11:47:12 +03: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
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