Sha256: 4c39804dc6344d457adb31dd325edaf52a7f85185807044333860d4327ed1f9d

Contents?: true

Size: 677 Bytes

Versions: 2

Compression:

Stored size: 677 Bytes

Contents

require 'bundler'
require 'bundler/setup'

require 'appraisal'

Bundler::GemHelper.install_tasks

require 'rdoc/task'
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.main = 'README.rdoc'
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'ValidatesTimeliness'
  rdoc.options << '--line-numbers'
  rdoc.rdoc_files.include('README.rdoc')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
validates_timeliness-6.0.0.beta1 Rakefile
validates_timeliness-6.0.0.alpha1 Rakefile