Sha256: be1073819f9f6ecd2d33fe102eeca35d130a55eaf0c1779939e84233c3a35f5c

Contents?: true

Size: 1.42 KB

Versions: 8

Compression:

Stored size: 1.42 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "magent"
    gem.summary = %Q{Simple job queue system based on mongodb}
    gem.description = %Q{Simple job queue system based on mongodb}
    gem.email = "krawek@gmail.com"
    gem.homepage = "http://github.com/dcu/magent"
    gem.authors = ["David A. Cuadrado"]
    gem.add_development_dependency "thoughtbot-shoulda", ">= 0"
    gem.add_dependency "mongo"
    gem.add_dependency "em-websocket"
    gem.add_dependency "uuidtools"
  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 = "magent #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
magent-0.6.2 Rakefile
magent-0.6.1 Rakefile
magent-0.6.0 Rakefile
magent-0.5.4 Rakefile
magent-0.5.3 Rakefile
magent-0.5.2 Rakefile
magent-0.5.1 Rakefile
magent-0.5.0 Rakefile