Permalink
Browse files

reduce dependencies

  • Loading branch information...
1 parent 42cf9d2 commit 7f1e7f5bba818b60ef063e76ec0a0c51cc8ddc04 @mike-burns mike-burns committed Oct 20, 2008
Showing with 8 additions and 28 deletions.
  1. +5 −13 Rakefile
  2. +2 −7 clearance.gemspec
  3. +1 −8 test/rails_root/test/test_helper.rb
View
@@ -1,17 +1,17 @@
require 'rake'
require 'rake/testtask'
require 'date'
-
+
test_files_pattern = 'test/rails_root/test/{unit,functional,other}/**/*_test.rb'
Rake::TestTask.new do |t|
t.libs << 'lib'
t.pattern = test_files_pattern
t.verbose = false
end
-
+
desc "Run the test suite"
task :default => :test
-
+
spec = Gem::Specification.new do |s|
s.name = "clearance"
s.summary = "Simple, complete Rails authentication."
@@ -21,15 +21,7 @@ spec = Gem::Specification.new do |s|
s.authors = ["thoughtbot, inc.", "Dan Croak", "Josh Nichols", "Jason Morrison", "Mike Burns", "Mike Breen"]
s.files = FileList["[A-Z]*", "{generators,lib,test}/**/*"]
end
-
-begin
- require 'rubygems'
- require 'jeweler'
- Jeweler.gemspec = spec
-rescue LoadError
- puts "Jeweler not available. sudo gem install technicalpickles-jeweler --source=http://gems.github.com"
-end
-
+
namespace :generator do
task :templates do
app_files = FileList["test/rails_root/app/{controllers,models,views}/**/*"]
@@ -55,4 +47,4 @@ namespace :generator do
end
end
end
-end
+end
Oops, something went wrong.

0 comments on commit 7f1e7f5

Please sign in to comment.