rack-reqorder 0.4.6 → 0.4.7
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b99da98e8b48586df92b279d7dbe314c51c3e36
|
4
|
+
data.tar.gz: c711fd9aadd35b7696fcda7551c3a463ec92d54c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb376f815f9ac833d0c4d457519eac0e127e8397e61846b25313e6f0b3985db05d51934bee90c251e61f0a83d9c1baca304ceea62681c6df5767711514c38a3a
|
7
|
+
data.tar.gz: 6c63a81de0c7307676ecb89f7e9343443decf31979d262f39c22a8eaa3958c96884b408616b0187207f460f146107207c8474d326e27f047c117512ed67d284a
|
data/lib/rack/reqorder/logger.rb
CHANGED
@@ -62,7 +62,7 @@ module Rack::Reqorder
|
|
62
62
|
[:all.to_s, DateTime.now.utc.hour.to_s].each do |key|
|
63
63
|
statistic = route_path.send("statistic_#{key}".to_sym)
|
64
64
|
|
65
|
-
if key != :all && statistic && statistic.created_at.to_date < DateTime.now.utc.to_date
|
65
|
+
if key != :all.to_s && statistic && statistic.created_at.to_date < DateTime.now.utc.to_date
|
66
66
|
statistic = route_path.send("create_statistic_#{key}")
|
67
67
|
end
|
68
68
|
|
@@ -147,7 +147,6 @@ module Rack::Reqorder
|
|
147
147
|
e_class: exception.class,
|
148
148
|
line: line.to_i,
|
149
149
|
filepath: path[1..-1],
|
150
|
-
route_path: http_request.route_path,
|
151
150
|
environment: app_environment
|
152
151
|
)
|
153
152
|
|
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.7
|
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-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|