-
Notifications
You must be signed in to change notification settings - Fork 481
/
resque-scheduler.gemspec
68 lines (62 loc) · 2.43 KB
/
resque-scheduler.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# vim:fileencoding=utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'resque/scheduler/version'
Gem::Specification.new do |spec|
spec.name = 'resque-scheduler'
spec.version = Resque::Scheduler::VERSION
spec.authors = <<-EOF.split(/\n/).map(&:strip)
Ben VandenBos
Simon Eskildsen
Ryan Biesemeyer
Dan Buch
Michael Bianco
Patrick Tulskie
EOF
spec.email = %w(
)
spec.summary = 'Light weight job scheduling on top of Resque'
spec.description = <<-DESCRIPTION
Light weight job scheduling on top of Resque.
Adds methods enqueue_at/enqueue_in to schedule jobs in the future.
Also supports queueing jobs on a fixed, cron-like schedule.
DESCRIPTION
spec.homepage = 'https://github.com/resque/resque-scheduler'
spec.license = 'MIT'
spec.metadata['rubygems_mfa_required'] = 'true'
spec.required_ruby_version = '>= 2.3.0'
spec.files = `git ls-files -z`.split("\0").reject do |f|
f.match(%r{^(test|spec|features|examples|bin|tasks)/}) ||
f.match(/^(Vagrantfile|Gemfile\.lock)/) ||
f.match(/^\.(rubocop|simplecov|vagrant|gitignore)/)
end
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = %w(lib)
spec.add_development_dependency 'bundler'
spec.add_development_dependency 'json'
spec.add_development_dependency 'minitest'
spec.add_development_dependency 'mocha'
spec.add_development_dependency 'pry'
spec.add_development_dependency 'rack-test'
spec.add_development_dependency 'rake'
spec.add_development_dependency 'simplecov'
spec.add_development_dependency 'test-unit'
spec.add_development_dependency 'yard'
spec.add_development_dependency 'timecop'
# We pin rubocop because new cops have a tendency to result in false-y
# positives for new contributors, which is not a nice experience.
spec.add_development_dependency 'rubocop', '~> 0.40.0'
spec.add_runtime_dependency 'mono_logger', '~> 1.0'
spec.add_runtime_dependency 'redis', '>= 3.3'
spec.add_runtime_dependency 'resque', '>= 1.27'
# rufus-scheduler v3.7 causes a failure in test/multi_process_test.rb
# rufus-scheduler v3.3 is missing a to_local method which fails tests
spec.add_runtime_dependency 'rufus-scheduler', '~> 3.2', '!= 3.3'
end