Sha256: 413448563817b7a5d9c96711bad7377779e75ecf60a6a82bb37f611848180081

Contents?: true

Size: 556 Bytes

Versions: 2

Compression:

Stored size: 556 Bytes

Contents

require "bundler/gem_tasks"
require "multi_worker"

require 'rspec/core/rake_task'

desc "Run RSpec"
RSpec::Core::RakeTask.new do |t|
  t.verbose = true
  t.pattern = "spec/*_spec.rb"
end

MultiWorker::AdapterNames.each do |adapter_name|
  namespace :spec do
    desc "Run #{adapter_name} adapter spec"
    RSpec::Core::RakeTask.new(adapter_name) do |t|
      t.verbose = true
      t.pattern = "spec/adapters/#{adapter_name}_spec.rb"
    end
  end
end

task :default => [:spec].concat(MultiWorker::AdapterNames.map {|adapter_name| "spec:#{adapter_name}"})

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
multi_worker-0.2.0 Rakefile
multi_worker-0.1.0 Rakefile