justinfrench / string_extensions

A little collection of things I like to do with Ruby Strings in my applications, horribly in need of tests and a manicure ;)

This URL has Read+Write access

Justin French (author)
Sat May 24 01:20:09 -0700 2008
commit  d0b642fc16a3db3f98d244bcb031bb4cbd97bb2e
tree    4e972ed811a0690d91fbf0fc4cd8c8060d738e97
parent  c4f42207f2b8e58cc66ab0f761df32ca8f9b6af4
string_extensions / Rakefile
100644 23 lines (19 sloc) 0.573 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
 
desc 'Default: run unit tests.'
task :default => :test
 
desc 'Test the string_extensions plugin.'
Rake::TestTask.new(:test) do |t|
  t.libs << 'lib'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = true
end
 
desc 'Generate documentation for the string_extensions plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = 'StringExtensionsTwo'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end