Commits

Michael Granger  committed d5eb336

Documentation/comment fixes for Mongrel2 1.8.0

  • Participants
  • Parent commits 95efe72

Comments (0)

Files changed (14)

File lib/mongrel2.rb

File contents unchanged.

File lib/mongrel2/config/directory.rb

 # Mongrel2 Directory (Dir) configuration class
 class Mongrel2::Config::Directory < Mongrel2::Config( :directory )
 
-	### As of Mongrel2/1.7.5:
+	### As of Mongrel2/1.8.0:
 	# CREATE TABLE directory (id INTEGER PRIMARY KEY,
-	#    base TEXT,
-	#    index_file TEXT,
-	#    default_ctype TEXT,
-	#    cache_ttl INTEGER DEFAULT 0);
+	#     base TEXT,
+	#     index_file TEXT,
+	#     default_ctype TEXT,
+	#     cache_ttl INTEGER DEFAULT 0);
 
 	### Sequel validation callback: add errors if the record is invalid.
 	def validate

File lib/mongrel2/config/filter.rb

 #
 class Mongrel2::Config::Filter < Mongrel2::Config( :filter )
 
-	### As of Mongrel2/1.7.5:
+	### As of Mongrel2/1.8.0:
 	# CREATE TABLE filter (id INTEGER PRIMARY KEY,
 	#     server_id INTEGER,
 	#     name TEXT,

File lib/mongrel2/config/handler.rb

 # Mongrel2 Handler configuration class
 class Mongrel2::Config::Handler < Mongrel2::Config( :handler )
 
-	### As of Mongrel2/1.7.5:
+	### As of Mongrel2/1.8.0:
 	# CREATE TABLE handler (id INTEGER PRIMARY KEY,
 	#     send_spec TEXT,
 	#     send_ident TEXT,
 	#     recv_spec TEXT,
 	#     recv_ident TEXT,
-	#    raw_payload INTEGER DEFAULT 0,
-	#    protocol TEXT DEFAULT 'json');
+	#     raw_payload INTEGER DEFAULT 0,
+	#     protocol TEXT DEFAULT 'json');
 
 
 	#

File lib/mongrel2/config/host.rb

 # Mongrel2 Host configuration class
 class Mongrel2::Config::Host < Mongrel2::Config( :host )
 
-	### As of Mongrel2/1.7.5:
-	# CREATE TABLE host (id INTEGER PRIMARY KEY, 
+	### As of Mongrel2/1.8.0:
+	# CREATE TABLE host (id INTEGER PRIMARY KEY,
 	#     server_id INTEGER,
 	#     maintenance BOOLEAN DEFAULT 0,
 	#     name TEXT,

File lib/mongrel2/config/log.rb

 # Mongrel2 configuration Log class
 class Mongrel2::Config::Log < Mongrel2::Config( :log )
 
-	### As of Mongrel2/1.7.5:
+	### As of Mongrel2/1.8.0:
 	# CREATE TABLE log(id INTEGER PRIMARY KEY,
 	#     who TEXT,
 	#     what TEXT,

File lib/mongrel2/config/mimetype.rb

 # Mongrel2 Mimetype configuration class
 class Mongrel2::Config::Mimetype < Mongrel2::Config( :mimetype )
 
-	### As of Mongrel2/1.7.5:
+	### As of Mongrel2/1.8.0:
 	# CREATE TABLE mimetype (id INTEGER PRIMARY KEY,
-	#   mimetype TEXT,
-	#   extension TEXT);
+	#     mimetype TEXT,
+	#     extension TEXT);
 
 end # class Mongrel2::Config::Mimetype
 

File lib/mongrel2/config/proxy.rb

 # Mongrel2 Proxy configuration class
 class Mongrel2::Config::Proxy < Mongrel2::Config( :proxy )
 
-	### As of Mongrel2/1.7.5:
+	### As of Mongrel2/1.8.0:
 	# CREATE TABLE proxy (id INTEGER PRIMARY KEY,
 	#     addr TEXT,
 	#     port INTEGER);

File lib/mongrel2/config/route.rb

 # Mongrel2 Route configuration class
 class Mongrel2::Config::Route < Mongrel2::Config( :route )
 
-	### As of Mongrel2/1.7.5:
+	### As of Mongrel2/1.8.0:
 	# CREATE TABLE route (id INTEGER PRIMARY KEY,
 	#     path TEXT,
 	#     reversed BOOLEAN DEFAULT 0,

File lib/mongrel2/config/server.rb

 class Mongrel2::Config::Server < Mongrel2::Config( :server )
 	include Mongrel2::Constants
 
-	### As of Mongrel2/1.7.5:
+	### As of Mongrel2/1.8.0:
 	# CREATE TABLE server (id INTEGER PRIMARY KEY,
 	#     uuid TEXT,
 	#     access_log TEXT,

File lib/mongrel2/config/setting.rb

 # Mongrel2 Setting configuration class
 class Mongrel2::Config::Setting < Mongrel2::Config( :setting )
 
-	### As of Mongrel2/1.7.5:
-	# CREATE TABLE setting (id INTEGER PRIMARY KEY, 
-	# 	key TEXT, 
-	# 	value TEXT);
+	### As of Mongrel2/1.8.0:
+	# CREATE TABLE setting (id INTEGER PRIMARY KEY,
+	#      key TEXT,
+	#      value TEXT);
 
 end # class Mongrel2::Config::Setting
 

File lib/mongrel2/config/statistic.rb

 # Mongrel2 configuration statistic class
 class Mongrel2::Config::Statistic < Mongrel2::Config( :statistic )
 
-	### As of Mongrel2/1.7.5:
-	# CREATE TABLE statistic (id SERIAL, 
+	# As of Mongrel2-1.8.0:
+	# CREATE TABLE statistic (id SERIAL,
 	#     other_type TEXT,
 	#     other_id INTEGER,
-	#     name text,
+	#     name TEXT,
 	#     sum REAL,
 	#     sumsq REAL,
 	#     n INTEGER,

File lib/mongrel2/handler.rb

-#!/usr/bin/env ruby
+#-*- ruby -*-
+#encoding: utf-8
 
 require 'zmq'
 require 'loggability'

File lib/mongrel2/request.rb

-#!/usr/bin/ruby
+#-*- ruby -*-
+#encoding: utf-8
 
 require 'ipaddr'
 require 'stringio'