Sha256: 8ffe636c23824879b46455929c031619c68b09df9a805a8e4a6eb42e7521226d

Contents?: true

Size: 1.08 KB

Versions: 2

Compression:

Stored size: 1.08 KB

Contents

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rspec-spies-2.1.4 Rakefile
rspec-spies-2.1.3 Rakefile