-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathactivejob_dj_overrides.gemspec
25 lines (21 loc) · 1.17 KB
/
activejob_dj_overrides.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
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'activejob_dj_overrides/version'
Gem::Specification.new do |spec|
spec.name = "activejob_dj_overrides"
spec.version = ActivejobDjOverrides::VERSION
spec.authors = ["Andrew Porterfield"]
spec.email = ["[email protected]"]
spec.summary = 'Adds per-job overrides to the delayed_job adapter for Active Job'
spec.description = 'Allows max_attempts, destroy_failed_jobs?, reschedule_at, and max_run_time methods to be defined in your jobs to override default settings just like you\'re used to in delayed_job'
spec.homepage = 'https://github.com/ajporterfield/activejob_dj_overrides'
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.add_development_dependency "bundler", "~> 1.9"
spec.add_development_dependency "rake", "~> 10.0"
spec.add_dependency('rails', '>= 4.2')
spec.add_dependency('delayed_job')
end