nfagent 0.9.15 → 0.9.17

Sign up to get free protection for your applications and to get access to all the features.
@@ -23,6 +23,7 @@ bin/squid_log_writer
23
23
  PostInstall.txt
24
24
  History.txt
25
25
  Manifest.txt
26
+ README.txt
26
27
  nfagent.conf
27
28
  nfagent.init.ubuntu.txt
28
29
  nfagent.init.redhat.txt
@@ -0,0 +1,56 @@
1
+ = NetFox Agent
2
+
3
+ * http://netfox.com
4
+
5
+ == DESCRIPTION:
6
+
7
+ Logging Agent for NetFox Online
8
+
9
+ == FEATURES/PROBLEMS:
10
+
11
+
12
+ == SYNOPSIS:
13
+
14
+
15
+ == REQUIREMENTS:
16
+
17
+ * Event Machine
18
+ * SV Util
19
+
20
+ == INSTALL:
21
+
22
+ sudo gem install nfagent
23
+
24
+ == DEVELOPERS:
25
+
26
+ After checking out the source, run:
27
+
28
+ $ rake newb
29
+
30
+ This task will install any missing dependencies, run the tests/specs,
31
+ and generate the RDoc.
32
+
33
+ == LICENSE:
34
+
35
+ (The MIT License)
36
+
37
+ Copyright (c) 2010 FIX
38
+
39
+ Permission is hereby granted, free of charge, to any person obtaining
40
+ a copy of this software and associated documentation files (the
41
+ 'Software'), to deal in the Software without restriction, including
42
+ without limitation the rights to use, copy, modify, merge, publish,
43
+ distribute, sublicense, and/or sell copies of the Software, and to
44
+ permit persons to whom the Software is furnished to do so, subject to
45
+ the following conditions:
46
+
47
+ The above copyright notice and this permission notice shall be
48
+ included in all copies or substantial portions of the Software.
49
+
50
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
51
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
52
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
53
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
54
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
55
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
56
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -31,5 +31,5 @@ require 'nfagent/cli'
31
31
  require 'nfagent/tests'
32
32
 
33
33
  module NFAgent
34
- VERSION = '0.9.15'
34
+ VERSION = '0.9.17'
35
35
  end
@@ -1,8 +1,12 @@
1
1
  module NFAgent
2
2
  class Tests
3
3
  def self.run
4
- poller = Poller.new
5
- poller.send_heartbeat
4
+ response = Client.post(:poller, Info.new.to_hash)
5
+ if !response.ok?
6
+ puts "Test Failed: #{response.message}"
7
+ else
8
+ puts "Tests PASSED!"
9
+ end
6
10
  end
7
11
  end
8
12
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 9
8
- - 15
9
- version: 0.9.15
8
+ - 17
9
+ version: 0.9.17
10
10
  platform: ruby
11
11
  authors:
12
12
  - Daniel Draper
@@ -85,6 +85,7 @@ extra_rdoc_files:
85
85
  - PostInstall.txt
86
86
  - History.txt
87
87
  - Manifest.txt
88
+ - README.txt
88
89
  - nfagent.init.ubuntu.txt
89
90
  - nfagent.init.redhat.txt
90
91
  files:
@@ -112,6 +113,7 @@ files:
112
113
  - PostInstall.txt
113
114
  - History.txt
114
115
  - Manifest.txt
116
+ - README.txt
115
117
  - nfagent.conf
116
118
  - nfagent.init.ubuntu.txt
117
119
  - nfagent.init.redhat.txt