Sha256: 0a06d93fbf56e0abc56f4562aff49bdb029f85d3ada5147e10381ac4df5c897b

Contents?: true

Size: 1.64 KB

Versions: 1

Compression:

Stored size: 1.64 KB

Contents

lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'sidekiq_alive/version'

Gem::Specification.new do |spec|
  spec.name          = 'sidekiq-alive-next'
  spec.version       = SidekiqAlive::VERSION
  spec.authors       = ['Andrejs Cunskis']
  spec.email         = ['andrejs.cunskis@gmail.com']

  spec.summary       = 'Liveness probe for sidekiq on Kubernetes deployments.'
  spec.description   = 'SidekiqAlive offers a solution to add liveness probe of a Sidekiq instance.

  How?

  A http server is started and on each requests validates that a liveness key is stored in Redis. If it is there means is working.

  A Sidekiq job is the responsable to storing this key. If Sidekiq stops processing jobs
  this key gets expired by Redis an consequently the http server will return a 500 error.

  This Job is responsible to requeue itself for the next liveness probe.'
  spec.homepage      = 'https://github.com/andrcuns/sidekiq-alive'
  spec.license       = 'MIT'

  spec.files         = `git ls-files -z`.split("\x0").reject do |f|
    f.match(%r{^(test|spec|features)/})
  end
  spec.bindir        = 'exe'
  spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  spec.require_paths = ['lib']

  spec.add_development_dependency 'bundler', '> 1.16'
  spec.add_development_dependency 'mock_redis'
  spec.add_development_dependency 'rack-test'
  spec.add_development_dependency 'rake', '~> 13.0'
  spec.add_development_dependency 'rspec', '~> 3.0'
  spec.add_development_dependency 'rspec-sidekiq', '~> 3.0'
  spec.add_dependency 'sidekiq', '>= 5', '< 7'
  spec.add_dependency 'webrick', '>= 1', '< 2'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sidekiq-alive-next-2.2.0 sidekiq_alive.gemspec