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-5.2.1 t/worker-follows-master-to-death.ru
rainbows-5.2.0 t/worker-follows-master-to-death.ru
rainbows-5.1.1 t/worker-follows-master-to-death.ru
rainbows-5.1.0 t/worker-follows-master-to-death.ru
rainbows-5.0.0.5.ge717 t/worker-follows-master-to-death.ru
rainbows-5.0.0 t/worker-follows-master-to-death.ru
rainbows-4.7.0 t/worker-follows-master-to-death.ru
rainbows-4.6.2 t/worker-follows-master-to-death.ru
rainbows-4.6.1 t/worker-follows-master-to-death.ru
rainbows-4.6.0.4.g4108 t/worker-follows-master-to-death.ru
rainbows-4.6.0 t/worker-follows-master-to-death.ru
rainbows-4.5.0 t/worker-follows-master-to-death.ru
rainbows-4.4.3 t/worker-follows-master-to-death.ru
rainbows-4.4.2 t/worker-follows-master-to-death.ru
rainbows-4.4.1.1.gd5c8c t/worker-follows-master-to-death.ru
rainbows-4.4.1 t/worker-follows-master-to-death.ru
rainbows-4.4.0 t/worker-follows-master-to-death.ru
rainbows-4.3.1 t/worker-follows-master-to-death.ru
rainbows-4.3.0 t/worker-follows-master-to-death.ru
rainbows-4.2.0 t/worker-follows-master-to-death.ru