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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 45cf68bf2165554a6392a9277c121952e05dd9a283fe59b881ef957f3682920e
4
- data.tar.gz: 99ded91c60080ffbfda3e60f05ee4b058e215286adfccdb2a727a50d2c7d0467
3
+ metadata.gz: db5e56ec451207b98789e32e541d30c97f274f7a046cf0ce863a0ff37597f180
4
+ data.tar.gz: d0711b2517329a01137a45a4279db59a66d678ffcc165a058a0b1b04c3b1fecb
5
5
  SHA512:
6
- metadata.gz: 45674016ae3c3110584e967dd60166391a07b1401186428e7e949c012bfc883686110e86afeec5450e03d34a8b7831c6bbc1d1b9393215808a2d1feafcd6422b
7
- data.tar.gz: a4e9b7bf983d23ba4e8ac744621e34c5b83eee45076cf165ba9eb856d5687d47191ab048be6fed0ca4316448c84d8f80e1b7daedb518d94a90b52b7f94ee2077
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],
@@ -1,3 +1,3 @@
1
1
  module LogSense
2
- VERSION = "1.0.8"
2
+ VERSION = "1.0.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: log_sense
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.8
4
+ version: 1.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adolfo Villafiorita