Sha256: 519bb82e5d72de97e9ecb8554d49d9c2f92504e979c8cbfc51302b30da1ffb18

Contents?: true

Size: 1.34 KB

Versions: 14

Compression:

Stored size: 1.34 KB

Contents

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 = "brianjlandau-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 = "brianjlandau@gmail.com"
    gemspec.homepage = "http://github.com/brianjlandau/resque-scheduler"
    gemspec.authors = ["Ben VandenBos", "Brian Landau"]
    gemspec.version = ResqueScheduler::Version

    gemspec.add_dependency "redis", ">= 2.0.1"
    gemspec.add_dependency "resque", ">= 1.8.0"
    gemspec.add_dependency "rufus-scheduler"
    gemspec.add_development_dependency "jeweler"
    gemspec.add_development_dependency "mocha"
    gemspec.add_development_dependency "rack-test"
  end
  
  Jeweler::GemcutterTasks.new
end

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
brianjlandau-resque-scheduler-1.10.12 Rakefile
brianjlandau-resque-scheduler-1.10.11 Rakefile
davidyang-resque-scheduler-1.10.11 Rakefile
brianjlandau-resque-scheduler-1.10.10 Rakefile
brianjlandau-resque-scheduler-1.10.9 Rakefile
brianjlandau-resque-scheduler-1.10.8 Rakefile
brianjlandau-resque-scheduler-1.10.7 Rakefile
brianjlandau-resque-scheduler-1.10.6 Rakefile
brianjlandau-resque-scheduler-1.10.5 Rakefile
brianjlandau-resque-scheduler-1.10.4 Rakefile
brianjlandau-resque-scheduler-1.10.3 Rakefile
brianjlandau-resque-scheduler-1.10.2 Rakefile
brianjlandau-resque-scheduler-1.10.1 Rakefile
brianjlandau-resque-scheduler-1.10.0 Rakefile