Sha256: 10c08c3957771c9798b5bcf08d9cc338a058d58525b1e68e270ea649195ee89f

Contents?: true

Size: 1.01 KB

Versions: 2

Compression:

Stored size: 1.01 KB

Contents

require 'rake'

if ENV["TARGET"] == "rails3"
  require 'rspec/core/rake_task'
  Rspec::Core::RakeTask.new(:spec)
else
  require 'spec/rake/spectask'
  desc 'Run the specs'
  Spec::Rake::SpecTask.new(:spec) do |t|
    t.spec_opts = ['--colour --format specdoc --loadby mtime --reverse']
    t.spec_files = FileList['spec/**/*_spec.rb']
  end
end

require 'jeweler'
require File.dirname(__FILE__) + '/lib/simple_auth/version'


desc 'Default: run specs.'
task :default => :spec


JEWEL = Jeweler::Tasks.new do |gem|
  gem.name = "simple_auth"
  gem.version = SimpleAuth::Version::STRING
  gem.summary = "A simple authentication system for Rails apps"
  gem.description = <<-TXT
When Authlogic & Devise are just too much.
TXT

  gem.authors = ["Nando Vieira"]
  gem.email = "fnando.vieira@gmail.com"
  gem.homepage = "http://github.com/fnando/simple_auth"

  gem.has_rdoc = false
  gem.files = %w(Rakefile simple_auth.gemspec init.rb VERSION README.markdown) + Dir["{generators,lib,spec,app,config}/**/*"]
end

Jeweler::GemcutterTasks.new

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
simple_auth-0.1.8 Rakefile
simple_auth-0.1.7 Rakefile