Sha256: 17ab1bd77ad91a21f04255176be60fd06d7c0428afcef6535f827780dbd41519

Contents?: true

Size: 1.08 KB

Versions: 1

Compression:

Stored size: 1.08 KB

Contents

# -*- encoding : utf-8 -*-
require 'rubygems'
require 'rake'

begin
  require 'bundler/setup'
rescue LoadError
  puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
end

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "cronjobber"
    gem.summary = %Q{Cronjob for Rails}
    gem.description = %Q{Enables simple cronjobs for rails}
    gem.email = "mail@ginie.eu"
    gem.homepage = "https://github.com/giniedp/cronjobber"
    gem.authors = ["Alexander Gräfenstein"]
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end

require 'rake'
require 'rdoc/task'

require 'rspec/core'
require 'rspec/core/rake_task'

RSpec::Core::RakeTask.new(:spec)

task :default => :spec

Rake::RDocTask.new do |rdoc|
  version = File.exist?('VERSION') ? File.read('VERSION') : ""

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "cronjobber #{version}"
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cronjobber-1.1.0 Rakefile