Sha256: 8638850586dd1e76467ba38b7f11ad104dc73e7dfec4ea1d9f05f587f49a66f5

Contents?: true

Size: 493 Bytes

Versions: 27

Compression:

Stored size: 493 Bytes

Contents

# frozen_string_literal: true

require 'bundler/gem_tasks'
require 'rspec/core/rake_task'

# Exclude all spec with type :thread
RSpec::Core::RakeTask.new(:spec) do |_t|
end

# Exclude all spec with type :thread
RSpec::Core::RakeTask.new(:classic) do |t|
  t.rspec_opts = '--tag ~type:thread'
end

# Include just spec with type :thread
RSpec::Core::RakeTask.new(:concurrency) do |t|
  t.rspec_opts = '--tag type:thread'
end

task default: :spec
task request: :classic
task thread: :concurrency

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
ruby_rabbitmq_janus-3.0.0.pre.366 Rakefile
ruby_rabbitmq_janus-3.0.0.pre.364 Rakefile
ruby_rabbitmq_janus-3.0.0.pre.358 Rakefile
ruby_rabbitmq_janus-3.0.0.pre.354 Rakefile
ruby_rabbitmq_janus-3.0.0.pre.352 Rakefile
ruby_rabbitmq_janus-3.0.0.pre.351 Rakefile
ruby_rabbitmq_janus-3.0.0.pre.336 Rakefile
ruby_rabbitmq_janus-3.0.0.pre.335 Rakefile
ruby_rabbitmq_janus-3.0.0.pre.334 Rakefile
ruby_rabbitmq_janus-3.0.0.pre.330 Rakefile
ruby_rabbitmq_janus-3.0.0.pre.328 Rakefile
ruby_rabbitmq_janus-3.0.0.pre.327 Rakefile
ruby_rabbitmq_janus-2.7.2 Rakefile
ruby_rabbitmq_janus-2.7.2.pre.322 Rakefile
ruby_rabbitmq_janus-2.7.2.pre.320 Rakefile
ruby_rabbitmq_janus-2.7.2.pre.319 Rakefile
ruby_rabbitmq_janus-2.7.2.pre.318 Rakefile
ruby_rabbitmq_janus-2.7.2.pre.317 Rakefile
ruby_rabbitmq_janus-2.7.2.pre.316 Rakefile
ruby_rabbitmq_janus-2.7.2.pre.315 Rakefile