Skip to content


Subversion checkout URL

You can clone with
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

49 lines (40 sloc) 1.358 kB
require 'rake'
require 'rake/testtask'
require 'rake/packagetask'
require 'rake/gempackagetask'
require 'rcov/rcovtask'
require 'rake/rdoctask'
$:.unshift(File.dirname(__FILE__) + '/lib')
require 'text/version'
gemspec = do |s| = 'text'
s.version = Text::VERSION::STRING
s.summary = 'A collection of text algorithms'
s.description = 'A collection of text algorithms: Levenshtein, Soundex, Metaphone, Double Metaphone, Figlet, Porter Stemming'
s.files = FileList['{lib,test}/**/*', 'README.rdoc', 'Rakefile']
s.require_path = 'lib'
s.has_rdoc = true
s.extra_rdoc_files = %w[README.rdoc]
s.rubyforge_project = 'text'
s.homepage = ''
s.authors = ['Paul Battley', 'Michael Neumann', 'Tim Fletcher'] = ""
end do |pkg|
pkg.need_tar_gz = true
end, gemspec.version) do |pkg|
pkg.need_tar_gz = true
pkg.package_files.include gemspec.files
end do |t|
t.verbose = false
end do |t|
t.rcov_opts = []
end do |t|
t.main = 'README.rdoc'
t.rdoc_files.include 'README.rdoc', 'lib/**/*.rb'
task :default => :test
Jump to Line
Something went wrong with that request. Please try again.