Sha256: 4dd48b3d423c3f3f6d3364cf325bcbeb801210ab3e2cf51a5e2fd4d2cf1f3f97

Contents?: true

Size: 1.17 KB

Versions: 5

Compression:

Stored size: 1.17 KB

Contents

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

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

desc 'Test the authentication_needed_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 authentication_needed_san plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'AuthenticationNeeded-San'
  rdoc.options << '--line-numbers' << '--inline-source' << '--charset=utf-8'
  rdoc.rdoc_files.include('README.rdoc', 'lib/authentication_needed_san.rb', 'LICENSE')
end

begin
  require 'jeweler'
  Jeweler::Tasks.new do |s|
    s.name     = "authentication-needed-san"
    s.summary  = s.description = "A thin wrapper around the Rails `flash' object to assist in redirecting the user `back' after authentication."
    s.email    = "eloy@fngtps.com"
    s.homepage = "http://github.com/Fingertips/authentication-needed-san"
    s.authors  = ["Eloy Duran"]
  end
rescue LoadError
end

begin
  require 'jewelry_portfolio/tasks'
  JewelryPortfolio::Tasks.new do |p|
    p.account = 'Fingertips'
  end
rescue LoadError
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
Fingertips-authentication-needed-san-1.0.0 Rakefile
Fingertips-authentication-needed-san-1.1.0 Rakefile
Fingertips-authentication-needed-san-1.1.1 Rakefile
authentication-needed-san-1.1.2 Rakefile
authentication-needed-san-1.1.1 Rakefile