rack-timeout 0.1.2 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/rack/timeout.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 738562ce41045bc02a6cdf9ffb7333c6bdd73247
4
- data.tar.gz: c665463483d072eda397c6ad9056d3ba2073f7ef
3
+ metadata.gz: 5a99f11768e4de71a88bbc6eafa4bbb5817cf639
4
+ data.tar.gz: 1e5d53984df8f0152c945a9dd2d19a0c60a0b78a
5
5
  SHA512:
6
- metadata.gz: ffefe99a1089a25cd504cd88e3dbc4bf4a834bf08b982ad97aa09057ba5e03871f38e5ed36bf65ba256a1f7456e429858ff6a796bee3a90069c9dc0e3dbb38c9
7
- data.tar.gz: 1b6e1b54a34fa911e21bfdefefde66f3d74c75a590cb42642cf9bdc512bdb5558ef987815f7943edf069567fb7574f7c982ef87c09ca5fb28101c3ab4ef03742
6
+ metadata.gz: ae467f02c8ceefed9e53a40214595a9e3daa2f28b71500b1f28230e322f420e07b1f0bac83b0115e9dae8b13df4100bd734d64b007959e697afb773530286633
7
+ data.tar.gz: 5926a3baff52db4aa3bb7a2c63c3c988431820565faaef508e2420f34ae1b8ca86b0b09762d229dadb215308a007c1116344c9bf607f788a7ace13487d71225f
data/lib/rack/timeout.rb CHANGED
@@ -3,7 +3,7 @@ require 'securerandom'
3
3
 
4
4
  module Rack
5
5
  class Timeout
6
- class Error < RuntimeError; end # superclass for the following…
6
+ class Error < Exception; end # superclass for the following…
7
7
  class RequestExpiryError < Error; end # raised when a request is dropped without being given a chance to run (because too old)
8
8
  class RequestTimeoutError < Error; end # raised when a request has run for too long
9
9
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-timeout
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Caio Chassot