bloopletech-webstats 0.8.1 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 0
3
- :minor: 8
4
- :patch: 1
3
+ :minor: 9
4
+ :patch: 0
data/server/webstats.rb CHANGED
@@ -4,7 +4,11 @@ require 'yaml'
4
4
  if $DEBUG
5
5
  Thread.abort_on_exception
6
6
  else
7
- exit if fork
7
+ if (pid = fork)
8
+ Signal.trap('HUP', 'IGNORE')
9
+ Process.detach(pid)
10
+ exit
11
+ end
8
12
  $stdout = File.new('/dev/null', 'w')
9
13
  $stderr = File.new('/dev/null', 'w')
10
14
  end
@@ -194,6 +198,7 @@ class Webstats < WEBrick::HTTPServlet::AbstractServlet
194
198
  {
195
199
  var results = eval("(" + http.responseText + ")");
196
200
  if(!results) return;
201
+ console.log('procing');
197
202
  EOF
198
203
 
199
204
  DataProviders::DATA_SOURCES.each_pair do |k, v|
data/webstats.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{webstats}
5
- s.version = "0.8.1"
5
+ s.version = "0.9.0"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Brenton Fletcher"]
9
- s.date = %q{2009-04-28}
9
+ s.date = %q{2009-05-06}
10
10
  s.description = %q{Monitor server CPU/Memory/Disk Usage/URL Loading, so that you can view those statistics on a web page, as well as providing an interface to client prorams to read those statistics.}
11
11
  s.email = %q{i@bloople.net}
12
12
  s.executables = ["webstats", "webstats_growl_notifier"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bloopletech-webstats
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brenton Fletcher
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-04-28 00:00:00 -07:00
12
+ date: 2009-05-06 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies: []
15
15