rack-reqorder 0.4.5 → 0.4.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rack/reqorder/logger.rb +7 -5
- data/lib/rack/reqorder/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4cab88349aeef35a9e5760fd13f3932461d1f7ce
|
4
|
+
data.tar.gz: e68d3ca8006f017f316899d9c6b3f71b95fcfcfd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0b01473c631dbaba64bd037c185d16fa90185cc7db87687fcccff6e42186b3d437e8867cea022c646ad10aa698a82bac16008e8273d0375eeb92c8b71305f37
|
7
|
+
data.tar.gz: 147923cd75bde1e4b3cd05fa1ad0deeeef1c7bdf187821be29cf1a8e7d4b2146e73c90edf6be4445a55eb85977acb20b3dbeeae873aa317e5fd576290fade923
|
data/lib/rack/reqorder/logger.rb
CHANGED
@@ -19,11 +19,13 @@ module Rack::Reqorder
|
|
19
19
|
ensure
|
20
20
|
response_time = Time.now.to_f - start
|
21
21
|
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
22
|
+
if response
|
23
|
+
save_statistics(
|
24
|
+
rack_request: rack_request,
|
25
|
+
rack_response: response,
|
26
|
+
response_time: response_time
|
27
|
+
)
|
28
|
+
end
|
27
29
|
end
|
28
30
|
|
29
31
|
return [status, headers, body]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-reqorder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Filippos Vasilakis
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-10-
|
12
|
+
date: 2015-10-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|