Sha256: 44d5db5ec67e4dad280314fd283d9400a8e7aa52a9fb516851cd30fac7722b87

Contents?: true

Size: 820 Bytes

Versions: 1

Compression:

Stored size: 820 Bytes

Contents

require 'rake'
require 'spec/rake/spectask'
require 'rake/rdoctask'

desc "Default: run specs"
task :default => :spec

desc "Run all the specs for the time_travel plugin."
Spec::Rake::SpecTask.new do |t|
  t.spec_files = FileList['spec/**/*_spec.rb']
  t.spec_opts = ['--colour']
  t.rcov = true
  t.rcov_opts = ["--exclude \"spec/*,gems/*\""]
end

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gemspec|
    gemspec.name = "time_travel"
    gemspec.summary = "A Rails plugin that makes it easy to write tests or specs for time-dependent code"
    gemspec.email = "pete@notahat.com"
    gemspec.homepage = "http://github.com/notahat/time_travel"
    gemspec.authors = ["Pete Yandell"]
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler not available. Install it with: sudo gem install jeweler"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
time_travel-0.1.0 Rakefile