Sha256: 697e3b7bff39cde4ed8db7790245854fd6f593c7679fbada241fac24beddcade
Contents?: true
Size: 660 Bytes
Versions: 15
Compression:
Stored size: 660 Bytes
Contents
gem 'rdoc' # default rake task :default => [:test] # bundler tasks require 'bundler' Bundler::GemHelper.install_tasks # run all tests require 'rake/testtask' Rake::TestTask.new do |t| t.pattern = "test/*_test.rb" end # code coverage namespace :test do desc "Run all tests and generate a code coverage report (simplecov)" task :coverage do ENV['COVERAGE'] = 'true' Rake::Task['test'].execute end end # rdoc tasks require 'rdoc/task' RDoc::Task.new do |rd| rd.main = "README.rdoc" rd.title = 'acts_as_textcaptcha' rd.rdoc_dir = 'doc' rd.options << "--all" rd.rdoc_files.include("README.rdoc", "LICENSE", "lib/**/*.rb") end
Version data entries
15 entries across 15 versions & 1 rubygems