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,577 of 189,726
Downloads: 423,965

Daily

Ranking: 17,164 of 189,704
Downloads: 10

Depended by

RankDownloadsName
12,291197,477resque-progress
35,18036,244patella
42,22828,463resque-result
49,25423,124resque-integration
66,09115,459resque-job-tracking
79,24511,801travis-ruby
145,7773,993resque-single

Depends on

RankDownloadsName
91,240,985,080rake
121,203,710,126json
94350,745,901resque

Owners

#GravatarHandle
1iconlmarlow