log_sense 1.0.8 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/log_sense/rails_log_parser.rb +2 -2
- data/lib/log_sense/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db5e56ec451207b98789e32e541d30c97f274f7a046cf0ce863a0ff37597f180
|
4
|
+
data.tar.gz: d0711b2517329a01137a45a4279db59a66d678ffcc165a058a0b1b04c3b1fecb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b050298809b1003e1cc2e0ac28fd903a0da1ef3214a7e7ce3cb09012d46ebcd135dc2ea8dab8985078de4a10f5a928ad13b8aefa6aa9d2f333e3cad50934ec0
|
7
|
+
data.tar.gz: 49116ba2ec1da8f676b87f8512fdc5731be8c07203c52e864a6cdf4f470a1343adabd33153d5e77b6d64c2493e8ca18fff9a196c589d88aedd6fbc7fffbccc9e
|
@@ -97,7 +97,7 @@ module LogSense
|
|
97
97
|
event[:ended_at],
|
98
98
|
event[:log_id],
|
99
99
|
event[:ip],
|
100
|
-
"#{DateTime.parse(event[:started_at]).strftime("%Y-%m-%d")} #{event[:ip]}",
|
100
|
+
"#{DateTime.parse(event[:started_at] || event[:ended_at]).strftime("%Y-%m-%d")} #{event[:ip]}",
|
101
101
|
event[:url],
|
102
102
|
event[:controller],
|
103
103
|
event[:html_verb],
|
@@ -129,7 +129,7 @@ module LogSense
|
|
129
129
|
event[:ended_at],
|
130
130
|
event[:log_id],
|
131
131
|
event[:ip],
|
132
|
-
"#{DateTime.parse(event[:started_at]).strftime("%Y-%m-%d")} #{event[:ip]}",
|
132
|
+
"#{DateTime.parse(event[:started_at] || event[:ended_at]).strftime("%Y-%m-%d")} #{event[:ip]}",
|
133
133
|
event[:url],
|
134
134
|
event[:controller],
|
135
135
|
event[:html_verb],
|
data/lib/log_sense/version.rb
CHANGED