Sha256: 10c7b7449dd4c01c71f1d6b9dbe1ee28d0cfad25fdcb4292641809fae081a869

Contents?: true

Size: 1.31 KB

Versions: 2

Compression:

Stored size: 1.31 KB

Contents

# encoding: utf-8
require 'rubygems'
require 'rake'
require 'rspec'
require 'rspec/core/rake_task'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "mongoid_i18n"
    gem.summary = %Q{Mongoid plugin to deal with localizable fields}
    gem.description = %Q{This gem aims to be a transparent way to deal with localizable fields.
      Basically use localized_field() instead of field() and that's it.
      It will take care of locales for you when using find or criteria.
      }
    gem.email = "papipo@gmail.com"
    gem.homepage = "http://github.com/Papipo/mongoid_i18n"
    gem.authors = ["Rodrigo Álvarez"]
    gem.add_dependency "mongoid", '>= 2.0.0.beta.20'
    gem.add_development_dependency "rspec", "2.1.0"
    # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end


desc "Run all examples"
Rspec::Core::RakeTask.new(:spec)

task :default => :spec

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  version = File.exist?('VERSION') ? File.read('VERSION') : ""

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "mongoid_i18n #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mongoid_i18n-0.2.0 Rakefile
mongoid_i18n-0.1.8 Rakefile