Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tag: v3.0.2
Fetching contributors…

Cannot retrieve contributors at this time

executable file 38 lines (34 sloc) 1.165 kB
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
desc 'Default: run unit tests.'
task :default => :test
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "translate_routes"
gem.summary = %Q{Translate your Rails routes in a simple manner}
gem.description = %Q{Translates the Rails routes of your application into the languages defined in your locale files}
gem.email = "raul@murciano.net"
gem.homepage = "http://github.com/raul/translate_routes"
gem.authors = ["Raul Murciano"]
gem.files = Dir.glob('lib/**/*.rb')
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end
desc 'Test the translate_routes plugin.'
Rake::TestTask.new(:test) do |t|
t.libs << 'lib'
t.pattern = 'test/**/*_test.rb'
t.verbose = true
end
desc 'Generate documentation for the translate_routes plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
rdoc.rdoc_dir = 'rdoc'
rdoc.title = 'TranslateRoutes'
rdoc.options << '--line-numbers' << '--inline-source'
rdoc.rdoc_files.include('README')
rdoc.rdoc_files.include('lib/**/*.rb')
end
Jump to Line
Something went wrong with that request. Please try again.