Ruby's missing batch system
Checkout http://rocketjob.io/
- Questions? Join the chat room on Gitter for rocketjob support
- Report bugs
V3 replaces MongoMapper with Mongoid which supports the latest MongoDB Ruby client driver.
Replace mongo.yml with mongoid.yml.
Start with the sample mongoid.yml.
For more information on the new Mongoid config file.
Note: The rocketjob and rocketjob_slices clients in the above mongoid.yml file are required.
-
Arguments are no longer supported, use fields for defining all named arguments for a job.
-
Replace usages of
rocket_job doto set default values:
rocket_job do |job|
job.priority = 25
endWith:
self.priority = 25- Replace
keywithfieldwhen adding attributes to a job:
key :inquiry_defaults, HashWith:
field :inquiry_defaults, type: Hash, default: {}- Replace usage of
public_rocket_job_propertieswith theuser_editableoption:
field :priority, type: Integer, default: 50, user_editable: trueRocket Job is tested and supported on the following Ruby platforms:
- Ruby 2.1, 2.2, 2.3, 2.4, and above
- JRuby 9.0.5 and above
This project uses Semantic Versioning.