RubyGems Navigation menu

resque-meta 2.0.1

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'

Gemfile:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 2.0.1 - November 27, 2013 (10.5 KB)
  2. 2.0.0 - December 05, 2012 (10.5 KB)
  3. 1.0.3 - February 10, 2011 (9.5 KB)
  4. 1.0.2 - November 04, 2010 (9.5 KB)
  5. 1.0.1 - September 11, 2010 (9.5 KB)
显示所有版本 (共 6 个)

Runtime 依赖 (1):

resque ~> 1.8

Development 依赖 (2):

json >= 0
rake ~> 0.9.2

业主:

作者:

  • Lee Marlow

SHA 256 校验和:

452a30eb9b006af3555ff47232ea58fadd6ad3fed422f4e2670fba1f81d2be3b

下载总量 399,538

这个版本 202,611

许可:

需要的 Ruby 版本:

链接: