log_stats 0.4.7 → 0.4.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/example/log_stats +1 -1
- data/lib/log_stats/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0fa3ba2ad1add0dd1d2afad2eaddd30170d91706
|
4
|
+
data.tar.gz: 26bd2de0d76a031cd95714c52380d89747748be6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e665bbab7dd4c3efa3bbbb6d589737b4bf635e3c4086e9982e9dd82a7ed3e958117dfe1ea8348816d48f868af363400514fac7e280725e5a5c0e85bb062b70b0
|
7
|
+
data.tar.gz: 5784984b37e09e99c5506349f34c134c600924df70e07bc7d48a4b4ab0cd559eb1667e20e6a36d461e5175580dd286d7eb76ecd8432744d01362db5b45bd1bfe
|
data/example/log_stats
CHANGED
@@ -101,7 +101,7 @@ stats_path = File.join(dir_path, 'stats.json')
|
|
101
101
|
if File.exists?(events_path)
|
102
102
|
# NOTE: it's faster to read cached JSON events data than processing the log file
|
103
103
|
events = LogStats::Logger.elapsed(config, "Reading and parsing #{events_path}") do
|
104
|
-
JSON.parse(IO.read(
|
104
|
+
JSON.parse(IO.read(events_path))
|
105
105
|
end
|
106
106
|
else
|
107
107
|
log_file_data = LogStats::Logger.elapsed(config, "Reading log file #{file_path}") do
|
data/lib/log_stats/version.rb
CHANGED