log_sense 1.1.0 → 1.1.1
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 +1 -1
- 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: cc9dd86438ff397137ef7981c567e8b52e06a74c80e7dbcceba15d9c389f5e58
|
4
|
+
data.tar.gz: eac5ab610141d59a9f1cd95e68e40cce835c9a8280be52986f0dfccf4c019955
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb94834ee784c25411c36d0490747c05d97cd9fe6d22cbc7b8c6d7734615b3095beddeaf1245466cf7f7e6148a6cbf500cd76434735bba568125919d1be0cef1
|
7
|
+
data.tar.gz: b5d66648d8fb0815f71386a4fcaf6eebc071b0408dff77d7a488fb2f348773c33765c120a88238acb52e7878c3a9fcf5a9c2bdc9e73346097021ece83b2090a6
|
@@ -289,7 +289,7 @@ module LogSense
|
|
289
289
|
end
|
290
290
|
|
291
291
|
# generate a unique visitor id from an event
|
292
|
-
def unique_visitor_id event
|
292
|
+
def self.unique_visitor_id event
|
293
293
|
"#{DateTime.parse(event[:started_at] || event[:ended_at] || "1970-01-01").strftime("%Y-%m-%d")} #{event[:ip]}"
|
294
294
|
end
|
295
295
|
|
data/lib/log_sense/version.rb
CHANGED