Categories: None [Edit]

resque-meta

https://rubygems.org/gems/resque-meta
https://github.com/lmarlow/resque-meta
A Resque plugin. If you want to be able to add metadata for a job to track anything you want, extend it with this module. For example: require 'resque-meta' class MyJob extend Resque::Plugins::Meta def self.perform(meta_id, *args) heavy_lifting end end meta0 = MyJob.enqueue('stuff') meta0.enqueued_at # => 'Wed May 19 13:42:41 -0600 2010' meta0.meta_id # => '03c9e1a045ad012dd20500264a19273c' meta0['foo'] = 'bar' # => 'bar' meta0.save # later meta1 = MyJob.get_meta('03c9e1a045ad012dd20500264a19273c') meta1.job_class # => MyJob meta1.enqueued_at # => 'Wed May 19 13:42:41 -0600 2010' meta1['foo'] # => 'bar'

Total

Ranking: 8,928 of 193,373
Downloads: 428,517

Daily

Ranking: 31,872 of 193,360
Downloads: 5

Depended by

RankDownloadsName
12,644201,454resque-progress
36,02136,515patella
43,23228,605resque-result
48,71624,344resque-integration
66,84615,734resque-job-tracking
79,77712,085travis-ruby
145,5714,150resque-single

Depends on

RankDownloadsName
81,335,749,951rake
111,289,302,624json
94452,805,633resque

Owners

#GravatarHandle
1iconlmarlow