-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathresque-disable-job.gemspec
28 lines (23 loc) · 1.15 KB
/
resque-disable-job.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
# frozen_string_literal: true
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'resque/disable_job/version'
Gem::Specification.new do |spec|
spec.name = 'resque-disable-job'
spec.version = Resque::DisableJob::VERSION
spec.authors = ['Andrei Balcanasu']
spec.email = ['[email protected]']
spec.summary = 'Resque plugin that can disable jobs from being processed.'
spec.description = 'This is a Resque plugin that allows us to disable jobs from being processed, by using the job class name and arguments.
It uses some Redis data structures to keep a record of what jobs need to be disabled and how many jobs were disabled for that rule.'
spec.homepage = 'https://github.com/zendesk/resque-disable-job'
spec.license = 'Apache-2.0'
spec.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features|docs)/})
end
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.7'
spec.add_dependency 'resque'
end