Gem::Specification.new do |s|
  s.name              = "resque-lock"
  s.version           = "1.1.1"
  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.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
