Sha256: 2bee224c7b73b34a854cec5118379b4e8fef15e0c058dc09c977f0a43380e524

Contents?: true

Size: 301 Bytes

Versions: 44

Compression:

Stored size: 301 Bytes

Contents

use Rack::ContentLength
headers = { 'Content-Type' => 'text/plain' }
run lambda { |env|
  /\A100-continue\z/i =~ env['HTTP_EXPECT'] and return [ 100, {}, [] ]
  env['rack.input'].read

  case env["PATH_INFO"]
  when %r{/sleep/(\d+)}
    Rainbows.sleep($1.to_i)
  end
  [ 200, headers, [ "#$$\n" ] ]
}

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
rainbows-4.1.0 t/worker-follows-master-to-death.ru
rainbows-4.0.0 t/worker-follows-master-to-death.ru
rainbows-3.4.0 t/worker-follows-master-to-death.ru
rainbows-3.3.0 t/worker-follows-master-to-death.ru
rainbows-3.2.0 t/worker-follows-master-to-death.ru
rainbows-3.1.0 t/worker-follows-master-to-death.ru
rainbows-3.0.0 t/worker-follows-master-to-death.ru
rainbows-2.1.0 t/worker-follows-master-to-death.ru
rainbows-2.0.1 t/worker-follows-master-to-death.ru
rainbows-2.0.0 t/worker-follows-master-to-death.ru
rainbows-1.0.0 t/worker-follows-master-to-death.ru
rainbows-1.0.0pre1 t/worker-follows-master-to-death.ru
rainbows-0.97.0 t/worker-follows-master-to-death.ru
rainbows-0.96.0 t/worker-follows-master-to-death.ru
rainbows-0.95.1 t/worker-follows-master-to-death.ru
rainbows-0.95.0 t/worker-follows-master-to-death.ru
rainbows-0.94.0 t/worker-follows-master-to-death.ru
rainbows-0.93.0 t/worker-follows-master-to-death.ru
rainbows-0.92.0 t/worker-follows-master-to-death.ru
rainbows-0.91.1 t/worker-follows-master-to-death.ru