Consolidate request routing through execute methods
[arvados.git] / Rakefile
index 36124502b4f453cb2a37405c659255678dd6a2c0..12f2767570259af00ec6edc59221f7c59acc9292 100644 (file)
--- a/Rakefile
+++ b/Rakefile
@@ -4,18 +4,6 @@ $LOAD_PATH.uniq!
 
 require 'rubygems'
 require 'rake'
-require 'rake/testtask'
-require 'rake/rdoctask'
-require 'rake/packagetask'
-require 'rake/gempackagetask'
-
-begin
-  require 'spec/rake/spectask'
-rescue LoadError
-  STDERR.puts "Please install rspec:"
-  STDERR.puts "sudo gem install rspec"
-  exit(1)
-end
 
 require File.join(File.dirname(__FILE__), 'lib/google/api_client', 'version')
 
@@ -27,6 +15,8 @@ PKG_HOMEPAGE       = 'http://code.google.com/p/google-api-ruby-client/'
 
 RELEASE_NAME       = "REL #{PKG_VERSION}"
 
+PKG_AUTHOR         = "Bob Aman"
+PKG_AUTHOR_EMAIL   = "bobaman@google.com"
 PKG_SUMMARY        = 'Package Summary'
 PKG_DESCRIPTION    = <<-TEXT
 The Google API Ruby Client makes it trivial to discover and access supported
@@ -39,9 +29,9 @@ PKG_FILES = FileList[
     '[A-Z]*', 'Rakefile'
 ].exclude(/database\.yml/).exclude(/[_\.]git$/)
 
-RCOV_ENABLED = (RUBY_PLATFORM != 'java' && RUBY_VERSION =~ /^1\.8/)
+RCOV_ENABLED = !!(RUBY_PLATFORM != 'java' && RUBY_VERSION =~ /^1\.8/)
 if RCOV_ENABLED
-  task :default => 'spec:verify'
+  task :default => 'spec:rcov'
 else
   task :default => 'spec'
 end