Sha256: e4a673fbafd15229fd15c31fa4a71f194ee99e2ac4c28efbac74fe968f6a027e

Contents?: true

Size: 221 Bytes

Versions: 9

Compression:

Stored size: 221 Bytes

Contents

$:.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'rack/throttle'

use Rack::Throttle::Interval, :min => 3.0, :cache => {}

run lambda { |env| [200, {'Content-Type' => 'text/plain'}, "Hello, world!\n"] }

Version data entries

9 entries across 9 versions & 3 rubygems

Version Path
improved-rack-throttle-0.9.0 etc/hash.ru
improved-rack-throttle-0.8.0 etc/hash.ru
improved-rack-throttle-w-expiry-0.8.0 etc/hash.ru
improved-rack-throttle-0.7.1 etc/hash.ru
improved-rack-throttle-0.7.0 etc/hash.ru
improved-rack-throttle-0.6.0 etc/hash.ru
improved-rack-throttle-0.5.0 etc/hash.ru
railslove-rack-throttle-0.0.1 etc/hash.ru
railslove-rack-throttle-0.0.0 etc/hash.ru