nfagent 0.9.8 → 0.9.9
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/squid_log_writer +4 -1
- data/lib/nfagent.rb +1 -1
- metadata +5 -5
data/bin/squid_log_writer
CHANGED
@@ -36,7 +36,10 @@ client = Client.new("127.0.0.1", "10000")
|
|
36
36
|
|
37
37
|
while !$stdin.eof?
|
38
38
|
line = $stdin.readline
|
39
|
-
|
39
|
+
# Assume that no meaningful line will be less than this
|
40
|
+
if line.length > 10
|
41
|
+
client.write_safely(line)
|
42
|
+
end
|
40
43
|
$stdout.flush
|
41
44
|
end
|
42
45
|
client.close
|
data/lib/nfagent.rb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 9
|
8
|
-
-
|
9
|
-
version: 0.9.
|
8
|
+
- 9
|
9
|
+
version: 0.9.9
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Daniel Draper
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-07-
|
17
|
+
date: 2010-07-27 00:00:00 +09:30
|
18
18
|
default_executable: nfagent
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -68,9 +68,9 @@ dependencies:
|
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
segments:
|
70
70
|
- 2
|
71
|
-
-
|
71
|
+
- 4
|
72
72
|
- 0
|
73
|
-
version: 2.
|
73
|
+
version: 2.4.0
|
74
74
|
type: :development
|
75
75
|
version_requirements: *id004
|
76
76
|
description: Logging Agent for NetFox Online
|