bipbip 0.5.21 → 0.5.22
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bipbip/plugin/log_parser.rb +8 -5
- data/lib/bipbip/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a8181e4038741fa6d1801abbb890ac5f50736760
|
4
|
+
data.tar.gz: 62c1485ae9a4b4eb11597deeae94409ad7040b44
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea4af038379c1556123ef4a15145c69ec8c0cd6991cf7236c7d21edeeb85f992d638c26613cdadd86281760d3be104391d2edb393e1aca9d8453a3c319252103
|
7
|
+
data.tar.gz: 70941ecf480e0dd1cbb83202089b114ce3d9d00b3b93c52f06681bc1f35d2dbff12f98cfb6d7811b128c18eb626291138950bb69122b7f5e18da77be3d3f0fca
|
@@ -11,7 +11,14 @@ module Bipbip
|
|
11
11
|
end
|
12
12
|
|
13
13
|
def monitor
|
14
|
-
|
14
|
+
begin
|
15
|
+
io = IO.select([notifier.to_io], [], [], 0)
|
16
|
+
rescue Errno::EBADF => e
|
17
|
+
log(Logger::WARN, "Selecting from inotify IO gives EBADF, resetting notifier")
|
18
|
+
reset_notifier
|
19
|
+
end
|
20
|
+
|
21
|
+
unless io.nil?
|
15
22
|
n = notifier
|
16
23
|
begin
|
17
24
|
n.process
|
@@ -65,10 +72,6 @@ module Bipbip
|
|
65
72
|
@notifier.stop
|
66
73
|
@notifier.close
|
67
74
|
@notifier = nil
|
68
|
-
|
69
|
-
# Run GC to make sure file descriptor is freed
|
70
|
-
# See https://github.com/nex3/rb-inotify/pull/43
|
71
|
-
GC.start
|
72
75
|
end
|
73
76
|
end
|
74
77
|
|
data/lib/bipbip/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bipbip
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.22
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cargo Media
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2015-03-
|
13
|
+
date: 2015-03-05 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: copperegg
|