public
Description: Rails plugin for localized "country_select" helper with Rake task for downloading locales from Unicode.org's CLDR
Homepage: http://www.restafari.org/localized-country-select.html
Clone URL: git://github.com/karmi/localized_country_select.git
scharfie (author)
Thu Oct 15 03:35:49 -0700 2009
karmi (committer)
Thu Oct 15 04:06:39 -0700 2009
100644 25 lines (20 sloc) 0.683 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
 
load File.join(File.dirname(__FILE__), 'tasks', 'localized_country_select_tasks.rake')
 
desc 'Default: run unit tests.'
task :default => :test
 
desc 'Test the localized_country_select plugin.'
Rake::TestTask.new(:test) do |t|
  t.libs << 'lib'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = true
end
 
desc 'Generate documentation for the localized_country_select plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = 'LocalizedCountrySelect'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README.rdoc')
  rdoc.rdoc_files.include('lib/**/*.rb')
end