logbrarian 0.1.3 → 0.1.4

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: 45b66b2007db632a830cd073b3d669f4f9fb6bd5
4
- data.tar.gz: 3b8abbba2d519adb69ff3b7fa558122717028f0a
3
+ metadata.gz: d314c507fc96a62da5e16276a255ebf81b1eedf0
4
+ data.tar.gz: 9be4b3e626d0a3b76eaf226cc74b40ff10f2ee06
5
5
  SHA512:
6
- metadata.gz: 22d1135e9f28601c605438c3f83bf738a7e43bfc22847998cc8293579cf9d114c2cf5cf50a1cc9bf2952364ed24a8cfcfc91ae9c72789e2b87b1ee2f361644aa
7
- data.tar.gz: 118ba567f15564ad9f7fe1434d176f8bd82763c189ff68b4f94fdb2b0227d7fb843d520b3252b4d807086d88da08bc363331aaa7f7dac30ce3a45fbd2eec2c9e
6
+ metadata.gz: 89f00d62edfb7037b053be5092a0e397d4f949479a02ec682c2bc1c0c1604bb1056c94b00127d7f275a38e3ac00e9f280733888a66cc3b528ba40c2e18ad78e7
7
+ data.tar.gz: 9109c3b00ed95641c1807509b69e702531da2a1f4125194cbd1f7051ac9a45edb22f0657d0baca90caaf7503db0ba56baf0747693f332587d2edab008ebd6eed
data/bin/logbrarian CHANGED
@@ -63,7 +63,7 @@ rescue NotImplementedError
63
63
  end
64
64
  end
65
65
 
66
- if File.birthtime(current_path) < options[:interval].ago
66
+ if birthtime < options[:interval].ago
67
67
  # Rotate older file
68
68
  require 'zlib'
69
69
  current_name = File.basename(current_path)[/[^\.]+/]
@@ -1,3 +1,3 @@
1
1
  module Logbrarian
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logbrarian
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Clink