Sha256: 83305951b5a89ede34f315d41518dcecd82ce998dfa1f7258c4ebc3cbcff0710

Contents?: true

Size: 397 Bytes

Versions: 10

Compression:

Stored size: 397 Bytes

Contents

#!/usr/bin/env rake
require "bundler/gem_tasks"
require "rake/testtask"
require './test/test_helper.rb'

TestApp.load_tasks

task default: :test

desc 'Run tests in isolated processes'
namespace :test do
  task :isolated do
    Dir[test_task.pattern].each do |file|
      cmd = ['ruby']
      test_task.libs.each { |l| cmd << '-I' << l }
      cmd << file
      sh cmd.join(' ')
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
jsonapi-resources-0.4.2 Rakefile
jsonapi-resources-0.4.1 Rakefile
jsonapi-resources-0.4.0 Rakefile
jsonapi-resources-0.3.3 Rakefile
jsonapi-resources-0.3.2 Rakefile
jsonapi-resources-0.3.1 Rakefile
jsonapi-resources-0.3.0 Rakefile
jsonapi-resources-0.3.0.pre2 Rakefile
jsonapi-resources-0.3.0.pre1 Rakefile
jsonapi-resources-0.2.0 Rakefile