Rakefile in koala-1.0.0.beta2.1 vs Rakefile in koala-1.0.0.rc

- old
+ new

@@ -1,17 +1,16 @@ -# Rakefile -require 'rubygems' require 'rake' -require 'echoe' -# gem management -Echoe.new('koala', '1.0.0.beta2.1') do |p| - p.summary = "A lightweight, flexible library for Facebook with support for the Graph API, the old REST API, realtime updates, and OAuth validation." - p.description = "Koala is a lightweight, flexible Ruby SDK for Facebook. It allows read/write access to the social graph via the Graph API and the older REST API, as well as support for realtime updates and OAuth and Facebook Connect authentication. Koala is fully tested and supports Net::HTTP and Typhoeus connections out of the box and can accept custom modules for other services." - p.url = "http://github.com/arsduo/koala" - p.author = ["Alex Koppel", "Chris Baclig", "Rafi Jacoby", "Context Optional"] - p.email = "alex@alexkoppel.com" - p.ignore_pattern = ["tmp/*", "script/*", "pkg/*"] - p.runtime_dependencies = ["json >=1.0", "multipart-post >=1.0"] - p.development_dependencies = [] - p.retain_gemspec = true +begin + require 'bundler/setup' + Bundler::GemHelper.install_tasks +rescue LoadError + puts 'although not required, bundler is recommened for running the tests' +end + + +task :default => :spec + +require 'rspec/core/rake_task' +RSpec::Core::RakeTask.new do |t| + t.rspec_opts = ["--color", '--format doc'] end \ No newline at end of file