public
Description: CGIAlt is a re-implementation of cgi.rb
Homepage: http://cgialt.rubyforge.org/
Clone URL: git://github.com/kwatch/cgialt.git
cgialt / ReleaseNote.txt
100644 144 lines (87 sloc) 3.282 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
.$ [ANN] CGIAlt 1.0.0 released - re-implementation of cgi.rb
 
I have released CGIAlt 1.0.0.
http://cgialt.rubyforge.org/
http://rubyforge.org/projects/cgialt/
 
CGIAlt is a re-implementation of 'cgi.rb'.
 
 
Features
--------
 
* Compatible with 'cgi.rb' and CGI class
* Faster than 'cgi.rb'
* Available with CGIExt (which is an implementation of cgi.rb in C extension)
* FastCGI support
* Ruby 1.9 support
 
 
Install
-------
 
   $ tar xzf cgialt-1.0.0.tar.gz
   $ cd cgialt-1.0.0
   $ sudo ruby setup.rb
 
or
 
   $ sudo gem install cgialt
 
 
Usage
-----
 
If you want to use CGIAlt instead of 'cgi.rb':
 
   require 'cgialt'
 
If you want to load 'cgi.rb' when CGIAlt is not installed:
 
   begin
     require 'cgialt'
   rescue LoadError
     require 'cgi'
   end
 
If you want replace 'cgi.rb' with CGIAlt, create new 'cgi.rb':
 
   $ cd /usr/local/lib/ruby1.8/site_ruby
   $ sudo echo "require 'cgialt'" > cgi.rb
 
 
Enhancements from 0.0.2
-----------------------
 
* Ruby 1.9 support
* Add tests for 'cgialt/util.rb'.
 
 
Changges from 0.0.2
-------------------
 
* CGI class now uses CGI#env_table() instead of using $CGI_ENV directly.
* CGI class now uses CGI#stdinput() and CGI#stdoutput() instead of using $stdin and $stdout directly.
* Refactor 'cgialt/fcgi/core.rb'.
 
 
Bugfixes from 0.0.2
-------------------
 
* CGI.parse() supports to parse 'a=10&b' (no '=').
* CGI.parse() returned NoMethodError when QUERY_STRING was "&=10". Now fixed.
* CGI.unescapeHTML() couldn't convert " ". Now fixed.
* Typo fixed in CGI::Cookie.parse().
* Move RFC822_DAYS and RFC822_MONTHS from 'cgi/core.rb' to 'cgi/util.rb'.
 
 
License
-------
 
Ruby's
 
 
--
regards,
makoto kuwata
 
 
.#--------------------------------------------------------------------------------
 
 
.$ [ANN] CGIAlt 0.0.2 released - FastCGI supported
 
I have released CGIAlt 0.0.2
http://rubyforge.org/projects/cgialt/
 
CGIAlt is an alternative library of 'cgi.rb'.
 
* Compatible with 'cgi.rb' and CGI class
* Faster than 'cgi.rb'
* Available with CGIExt (which is an implementation of cgi.rb in C extension)
 
Enhancements from 0.0.1:
 
  - FastCGI supported.
    You should require 'cgialt/fcgi' instead of 'fcgi' if you want to use
    CGIAlt with FastCGI.
 
 
--
makoto kuwata
 
.#--------------------------------------------------------------------------------
 
 
.$ [ANN] CGIAlt 0.0.1 released - an alternative library of 'cgi.rb'
 
I have released CGIAlt 0.0.1.
http://rubyforge.org/projects/cgiext/
 
CGIAlt is an alternative library of 'cgi.rb'.
 
* Compatible with 'cgi.rb' and CGI class
* Faster than 'cgi.rb'
* Available with CGIExt (which is an implementation of cgi.rb in C extension)
 
The following is an example of benchmark.
 
                                     cgi.rb CGIAlt CGIAlt+CGIExt
  --------------------------------------------------------------------------
  require "cgi" (x1000) 13.16 7.89 ( 67%) 9.18 ( 43%)
  CGI#new (simple) (x100000) 20.34 14.53 ( 40%) 12.46 ( 63%)
  CGI#new (comple) (x100000) 26.62 20.10 ( 32%) 13.19 (102%)
  CGI#header (simple) (x1000000) 12.68 6.05 (110%) 6.04 (110%)
  CGI#header (complex) (x1000000) 43.52 36.26 ( 20%) 36.62 ( 19%)
 
 
See http://cgiext.rubyforge.org/ for details.
 
--
makoto kuwata