Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (20 sloc) 0.597 kb
require 'rubygems' unless ENV['NO_RUBYGEMS']
require 'rspec/core/rake_task'
require 'rubygems/package_task'
require File.join(File.dirname(__FILE__), "lib/version")
require 'bundler'
require 'digest'
Bundler::GemHelper.install_tasks
task :default => :spec
desc 'Run specs'
RSpec::Core::RakeTask.new do |t|
t.pattern = './spec/**/*_spec.rb'
end
if RUBY_VERSION < '1.9.0'
desc 'Run all examples with RCov'
RSpec::Core::RakeTask.new('spec:rcov') do |t|
t.rcov = true
t.pattern = './spec/**/*_spec.rb'
t.rcov_opts = %w(-T --sort coverage --exclude gems/,spec/)
end
end
Jump to Line
Something went wrong with that request. Please try again.