Sha256: 796cd9f4c44e4180ac633776ce98fb108f21b6f9fbf61fe94b9d7a71c6dfe9df

Contents?: true

Size: 244 Bytes

Versions: 33

Compression:

Stored size: 244 Bytes

Contents

use Rack::ContentLength
use Rack::ContentType, 'text/plain'
use Rainbows::ThreadTimeout, :timeout => 1, :threshold => -1
run lambda { |env|
  if env["PATH_INFO"] =~ %r{/([\d\.]+)\z}
    Rainbows.sleep($1.to_f)
  end
  [ 200, [], [ "HI\n" ] ]
}

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
rainbows-5.2.1 t/t9101.ru
rainbows-5.2.0 t/t9101.ru
rainbows-5.1.1 t/t9101.ru
rainbows-5.1.0 t/t9101.ru
rainbows-5.0.0.5.ge717 t/t9101.ru
rainbows-5.0.0 t/t9101.ru
rainbows-4.7.0 t/t9101.ru
rainbows-4.6.2 t/t9101.ru
rainbows-4.6.1 t/t9101.ru
rainbows-4.6.0.4.g4108 t/t9101.ru
rainbows-4.6.0 t/t9101.ru
rainbows-4.5.0 t/t9101.ru
rainbows-4.4.3 t/t9101.ru
rainbows-4.4.2 t/t9101.ru
rainbows-4.4.1.1.gd5c8c t/t9101.ru
rainbows-4.4.1 t/t9101.ru
rainbows-4.4.0 t/t9101.ru
rainbows-4.3.1 t/t9101.ru
rainbows-4.3.0 t/t9101.ru
rainbows-4.2.0 t/t9101.ru