# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)

Gem::Specification.new do |s|
  s.name        = "resque-multi-job-forks"
  s.version     = "0.5.5"
  s.authors     = ["Mick Staugaard", "Luke Antins", 'Sergio Tulentsev']
  s.email       = ["mick@zendesk.com", "luke@lividpenguin.com", 'sergei.tulentsev@gmail.com']
  s.homepage    = "https://github.com/stulentsev/resque-multi-job-forks"
  s.summary     = "Have your resque workers process more that one job"
  s.description = "When your resque jobs are frequent and fast, the overhead of forking and running your after_fork might get too big."

  # Depends on minor version, due to monkeypatches Resque::Worker internals.
  s.add_runtime_dependency("resque", ">= 1.27.0", "< 2.3")
  s.add_runtime_dependency("json")

  s.add_development_dependency("test-unit")
  s.add_development_dependency("bundler")
  s.add_development_dependency("rake")

  s.files         = Dir["lib/**/*"]
  s.test_files    = Dir["test/**/*"]
  s.require_paths = ["lib"]
end

# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)

Gem::Specification.new do |s|
  s.name        = "resque-multi-job-forks"
  s.version     = "0.5.5"
  s.authors     = ["Mick Staugaard", "Luke Antins", 'Sergio Tulentsev']
  s.email       = ["mick@zendesk.com", "luke@lividpenguin.com", 'sergei.tulentsev@gmail.com']
  s.homepage    = "https://github.com/stulentsev/resque-multi-job-forks"
  s.summary     = "Have your resque workers process more that one job"
  s.description = "When your resque jobs are frequent and fast, the overhead of forking and running your after_fork might get too big."

  # Depends on minor version, due to monkeypatches Resque::Worker internals.
  s.add_runtime_dependency("resque", ">= 1.27.0", "< 2.5")
  s.add_runtime_dependency("json")

  s.add_development_dependency("test-unit")
  s.add_development_dependency("bundler")
  s.add_development_dependency("rake")

  s.files         = Dir["lib/**/*"]
  s.test_files    = Dir["test/**/*"]
  s.require_paths = ["lib"]
end

Allow Resque 2.3 and 2.4
Allow Resque 2.3 and 2.4
