itszero / country_codes_with_contient forked from ptb/country_codes

The Country Codes plugin finds and converts between country information as described in ISO 3166-1; forked from ptb's version and added Contient information.

This URL has Read+Write access

87debb9a » JamesBrooks 2007-12-17 Adding plugin with tests 1 require 'rake'
2 require 'rake/testtask'
3 require 'rake/rdoctask'
4
5 desc 'Default: run unit tests.'
6 task :default => :test
7
8 desc 'Test the country_codes plugin.'
9 Rake::TestTask.new(:test) do |t|
10 t.libs << 'lib'
11 t.pattern = 'test/**/*_test.rb'
12 t.verbose = true
13 end
14
15 desc 'Generate documentation for the country_codes plugin.'
16 Rake::RDocTask.new(:rdoc) do |rdoc|
17 rdoc.rdoc_dir = 'rdoc'
18 rdoc.title = 'CountryCodes'
19 rdoc.options << '--line-numbers' << '--inline-source'
20 rdoc.rdoc_files.include('README')
21 rdoc.rdoc_files.include('lib/**/*.rb')
22 end