Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (25 sloc) 835 Bytes
require 'rubygems'
require 'spec/rake/spectask'
require File.join(File.dirname(__FILE__), "lib", "warden", "version")
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "warden"
gem.version = Warden::VERSION
gem.summary = "Rack middleware that provides authentication for rack applications"
gem.email = "has.sox@gmail.com"
gem.homepage = "http://github.com/hassox/warden"
gem.authors = ["Daniel Neighman"]
gem.rubyforge_project = "warden"
gem.add_dependency "rack", ">= 1.0.0"
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end
task :default => :spec
desc "Run specs"
Spec::Rake::SpecTask.new do |t|
t.spec_files = FileList['spec/**/*_spec.rb']
t.spec_opts = %w(-fs --color)
end
Jump to Line
Something went wrong with that request. Please try again.