Sha256: d39cd39c11f7aa88f93779b748009d4c89c8672440aa8e13c5443ffef7393c8e

Contents?: true

Size: 1.57 KB

Versions: 3

Compression:

Stored size: 1.57 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "sparkly-auth"
    gem.summary = %Q{User authentication with Sparkles!}
    gem.description = %Q{As fate would have it, I found other authentication solutions unable to suit my needs. So I rolled my own.}
    gem.email = "sinisterchipmunk@gmail.com"
    gem.homepage = "http://www.thoughtsincomputation.com"
    gem.authors = ["Colin MacKenzie IV"]
    gem.add_dependency "sc-core-ext", ">= 1.2.0"
    gem.add_development_dependency 'rspec-rails', '>= 1.3.2'
    gem.add_development_dependency 'webrat', '>= 0.7.1'
    gem.add_development_dependency 'genspec', '>= 0.1.1'
    gem.add_development_dependency 'email_spec', '>= 0.6.2'
    # WHY does jeweler insist on using test/* files? THEY DON'T EXIST!
    gem.test_files = FileList['spec/**/*']
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end

require 'spec/rake/spectask'
Spec::Rake::SpecTask.new(:spec) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.spec_files = FileList['spec/**/*_spec.rb']
end

Spec::Rake::SpecTask.new(:rcov) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.pattern = 'spec/**/*_spec.rb'
  spec.rcov = true
end

task :spec => :check_dependencies

task :default => :spec

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  version = File.exist?('VERSION') ? File.read('VERSION') : ""

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "sparkly-auth #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sparkly-auth-1.0.2 Rakefile
sparkly-auth-1.0.1 Rakefile
sparkly-auth-1.0.0 Rakefile