Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 43 lines (37 sloc) 1.087 kB
e3662aa @binarylogic Release v2.1.0 and switch to using jeweler instead of Hoe
authored
1 require 'rubygems'
2 require 'rake'
605162d @binarylogic Release v2.0 RC1
authored
3
e3662aa @binarylogic Release v2.1.0 and switch to using jeweler instead of Hoe
authored
4 begin
5 require 'jeweler'
6 Jeweler::Tasks.new do |gem|
7 gem.name = "authlogic"
8 gem.summary = "A clean, simple, and unobtrusive ruby authentication solution."
9 gem.email = "bjohnson@binarylogic.com"
10 gem.homepage = "http://github.com/binarylogic/authlogic"
11 gem.authors = ["Ben Johnson of Binary Logic"]
12 gem.rubyforge_project = "authlogic"
13 gem.add_dependency "activesupport"
14 end
faa063f @binarylogic Fix compatibility issue with rails >3.0 wanting the model_name class …
authored
15 Jeweler::RubyforgeTasks.new
e3662aa @binarylogic Release v2.1.0 and switch to using jeweler instead of Hoe
authored
16 rescue LoadError
17 puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
18 end
605162d @binarylogic Release v2.0 RC1
authored
19
e3662aa @binarylogic Release v2.1.0 and switch to using jeweler instead of Hoe
authored
20 require 'rake/testtask'
21 Rake::TestTask.new(:test) do |test|
f8cd29c @m4n Change gemspec dependency from activesupport to activerecord (which d…
m4n authored
22 test.libs << 'test'
e3662aa @binarylogic Release v2.1.0 and switch to using jeweler instead of Hoe
authored
23 test.pattern = 'test/**/*_test.rb'
24 test.verbose = true
25 end
26
27 begin
28 require 'rcov/rcovtask'
29 Rcov::RcovTask.new do |test|
30 test.libs << 'test'
31 test.pattern = 'test/**/*_test.rb'
32 test.verbose = true
33 end
34 rescue LoadError
35 task :rcov do
36 abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
37 end
38 end
39
faa063f @binarylogic Fix compatibility issue with rails >3.0 wanting the model_name class …
authored
40 task :test => :check_dependencies
e3662aa @binarylogic Release v2.1.0 and switch to using jeweler instead of Hoe
authored
41
faa063f @binarylogic Fix compatibility issue with rails >3.0 wanting the model_name class …
authored
42 task :default => :test
Something went wrong with that request. Please try again.