rack-timeout 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +4 -0
- data/lib/rack/timeout/legacy.rb +2 -5
- data/lib/rack/timeout/rollbar.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 87b7082006e199c0aafd7a9f3da42cd99c58c242
|
4
|
+
data.tar.gz: 46fbc6fbfb1ee52bba6dcfdc39b63764cc9ef283
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8985ff46ae3101ad1da50fe9cd56c25d384f57f4e4065feb893e5176a4cd51a53cb926862ea876ea0bf2ae636f0c7275d0a63b91cd172bd91c02c7031aa3026f
|
7
|
+
data.tar.gz: f7ae0275dc85808da16fd0de36396a9b6c53ce8e19d6e562e1fd90315c0cb3485469745ce480a9b8633d2d497fc8ee6a1716e538c3258a76b2d42879a7a3ac75
|
data/CHANGELOG
CHANGED
data/lib/rack/timeout/legacy.rb
CHANGED
@@ -26,12 +26,9 @@ module Rack::Timeout::ClassLevelProperties
|
|
26
26
|
end
|
27
27
|
|
28
28
|
module InstanceMethods
|
29
|
-
def read_timeout_property_with_class_override property_name
|
30
|
-
read_timeout_property self.class.send(property_name), method(property_name).super_method.call
|
31
|
-
end
|
32
29
|
|
33
30
|
[:service_timeout, :wait_timeout, :wait_overtime].each do |m|
|
34
|
-
define_method(m) {
|
31
|
+
define_method(m) { read_timeout_property self.class.send(m), super() }
|
35
32
|
end
|
36
33
|
|
37
34
|
def service_past_wait
|
@@ -43,4 +40,4 @@ end
|
|
43
40
|
|
44
41
|
|
45
42
|
Rack::Timeout.extend Rack::Timeout::ClassLevelProperties::ClassMethods
|
46
|
-
Rack::Timeout.prepend Rack::Timeout::ClassLevelProperties::InstanceMethods
|
43
|
+
Rack::Timeout.send :prepend, Rack::Timeout::ClassLevelProperties::InstanceMethods
|
data/lib/rack/timeout/rollbar.rb
CHANGED