forked from brianjlandau/resque-scheduler
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Rakefile
49 lines (39 loc) · 1.42 KB
/
Rakefile
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
load File.expand_path('tasks/resque_scheduler.rake')
$LOAD_PATH.unshift 'lib'
task :default => :test
desc "Run tests"
task :test do
Dir['test/*_test.rb'].each do |f|
require File.expand_path(f)
end
end
desc "Build a gem"
task :gem => [ :test, :gemspec, :build ]
begin
begin
require 'jeweler'
rescue LoadError
puts "Jeweler not available. Install it with: "
puts "gem install jeweler"
end
require 'resque_scheduler/version'
Jeweler::Tasks.new do |gemspec|
gemspec.name = "sskirby-resque-scheduler"
gemspec.summary = "Light weight job scheduling on top of Resque"
gemspec.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.}
gemspec.email = "[email protected]"
gemspec.homepage = "http://github.com/sskirby/resque-scheduler"
gemspec.authors = ["Ben VandenBos", "Brian Landau", "Sean Kirby", "Tanzeeb Khalili", "Justin Fitzsimmons"]
gemspec.version = ResqueScheduler::Version
gemspec.add_dependency "redis", ">= 2.0.1"
gemspec.add_dependency "resque", ">= 1.8.0"
gemspec.add_dependency "tanzeeb-rufus-scheduler"
gemspec.add_dependency "airbrake"
gemspec.add_development_dependency "jeweler"
gemspec.add_development_dependency "mocha"
gemspec.add_development_dependency "rack-test"
end
Jeweler::GemcutterTasks.new
end