Sha256: 4d302184ee6b4255c690c4bba6e62439320cbf969649bba2001d6011eeacd260

Contents?: true

Size: 617 Bytes

Versions: 18

Compression:

Stored size: 617 Bytes

Contents

require 'bundler/setup'
require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
require 'cucumber/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

Cucumber::Rake::Task.new do |t|
  t.fork = false
  t.cucumber_opts = ['--format', (ENV['CUCUMBER_FORMAT'] || 'progress')]
end

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

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

Version data entries

18 entries across 17 versions & 2 rubygems

Version Path
shoulda-matchers-2.5.0 Rakefile
shoulda-matchers-2.4.0 Rakefile
shoulda-matchers-2.4.0.rc1 Rakefile
shoulda-matchers-2.3.0 Rakefile
challah-1.0.0 vendor/bundle/gems/shoulda-matchers-2.2.0/Rakefile
shoulda-matchers-2.2.0 Rakefile
challah-1.0.0.beta3 vendor/bundle/gems/shoulda-matchers-2.1.0/Rakefile
challah-1.0.0.beta3 vendor/bundle/gems/shoulda-matchers-1.5.6/Rakefile
shoulda-matchers-2.1.0 Rakefile
challah-1.0.0.beta2 vendor/bundle/gems/shoulda-matchers-1.5.6/Rakefile
challah-1.0.0.beta vendor/bundle/gems/shoulda-matchers-1.5.6/Rakefile
shoulda-matchers-2.0.0 Rakefile
shoulda-matchers-1.5.6 Rakefile
shoulda-matchers-1.5.5 Rakefile
shoulda-matchers-1.5.4 Rakefile
shoulda-matchers-1.5.2 Rakefile
shoulda-matchers-1.5.1 Rakefile
shoulda-matchers-1.5.0 Rakefile