Sha256: 1a4dfaa411424abc801d8b70b9f36676c27f76742c36e2f5dc8ee0d49de43e89

Contents?: true

Size: 1.71 KB

Versions: 3

Compression:

Stored size: 1.71 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "resque_empty_queue"
    gem.summary = 'resque_empty_queue is an extension to the Resque queue system runs a job after a queue has been emptied.'
    gem.description = 'resque_empty_queue is an extension to the Resque queue system runs a job after a queue has been emptied.'
    gem.email = "michael.pearce@bookrenter.com"
    gem.homepage = "http://github.com/michaelgpearce/resque_empty_queue"
    gem.authors = ["Michael G. Pearce", "J. A. Wheeler"]
    gem.add_dependency "resque", ">=1.6.0"
    gem.add_development_dependency "thoughtbot-shoulda", ">= 0"
    gem.add_development_dependency "mocha", ">=0.9.8"
    # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end

require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
  test.libs << 'lib' << 'test'
  test.pattern = 'test/**/*_test.rb'
  test.verbose = true
end

begin
  require 'rcov/rcovtask'
  Rcov::RcovTask.new do |test|
    test.libs << 'test'
    test.pattern = 'test/**/*_test.rb'
    test.verbose = true
  end
rescue LoadError
  task :rcov do
    abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
  end
end

task :test => :check_dependencies

task :default => :test

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

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "resque_empty_queue #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
resque_empty_queue-0.0.3 Rakefile
resque_empty_queue-0.0.2 Rakefile
resque_empty_queue-0.0.1 Rakefile