require 'rubygems'
require 'rake'
-gem 'rspec', '~> 2.10.0'
-begin
- require 'rspec/core/rake_task'
-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')
PKG_DISPLAY_NAME = 'Google API Client'
'[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:rcov'
else