Sha256: 6f80ea7decf413057a2470f02cf6297123ee0f5bf1a30a6f462ebad8c4d0cb2a

Contents?: true

Size: 627 Bytes

Versions: 5

Compression:

Stored size: 627 Bytes

Contents

# encoding: utf-8

require 'rubygems'
require 'bundler'
begin
  Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
  $stderr.puts e.message
  $stderr.puts "Run `bundle install` to install missing gems"
  exit e.status_code
end
require 'bundler/gem_tasks'
require 'rspec/core'
require 'rspec/core/rake_task'

RSpec::Core::RakeTask.new(:spec) do |spec|
  spec.pattern =  FileList['spec/**/*_spec.rb'].sort_by do|n|
    # we need to run post_rails_init_spec as the latest
    # because it cause unrevertable changes to runtime
    n.include?("post_rails_init_spec") ? 1 : 0
  end
end

task :default => :spec

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
js-routes-0.9.3 Rakefile
js-routes-0.9.2 Rakefile
js-routes-0.9.1 Rakefile
js-routes-0.9.0 Rakefile
js-routes-0.8.8 Rakefile