forked from keylimetoolbox/resque-kubernetes
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathresque-kubernetes.gemspec
More file actions
32 lines (26 loc) · 1.19 KB
/
resque-kubernetes.gemspec
File metadata and controls
32 lines (26 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# frozen_string_literal: true
lib = File.expand_path("lib", __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "resque/kubernetes/version"
Gem::Specification.new do |spec|
spec.name = "resque-kubernetes"
spec.version = Resque::Kubernetes::VERSION
spec.authors = ["Jeremy Wadsack"]
spec.email = ["jeremy.wadsack@gmail.com"]
spec.summary = "Run Resque Jobs as Kubernetes Jobs"
spec.description = "Launches a Kubernetes Job when a Resque Job is enqueued, then " \
"terminates the worker when there are no more jobs in the queue."
spec.homepage = "https://github.com/keylimetoolbox/resque-kubernetes"
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.required_ruby_version = ">= 3.0"
spec.add_dependency "kubeclient", ">= 4.9.3", "< 5.0"
spec.add_dependency "resque", ">= 1.26"
spec.add_dependency "retriable", "~> 3.0"
spec.metadata["rubygems_mfa_required"] = "true"
end