Sha256: 4e6677c441b7a5e0fee83640d2b06423f953570b1b97c7e4e8e757327da33f7d

Contents?: true

Size: 638 Bytes

Versions: 4

Compression:

Stored size: 638 Bytes

Contents

require 'bundler'
Bundler::GemHelper.install_tasks

Bundler.setup

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

4 entries across 4 versions & 1 rubygems

Version Path
validates_timeliness-3.0.12 Rakefile
validates_timeliness-3.0.11 Rakefile
validates_timeliness-3.0.10 Rakefile
validates_timeliness-3.0.9 Rakefile