-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdelayed_job_heartbeat_plugin.gemspec
45 lines (37 loc) · 1.72 KB
/
delayed_job_heartbeat_plugin.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
39
40
41
42
43
44
45
# frozen_string_literal: true
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'delayed/heartbeat/version'
Gem::Specification.new do |spec|
spec.name = 'delayed_job_heartbeat_plugin'
spec.version = Delayed::Heartbeat::VERSION
spec.authors = ['Joel Turkel']
spec.email = ['[email protected]']
spec.summary = 'Delayed::Job plugin to unlock jobs from dead workers'
spec.homepage = 'https://github.com/salsify/delayed_job_heartbeat_plugin'
spec.license = 'MIT'
if spec.respond_to?(:metadata)
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
spec.metadata['rubygems_mfa_required'] = 'true'
else
raise 'RubyGems 2.0 or newer is required to set allowed_push_host.'
end
spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
spec.test_files = Dir.glob('spec/**/*')
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 3.1'
spec.add_dependency 'delayed_job', '>= 4.1.0'
spec.add_dependency 'delayed_job_active_record', '>= 4.1.0'
spec.add_development_dependency 'activerecord', ['>= 6.1', '< 7.3']
spec.add_development_dependency 'appraisal'
spec.add_development_dependency 'bundler'
spec.add_development_dependency 'coveralls_reborn', '>= 0.18.0'
spec.add_development_dependency 'database_cleaner', '>= 1.2'
spec.add_development_dependency 'pg'
spec.add_development_dependency 'rake', '~> 13.0'
spec.add_development_dependency 'rspec', '~> 3'
spec.add_development_dependency 'rspec_junit_formatter'
spec.add_development_dependency 'salsify_rubocop', '~> 1.59.1'
spec.add_development_dependency 'simplecov'
spec.add_development_dependency 'timecop'
end