Sha256: fde6c49d1ba5ab66da766ddf7a52c430ac69a157ffa329ffd079d769d7b2cec7

Contents?: true

Size: 648 Bytes

Versions: 1

Compression:

Stored size: 648 Bytes

Contents

# encoding: utf-8
require 'bundler/setup'
require 'special_delivery/gem_tasks'
require 'appraisal'

Bundler::GemHelper.install_tasks

begin
  require 'rspec'
rescue Bundler::BundlerError => e
  $stderr.puts e.message
  $stderr.puts "Run `bundle install` to install missing gems"
  exit e.status_code
end

require 'rspec/core/rake_task'

desc "Run specs"
RSpec::Core::RakeTask.new('spec') do |t|
  t.pattern = 'spec/**/*_spec.rb'
  t.rspec_opts = ["-c"]
end

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

namespace :spec do
  desc 'Run specs against all supported versions of Rails'
  task :all => ["appraisal:install", "appraisal", "spec"]
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
md-roadie-2.4.2.md.1 Rakefile