Sha256: 2e2a6747d157057eb72fcaa46f994f239d13e41666210aa9662718c6a7e31573

Contents?: true

Size: 306 Bytes

Versions: 58

Compression:

Stored size: 306 Bytes

Contents

require 'sinatra'
require File.join(File.dirname(__FILE__), 'webrick_patch')

class App < Sinatra::Base
  set :environment, :production
  enable :dump_errors

  get('/id/:id/wait/:wait') do |id, wait|
    sleep(wait.to_i)
    id.to_s
  end
end

# get everything autoloaded, mainly for rbx
App.new

run App

Version data entries

58 entries across 56 versions & 4 rubygems

Version Path
excon-0.64.0 tests/rackups/thread_safety.ru
excon-0.63.0 tests/rackups/thread_safety.ru
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/excon-0.62.0/tests/rackups/thread_safety.ru
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/excon-0.62.0/tests/rackups/thread_safety.ru
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/excon-0.62.0/tests/rackups/thread_safety.ru
excon-0.62.0 tests/rackups/thread_safety.ru
excon-0.61.0 tests/rackups/thread_safety.ru
excon-0.60.0 tests/rackups/thread_safety.ru
excon-0.59.0 tests/rackups/thread_safety.ru
excon-0.58.0 tests/rackups/thread_safety.ru
excon-0.57.1 tests/rackups/thread_safety.ru
excon-0.57.0 tests/rackups/thread_safety.ru
excon-0.56.0 tests/rackups/thread_safety.ru
excon-0.55.0 tests/rackups/thread_safety.ru
excon-0.54.0 tests/rackups/thread_safety.ru
excon-0.53.0 tests/rackups/thread_safety.ru
excon-0.52.0 tests/rackups/thread_safety.ru
excon-0.51.0 tests/rackups/thread_safety.ru
excon-0.50.1 tests/rackups/thread_safety.ru
excon-0.50.0 tests/rackups/thread_safety.ru