Sha256: 2a2793c5690e3df8093fff33e6bbc2fa1e82cc6cd909797122a25fa4b222fa15

Contents?: true

Size: 1.33 KB

Versions: 4

Compression:

Stored size: 1.33 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "simple_model_translations"
    gem.summary = %Q{Simple ActiveRecord translations for Rails 3}
    gem.description = %Q{Simple ActiveRecord translations for Rails 3}
    gem.email = "fxposter@gmail.com"
    gem.homepage = "http://github.com/fxposter/simple_model_translations"
    gem.authors = ["Pavel Forkert"]
    
    gem.add_development_dependency 'database_cleaner', '>= 0.5.2'
    gem.add_development_dependency 'sqlite3-ruby', '>= 1.3.1'
    gem.add_development_dependency 'shoulda', '>= 2.11.3'
    gem.add_development_dependency 'rspec', '>= 2.0.0'
    gem.add_development_dependency 'jeweler', '>= 1.5.0.pre5'
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler --pre"
end

require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |spec|
end

RSpec::Core::RakeTask.new(:rcov) do |spec|
  spec.rcov = true
end

task :spec => :check_dependencies

task :default => :spec

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
simple_model_translations-0.1.4 Rakefile
simple_model_translations-0.1.3 Rakefile
simple_model_translations-0.1.2 Rakefile
simple_model_translations-0.1.1 Rakefile