Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added jeweler tasks, fixed gemspec typo

  • Loading branch information...
commit 24de25c3875b91c15e502e7f7404e1f52e6a15d9 1 parent 3b8c4f6
raul murciano authored
Showing with 18 additions and 2 deletions.
  1. +16 −0 Rakefile
  2. +2 −2 translate_routes.gemspec
16 Rakefile
View
@@ -5,6 +5,22 @@ 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'
4 translate_routes.gemspec
View
@@ -5,8 +5,8 @@ Gem::Specification.new do |s|
s.authors = "Raul Murciano"
s.email = "raul@murciano.net"
s.homepage = "http://github.com/raul/translate_routes"
- s.summary = "Translate your routes in a simple manner"
- s.description = "Translates the routes of your application into the langagues defined in your locale files"
+ s.summary = "Translate your Rails routes in a simple manner"
+ s.description = "Translates the Rails routes of your application into the languages defined in your locale files"
s.required_rubygems_version = ">= 1.3.7"
Please sign in to comment.
Something went wrong with that request. Please try again.