Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

42 lines (34 sloc) 1.111 kb
require 'rubygems'
require 'bundler'
Bundler.setup(:default, :development)
require 'rake'
require 'appraisal'
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "rspec-spies"
gem.summary = %Q{rspec has gone without tests spies. no more!}
gem.description = %Q{test spies, for rspec}
gem.email = "josh@technicalpickles.com"
gem.homepage = "http://github.com/technicalpickles/rspec-spies"
gem.authors = ["Joshua Nichols"]
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end
Jeweler::GemcutterTasks.new
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new do |t|
t.pattern = FileList['spec/**/*_spec.rb']
end
RSpec::Core::RakeTask.new(:rcov) do |t|
t.pattern = FileList['spec/**/*_spec.rb']
t.rcov = true
t.rcov_opts = ['--exclude', 'spec']
end
task :default => :spec
require 'rdoc/task'
RDoc::Task.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
rdoc.rdoc_dir = 'rdoc'
rdoc.title = "rspec-spies #{version}"
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/*.rb')
end
Jump to Line
Something went wrong with that request. Please try again.