Sha256: c3efebf6ff0f981c42abbc7dadd7e35ebc0e6bd7891af524ba4f61cebdadd82b

Contents?: true

Size: 623 Bytes

Versions: 3

Compression:

Stored size: 623 Bytes

Contents

require 'bundler'
Bundler::GemHelper.install_tasks

require 'rake/rdoctask'
require 'rspec/core/rake_task'

desc "Run specs"
RSpec::Core::RakeTask.new(:spec)

desc "Generate code coverage"
RSpec::Core::RakeTask.new(:coverage) do |t|
  t.rcov = true
  t.rcov_opts = ['--exclude', 'spec']
end

desc 'Generate documentation for plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'ValidatesTimeliness'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

desc 'Default: run specs.'
task :default => :spec

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
validates_timeliness-3.0.8 Rakefile
validates_timeliness-3.0.7 Rakefile
validates_timeliness-3.0.6 Rakefile