diff options
-rw-r--r-- | Rakefile | 8 | ||||
-rw-r--r-- | projects/mongrel_cluster/Rakefile | 6 | ||||
-rw-r--r-- | projects/mongrel_config/Rakefile | 6 | ||||
-rw-r--r-- | projects/mongrel_console/Rakefile | 6 | ||||
-rw-r--r-- | projects/mongrel_service/Rakefile | 178 | ||||
-rw-r--r-- | projects/mongrel_status/Rakefile | 6 | ||||
-rw-r--r-- | projects/mongrel_upload_progress/Rakefile | 4 |
7 files changed, 107 insertions, 107 deletions
@@ -8,18 +8,18 @@ Echoe.new("mongrel") do |p| p.rdoc_pattern = ['README', 'LICENSE', 'COPYING', 'lib/**/*.rb', 'doc/**/*.rdoc', 'ext/http11/http11.c'] p.ignore_pattern = /^(pkg|site|projects|doc|log)|CVS|\.log/ p.ruby_version = '>= 1.8.4' - p.dependencies = ['gem_plugin >=0.2.3', 'cgi_multipart_eof_fix >=2.4'] + p.dependencies = ['gem_plugin >=0.2.3', 'cgi_multipart_eof_fix >=2.4', 'fastthread >=1.0.1'] p.need_tar_gz = false p.need_tgz = true p.require_signed = true unless RUBY_PLATFORM =~ /mswin/ - self.certificate_chain = ['~/p/configuration/gem_certificates/mongrel/mongrel-public_cert.pem', + p.certificate_chain = ['~/p/configuration/gem_certificates/mongrel/mongrel-public_cert.pem', '~/p/configuration/gem_certificates/evan_weaver-mongrel-public_cert.pem'] else - self.certificate_chain = ['~/gem_certificates/mongrel-public_cert.pem', - '~/gem_certificates/luislavena-mongrel-public_cert.pem'] + p.certificate_chain = ['~/gem_certificates/mongrel-public_cert.pem', + '~/gem_certificates/luislavena-mongrel-public_cert.pem'] end p.eval = proc do diff --git a/projects/mongrel_cluster/Rakefile b/projects/mongrel_cluster/Rakefile index ba16fe2..2aad8f2 100644 --- a/projects/mongrel_cluster/Rakefile +++ b/projects/mongrel_cluster/Rakefile @@ -5,14 +5,14 @@ Echoe.new("mongrel_cluster") do |p| p.summary = "Mongrel plugin that provides commands and Capistrano tasks for managing multiple Mongrel processes." p.project = "mongrel" p.author="Bradley Taylor" - p.dependencies = ['gem_plugin >=0.2.2', 'mongrel >=1.0.1'] + p.dependencies = ['gem_plugin >=0.2.3', 'mongrel >=1.0.2'] p.has_rdoc = false p.need_tar_gz = false p.need_tgz = true p.require_signed = true - p.certificate_chain = ['/Users/eweaver/p/configuration/gem_certificates/mongrel/mongrel-public_cert.pem', - '/Users/eweaver/p/configuration/gem_certificates/evan_weaver-mongrel-public_cert.pem'] + p.certificate_chain = ['~/p/configuration/gem_certificates/mongrel/mongrel-public_cert.pem', + '~/p/configuration/gem_certificates/evan_weaver-mongrel-public_cert.pem'] end # Is this still used? diff --git a/projects/mongrel_config/Rakefile b/projects/mongrel_config/Rakefile index 7cbe3d4..2b1095c 100644 --- a/projects/mongrel_config/Rakefile +++ b/projects/mongrel_config/Rakefile @@ -6,11 +6,11 @@ Echoe.new("mongrel_config") do |p| p.project = "mongrel" p.test_pattern = "test/test_config.rb" p.author="Zed A. Shaw" - p.dependencies = ['mongrel >=0.3.11', 'gem_plugin >=0.2.1', 'camping >=1.3'] + p.dependencies = ['mongrel >=1.0.2', 'gem_plugin >=0.2.3', 'camping >=1.5'] p.need_tar_gz = false p.need_tgz = true - p.certificate_chain = ['/Users/eweaver/p/configuration/gem_certificates/mongrel/mongrel-public_cert.pem', - '/Users/eweaver/p/configuration/gem_certificates/evan_weaver-mongrel-public_cert.pem'] + p.certificate_chain = ['~/p/configuration/gem_certificates/mongrel/mongrel-public_cert.pem', + '~/p/configuration/gem_certificates/evan_weaver-mongrel-public_cert.pem'] p.require_signed = true end diff --git a/projects/mongrel_console/Rakefile b/projects/mongrel_console/Rakefile index c3ab493..7dc2844 100644 --- a/projects/mongrel_console/Rakefile +++ b/projects/mongrel_console/Rakefile @@ -5,11 +5,11 @@ Echoe.new("mongrel_console") do |p| p.summary = "Provides a combined Mongrel and Rails IRB console." p.project = "mongrel" p.author="Zed A. Shaw" - p.dependencies = ['gem_plugin >=0.2.1', 'mongrel >=0.3.11'] + p.dependencies = ['gem_plugin >=0.2.3', 'mongrel >=1.0.2'] p.need_tar_gz = false p.need_tgz = true - p.certificate_chain = ['/Users/eweaver/p/configuration/gem_certificates/mongrel/mongrel-public_cert.pem', - '/Users/eweaver/p/configuration/gem_certificates/evan_weaver-mongrel-public_cert.pem'] + p.certificate_chain = ['~/p/configuration/gem_certificates/mongrel/mongrel-public_cert.pem', + '~/p/configuration/gem_certificates/evan_weaver-mongrel-public_cert.pem'] p.require_signed = true end diff --git a/projects/mongrel_service/Rakefile b/projects/mongrel_service/Rakefile index 78eeb58..fc00777 100644 --- a/projects/mongrel_service/Rakefile +++ b/projects/mongrel_service/Rakefile @@ -1,89 +1,89 @@ -require 'echoe'
-require 'tools/freebasic'
-
-# Task :package needs compile before doing the gem stuff.
-# (weird behavior of Rake?)
-task :package => [:compile]
-
-echoe_spec = Echoe.new("mongrel_service") do |p|
- p.summary = "Mongrel Native Win32 Service Plugin for Rails"
- p.summary += " (debug build)" unless ENV['RELEASE']
- p.description = "This plugin offer native win32 services for rails, powered by Mongrel."
- p.author = "Luis Lavena"
- p.platform = Gem::Platform::WIN32
- p.dependencies = ['gem_plugin >=0.2.2', 'mongrel >=1.0.1', 'win32-service >=0.5.0']
-
- p.need_tar_gz = false
- p.need_zip = true
- p.certificate_chain = ['~/gem_certificates/mongrel-public_cert.pem',
- '~/gem_certificates/luislavena-mongrel-public_cert.pem']
- p.require_signed = true
-end
-
-desc "Compile native code"
-task :compile => [:native_lib, :native_service]
-
-# global options shared by all the project in this Rakefile
-OPTIONS = {
- :debug => false,
- :profile => false,
- :errorchecking => :ex,
- :mt => true,
- :pedantic => true }
-
-OPTIONS[:debug] = true if ENV['DEBUG']
-OPTIONS[:profile] = true if ENV['PROFILE']
-OPTIONS[:errorchecking] = :exx if ENV['EXX']
-OPTIONS[:pedantic] = false if ENV['NOPEDANTIC']
-
-# ServiceFB namespace (lib)
-namespace :lib do
- project_task 'servicefb' do
- lib 'ServiceFB'
- build_to 'lib'
-
- define 'SERVICEFB_DEBUG_LOG' unless ENV['RELEASE']
- source 'lib/ServiceFB/ServiceFB.bas'
-
- option OPTIONS
- end
-
- project_task 'servicefb_utils' do
- lib 'ServiceFB_Utils'
- build_to 'lib'
-
- define 'SERVICEFB_DEBUG_LOG' unless ENV['RELEASE']
- source 'lib/ServiceFB/ServiceFB_Utils.bas'
-
- option OPTIONS
- end
-end
-
-# add lib namespace to global tasks
-#include_projects_of :lib
-task :native_lib => "lib:build"
-task :clean => "lib:clobber"
-
-# mongrel_service (native)
-namespace :native do
- project_task 'mongrel_service' do
- executable 'mongrel_service'
- build_to 'bin'
-
- define 'DEBUG_LOG' unless ENV['RELEASE']
- define "GEM_VERSION=#{echoe_spec.version}"
-
- main 'native/mongrel_service.bas'
- source 'native/console_process.bas'
-
- lib_path 'lib'
- library 'ServiceFB', 'ServiceFB_Utils'
- library 'user32', 'advapi32', 'psapi'
-
- option OPTIONS
- end
-end
-
-#include_projects_of :native
-task :native_service => "native:build"
-task :clean => "native:clobber"
+require 'echoe' +require 'tools/freebasic' + +# Task :package needs compile before doing the gem stuff. +# (weird behavior of Rake?) +task :package => [:compile] + +echoe_spec = Echoe.new("mongrel_service") do |p| + p.summary = "Mongrel Native Win32 Service Plugin for Rails" + p.summary += " (debug build)" unless ENV['RELEASE'] + p.description = "This plugin offer native win32 services for rails, powered by Mongrel." + p.author = "Luis Lavena" + p.platform = Gem::Platform::WIN32 + p.dependencies = ['gem_plugin >=0.2.3', 'mongrel >=1.0.2', 'win32-service >=0.5.0'] + + p.need_tar_gz = false + p.need_zip = true + p.certificate_chain = ['~/gem_certificates/mongrel-public_cert.pem', + '~/gem_certificates/luislavena-mongrel-public_cert.pem'] + p.require_signed = true +end + +desc "Compile native code" +task :compile => [:native_lib, :native_service] + +# global options shared by all the project in this Rakefile +OPTIONS = { + :debug => false, + :profile => false, + :errorchecking => :ex, + :mt => true, + :pedantic => true } + +OPTIONS[:debug] = true if ENV['DEBUG'] +OPTIONS[:profile] = true if ENV['PROFILE'] +OPTIONS[:errorchecking] = :exx if ENV['EXX'] +OPTIONS[:pedantic] = false if ENV['NOPEDANTIC'] + +# ServiceFB namespace (lib) +namespace :lib do + project_task 'servicefb' do + lib 'ServiceFB' + build_to 'lib' + + define 'SERVICEFB_DEBUG_LOG' unless ENV['RELEASE'] + source 'lib/ServiceFB/ServiceFB.bas' + + option OPTIONS + end + + project_task 'servicefb_utils' do + lib 'ServiceFB_Utils' + build_to 'lib' + + define 'SERVICEFB_DEBUG_LOG' unless ENV['RELEASE'] + source 'lib/ServiceFB/ServiceFB_Utils.bas' + + option OPTIONS + end +end + +# add lib namespace to global tasks +#include_projects_of :lib +task :native_lib => "lib:build" +task :clean => "lib:clobber" + +# mongrel_service (native) +namespace :native do + project_task 'mongrel_service' do + executable 'mongrel_service' + build_to 'bin' + + define 'DEBUG_LOG' unless ENV['RELEASE'] + define "GEM_VERSION=#{echoe_spec.version}" + + main 'native/mongrel_service.bas' + source 'native/console_process.bas' + + lib_path 'lib' + library 'ServiceFB', 'ServiceFB_Utils' + library 'user32', 'advapi32', 'psapi' + + option OPTIONS + end +end + +#include_projects_of :native +task :native_service => "native:build" +task :clean => "native:clobber" diff --git a/projects/mongrel_status/Rakefile b/projects/mongrel_status/Rakefile index efde290..0922972 100644 --- a/projects/mongrel_status/Rakefile +++ b/projects/mongrel_status/Rakefile @@ -5,12 +5,12 @@ Echoe.new("mongrel_status") do |p| p.summary = "A sample plugin that reports the status of mongrel." p.project = "mongrel" p.author = "Zed A. Shaw" - p.dependencies = ['gem_plugin >=0.2.1', 'mongrel >=0.3.11'] + p.dependencies = ['gem_plugin >=0.2.3', 'mongrel >=1.0.2'] p.need_tar_gz = false p.need_tgz = true - p.certificate_chain = ['/Users/eweaver/p/configuration/gem_certificates/mongrel/mongrel-public_cert.pem', - '/Users/eweaver/p/configuration/gem_certificates/evan_weaver-mongrel-public_cert.pem'] + p.certificate_chain = ['~/p/configuration/gem_certificates/mongrel/mongrel-public_cert.pem', + '~/p/configuration/gem_certificates/evan_weaver-mongrel-public_cert.pem'] p.require_signed = true end diff --git a/projects/mongrel_upload_progress/Rakefile b/projects/mongrel_upload_progress/Rakefile index a12ab19..23b337e 100644 --- a/projects/mongrel_upload_progress/Rakefile +++ b/projects/mongrel_upload_progress/Rakefile @@ -9,7 +9,7 @@ Echoe.new("mongrel_upload_progress") do |p| p.need_tar_gz = false p.need_tgz = true - p.certificate_chain = ['/Users/eweaver/p/configuration/gem_certificates/mongrel/mongrel-public_cert.pem', - '/Users/eweaver/p/configuration/gem_certificates/evan_weaver-mongrel-public_cert.pem'] + p.certificate_chain = ['~/p/configuration/gem_certificates/mongrel/mongrel-public_cert.pem', + '~/p/configuration/gem_certificates/evan_weaver-mongrel-public_cert.pem'] p.require_signed = true end |