Sha256: 7d4eb917e93bf5248678def9e2a8e6eb342e8efbc03bb7f2e8444bf95eb2d04b

Contents?: true

Size: 1.05 KB

Versions: 5

Compression:

Stored size: 1.05 KB

Contents

require 'rake'
require 'spec/rake/spectask'

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


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

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

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

desc "Generate gemspec and build gem"
task :build_gem do
  File.open("VERSION", "w+") {|f| f << SimpleAuth::Version::STRING }

  Rake::Task["gemspec"].invoke
  Rake::Task["build"].invoke
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
simple_auth-0.1.4 Rakefile
simple_auth-0.1.3 Rakefile
simple_auth-0.1.2 Rakefile
simple_auth-0.1.1 Rakefile
simple_auth-0.1.0 Rakefile