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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f41223ee90ab08944ff0febf8ae290dd59e64ad3
4
- data.tar.gz: 42259485678d72fb2f8ae10e5e22346c1a55e479
3
+ metadata.gz: 0fa3ba2ad1add0dd1d2afad2eaddd30170d91706
4
+ data.tar.gz: 26bd2de0d76a031cd95714c52380d89747748be6
5
5
  SHA512:
6
- metadata.gz: 8ee67e9716c153913ad30c99236726e093de962eddf58de69c2159a242421d1b11d5b37e7d263b5a71e722738e8d9c24bce4bdde4e02b3fc344eeeec8b32a285
7
- data.tar.gz: 0a5416e38a1e5d051bd573036de29ac6c6dfc2877b33942725354c4aba60b8b78dd273b305e39c4ff1b1461b653446b7953a77868d688523eb79cc1d97a86021
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("events.json"))
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
@@ -1,3 +1,3 @@
1
1
  module LogStats
2
- VERSION = "0.4.7"
2
+ VERSION = "0.4.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: log_stats
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.7
4
+ version: 0.4.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Marklund