ruby-ajp 0.1.5
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/COPYING +504 -0
- data/Install.en +231 -0
- data/Install.ja +250 -0
- data/NEWS.en +13 -0
- data/NEWS.ja +12 -0
- data/README.en +56 -0
- data/README.ja +54 -0
- data/Rakefile +24 -0
- data/example/dump-server.rb +68 -0
- data/example/error-server.rb +13 -0
- data/example/hello-server.rb +18 -0
- data/lib/net/ajp13.rb +815 -0
- data/lib/net/ajp13client.rb +361 -0
- data/lib/net/ajp13server.rb +430 -0
- data/ruby-ajp.gemspec +27 -0
- data/setup.rb +1585 -0
- data/test/net/data/ajp13request-data.1 +0 -0
- data/test/net/data/ajp13response-header.1 +0 -0
- data/test/net/data/ajp13response-webdav.1 +0 -0
- data/test/net/data/ajp13response-webdav.2 +0 -0
- data/test/net/data/rand +0 -0
- data/test/net/test_ajp13client.rb +353 -0
- data/test/net/test_ajp13packet.rb +320 -0
- data/test/net/test_ajp13request.rb +177 -0
- data/test/net/test_ajp13response.rb +162 -0
- data/test/net/test_ajp13server.rb +548 -0
- metadata +73 -0
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,13 @@
|
|
1
|
+
= NEWS
|
2
|
+
== 0.1.5 (2006-01-09)
|
3
|
+
Status: experimental
|
4
|
+
* Implemented: reply to GET_BODY_CHUNK
|
5
|
+
* Not yet implemented: reply to PING
|
6
|
+
* Implemented: Server-side library.
|
7
|
+
|
8
|
+
== 0.1 (2005-12-15)
|
9
|
+
Status: very experimental
|
10
|
+
* Implemented functionalities to acts as a client.
|
11
|
+
* Not yet implemented: reply to GET_BODY_CHUNK response; cannot send large
|
12
|
+
request bodies which is larger than 0xFD bytes.
|
13
|
+
* Not yet implemented : functionalities to acts as a server.
|
data/NEWS.ja
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
= NEWS
|
2
|
+
== 0.1.5 (2006-01-09)
|
3
|
+
����: �ޤ��ޤ��¸�Ū
|
4
|
+
* GET_BODY_CHUNK�����б�
|
5
|
+
* PING��å�����̤�б�
|
6
|
+
* �����С�¦�饤�֥�����
|
7
|
+
|
8
|
+
== 0.1 (2005-12-15)
|
9
|
+
����: �ˤ������
|
10
|
+
* ���饤�����¦�Ȥ��Ƥε�ǽ�����
|
11
|
+
* GET_BODY_CHUNK�ؤα���̤���� - 0xFD bytesĶ��request body������ʤ�
|
12
|
+
* �����С�¦�Ȥ��Ƥε�ǽ̤����
|
data/README.en
ADDED
@@ -0,0 +1,56 @@
|
|
1
|
+
Ruby/AJP README
|
2
|
+
============
|
3
|
+
|
4
|
+
Ruby/AJP is a library to use Apache Jserv Protocol 1.3 in Ruby program.
|
5
|
+
|
6
|
+
|
7
|
+
Requirements
|
8
|
+
------------
|
9
|
+
|
10
|
+
* Ruby 1.8.3 or later
|
11
|
+
|
12
|
+
|
13
|
+
Install
|
14
|
+
-------
|
15
|
+
|
16
|
+
De-compress archive and enter its top directory.
|
17
|
+
Then type:
|
18
|
+
|
19
|
+
($ su)
|
20
|
+
# ruby setup.rb
|
21
|
+
|
22
|
+
These simple step installs this program under the default
|
23
|
+
location of Ruby libraries. You can also install files into
|
24
|
+
your favorite directory by supplying setup.rb some options.
|
25
|
+
Try "ruby setup.rb --help".
|
26
|
+
|
27
|
+
License
|
28
|
+
-------
|
29
|
+
|
30
|
+
Copyright (c) 2005-2006 Yugui <yugui@yugui.sakura.ne.jp>
|
31
|
+
|
32
|
+
|
33
|
+
Net::AJP13::Client was implemented by refering net/http, rev. 1.128.
|
34
|
+
Especially, its RDoc documentation is derived from Net::HTTP's one, which was
|
35
|
+
written by Minero Aoki and converted to RDoc by William Webber.
|
36
|
+
The original net/http is available from
|
37
|
+
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/lib/net/http.rb?rev=1.128
|
38
|
+
|
39
|
+
Copyright (c) 1999-2005 Yukihiro Matsumoto
|
40
|
+
Copyright (c) 1999-2005 Minero Aoki
|
41
|
+
Copyright (c) 2001 GOTOU Yuuzou
|
42
|
+
|
43
|
+
|
44
|
+
This library is free software; you can redistribute it and/or
|
45
|
+
modify it under the terms of the GNU Lesser General Public
|
46
|
+
License as published by the Free Software Foundation; version 2.1
|
47
|
+
of the License
|
48
|
+
|
49
|
+
This library is distributed in the hope that it will be useful,
|
50
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
51
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
52
|
+
Lesser General Public License for more details.
|
53
|
+
|
54
|
+
You should have received a copy of the GNU Lesser General Public
|
55
|
+
License along with this library; if not, write to the Free Software
|
56
|
+
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
data/README.ja
ADDED
@@ -0,0 +1,54 @@
|
|
1
|
+
Ruby/AJP README
|
2
|
+
============
|
3
|
+
|
4
|
+
Ruby/AJP��Ruby�ץ�����फ��Apache Jserv Protocol 1.3�ˤ���̿���Ԥʤ�
|
5
|
+
�饤�֥��Ǥ���
|
6
|
+
|
7
|
+
|
8
|
+
ɬ�״Ķ�
|
9
|
+
--------
|
10
|
+
|
11
|
+
* Ruby 1.8.3�ʹ�
|
12
|
+
|
13
|
+
|
14
|
+
���ȡ�����ˡ
|
15
|
+
----------------
|
16
|
+
|
17
|
+
���ޥ�ɥ饤��ǰʲ��Τ褦�ˤ�������Ǥ���������
|
18
|
+
UNIX �� OS �ǤϤ����餯 root ���¤�ɬ�פˤʤ�ޤ���
|
19
|
+
|
20
|
+
($ su)
|
21
|
+
# ruby setup.rb
|
22
|
+
|
23
|
+
���ȡ�������ѹ������ꤹ�뤳�Ȥ�Ǥ��ޤ���
|
24
|
+
���ξ��� ruby setup.rb --help ��¹Ԥ��ƤߤƤ���������
|
25
|
+
|
26
|
+
�饤����
|
27
|
+
----------
|
28
|
+
|
29
|
+
Copyright (c) 2005-2006 Yugui <yugui@yugui.sakura.ne.jp>
|
30
|
+
|
31
|
+
Net::AJP13::Client��net/http, rev. 1.128�Ȥ��Ƽ�������ޤ�����
|
32
|
+
�äˡ�Rdoc�ɥ�����Ȥ�Net::HTTP�Τ�Τ����������Ƥ��ޤ���Net::HTTP��RDoc��
|
33
|
+
������Ϻ����William Webber����RDoc���Ѵ����ޤ�����
|
34
|
+
����net/http��
|
35
|
+
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/lib/net/http.rb?rev=1.128
|
36
|
+
��������Ǥ��ޤ���
|
37
|
+
|
38
|
+
Copyright (c) 1999-2005 Yukihiro Matsumoto
|
39
|
+
Copyright (c) 1999-2005 Minero Aoki
|
40
|
+
Copyright (c) 2001 GOTOU Yuuzou
|
41
|
+
|
42
|
+
���Υ饤�֥��ϼ�ͳ�ʥ��եȥ������Ǥ������ʤ��Ϥ���ե���եȥ���
|
43
|
+
�����Ĥˤ�ä�ȯ�Ԥ��줿GNU �������̸������ѵ��������(�С������2.1)��
|
44
|
+
������β��Ǻ����ۤޤ��ϲ��Ѥ��뤳�Ȥ��Ǥ��ޤ���
|
45
|
+
|
46
|
+
���Υ饤�֥���ͭ�ѤǤ��뤳�Ȥ��ä����ۤ���ޤ�����*������̵�ݾ�*
|
47
|
+
�Ǥ������Ȳ�ǽ�����ݾڤ��������Ū�ؤ�Ŭ�����ϡ������˼����줿��Τ��
|
48
|
+
������¸�ߤ��ޤ��ܤ�����GNU �������̸������ѵ�����������������
|
49
|
+
����
|
50
|
+
|
51
|
+
���ʤ��Ϥ��Υ饤�֥��ȶ��ˡ�GNU �������̸������ѵ���������ʣ��ʪ��
|
52
|
+
����������ä��Ϥ��Ǥ����⤷������äƤ��ʤ���С��ե���եȥ�������
|
53
|
+
�Ĥޤ����ᤷ�Ƥ�������(����� the Free Software Foundation, Inc., 59
|
54
|
+
Temple Place, Suite 330, Boston, MA 02111-1307 USA)��
|
data/Rakefile
ADDED
@@ -0,0 +1,24 @@
|
|
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"
|
8
|
+
t.pattern = [ 'test/**/test_ajp13*.rb', 'test/**/more_test_ajp13*.rb' ]
|
9
|
+
t.verbose = true
|
10
|
+
end
|
11
|
+
|
12
|
+
Rake::RDocTask.new do |rd|
|
13
|
+
rd.rdoc_files.include *['', 'client', 'server'].map{ |n|
|
14
|
+
"lib/net/ajp13#{n}.rb"
|
15
|
+
}
|
16
|
+
rd.title = "Ruby/AJP - An implementation of Apache JServ Protocol 1.3"
|
17
|
+
end
|
18
|
+
|
19
|
+
File.open(File.dirname(__FILE__) + '/ruby-ajp.gemspec') { |f|
|
20
|
+
Rake::GemPackageTask.new(eval(f.read)) do |pkg|
|
21
|
+
pkg.need_tar_gz = true
|
22
|
+
pkg.need_zip = true
|
23
|
+
end
|
24
|
+
}
|