Sha256: c985346621ed0177b86c304a2f4ca8b66c47dfdb66d8c1b8bbfdf5a38cb0dccc

Contents?: true

Size: 568 Bytes

Versions: 4

Compression:

Stored size: 568 Bytes

Contents

require 'rake'

require 'rubygems'
require 'bundler'
Bundler.setup
Bundler::GemHelper.install_tasks

begin
  require 'rcov/rcovtask'
  Rcov::RcovTask.new do |t|
    t.libs << 'test'
    t.test_files = FileList['test/**/*_test.rb']
    t.verbose = true
  end
rescue LoadError
  puts "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
end

desc 'Run specs'
task :spec do
  system "rspec spec/sluggable_finder_spec.rb"
end

load File.join(File.dirname(__FILE__), 'tasks', 'db.rake')

task :default => :spec

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sluggable_finder-2.3.5 Rakefile
sluggable_finder-2.3.4 Rakefile
sluggable_finder-2.3.3 Rakefile
sluggable_finder-2.3.2 Rakefile