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,475 of 188,277
Downloads: 422,040

Daily

Ranking: 26,145 of 188,252
Downloads: 20

Depended by

RankDownloadsName
12,169195,994resque-progress
34,86536,108patella
41,80728,407resque-result
49,66422,537resque-integration
65,92315,288resque-job-tracking
79,58211,562travis-ruby
145,9183,934resque-single

Depends on

RankDownloadsName
101,189,560,286rake
121,161,629,854json
93649,635,232resque

Owners

#GravatarHandle
1iconlmarlow