forked from keylimetoolbox/resque-kubernetes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathresque-kubernetes.gemspec
38 lines (32 loc) · 1.59 KB
/
resque-kubernetes.gemspec
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
33
34
35
36
37
38
# 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 = ["[email protected]"]
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.add_development_dependency "appraisal"
spec.add_development_dependency "bundler", "~> 1.16"
spec.add_development_dependency "bundler-audit", "~> 0"
spec.add_development_dependency "googleauth", "~> 0.6"
spec.add_development_dependency "rake", "~> 12.3"
spec.add_development_dependency "rspec", "~> 3.7"
# Pinned less than 0.56.0 until this is resolved: https://github.com/rubocop-hq/rubocop/issues/5975
spec.add_development_dependency "rubocop", "~> 0.52", ">= 0.52.1", "< 0.56.0"
spec.add_dependency "kubeclient", ">= 3.1.2", "< 5.0"
spec.add_dependency "resque", ">= 1.26"
spec.add_dependency "retriable", "~> 3.0"
end