Sha256: 2bb48831d8fab2bcccfb53dc1044a8f615aa80452f04f294c1599b5cc48a9445

Contents?: true

Size: 451 Bytes

Versions: 2

Compression:

Stored size: 451 Bytes

Contents

require 'bundler/setup'
require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
require 'appraisal'

RSpec::Core::RakeTask.new do |t|
  t.pattern = "spec/**/*_spec.rb"
  t.rspec_opts = '--color --format progress'
  t.verbose = false
end

task :default do |t|
  if ENV['BUNDLE_GEMFILE'] =~ /gemfiles/
    exec 'rake spec'
  else
    Rake::Task['appraise'].execute
  end
end

task :appraise => ['appraisal:install'] do |t|
  exec 'rake appraisal'
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
shoulda-kept-respond-with-content-type-1.0.0 Rakefile
shoulda-kept-assign-to-1.0.1 Rakefile