Gem::Specification.new do |s|
  s.name              = 'resque-lock-timeout'
  s.version           = '0.3.1'
  s.date              = Time.now.strftime('%Y-%m-%d')
  s.summary           = 'A Resque plugin adding locking, with optional timeout/deadlock handling to resque jobs.'
  s.homepage          = 'http://github.com/lantins/resque-lock-timeout'
  s.email             = 'luke@lividpenguin.com'
  s.authors           = ['Luke Antins', 'Ryan Carver', 'Chris Wanstrath']
  s.has_rdoc          = false

  s.files             = %w(README.md Rakefile LICENSE HISTORY.md)
  s.files            += Dir.glob('lib/**/*')
  s.files            += Dir.glob('test/**/*')

  s.add_dependency('resque', '>= 1.8.0')
  s.add_development_dependency('turn')
  s.add_development_dependency('yard')
  s.add_development_dependency('rdiscount')

  s.description       = <<desc
  A Resque plugin. Adds locking, with optional timeout/deadlock handling to
  resque jobs.

  Using a `lock_timeout` allows you to re-aquire the lock should your worker
  fail, crash, or is otherwise unable to relase the lock.
  
  i.e. Your server unexpectedly looses power. Very handy for jobs that are
  recurring or may be retried.
desc
end

Gem::Specification.new do |s|
  s.name              = 'resque-lock-timeout'
  s.version           = '0.3.1'
  s.date              = Time.now.strftime('%Y-%m-%d')
  s.summary           = 'A Resque plugin adding locking, with optional timeout/deadlock handling to resque jobs.'
  s.homepage          = 'http://github.com/lantins/resque-lock-timeout'
  s.email             = 'luke@lividpenguin.com'
  s.authors           = ['Luke Antins', 'Ryan Carver', 'Chris Wanstrath']
  s.has_rdoc          = false

  s.files             = %w(README.md Rakefile LICENSE HISTORY.md)
  s.files            += Dir.glob('lib/**/*')
  s.files            += Dir.glob('test/**/*')

  s.add_dependency('resque', '>= 1.8.0')
  s.add_development_dependency('rake')
  s.add_development_dependency('turn')
  s.add_development_dependency('yard')
  s.add_development_dependency('rdiscount')

  s.description       = <<desc
  A Resque plugin. Adds locking, with optional timeout/deadlock handling to
  resque jobs.

  Using a `lock_timeout` allows you to re-aquire the lock should your worker
  fail, crash, or is otherwise unable to relase the lock.
  
  i.e. Your server unexpectedly looses power. Very handy for jobs that are
  recurring or may be retried.
desc
end

Add `rake` gem as development dependency.
Add `rake` gem as development dependency.