warouz_server 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -1,6 +1,6 @@
1
1
  == Warouz Server
2
2
 
3
- Warouz server is the server side part of an extensible system for remote collecting data from multiple warouz clients.
3
+ Warouz Server is the server side part of an extensible system for collecting data from multiple remote warouz clients.
4
4
 
5
5
  == Getting Started
6
6
 
data/bin/swarouz CHANGED
@@ -3,4 +3,22 @@
3
3
  require 'rubygems'
4
4
  require 'daemons'
5
5
 
6
- Daemons.run(File.join(File.dirname(__FILE__), '../lib/warouz_server.rb'))
6
+ require File.join(File.dirname(__FILE__), '../lib/warouz_server.rb')
7
+
8
+ options = {
9
+ :app_name => "warouz_server",
10
+ :backtrace => true,
11
+ :monitor => true,
12
+ :ontop => true # TO IMPROVE, no fork with JRuby
13
+ }
14
+
15
+ puts "LOAD"
16
+
17
+ config.after_initialize do
18
+ puts "AHAHAH"
19
+ Daemons.call(options) do
20
+ load File.join(File.dirname(__FILE__), '../conf/warouz_server.conf.rb')
21
+ # Starting the processor
22
+ master=WarouzServer::Master.instance
23
+ master.start
24
+ end
@@ -1,3 +1,3 @@
1
1
  module WarouzServer
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
data/lib/warouz_server.rb CHANGED
@@ -13,19 +13,7 @@ module WarouzServer
13
13
  require File.join(File.dirname(caller[0]), file.to_str)
14
14
  end
15
15
  end
16
- #
17
- # Contants
18
- #
19
- WORKERS=2
20
- # Drb
21
- URI="druby://0.0.0.0:12345"
22
- # MYSQL
23
- DB_HOST="127.0.0.1"
24
- DB_NAME="warouz"
25
- DB_USER="warouz"
26
- DB_PASS="200289"
27
- # Log
28
- LOG_LEVEL=Logger::DEBUG
16
+
29
17
  #
30
18
  # Common
31
19
  #
@@ -38,7 +26,3 @@ module WarouzServer
38
26
  require_relative "warouz_server/clients_connector.rb"
39
27
 
40
28
  end
41
-
42
- # Starting the processor
43
- master=WarouzServer::Master.instance
44
- master.start
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: warouz_server
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.3
5
+ version: 0.0.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Loic Vigneron
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-07-09 00:00:00 Z
13
+ date: 2012-07-10 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rspec
@@ -45,7 +45,7 @@ dependencies:
45
45
  version: 1.1.8
46
46
  type: :runtime
47
47
  version_requirements: *id003
48
- description: Extensible system for remote collecting data
48
+ description: Warouz Server is the server side part of an extensible system for collecting data from multiple remote warouz clients.
49
49
  email: loic.vigneron@gmail.com
50
50
  executables:
51
51
  - swarouz
@@ -65,7 +65,7 @@ files:
65
65
  - LICENSE
66
66
  - README.rdoc
67
67
  - bin/swarouz
68
- homepage: ""
68
+ homepage: https://github.com/loicvigneron/warouz_server
69
69
  licenses: []
70
70
 
71
71
  post_install_message: