Rakefile in authlogic-connect-0.0.5.1 vs Rakefile in authlogic-connect-0.0.6
- old
+ new
@@ -4,11 +4,11 @@
# http://docs.rubygems.org/read/chapter/20
spec = Gem::Specification.new do |s|
s.name = "authlogic-connect"
s.author = "Lance Pollard"
- s.version = "0.0.5.1"
+ s.version = "0.0.6"
s.summary = "Authlogic Connect: Oauth and OpenID made dead simple"
s.homepage = "http://github.com/viatropos/authlogic-connect"
s.email = "lancejpollard@gmail.com"
s.description = "Oauth and OpenID made dead simple"
s.has_rdoc = true
@@ -70,6 +70,16 @@
rdoc.title = spec.summary
end
task :yank do
`gem yank #{spec.name} -v #{spec.version}`
+end
+
+desc 'run unit tests'
+task :test do
+ Dir["test/**/*"].each do |file|
+ next unless File.extname(file) == ".rb"
+ next unless File.basename(file) =~ /test_/
+ next if File.basename(file) =~ /test_helper/
+ system "ruby #{file}"
+ end
end
\ No newline at end of file