Sha256: 0fc6be23ac84425a1a81352c43897ae119ae7a5b9850aeeb57164b1aeb62c715

Contents?: true

Size: 1.05 KB

Versions: 2

Compression:

Stored size: 1.05 KB

Contents

require 'rubygems'
require 'bundler'
begin
  Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
  $stderr.puts e.message
  $stderr.puts "Run `bundle install` to install missing gems"
  exit e.status_code
end
require 'rake'

require 'jeweler'
Jeweler::Tasks.new do |gem|
  gem.name = "email_validation"
  gem.summary = %Q{Simple email validation in Rails 3}
  gem.description = %Q{A simple, localizable EachValidator for email address fields in ActiveRecord 3.0.}
  gem.email = "git@timothymorgan.info"
  gem.homepage = "http://github.com/riscfuture/email_validation"
  gem.authors = [ "Tim Morgan" ]
end
Jeweler::RubygemsDotOrgTasks.new

require 'yard'
YARD::Rake::YardocTask.new('doc') do |doc|
  doc.options << "-m" << "textile"
  doc.options << "--protected"
  doc.options << "-r" << "README.textile"
  doc.options << "-o" << "doc"
  doc.options << "--title" << "email_validation Documentation".inspect
  
  doc.files = [ 'lib/*_validator.rb', 'README.textile' ]
end

require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new

task(default: :spec)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
email_validation-1.1.1 Rakefile
email_validation-1.1.0 Rakefile