Sha256: f3ed8bc1d43aac8891075a8533858a1f1c1261ecc169794e5cdd822c4134eb99
Contents?: true
Size: 745 Bytes
Versions: 4
Compression:
Stored size: 745 Bytes
Contents
require 'rake' require 'rake/testtask' require 'rake/rdoctask' desc 'Default: run unit tests.' task :default => [:refresh_db, :test] desc 'Remove old sqlite file' task :refresh_db do `rm -f #{File.dirname(__FILE__)}/test/acts_as_url.sqlite3` end desc 'Test the stringex plugin.' Rake::TestTask.new(:test) do |t| t.libs << 'lib' t.pattern = 'test/**/*_test.rb' t.verbose = true end desc 'Generate documentation for the stringex plugin.' Rake::RDocTask.new(:rdoc) do |rdoc| rdoc.rdoc_dir = 'doc' rdoc.title = 'Stringex: A String Extension Pack' rdoc.options << '--line-numbers' << '--inline-source' rdoc.options << '--charset' << 'utf-8' rdoc.rdoc_files.include('README.rdoc') rdoc.rdoc_files.include('lib/**/*.rb') end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
rsl-stringex-0.9.0 | Rakefile |
rsl-stringex-0.9.1 | Rakefile |
rsl-stringex-0.9.2 | Rakefile |
rsl-stringex-0.9.3 | Rakefile |