ajp-rails 0.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Install.en ADDED
@@ -0,0 +1,231 @@
1
+ Installing Programs with setup.rb
2
+ =================================
3
+
4
+ Quick Start
5
+ -----------
6
+
7
+ Type this (You might needs super user previledge):
8
+
9
+ ($ su)
10
+ # ruby setup.rb
11
+
12
+ If you want to install a program in to your home directory
13
+ ($HOME), use following instead:
14
+
15
+ $ ruby setup.rb all --prefix=$HOME
16
+
17
+ Detailed Installtion Process
18
+ ----------------------------
19
+
20
+ setup.rb invokes installation by three steps. There are
21
+ "config", "setup" and "install". You can invoke each steps
22
+ separately as following:
23
+
24
+ $ ruby setup.rb config
25
+ $ ruby setup.rb setup
26
+ # ruby setup.rb install
27
+
28
+ You can controll installation process by giving detailed
29
+ options for each tasks. For example, --bin-dir=$HOME/bin
30
+ let setup.rb install commands in $HOME/bin.
31
+
32
+ For details, see "Task Options".
33
+
34
+ Global Options
35
+ --------------
36
+
37
+ "Global Option" is a command line option which you can use
38
+ for all tasks. You must give a global option before any task
39
+ name.
40
+
41
+ -q,--quiet
42
+
43
+ suppress message outputs
44
+
45
+ --verbose
46
+
47
+ output messages verbosely (default)
48
+
49
+ -h,--help
50
+
51
+ prints help and quit
52
+
53
+ -v,--version
54
+
55
+ prints version and quit
56
+
57
+ --copyright
58
+
59
+ prints copyright and quit
60
+
61
+ Tasks
62
+ -----
63
+
64
+ These are acceptable tasks:
65
+
66
+ all
67
+
68
+ Invokes `config', `setup', then `install'.
69
+ Task options for all is same with config.
70
+
71
+ config
72
+
73
+ Checks and saves configurations.
74
+
75
+ show
76
+
77
+ Prints current configurations.
78
+
79
+ setup
80
+
81
+ Compiles ruby extentions.
82
+
83
+ install
84
+
85
+ Installs files.
86
+
87
+ test
88
+
89
+ Invokes tests.
90
+
91
+ clean
92
+
93
+ Removes created files.
94
+
95
+ distclean
96
+
97
+ Removes all created files.
98
+
99
+ Task Options for CONFIG/ALL
100
+ ---------------------------
101
+
102
+ You can pass following long options for CONFIG task
103
+ and ALL task.
104
+
105
+ All options accept parameterized value, like
106
+ --rbdir=$siterubyver or --sodir=$siterubyverarch.
107
+ On UNIX shells, you should escape "$" character,
108
+ so use --rbdir=\$siterubyver or --sodir=$siterubyverach.
109
+
110
+ --installdirs=(std|site|home)
111
+
112
+ A handy option to set common install target.
113
+
114
+ std: install files under $libruby.
115
+
116
+ site: install files under $siteruby.
117
+
118
+ home: install files under home directory ($HOME).
119
+
120
+ --prefix=PATH
121
+
122
+ The path prefix of target directory pathes like $bindir, $libdir...
123
+
124
+ --bindir=PATH
125
+
126
+ The directory for commands.
127
+
128
+ --rbdir=PATH
129
+
130
+ The directory for ruby scripts.
131
+
132
+ --sodir=PATH
133
+
134
+ The directory for ruby extentions.
135
+
136
+ --datadir=PATH
137
+
138
+ The directory for shared data.
139
+
140
+ --sysconfdir=PATH
141
+
142
+ The directory for configuration files.
143
+
144
+ --mandir=PATH
145
+
146
+ The directory for manual pages.
147
+
148
+ --libruby=PATH
149
+
150
+ The directory for ruby libraries.
151
+
152
+ --librubyver=PATH
153
+
154
+ The directory for standard ruby libraries.
155
+
156
+ --librubyverarch=PATH
157
+
158
+ The directory for standard ruby extensions.
159
+
160
+ --siteruby=PATH
161
+
162
+ The directory for version-independent non-standard
163
+ ruby libraries
164
+
165
+ --siterubyver=PATH
166
+
167
+ The directory for non-standard ruby libraries.
168
+
169
+ --siterubyverarch=PATH
170
+
171
+ The directory for non-standard ruby extensions.
172
+
173
+ --rubypath=PATH
174
+
175
+ The path to set to #! line.
176
+
177
+ --shebang=(all|ruby|never)
178
+
179
+ Shenbang line (#!) rewriting mode.
180
+
181
+ all: replace all shebang lines.
182
+
183
+ ruby: replace shebang lines which invokes ruby.
184
+
185
+ never: never rewrite shebang.
186
+
187
+ --rubyprog=PATH
188
+
189
+ The ruby program using for installation.
190
+
191
+ --makeprog=NAME
192
+
193
+ The make program to compile ruby extentions.
194
+
195
+ --without-ext
196
+
197
+ Forces to setup.rb never to compile/install
198
+ ruby extentions.
199
+
200
+ --rbconfig=PATH
201
+
202
+ Your rbconfig.rb to load.
203
+
204
+ If there's the directory named "packages",
205
+ You can also use these options:
206
+
207
+ --with=NAME,NAME,NAME...
208
+
209
+ Package names which you want to install.
210
+
211
+ --without=NAME,NAME,NAME...
212
+
213
+ Package names which you do not want to install.
214
+
215
+ [NOTE] You can pass options to extconf.rb like this:
216
+
217
+ ruby setup.rb config -- --with-tklib=/usr/lib/libtk-ja.so.8.0
218
+
219
+ Task Options for INSTALL
220
+ ------------------------
221
+
222
+ --no-harm
223
+
224
+ prints what to do and done nothing really.
225
+
226
+ --prefix=PATH
227
+
228
+ The prefix of the installing directory path.
229
+ This option may help binary package maintainers.
230
+ A default value is an empty string.
231
+
data/Install.ja ADDED
@@ -0,0 +1,250 @@
1
+ setup.rb ��Ȥä��ץ������Υ��󥹥ȡ���
2
+ =========================================
3
+
4
+ ����ʸ��Ǥϥ���ɥ桼���� setup.rb ��Ȥä�
5
+ �ѥå������򥤥󥹥ȡ��뤹����ˡ���������ޤ���
6
+
7
+ �Ǥ�ñ�����ˡ
8
+ --------------
9
+
10
+ �̾�ϼ��Τ褦���ǤĤ����ǽ�ʬ�Ǥ���
11
+ ��UNIX �� OS �ǤϤ����餯�����ѡ��桼�����¤�ɬ�פǤ���
12
+
13
+ ($ su)
14
+ # ruby setup.rb
15
+
16
+ ��ʬ�Υۡ���ǥ��쥯�ȥ�ʲ��˥��󥹥ȡ��뤷�����Ȥ���
17
+ ���Τ褦�ˤ��Ƥ���������
18
+
19
+ $ ruby setup.rb all --prefix=$HOME
20
+
21
+ ���󥹥ȡ���ξܺ�
22
+ ------------------
23
+
24
+ �ʲ����⤦�����ܺ٤��������ޤ���
25
+
26
+ setup.rb �Ǥϥ��󥹥ȡ���Υץ���������config�ס�setup�ס�install��
27
+ �λ��Ĥ��ʳ���ʬ����Ƥ��ޤ���setup.rb ������ʤ��Ǽ¹Ԥ����
28
+ config setup install ��쵤�˼¹Ԥ��Ƥ��ޤ��ΤǤ��������Τ褦��
29
+ ����Ȼ��Ĥ�ʬ���Ƽ¹ԤǤ��ޤ���
30
+
31
+ $ ruby setup.rb config
32
+ $ ruby setup.rb setup
33
+ # ruby setup.rb install
34
+
35
+ �����Ƴ��ʳ��˥��ץ������դ���ȥ��󥹥ȡ�����ʤɤ�٤�������
36
+ ���뤳�Ȥ��Ǥ��ޤ����㤨�� config �ˡ�--bin-dir=$HOME/bin�ץ���
37
+ �������դ���ȥ��ޥ�ɤ� $HOME/bin �˥��󥹥ȡ��뤵��ޤ���
38
+
39
+ �ܤ����ϡ֥��������ץ����פ���򸫤Ƥ���������
40
+
41
+ �������Х륪�ץ����
42
+ --------------------
43
+
44
+ �������Х륪�ץ����Ȥϡ������� (config �� setup) �˴ؤ餺
45
+ ����Ǥ��륪�ץ����Τ��ȤǤ���ɬ�������������˻��ꤷ�Ƥ���������
46
+
47
+ -q,--quiet
48
+
49
+ ��å��������Ϥ�Ǿ��¤ˤ���
50
+
51
+ --verbose
52
+
53
+ �¹���ξ�����ܺ٤�ɽ������ (�ǥե���Ȥϥ���)
54
+
55
+ -h,--help
56
+
57
+ setup.rb �λȤ������ʤɤ�ɽ��
58
+
59
+ -v,--version
60
+
61
+ setup.rb �ΥС�������ɽ��
62
+
63
+ --copyright
64
+
65
+ setup.rb �������ɽ��
66
+
67
+ ������
68
+ ------
69
+
70
+ �������ϰʲ��μ��ĤǤ���
71
+
72
+ all
73
+
74
+ config, setup, install ��쵤�˹Ԥ���
75
+ ���������ץ����� config �ȶ��̡�
76
+
77
+ config
78
+
79
+ ���������å�������������¸����
80
+
81
+ show
82
+
83
+ ���ߤ������ɽ������
84
+
85
+ setup
86
+
87
+ ����ѥ���ʤɡ��ե��������Ƥ��ѹ���Ԥ����
88
+
89
+ install
90
+
91
+ ���󥹥ȡ����Ԥ���
92
+
93
+ test
94
+
95
+ �ƥ��Ȥ�¹Ԥ��롣
96
+
97
+ clean
98
+
99
+ setup �Ǻ���������Τ�ä�
100
+
101
+ distclean
102
+
103
+ setup �Ǻ���������Τ�ä� (��궯��)
104
+
105
+ config/all �Υ��������ץ����
106
+ -----------------------------
107
+
108
+ config �������ǻȤ��륪�ץ������������ޤ���
109
+
110
+ �ͤ��륪�ץ����Ϥ��٤� --opt=value �η��ǻ��ꤷ�ޤ���
111
+ ��=�פΤޤ��˶��������ƤϤ����ޤ��󡣳ƥ��ץ�����
112
+ �ǥե�����ͤ� ruby setup.rb --help �Ǹ����ޤ���
113
+
114
+ ���٤ƤΥ��ץ����ǡ��ͤ��̤��ѿ���Ȥ����Ȥ��Ǥ��ޤ���
115
+ �㤨�� Ruby �饤�֥��� site_ruby �˥��󥹥ȡ���
116
+ ��������С�--rbdir=$siterubyver �Ȼ���Ǥ��ޤ���
117
+ UNIX ������Ǥϡ�$�פ򥨥������פ��� --rbdir=\$siterubyver
118
+ �Ȥ��Ƥ���������
119
+
120
+ --installdirs=(std|site|home)
121
+
122
+ �褯�Ȥ��륤�󥹥ȡ�����ǥ��쥯�ȥ��
123
+ �ޤȤ�ƥ��åȤ��륪�ץ����
124
+
125
+ std: $libruby �ʲ��˥��󥹥ȡ��뤹�롣
126
+
127
+ site: $siteruby �ʲ��˥��󥹥ȡ��뤹�롣
128
+
129
+ home: �ۡ���ǥ��쥯�ȥ겼�˥��󥹥ȡ��뤹�롣
130
+
131
+ --prefix=PATH
132
+
133
+ $bindir, $libdir �ʤɤζ�����ʬ
134
+
135
+ --bindir=PATH
136
+
137
+ �¹Բ�ǽ�ե�����ʥ��ޥ�ɡˤ򥤥󥹥ȡ��뤹��ǥ��쥯�ȥꡣ
138
+
139
+ --rbdir=PATH
140
+
141
+ Ruby �饤�֥��򥤥󥹥ȡ��뤹��ǥ��쥯�ȥꡣ
142
+
143
+ --sodir=PATH
144
+
145
+ Ruby �γ�ĥ�⥸�塼��򥤥󥹥ȡ��뤹��ǥ��쥯�ȥꡣ
146
+
147
+ --datadir=PATH
148
+
149
+ ����¾�Υǡ����ե�����򥤥󥹥ȡ��뤹��ǥ��쥯�ȥꡣ
150
+
151
+ --sysconfdir=PATH
152
+
153
+ ����ե�����򥤥󥹥ȡ��뤹��ǥ��쥯�ȥꡣ
154
+
155
+ --mandir=PATH
156
+
157
+ man �ڡ����򥤥󥹥ȡ��뤹��ǥ��쥯�ȥꡣ
158
+
159
+ --libruby=PATH
160
+
161
+ Ruby �饤�֥��򥤥󥹥ȡ��뤹��ǥ��쥯�ȥ�
162
+
163
+ --librubyver=PATH
164
+
165
+ Ruby ��ɸ��ź�ե饤�֥�꤬���󥹥ȡ��뤵���ǥ��쥯�ȥ�
166
+
167
+ --librubyverarch=PATH
168
+
169
+ Ruby ��ɸ��ź�ճ�ĥ�饤�֥�꤬���󥹥ȡ��뤵���ǥ��쥯�ȥ�
170
+
171
+ --siteruby=PATH
172
+
173
+ Ruby �ΥС������˰�¸���ʤ�����ɸ��� Ruby �饤�֥�꤬
174
+ ���󥹥ȡ��뤵���ǥ��쥯�ȥ� (site_ruby)
175
+
176
+ --siterubyver=PATH
177
+
178
+ Ruby �ΥС������˰�¸���롢��ɸ��� Ruby �饤�֥�꤬
179
+ ���󥹥ȡ��뤵���ǥ��쥯�ȥ� (�С������Ĥ� site_ruby)��
180
+
181
+ --siterubyverarch=PATH
182
+
183
+ ��ɸ��� Ruby ��ĥ�饤�֥�꤬���󥹥ȡ��뤵���ǥ��쥯�ȥ�
184
+ (�С�����󡦥������ƥ�����̾�Ĥ� site_ruby)��
185
+
186
+ --rubypath=PATH
187
+
188
+ shebang �� (#!) �˥��åȤ��� Ruby ���󥿥ץ꥿�Υѥ���
189
+ �Ĥޤꡢ���󥹥ȡ��뤷���ץ�������¹Ԥ���Ȥ���
190
+ ���� ruby ���Ȥ��ޤ���
191
+
192
+ --shebang=(all|ruby|never)
193
+
194
+ shebang �� (#!) �ν񤭴����⡼�ɤǤ���
195
+
196
+ all: ���٤ƤΥե������ shenbang �Ԥ�񤭴����⤷�����ɲä��롣
197
+
198
+ ruby: ruby ��ư���Ƥ���Ȼפ��� shebang �Ԥ�����񤭴����롣
199
+
200
+ never: ���ä��� shebang �Ԥ�񤭴����ʤ���
201
+
202
+ --rubyprog=PATH
203
+
204
+ ���󥹥ȡ�����˻Ȥ� ruby �ץ������ؤΥѥ���
205
+
206
+ --makeprog=NAME
207
+
208
+ ��ĥ�饤�֥��Υ���ѥ���˻��Ѥ��� make �ץ�����ࡣ
209
+
210
+ --without-ext
211
+
212
+ ��ĥ�⥸�塼��Υ���ѥ��롦���󥹥ȡ����̵����
213
+ �����åפ��롣�����������ʤ��顢���󥹥ȡ��뤵���
214
+ �ץ�����༫�Τ���ĥ�⥸�塼��ʤ���ư���褦�ˤʤä�
215
+ ���ʤ���а�̣������ޤ���
216
+
217
+ --rbconfig=PATH
218
+
219
+ �ǥե�����ͤ�����˻Ȥ� rbconfig.rb
220
+
221
+ �ޤ��ޥ���ѥå��������������֤ǤϤ���˲ä��ưʲ��Υ��ץ�����Ȥ��ޤ���
222
+
223
+ --with=NAME,NAME,NAME...
224
+
225
+ ���󥹥ȡ��뤹��ѥå�����
226
+
227
+ --without=NAME,NAME,NAME...
228
+
229
+ ���󥹥ȡ��뤷�ʤ��ѥå�����
230
+
231
+ ����ˡ���--�סʥޥ��ʥ���ġˤ�³���ƥ��ץ�������ꤹ�뤳�Ȥ�
232
+ extconf.rb �˰������Ϥ����Ȥ��Ǥ��ޤ���
233
+
234
+ ruby setup.rb config -- --with-tklib=/usr/lib/libtk-ja.so.8.0
235
+
236
+ install �Υ��������ץ����
237
+ --------------------------
238
+
239
+ --no-harm
240
+
241
+ ��ư��ɽ����������Ǽ¹Ԥ��ޤ���
242
+
243
+ --prefix=PATH
244
+
245
+ config �Ƿ��ꤷ���ѥ�����Ƭ�ˤ���� PATH ���ղä��ޤ���
246
+ config --prefix ���ץ�����ब�¹Ԥ����Ȥ��Υѥ��Ǥ���Τ�
247
+ �Ф���install --prefix �ϥץ������ե�����򥳥ԡ�����ѥ���
248
+ ���ꤷ�ޤ������ RPM �ʤɤΥХ��ʥ�ѥå����������ѤǤ���
249
+ �ǥե���Ȥ϶�ʸ����Ǥ���
250
+
data/NEWS.en ADDED
@@ -0,0 +1,6 @@
1
+ = NEWS
2
+ == 0.0.0 (2006-01-24)
3
+ Status: unstable
4
+ * The `0th' release to be reviewed by "2nd Rails Meeting @ Tokyo".
5
+ * The first release will be done in the last week of Jan, 2006. This
6
+ will be include the result of the review.
data/NEWS.ja ADDED
@@ -0,0 +1,6 @@
1
+ = NEWS
2
+ == 0.0.0 (2006-01-24)
3
+ ����: �԰���
4
+ * Rails�ٶ���@����ǥ�ӥ塼���Ƥ�餦����ˡ�`������'��꡼����
5
+ * ����꡼����2006ǯ1��ǽ����Τ����ˤ���ͽ�ꡣ��ӥ塼���Ƥ��ä�
6
+ ��̤�ȿ�Ǥ�����������
data/README.en ADDED
@@ -0,0 +1,80 @@
1
+ AjpRails README
2
+ ===============
3
+
4
+ AjpRails is a script for running Ruby on Rails. Rails which this script
5
+ runs uses AJP(Apache Jserv Protocol) to cooperate with HTTPd, instead of
6
+ CGI or FastCGI.
7
+
8
+
9
+ Requirements
10
+ ------------
11
+
12
+ * Ruby 1.8.3 or later
13
+ * Ruby on Rails 0.14.1 or later, and its requirements.
14
+ * Ruby/AJP 0.2.0 or later.
15
+
16
+
17
+ Install
18
+ -------
19
+
20
+ De-compress archive and enter its top directory.
21
+ Then type:
22
+
23
+ ($ su)
24
+ # ruby setup.rb
25
+
26
+ These simple step installs this program under the default
27
+ location of Ruby libraries. You can also install files into
28
+ your favorite directory by supplying setup.rb some options.
29
+ Try "ruby setup.rb --help".
30
+
31
+ License
32
+ -------
33
+
34
+ Copyright (c) 2004 David Heinemeier Hansson
35
+ Copyright (c) 2006 Yugui <yugui@yugui.sakura.ne.jp>
36
+
37
+ This program is free software; you can redistribute it and/or
38
+ modify it under the terms of the GNU Lesser General Public
39
+ License as published by the Free Software Foundation; version 2.1
40
+ of the License
41
+
42
+ This program is distributed in the hope that it will be useful,
43
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
44
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
45
+ Lesser General Public License for more details.
46
+
47
+ You should have received a copy of the GNU Lesser General Public
48
+ License along with this program; if not, write to the Free Software
49
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
50
+
51
+ --
52
+ AjpRailsRequest in lib/rails-wrapper.rb is based on
53
+ lib/action_controller/cgi_process.rb which is distributed as a port of
54
+ Action Pack 1.1.12. The original file is avaiable here;
55
+ http://rubyforge.org/frs/?group_id=249&release_id=3791
56
+
57
+ The following is the permission notice of the original
58
+ lib/action_controller/cgi_process.rb, not for this program.
59
+
60
+ --
61
+ Copyright (c) 2004 David Heinemeier Hansson
62
+
63
+ Permission is hereby granted, free of charge, to any person obtaining
64
+ a copy of this software and associated documentation files (the
65
+ "Software"), to deal in the Software without restriction, including
66
+ without limitation the rights to use, copy, modify, merge, publish,
67
+ distribute, sublicense, and/or sell copies of the Software, and to
68
+ permit persons to whom the Software is furnished to do so, subject to
69
+ the following conditions:
70
+
71
+ The above copyright notice and this permission notice shall be
72
+ included in all copies or substantial portions of the Software.
73
+
74
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
75
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
76
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
77
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
78
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
79
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
80
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.ja ADDED
@@ -0,0 +1,77 @@
1
+ AjpRails README
2
+ ===============
3
+
4
+ AjpRails��Ruby on Rails��¹Ԥ��륹����ץȤǤ������Υ�����ץȤˤ�ä�
5
+ ��ư���줿Rails�ϡ�CGI��FastCGI�������AJP(Apache Jserv Protocol)������
6
+ ����HTTPd��Ϣ�Ȥ��ޤ���
7
+
8
+
9
+ ɬ�״Ķ�
10
+ --------
11
+
12
+ * Ruby 1.8.3�ʹ�
13
+ * Ruby on Rails 0.14.1�ʹߵڤӤ���ɬ�״Ķ�
14
+ * Ruby/AJP 0.2.0�ʹ�
15
+
16
+
17
+ ���󥹥ȡ�����ˡ
18
+ ----------------
19
+
20
+ ���ޥ�ɥ饤��ǰʲ��Τ褦�ˤ�������Ǥ���������
21
+ UNIX �� OS �ǤϤ����餯 root ���¤�ɬ�פˤʤ�ޤ���
22
+
23
+ ($ su)
24
+ # ruby setup.rb
25
+
26
+ ���󥹥ȡ�������ѹ������ꤹ�뤳�Ȥ�Ǥ��ޤ���
27
+ ���ξ��� ruby setup.rb --help ��¹Ԥ��ƤߤƤ���������
28
+
29
+ �饤����
30
+ ----------
31
+
32
+ Copyright (c) 2004 David Heinemeier Hansson
33
+ Copyright (c) 2006 Yugui <yugui@yugui.sakura.ne.jp>
34
+
35
+ ���Υץ������ϼ�ͳ�ʥ��եȥ������Ǥ������ʤ��Ϥ���򡢥ե꡼���եȥ���
36
+ �����Ĥˤ�ä�ȯ�Ԥ��줿GNU �������̸������ѵ��������(�С������2.1)��
37
+ ������β��Ǻ����ۤޤ��ϲ��Ѥ��뤳�Ȥ��Ǥ��ޤ���
38
+
39
+ ���Υץ�������ͭ�ѤǤ��뤳�Ȥ��ä����ۤ���ޤ�����*������̵�ݾ�*
40
+ �Ǥ������Ȳ�ǽ�����ݾڤ��������Ū�ؤ�Ŭ�����ϡ������˼����줿��Τ��
41
+ ������¸�ߤ��ޤ��󡣾ܤ�����GNU �������̸������ѵ�����������������
42
+ ����
43
+
44
+ ���ʤ��Ϥ��Υץ������ȶ��ˡ�GNU �������̸������ѵ���������ʣ��ʪ��
45
+ ����������ä��Ϥ��Ǥ����⤷������äƤ��ʤ���С��ե꡼���եȥ�������
46
+ �Ĥޤ����ᤷ�Ƥ�������(����� the Free Software Foundation, Inc., 59
47
+ Temple Place, Suite 330, Boston, MA 02111-1307 USA)��
48
+
49
+ --
50
+ lib/rails-wrapper.rb��AjpRailsRequest��Action Pack 1.1.12�ΰ����Ȥ�������
51
+ ����Ƥ���lib/action_controller/cgi_process.rb�˴�Ť��Ƥ��ޤ������ꥸ�ʥ�
52
+ �Υե�����ϲ�����������Ǥ���Ǥ��礦��
53
+ http://rubyforge.org/frs/?group_id=249&release_id=3791
54
+
55
+ �����ϡ����ꥸ�ʥ��lib/action_controller/cgi_process.rb��Ŭ�Ѥ���Ƥ���
56
+ �饤���󥹤Ǥ������Υץ��������Ф��ƤΤ�ΤǤϤ���ޤ���
57
+ --
58
+ Copyright (c) 2004 David Heinemeier Hansson
59
+
60
+ Permission is hereby granted, free of charge, to any person obtaining
61
+ a copy of this software and associated documentation files (the
62
+ "Software"), to deal in the Software without restriction, including
63
+ without limitation the rights to use, copy, modify, merge, publish,
64
+ distribute, sublicense, and/or sell copies of the Software, and to
65
+ permit persons to whom the Software is furnished to do so, subject to
66
+ the following conditions:
67
+
68
+ The above copyright notice and this permission notice shall be
69
+ included in all copies or substantial portions of the Software.
70
+
71
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
72
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
73
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
74
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
75
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
76
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
77
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/Rakefile ADDED
@@ -0,0 +1,22 @@
1
+ require 'rake'
2
+ require 'rake/testtask'
3
+ require 'rake/rdoctask'
4
+ require 'rake/gempackagetask'
5
+
6
+ Rake::TestTask.new do |t|
7
+ t.libs << "test" << "../ruby-ajp/lib"
8
+ t.pattern = [ 'test/**/test_*.rb' ]
9
+ t.verbose = true
10
+ end
11
+
12
+ Rake::RDocTask.new do |rd|
13
+ rd.rdoc_files.include *Dir.glob('lib/*.rb')
14
+ rd.title = "AjpRails: Rails runner, cooperates with HTTPd using AJP"
15
+ end
16
+
17
+ File.open(File.dirname(__FILE__) + '/ajp-rails.gemspec') { |f|
18
+ Rake::GemPackageTask.new(eval(f.read)) do |pkg|
19
+ pkg.need_tar_gz = true
20
+ pkg.need_zip = true
21
+ end
22
+ }
data/ajp-rails.gemspec ADDED
@@ -0,0 +1,24 @@
1
+ Gem::Specification.new do |spec|
2
+ spec.name = "ajp-rails"
3
+ spec.version = "0.0.0"
4
+ spec.required_ruby_version = ">= 1.8.3"
5
+ spec.dependencies << ['ruby-ajp', '>= 0.2.0'] << ['rails', '>= 0.14']
6
+ spec.summary = "Ruby on Rails Runner, which uses AJP(Apache JServ Protocol) to cooperate with a HTTPd, instead of CGI or FastCGI"
7
+ spec.author = "Yugui"
8
+ spec.email = "yugui@yugui.sakura.ne.jp"
9
+ spec.rubyforge_project = "ruby-ajp"
10
+ spec.files =
11
+ Dir.glob("lib/**/*.rb") +
12
+ Dir.glob("bin/**/*.rb") +
13
+ Dir.glob("test/**/test_*.rb") +
14
+ Dir.glob("example/*") +
15
+ Dir.glob("NEWS.{en,ja}") +
16
+ Dir.glob("Install.{en,ja}") +
17
+ Dir.glob("README.{en,ja}") <<
18
+ "Rakefile" <<
19
+ "ajp-rails.gemspec" <<
20
+ "setup.rb" <<
21
+ "COPYING"
22
+ spec.files.reject! {|fn| fn.include?('.svn') or /~\Z/ =~ fn }
23
+ spec.has_rdoc = true
24
+ end