public
Description: Treat any ActiveRecord's string field as a dictionary to do word suggesting & spelling checking using Hunspell
Homepage: http://blog.spiragram.com/2008/9/5/acts_as_dictionary-rails-plugin
Clone URL: git://github.com/tiendung/acts_as_dictionary.git
tiendung (author)
Fri Sep 05 00:43:04 -0700 2008
commit  42ea850119ddd38b0da0592c791d757c41cd5595
tree    e3527717f02314529fdcf69701c7a09d757311eb
parent  e3a257e60b3b2d5891af478236b2d8a75abe2416
acts_as_dictionary / Rakefile
100644 23 lines (19 sloc) 0.572 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 acts_as_dictionary plugin.'
Rake::TestTask.new(:test) do |t|
  t.libs << 'lib'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = true
end
 
desc 'Generate documentation for the acts_as_dictionary plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = 'ActsAsDictionary'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end