Sha256: 8e9ad4cceaa4750ace9e6345d63dd4ef43f07bb2fb98c9a58823760a63d214b3
Contents?: true
Size: 1.49 KB
Versions: 5
Compression:
Stored size: 1.49 KB
Contents
require 'rubygems' require 'rake' begin require 'jeweler' Jeweler::Tasks.new do |gem| gem.name = "lifeline" gem.summary = %Q{A cron-based alternative to running daemon scripts} gem.description = %Q{A cron-based alternative to running daemon scripts} gem.email = "open@nytimes.com" gem.homepage = "http://github.com/harrisj/lifeline" gem.authors = ["Jacob Harris", "Ben Koski", "Matt Todd"] gem.add_development_dependency "shoulda", ">= 0" gem.add_development_dependency "yard", ">= 0" gem.add_development_dependency "mocha", ">= 0" # 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 begin require 'yard' YARD::Rake::YardocTask.new rescue LoadError task :yardoc do abort "YARD is not available. In order to run yardoc, you must: sudo gem install yard" end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
lifeline-0.5.2 | Rakefile |
lifeline-0.5.1 | Rakefile |
lifeline-0.5.0 | Rakefile |
lifeline-0.4.0 | Rakefile |
lifeline-0.3.0 | Rakefile |