diff --git a/projects/mongrel_service/Rakefile b/projects/mongrel_service/Rakefile index dcab8c75..f2687e9a 100644 --- a/projects/mongrel_service/Rakefile +++ b/projects/mongrel_service/Rakefile @@ -25,7 +25,7 @@ namespace :lib do lib 'ServiceFB' build_to 'lib' - define 'SERVICEFB_DEBUG_LOG' if ENV['DEBUG_LIB'] + define 'SERVICEFB_DEBUG_LOG' unless ENV['RELEASE'] source 'lib/ServiceFB/ServiceFB.bas' end @@ -33,7 +33,7 @@ namespace :lib do lib 'ServiceFB_Utils' build_to 'lib' - define 'SERVICEFB_DEBUG_LOG' if ENV['DEBUG_LIB'] + define 'SERVICEFB_DEBUG_LOG' unless ENV['RELEASE'] source 'lib/ServiceFB/ServiceFB_Utils.bas' end end @@ -48,7 +48,7 @@ namespace :native do executable 'mongrel_service' build_to 'bin' - define 'DEBUG_LOG' if ENV['DEBUG_LOG'] + define 'DEBUG_LOG' unless ENV['RELEASE'] main 'native/mongrel_service.bas' source 'native/process.bas' @@ -71,6 +71,7 @@ task :clobber => "native:clobber" setup_gem(GEM_NAME, GEM_VERSION) do |spec| spec.summary = "Mongrel Native Win32 Service Plugin for Rails" + spec.summary += " (debug build)" unless ENV['RELEASE'] spec.description = "This plugin offer native win32 services for rails, powered by Mongrel." spec.author = "Luis Lavena" spec.platform = Gem::Platform::WIN32 diff --git a/projects/mongrel_service/TODO b/projects/mongrel_service/TODO index 66c3d0db..e39b38c9 100644 --- a/projects/mongrel_service/TODO +++ b/projects/mongrel_service/TODO @@ -1,7 +1,19 @@ -= mongrel_service (native) TODO List +Legend: +[ ] not done +[X] done +[+] in progess - * Add more documentation about services - * Build win32/service extension inside the gem and ship with it. - (instead of relying in the non-official 0.5.0 one). - * Sanitize SingleMongrel and document the functions - \ No newline at end of file +### General +[ ] Add more documentation about services and requirements +[ ] Add process monitoring. + +### Dependencies +[+] Remove win32/service extension dependency (instead of relying in the non-official 0.5.0 one). + [ ] Add service management (from ServiceFB) to install and remove services. + +### SingleMongrel +[+] Sanitize SingleMongrel and document the functions. + +### ClusterMongrel +[ ] Parse mongrel_cluster configuration file (yaml) looking for port information + [ ] Reimplent SingleMongrel for ClusterMongrel, splitting source files for better organization.