Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 37 lines (32 sloc) 0.928 kB
854ea50 @hassox Initial Commit
hassox authored
1 require 'rubygems'
2 require 'date'
3 require 'spec/rake/spectask'
4
5 GEM = "rails_warden"
0a46d9a @hassox Updates to use jeweler
hassox authored
6 AUTHORS = ["Daniel Neighman"]
854ea50 @hassox Initial Commit
hassox authored
7 EMAIL = "has.sox@gmail.com"
8 HOMEPAGE = "http://github.com/hassox/rails_warden"
9 SUMMARY = "A gem that provides authenitcation via the Warden framework"
10
0a46d9a @hassox Updates to use jeweler
hassox authored
11 begin
12 require 'jeweler'
13 Jeweler::Tasks.new do |gem|
14 gem.name = GEM
15 gem.email = EMAIL
16 gem.has_rdoc = true
17 gem.extra_rdoc_files = ["README.textile", "LICENSE", 'TODO']
18 gem.summary = SUMMARY
19 gem.description = SUMMARY
20 gem.authors = AUTHORS
21 gem.email = EMAIL
22 gem.homepage = HOMEPAGE
23 gem.rubyforge_project = "warden"
cff52d1 @jeffkreeftmeijer added the warden dependency
authored
24 gem.add_dependency 'warden'
0a46d9a @hassox Updates to use jeweler
hassox authored
25 end
26 rescue LoadError
27 puts "Jeweler (or a dependency) not available. Install with: sudo gem install jeweler"
854ea50 @hassox Initial Commit
hassox authored
28 end
29
30 task :default => :spec
31
32 desc "Run specs"
33 Spec::Rake::SpecTask.new do |t|
34 t.spec_files = FileList['spec/**/*_spec.rb']
35 t.spec_opts = %w(-fs --color)
5a5fc08 @hassox Fixes a bug in the logout method. Thanks dkubb
hassox authored
36 end
Something went wrong with that request. Please try again.