Sha256: 74496402ae9c7a16ac17ddaa9ed53682cc7f06e747b69e23ab5bb183b7c59b70

Contents?: true

Size: 964 Bytes

Versions: 3

Compression:

Stored size: 964 Bytes

Contents

require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'

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

desc 'Test the validates_email_san plugin.'
Rake::TestTask.new(:test) do |t|
  t.libs << 'lib'
  t.libs << 'test'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = true
end

desc 'Generate documentation for the validates_email_san plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'ValidatesEmail-san'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

begin
  require 'jeweler'
  Jeweler::Tasks.new do |s|
    s.name = "validates_email-san"
    s.summary = s.description = "A simple Rails plugin which adds a validates_email class method to ActiveRecord::Base."
    s.homepage = "http://fingertips.github.com"
    s.email = "eloy@fngtps.com"
    s.authors = ["Eloy Duran", "Manfred Stienstra"]
  end
rescue LoadError
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
Fingertips-validates_email-san-0.1.0 Rakefile
Fingertips-validates_email-san-0.1.1 Rakefile
validates_email-san-0.1.1 Rakefile