Sha256: a17e9fdc5760feda74e4e9573e129d447991d87ead0f56a2faa59debbb2f19c0

Contents?: true

Size: 1.9 KB

Versions: 5

Compression:

Stored size: 1.9 KB

Contents

require "rake"
require "rake/testtask"
require "rake/rdoctask"

begin
  require "jeweler"
  Jeweler::Tasks.new do |gemspec|
    gemspec.name        = "rich_i18n"
    gemspec.summary     = "Enrichments (e9s) module for internationalization (i18n)"
    gemspec.description = "Rich-i18n is a module of E9s (http://github.com/archan937/e9s) which enriches I18n, Formtastic, the String and Symbol classes. This simplifies internationalization of your Rails application making a Rails developers life much easier."
    gemspec.email       = "paul.engel@holder.nl"
    gemspec.homepage    = "http://codehero.es/rails_gems_plugins/rich_i18n"
    gemspec.author      = "Paul Engel"

    gemspec.add_dependency "authlogic" , ">= 2.1.2"
    gemspec.add_dependency "formtastic", ">= 1.1.0"
    gemspec.add_dependency "hpricot"
    gemspec.add_dependency "i18n"      , ">= 0.3.7"
    gemspec.add_dependency "jzip"      , ">= 1.0.11"
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end

desc "Default: run unit tests."
task :default => :test

task :test do
  Rake::Task["test:rails3"].execute
end

namespace :test do
  desc "Test the rich_i18n plugin in Rails 2."
  Rake::TestTask.new(:rails2) do |t|
    t.libs    << "lib"
    t.libs    << "test"
    t.pattern  = "test/rails-2/{,/*/**}/*_test.rb"
    t.verbose  = true
  end
  desc "Test the rich_i18n plugin in Rails 3."
  Rake::TestTask.new(:rails3) do |t|
    t.libs    << "lib"
    t.libs    << "test"
    t.pattern  = "test/rails-3/{,/*/**}/*_test.rb"
    t.verbose  = true
  end
end

desc "Generate documentation for the rich_i18n plugin."
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = "rdoc"
  rdoc.title    = "Rich-i18n"
  rdoc.options << "--line-numbers" << "--inline-source"
  rdoc.rdoc_files.include "README"
  rdoc.rdoc_files.include "MIT-LICENSE"
  rdoc.rdoc_files.include "lib/**/*.rb"
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rich_i18n-1.3.4 Rakefile
rich_i18n-1.3.3 Rakefile
rich_i18n-1.3.2 Rakefile
rich_i18n-1.3.1 Rakefile
rich_i18n-1.3.0 Rakefile