nfagent 0.9.9 → 0.9.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -36,9 +36,12 @@ client = Client.new("127.0.0.1", "10000")
36
36
 
37
37
  while !$stdin.eof?
38
38
  line = $stdin.readline
39
+ entries = line.split("\n")
39
40
  # Assume that no meaningful line will be less than this
40
- if line.length > 10
41
- client.write_safely(line)
41
+ entries.each do |e|
42
+ if e.length > 10
43
+ client.write_safely(e)
44
+ end
42
45
  end
43
46
  $stdout.flush
44
47
  end
@@ -30,5 +30,5 @@ require 'nfagent/server'
30
30
  require 'nfagent/cli'
31
31
 
32
32
  module NFAgent
33
- VERSION = '0.9.9'
33
+ VERSION = '0.9.10'
34
34
  end
@@ -10,7 +10,7 @@ module NFAgent
10
10
  end
11
11
 
12
12
  def receive_data(data)
13
- if data && data.length > 2
13
+ if data && data.length > 10
14
14
  @handler.append(data)
15
15
  end
16
16
  send_data('OK')
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 9
8
- - 9
9
- version: 0.9.9
8
+ - 10
9
+ version: 0.9.10
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-27 00:00:00 +09:30
17
+ date: 2010-08-02 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
- - 4
71
+ - 6
72
72
  - 0
73
- version: 2.4.0
73
+ version: 2.6.0
74
74
  type: :development
75
75
  version_requirements: *id004
76
76
  description: Logging Agent for NetFox Online