From 6811ac91f21a434fc7d967c11e1b20f33918c6ea Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Mon, 19 Mar 2012 22:07:29 -0400 Subject: v3: 3.2 branch is main (v3dv --> v3); dev (v3dv) branch directories removed * v3dv (3.2) "merged" into v3 (previously 3.1) (& removed) * conf/sisu/v3dv --> conf/sisu/v3 * data/sisu/v3dv --> data/sisu/v3 * lib/sisu/v3dv --> lib/sisu/v3 * bin/sisu* (v3dv references changed to v3) * (--dev modifier (superfluous for the time being) runs main v3 branch) --- lib/sisu/v3/webrick.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/sisu/v3/webrick.rb') diff --git a/lib/sisu/v3/webrick.rb b/lib/sisu/v3/webrick.rb index 88fb67ef..42281321 100644 --- a/lib/sisu/v3/webrick.rb +++ b/lib/sisu/v3/webrick.rb @@ -61,7 +61,7 @@ def brick(port,get='') cgidir=if get=~/pwd/; Dir.pwd else '/usr/lib/cgi-bin' # @env.path.cgi end - port=SiSU_Env::Info_port.new.webrick + port=SiSU_Env::InfoPort.new.webrick begin s=HTTPServer.new( Port: port, @@ -75,7 +75,7 @@ def brick(port,get='') s.mount('/cgi-bin', HTTPServlet::FileHandler, cgi_dir, { FancyIndexing: true }) trap("INT"){ s.shutdown } s.start - rescue; SiSU_Errors::Info_error.new($!,$@,'-W',nil).error #fix + rescue; SiSU_Errors::InfoError.new($!,$@,'-W',nil).error #fix ensure end end @@ -86,8 +86,8 @@ begin # require_relative 'sysenv' # sysenv.rb include SiSU_Env; include SiSU_Screen @cX=SiSU_Screen::Ansi.new('yes').cX - @env=SiSU_Env::Info_env.new - port=SiSU_Env::Info_port.new + @env=SiSU_Env::InfoEnv.new + port=SiSU_Env::InfoPort.new @argv=$* @host=@env.url.webrick host='localhost' @@ -168,7 +168,7 @@ WOK brick(@port,get) rescue; require_relative 'sysenv' # sysenv.rb - SiSU_Errors::Info_error.new($!,$@,'-W',nil).error #fix + SiSU_Errors::InfoError.new($!,$@,'-W',nil).error #fix ensure end __END__ -- cgit v1.2.3