Sha256: 408a96f3643ed74c34ea1751eb9c75495cd21e76eb548b74703ebcf6564ef4ba

Contents?: true

Size: 487 Bytes

Versions: 2

Compression:

Stored size: 487 Bytes

Contents

require 'bundler'
Bundler::GemHelper.install_tasks

desc 'Set a relevant database.yml for testing'
task :prepare do
  ENV['DB'] ||= 'postgresql'
end

require 'rspec/core/rake_task'
desc 'Run tests on PaperTrailScrapbook with RSpec'
task(:spec).clear
RSpec::Core::RakeTask.new(:spec) do |t|
  t.verbose = false # hide list of specs bit.ly/1nVq3Jn
end

require 'rubocop/rake_task'
RuboCop::RakeTask.new

desc 'Default: run all available test suites'
task default: %i[rubocop prepare spec]

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
paper_trail_scrapbook-0.1.9 Rakefile
paper_trail_scrapbook-0.1.8 Rakefile