# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'sidekiq/pool/version'

Gem::Specification.new do |spec|
  spec.name          = 'sidekiq-pool'
  spec.version       = Sidekiq::Pool::VERSION
  spec.authors       = ['Laurynas Butkus']
  spec.email         = ['laurynas.butkus@gmail.com']

  spec.summary       = %q{Forks and manages multiple Sidekiq processes}
  spec.description   = %q{Allows Sidekiq using more CPU cores on Ruby MRI by forking multiple processes.}
  spec.homepage      = 'https://github.com/laurynas/sidekiq-pool'
  spec.license       = 'MIT'

  spec.files         = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
  spec.executables   = ['sidekiq-pool']
  spec.require_paths = ['lib']

  spec.add_dependency 'sidekiq', '~> 4.0'

  spec.add_development_dependency 'bundler', '~> 1.11'
  spec.add_development_dependency 'rake', '~> 10.0'
  spec.add_development_dependency 'rspec', '~> 3.0'
end

# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'sidekiq/pool/version'

Gem::Specification.new do |spec|
  spec.name          = 'sidekiq-pool'
  spec.version       = Sidekiq::Pool::VERSION
  spec.authors       = ['Laurynas Butkus']
  spec.email         = ['laurynas.butkus@gmail.com']

  spec.summary       = %q{Forks and manages multiple Sidekiq processes}
  spec.description   = %q{Allows Sidekiq using more CPU cores on Ruby MRI by forking multiple processes.}
  spec.homepage      = 'https://github.com/laurynas/sidekiq-pool'
  spec.license       = 'MIT'

  spec.files         = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
  spec.executables   = ['sidekiq-pool']
  spec.require_paths = ['lib']

  spec.add_dependency 'sidekiq', '>= 4.0', '< 5.1'

  spec.add_development_dependency 'bundler', '~> 1.11'
  spec.add_development_dependency 'rake', '~> 10.0'
  spec.add_development_dependency 'rspec', '~> 3.0'
end

Add support for Sidekiq 5.0
Add support for Sidekiq 5.0
