Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: c4bce3e712
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (24 sloc) 0.902 kb
Gem::Specification.new do |s|
s.name = "resque-lock"
s.version = "1.0.0"
s.date = Time.now.strftime('%Y-%m-%d')
s.summary = "A Resque plugin for ensuring only one instance of your job is queued at a time."
s.homepage = "http://github.com/defunkt/resque-lock"
s.email = "chris@ozmm.org"
s.authors = [ "Chris Wanstrath", "Ray Krueger" ]
s.has_rdoc = false
s.files = %w( README.md Rakefile LICENSE )
s.files += Dir.glob("lib/**/*")
s.files += Dir.glob("test/**/*")
s.description = <<desc
A Resque plugin. If you want only one instance of your job
queued at a time, extend it with this module.
For example:
class UpdateNetworkGraph
extend Resque::Jobs::Locked
def self.perform(repo_id)
heavy_lifting
end
end
desc
end
Jump to Line
Something went wrong with that request. Please try again.