Sha256: e917923c039d571e432c0f56dfcf8a9a8cac9c58c0fe3c24ff44cd9e16719317

Contents?: true

Size: 1.66 KB

Versions: 1

Compression:

Stored size: 1.66 KB

Contents

require 'rubygems'
require 'rake'


load 'lib/rufus/sc/version.rb'


#
# CLEAN

require 'rake/clean'
CLEAN.include('pkg', 'tmp', 'html')
task :default => [ :clean ]


#
# GEM

require 'jeweler'

Jeweler::Tasks.new do |gem|

  gem.version = Rufus::Scheduler::VERSION
  gem.name = 'tanzeeb-rufus-scheduler'
  gem.summary = 'job scheduler for Ruby (at, cron, in and every jobs)'

  gem.description = %{
    job scheduler for Ruby (at, cron, in and every jobs).

    By default uses a Ruby thread, if EventMachine is present, it will rely on it.

    This fork adds timezone support to cron schedules.
  }
  gem.email = 'tanzeeb@gmail.com'
  gem.homepage = 'http://github.com/tanzeeb/rufus-scheduler/'
  gem.authors = [ 'John Mettraux', 'Tanzeeb Khalili', 'Matt Briggs', 'Sean Kirby' ]
  gem.rubyforge_project = 'rufus'

  gem.test_file = 'spec/spec.rb'

  #gem.add_dependency 'yajl-ruby'
  gem.add_development_dependency 'rake'
  gem.add_development_dependency 'yard'
  gem.add_development_dependency 'bacon'
  gem.add_development_dependency 'jeweler'
  gem.add_dependency 'tzinfo'

  # gemspec spec : http://www.rubygems.org/read/chapter/20
end
Jeweler::GemcutterTasks.new


#
# DOC

begin

  require 'yard'

  YARD::Rake::YardocTask.new do |doc|
    doc.options = [
      '-o', 'html/rufus-scheduler', '--title',
      "rufus-scheduler #{Rufus::Scheduler::VERSION}"
    ]
  end

rescue LoadError

  task :yard do
    abort "YARD is not available : sudo gem install yard"
  end
end


#
# TO THE WEB

task :upload_website => [ :clean, :yard ] do

  account = 'jmettraux@rubyforge.org'
  webdir = '/var/www/gforge-projects/rufus'

  sh "rsync -azv -e ssh html/rufus-scheduler #{account}:#{webdir}/"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tanzeeb-rufus-scheduler-2.0.7.2 Rakefile