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: 9,240 of 198,025
Downloads: 432,598

Daily

Ranking: 15,010 of 197,989
Downloads: 40

Depended by

RankDownloadsName
13,002204,525resque-progress
37,06636,755patella
44,46128,759resque-result
48,59025,537resque-integration
68,16215,990resque-job-tracking
81,03712,327travis-ruby
147,5214,264resque-single

Depends on

RankDownloadsName
81,452,458,801rake
91,419,663,551json
95655,550,090resque

Owners

#GravatarHandle
1iconlmarlow