mongrel2 0.54.0 → 0.55.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.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/{DSL.rdoc → DSL.md} +69 -40
- data/{History.rdoc → History.md} +88 -79
- data/Manifest.txt +3 -6
- data/{README.rdoc → README.md} +57 -42
- data/Rakefile +5 -91
- data/gem.deps.rb +23 -2
- data/lib/mongrel2.rb +1 -1
- data/lib/mongrel2/config/dsl.rb +1 -1
- data/lib/mongrel2/request.rb +1 -1
- metadata +66 -138
- metadata.gz.sig +0 -0
- data/.autotest +0 -23
- data/.gemtest +0 -0
- data/ChangeLog +0 -3170
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f997143327743f8a46079e4609541776456c0a2a93831c935ee3f78b624ee3b
|
4
|
+
data.tar.gz: b292f1d5429349b930e413ec8e4e4ddb08f35e14a19ad43d6a0e6fdb2235f1ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a66e1e3fb8175045f222b7ec6307e57efda94828304c3ad7bf4ef5060d9eea899712f03979e9bd37a3b27a02be3efbf974fd87d254f1d53907b642ecf754086
|
7
|
+
data.tar.gz: 2a55c87725677e80cca776da5e5d6bb0b51afde4fbbcb652b5f8b1a1023e770e6ef5b10c8f686c48ea8d2355f4ff9ae5256463b63528069af8a408ec19c89b1b
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/{DSL.rdoc → DSL.md}
RENAMED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
# The Mongrel2 Config DSL
|
2
2
|
|
3
3
|
The Mongrel2::Config::DSL module is a mixin that will add functions to your
|
4
4
|
namespace that can create and replace configuration items in the current
|
@@ -23,42 +23,65 @@ point the config classes to the right database before using the DSL:
|
|
23
23
|
If you're creating a config to be loaded via m2sh.rb, you don't need any of
|
24
24
|
that, as m2sh.rb provides its own prelude before loading the config.
|
25
25
|
|
26
|
-
|
26
|
+
## DSL Syntax
|
27
27
|
|
28
|
-
There is basically one directive for each configuration item, and the layout follows the basic structure described in the
|
28
|
+
There is basically one directive for each configuration item, and the layout follows the basic structure described in the [Mongrel2 manual](http://mongrel2.org/manual/book-finalch4.html#x6-240003.3).
|
29
29
|
|
30
30
|
|
31
|
-
|
31
|
+
### server
|
32
32
|
|
33
33
|
server <uuid> { <server config block> }
|
34
34
|
|
35
|
-
This creates or replaces the server associated with the specified
|
36
|
-
|
35
|
+
This creates or replaces the server associated with the specified `uuid`. The
|
36
|
+
`server config block` has directives for each of the server attributes,
|
37
37
|
each of which corresponds to one of the columns in the configuration database's
|
38
38
|
+server+ table (descriptions largely borrowed from the
|
39
|
-
manual
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
39
|
+
[manual](http://mongrel2.org/static/book-finalch4.html#x6-270003.4.1)):
|
40
|
+
|
41
|
+
<dl class="rdoc-list label-list">
|
42
|
+
<dt>chroot <code>directory</code></dt>
|
43
|
+
<dd>
|
44
|
+
The directory that <a href="Mongrel2.html"><code>Mongrel2</code></a> should chroot to at startup. Defaults to <code>/var/www</code>.
|
45
|
+
</dd>
|
46
|
+
|
47
|
+
<dt>access_log <code>path</code></dt>
|
48
|
+
<dd>
|
49
|
+
The path to the access log file relative to the <code>chroot</code>. sually starts with a ‘/’. Defaults to <code>/logs/access.log</code>.
|
50
|
+
</dd>
|
51
|
+
|
52
|
+
<dt>error_log <code>path</code></dt>
|
53
|
+
<dd>
|
54
|
+
The error log file, just like <code>access_log</code>. Defaults to code>/logs/error.log</code>.
|
55
|
+
</dd>
|
56
|
+
|
57
|
+
<dt>pid_file <code>path</code></dt>
|
58
|
+
<dd>
|
59
|
+
The path to the PID file, relative to the <code>chroot</code>. Defaults to code>/run/mongrel2.pid</code>.
|
60
|
+
</dd>
|
61
|
+
|
62
|
+
<dt>default_host <code>name</code></dt>
|
63
|
+
<dd>
|
64
|
+
Which <code>host</code> in the server to use as the default if the code>Host</code> header doesn't match any host's <code>matching</code>
|
65
|
+
attribute. Defaults to <code>localhost</code>.
|
66
|
+
</dd>
|
67
|
+
|
68
|
+
<dt>bind_addr <code>ipaddr</code></dt>
|
69
|
+
<dd>
|
70
|
+
The IP address to bind to; default is <code>0.0.0.0</code>.
|
71
|
+
</dd>
|
72
|
+
|
73
|
+
<dt>port <code>int</code></dt>
|
74
|
+
<dd>
|
75
|
+
The port the server should listen on for new connections; defaults to code>8888</code>.
|
76
|
+
</dd>
|
77
|
+
</dl>
|
78
|
+
|
56
79
|
|
57
80
|
The server will be saved immediately upon exiting the block, and will return the
|
58
81
|
saved Mongrel2::Config::Server object.
|
59
82
|
|
60
83
|
|
61
|
-
|
84
|
+
### host
|
62
85
|
|
63
86
|
host <name> { <host config block> }
|
64
87
|
|
@@ -67,10 +90,13 @@ This creates or replaces the named Host within a +server+ block. Inside the
|
|
67
90
|
Host, adding Routes, and setting up Handler, Proxy, and Directory targets
|
68
91
|
for Routes.
|
69
92
|
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
93
|
+
<dl class="rdoc-list label-list">
|
94
|
+
<dt>matching <code>pattern</code></dt>
|
95
|
+
<dd>This is a pattern that’s used to match incoming <tt>Host</tt> headers for routing purposes.</dd>
|
96
|
+
|
97
|
+
<dt>maintenance <code>boolean</code></dt>
|
98
|
+
<dd>This is a (currently unused) setting that will display a "down for maintenance" page.</dd>
|
99
|
+
</dl>
|
74
100
|
|
75
101
|
The rest of the block will likely be concerned with setting up the routes for
|
76
102
|
the host using the +route+, +handler+, +directory+, and +proxy+ directives, e.g.:
|
@@ -110,7 +136,7 @@ etc:
|
|
110
136
|
route '', testhandler
|
111
137
|
end
|
112
138
|
|
113
|
-
|
139
|
+
### route
|
114
140
|
|
115
141
|
route <pattern>, <target>, [<opts>]
|
116
142
|
|
@@ -134,7 +160,7 @@ It returns the configured Route object.
|
|
134
160
|
route '.png', image_handler, reverse: true
|
135
161
|
route '.ico', image_handler, reverse: true
|
136
162
|
|
137
|
-
|
163
|
+
### handler
|
138
164
|
|
139
165
|
handler <send_spec>, <send_ident>, [<recv_spec>[, <recv_ident>]], [<options>]
|
140
166
|
|
@@ -152,9 +178,12 @@ it to the same as +send_ident+.
|
|
152
178
|
|
153
179
|
Valid +options+ for Handlers are:
|
154
180
|
|
155
|
-
|
156
|
-
|
157
|
-
|
181
|
+
<dl class="rdoc-list label-list">
|
182
|
+
<dt>raw_payload <code>boolean</code></dt>
|
183
|
+
<dd>?</dd>
|
184
|
+
<dt>protocol <code>name</code></dt>
|
185
|
+
<dd>The protocol used to communicate with the handler. Should be either <code>tnetstring</code> or <code>json</code> (the default).</dd>
|
186
|
+
</dl>
|
158
187
|
|
159
188
|
As with the other directives, +handler+ returns the newly-saved Handler object.
|
160
189
|
This means that you can either assign it to a variable for later inclusion in
|
@@ -163,10 +192,10 @@ one or more Route declarations, or you can define it in the <tt>route</tt> itsel
|
|
163
192
|
route '/gravatar/:email', handler('tcp://localhost:1480', 'gravatar-service')
|
164
193
|
# => #<Mongrel2::Config::Route ...>
|
165
194
|
|
166
|
-
See the documentation for
|
195
|
+
See the documentation for `route` for more examples of this.
|
167
196
|
|
168
197
|
|
169
|
-
|
198
|
+
### directory
|
170
199
|
|
171
200
|
directory <base>, [<index_file>[, <default_ctype>[, <options>]]]
|
172
201
|
|
@@ -178,7 +207,7 @@ says that "eventually you’ll be able to tweak more and more of the
|
|
178
207
|
settings to control how Dirs work."
|
179
208
|
|
180
209
|
|
181
|
-
|
210
|
+
### proxy
|
182
211
|
|
183
212
|
proxy <addr>[, <port>]
|
184
213
|
|
@@ -187,7 +216,7 @@ on the given +addr+ and +port+. If not specified, +port+ defaults to
|
|
187
216
|
<tt>80</tt>. Returns the saved Proxy object.
|
188
217
|
|
189
218
|
|
190
|
-
|
219
|
+
### filter
|
191
220
|
|
192
221
|
filter <path>[, <settings>]
|
193
222
|
|
@@ -197,7 +226,7 @@ and passing it the specified +options+ as a
|
|
197
226
|
TNetstring[http://tnetstrings.org/].
|
198
227
|
|
199
228
|
|
200
|
-
|
229
|
+
### setting/settings
|
201
230
|
|
202
231
|
setting <name>, <value>
|
203
232
|
settings <name1> => <value1>[, <name2> => <value2>, ...]
|
@@ -213,7 +242,7 @@ An example (from the manual):
|
|
213
242
|
"upload.temp_store_mode" => "0666"
|
214
243
|
# => [ #<Mongrel2::Config::Setting ...>, #<Mongrel2::Config::Setting ...>, ... ]
|
215
244
|
|
216
|
-
|
245
|
+
### mimetype/mimetypes
|
217
246
|
|
218
247
|
mimetype <extension>, <mimetype>
|
219
248
|
mimetypes <extension1> => <mimetype1>[, <extension2> => <mimetype2>]
|
@@ -227,7 +256,7 @@ An example:
|
|
227
256
|
# => [#<Mongrel2::Config::Mimetype ...>, ... ]
|
228
257
|
|
229
258
|
|
230
|
-
|
259
|
+
## Example
|
231
260
|
|
232
261
|
This is the mongrel2.org config re-expressed in the Ruby DSL:
|
233
262
|
|
data/{History.rdoc → History.md}
RENAMED
@@ -1,11 +1,20 @@
|
|
1
|
-
|
1
|
+
# Release History for mongrel2
|
2
|
+
|
3
|
+
---
|
4
|
+
## v0.55.0 [2020-04-08] Michael Granger <ged@faeriemud.org>
|
5
|
+
|
6
|
+
- Un-hoeify, update for Ruby 2.7.
|
7
|
+
- Add a version subcommand
|
8
|
+
|
9
|
+
|
10
|
+
## v0.54.0 [2019-09-04] Michael Granger <ged@FaerieMUD.org>
|
2
11
|
|
3
12
|
Enhancements:
|
4
13
|
|
5
14
|
- Convert the CLI to use GLI instead of (deprecated) Trollop
|
6
15
|
|
7
16
|
|
8
|
-
|
17
|
+
## v0.53.0 [2019-05-07] Michael Granger <ged@FaerieMUD.org>
|
9
18
|
|
10
19
|
Enhancements:
|
11
20
|
|
@@ -15,7 +24,7 @@ Enhancements:
|
|
15
24
|
that use it.
|
16
25
|
|
17
26
|
|
18
|
-
|
27
|
+
## v0.52.2 [2019-04-24] Michael Granger <ged@FaerieMUD.org>
|
19
28
|
|
20
29
|
Bugfixes:
|
21
30
|
|
@@ -25,14 +34,14 @@ Bugfixes:
|
|
25
34
|
it's used as a response too
|
26
35
|
|
27
36
|
|
28
|
-
|
37
|
+
## v0.52.1 [2018-07-23] Michael Granger <ged@FaerieMUD.org>
|
29
38
|
|
30
39
|
Bugfixes:
|
31
40
|
|
32
41
|
- Fix version of dependency on cztop-reactor
|
33
42
|
|
34
43
|
|
35
|
-
|
44
|
+
## v0.52.0 [2018-07-21] Michael Granger <ged@FaerieMUD.org>
|
36
45
|
|
37
46
|
Enhancements:
|
38
47
|
|
@@ -40,7 +49,7 @@ Enhancements:
|
|
40
49
|
- Fix use of Gem.datadir for newer Rubygems.
|
41
50
|
|
42
51
|
|
43
|
-
|
52
|
+
## v0.51.0 [2017-11-15] Michael Granger <ged@FaerieMUD.org>
|
44
53
|
|
45
54
|
Enhancements:
|
46
55
|
|
@@ -52,14 +61,14 @@ Bugfixes:
|
|
52
61
|
- Add missing config input file for the bootstrap command
|
53
62
|
|
54
63
|
|
55
|
-
|
64
|
+
## v0.50.2 [2017-07-05] Michael Granger <ged@FaerieMUD.org>
|
56
65
|
|
57
66
|
Bugfixes:
|
58
67
|
|
59
68
|
- Add missing require to Strelka::Handler.
|
60
69
|
|
61
70
|
|
62
|
-
|
71
|
+
## v0.50.1 [2017-05-31] Michael Granger <ged@FaerieMUD.org>
|
63
72
|
|
64
73
|
Bugfixes:
|
65
74
|
|
@@ -67,21 +76,21 @@ Bugfixes:
|
|
67
76
|
- Randomize the inproc selfpipe socket name (mainly useful for testing).
|
68
77
|
|
69
78
|
|
70
|
-
|
79
|
+
## v0.50.0 [2017-04-24] Michael Granger <ged@FaerieMUD.org>
|
71
80
|
|
72
81
|
Bugfixes:
|
73
82
|
|
74
83
|
- Fix issues with (and require) Sequel 4.45+
|
75
84
|
|
76
85
|
|
77
|
-
|
86
|
+
## v0.49.0 [2017-03-10] Michael Granger <ged@FaerieMUD.org>
|
78
87
|
|
79
88
|
Enhancements:
|
80
89
|
|
81
90
|
- Use the CZTop library instead of rbczmq for ZeroMQ sockets.
|
82
91
|
|
83
92
|
|
84
|
-
|
93
|
+
## v0.48.0 [2017-01-16] Mahlon E. Smith <mahlon@martini.nu>
|
85
94
|
|
86
95
|
Housekeeping:
|
87
96
|
|
@@ -89,14 +98,14 @@ Housekeeping:
|
|
89
98
|
- Bumped Configurability dependency.
|
90
99
|
|
91
100
|
|
92
|
-
|
101
|
+
## v0.47.0 [2016-11-23] Mahlon E. Smith <mahlon@martini.nu>
|
93
102
|
|
94
103
|
Enhancements:
|
95
104
|
|
96
105
|
- Close spooled request bodies at the end of the request lifecycle.
|
97
106
|
|
98
107
|
|
99
|
-
|
108
|
+
## v0.46.0 [2016-11-05] Michael Granger <ged@FaerieMUD.org>
|
100
109
|
|
101
110
|
Enhancements:
|
102
111
|
|
@@ -104,7 +113,7 @@ Enhancements:
|
|
104
113
|
- Cache config mimetype table
|
105
114
|
|
106
115
|
|
107
|
-
|
116
|
+
## v0.45.1 [2016-11-03] Michael Granger <ged@FaerieMUD.org>
|
108
117
|
|
109
118
|
Bugfixes:
|
110
119
|
|
@@ -112,7 +121,7 @@ Bugfixes:
|
|
112
121
|
- Fix an order dependency in the specs.
|
113
122
|
|
114
123
|
|
115
|
-
|
124
|
+
## v0.45.0 [2016-11-03] Michael Granger <ged@FaerieMUD.org>
|
116
125
|
|
117
126
|
Bugfixes:
|
118
127
|
|
@@ -121,7 +130,7 @@ Bugfixes:
|
|
121
130
|
- Raise ZMQ::Error on nil return from Connection#recv
|
122
131
|
|
123
132
|
|
124
|
-
|
133
|
+
## v0.44.0 [2016-01-20] Mahlon E. Smith <mahlon@martini.nu>
|
125
134
|
|
126
135
|
Enhancements:
|
127
136
|
|
@@ -134,29 +143,29 @@ https://datatracker.ietf.org/doc/draft-ietf-httpbis-legally-
|
|
134
143
|
restricted-status/?include_text=1
|
135
144
|
|
136
145
|
|
137
|
-
|
146
|
+
## v0.43.2 [2015-03-25] Michael Granger <ged@FaerieMUD.org>
|
138
147
|
|
139
148
|
Bugfixes:
|
140
149
|
|
141
150
|
- Remove some duplicated status codes that warn under Ruby 2.2.
|
142
151
|
- Remove some debug logging that errors under Ruby 2.2.
|
143
152
|
|
144
|
-
|
153
|
+
## v0.43.1 (yanked: no signed tag)
|
145
154
|
|
146
155
|
|
147
|
-
|
156
|
+
## v0.43.0 [2014-12-17] Michael Granger <ged@FaerieMUD.org>
|
148
157
|
|
149
158
|
- Add a Mongrel2::Request#server_chroot
|
150
159
|
Used to qualify filesystem paths relative to Mongrel's chroot for
|
151
160
|
sendfile, async upload, etc.
|
152
161
|
|
153
162
|
|
154
|
-
|
163
|
+
## v0.42.0 [2014-08-27] Michael Granger <ged@FaerieMUD.org>
|
155
164
|
|
156
165
|
Add support for sending extended replies.
|
157
166
|
|
158
167
|
|
159
|
-
|
168
|
+
## v0.41.0 [2014-02-02] Michael Granger <ged@FaerieMUD.org>
|
160
169
|
|
161
170
|
- Convert back to rbczmq for modern mongrel2s
|
162
171
|
- Config introspection and cleanup.
|
@@ -166,31 +175,31 @@ Add support for sending extended replies.
|
|
166
175
|
- Use LibXML instead of Nokogiri for XML request type
|
167
176
|
|
168
177
|
|
169
|
-
|
178
|
+
## v0.40.0 [2013-10-31] Michael Granger <ged@FaerieMUD.org>
|
170
179
|
|
171
180
|
- Move back to the zmq library, as rbczmq was too unstable.
|
172
181
|
- Drop the xrequest table when creating the config DB.
|
173
182
|
|
174
183
|
|
175
|
-
|
184
|
+
## v0.39.0 [2013-09-25] Michael Granger <ged@FaerieMUD.org>
|
176
185
|
|
177
186
|
- Replace stagnant zmq library with rbczmq.
|
178
187
|
- Add config support for 1.8.1's "X-Requests"
|
179
188
|
|
180
189
|
|
181
|
-
|
190
|
+
## v0.38.0 [2013-09-18] Michael Granger <ged@FaerieMUD.org>
|
182
191
|
|
183
192
|
- Update dependencies, add Gemfile.
|
184
193
|
- Update to Mongrel2 1.8.1 config schema.
|
185
194
|
|
186
195
|
|
187
|
-
|
196
|
+
## v0.37.0 [2013-09-13] Michael Granger <ged@FaerieMUD.org>
|
188
197
|
|
189
198
|
- Make explicitly-set 'nil' body also a bodiless response.
|
190
199
|
- Add support for Sequel 4.x
|
191
200
|
|
192
201
|
|
193
|
-
|
202
|
+
## v0.36.0 [2013-02-28] Michael Granger <ged@FaerieMUD.org>
|
194
203
|
|
195
204
|
- Fixes for Ruby 2.
|
196
205
|
- Fix status line for responses that have an explicit content-length.
|
@@ -202,7 +211,7 @@ Add support for sending extended replies.
|
|
202
211
|
- Fix the 'start' subcommand of m2sh.rb.
|
203
212
|
|
204
213
|
|
205
|
-
|
214
|
+
## v0.35.0 [2012-12-11] Michael Granger <ged@FaerieMUD.org>
|
206
215
|
|
207
216
|
- Allow WebSocket frames to be set to reserved opcodes
|
208
217
|
- Allow WebSocket opcodes to be set numerically
|
@@ -213,7 +222,7 @@ Add support for sending extended replies.
|
|
213
222
|
WebSocket::ClientHandshake, and WebSocket::ServerHandshake
|
214
223
|
- Ensure the ZMQ context is closed when #run exits.
|
215
224
|
|
216
|
-
|
225
|
+
## v0.34.0 [2012-10-17] Michael Granger <ged@FaerieMUD.org>
|
217
226
|
|
218
227
|
- Fix the multiple-server case in 'm2sh.rb start'
|
219
228
|
- Add support for the new (edge) 'url-scheme' header and add an #ssl?
|
@@ -224,25 +233,25 @@ Add support for sending extended replies.
|
|
224
233
|
- Remove some more chatty debug logging.
|
225
234
|
|
226
235
|
|
227
|
-
|
236
|
+
## v0.33.0 [2012-10-02] Michael Granger <ged@FaerieMUD.org>
|
228
237
|
|
229
238
|
- Implement deferred signal-handling for Mongrel2::Handler
|
230
239
|
- Update the examples/
|
231
240
|
- Squelch some of the noisier debug logging
|
232
241
|
|
233
242
|
|
234
|
-
|
243
|
+
## v0.32.0 [2012-09-18] Michael Granger <ged@FaerieMUD.org>
|
235
244
|
|
236
245
|
- Add a settings command for showing "expert" settings to m2sh.rb.
|
237
246
|
- Updating dependencies
|
238
247
|
|
239
248
|
|
240
|
-
|
249
|
+
## v0.31.1 [2012-08-20] Michael Granger <ged@FaerieMUD.org>
|
241
250
|
|
242
251
|
- Fix an error message in m2sh.rb.
|
243
252
|
|
244
253
|
|
245
|
-
|
254
|
+
## v0.31.0 [2012-07-30] Michael Granger <ged@FaerieMUD.org>
|
246
255
|
|
247
256
|
Improve Server control-socket pathing.
|
248
257
|
|
@@ -252,13 +261,13 @@ exception if no socket is found instead of just returning a
|
|
252
261
|
socket that's doomed to block forever.
|
253
262
|
|
254
263
|
|
255
|
-
|
264
|
+
## v0.30.1 [2012-07-27] Michael Granger <ged@FaerieMUD.org>
|
256
265
|
|
257
266
|
Documentation and packaging fixes. Switch to sqlite3 until
|
258
267
|
Amalgalite works until MacOS X again.
|
259
268
|
|
260
269
|
|
261
|
-
|
270
|
+
## v0.30.0 [2012-07-27] Michael Granger <ged@FaerieMUD.org>
|
262
271
|
|
263
272
|
- Add a static index page to the quickstart Dir directory.
|
264
273
|
- Make the failure to find a mongrel2 binary friendlier.
|
@@ -266,7 +275,7 @@ Amalgalite works until MacOS X again.
|
|
266
275
|
service.
|
267
276
|
|
268
277
|
|
269
|
-
|
278
|
+
## v0.29.0 [2012-07-13] Michael Granger <ged@FaerieMUD.org>
|
270
279
|
|
271
280
|
- Make m2sh.rb write audit log events for modifying actions
|
272
281
|
- Add a --why option to m2sh.rb to allow reasons for actions to be
|
@@ -282,7 +291,7 @@ Amalgalite works until MacOS X again.
|
|
282
291
|
- Remove extraneous message from m2sh.rb's quickstart subcommand
|
283
292
|
|
284
293
|
|
285
|
-
|
294
|
+
## v0.28.0 [2012-07-12] Michael Granger <ged@FaerieMUD.org>
|
286
295
|
|
287
296
|
- Add Mongrel2::Config::Server pathname methods for the path
|
288
297
|
attributes (#access_log, #pid_file, etc.).
|
@@ -292,19 +301,19 @@ Amalgalite works until MacOS X again.
|
|
292
301
|
- Remove shell mode from m2sh.rb.
|
293
302
|
|
294
303
|
|
295
|
-
|
304
|
+
## v0.27.0 [2012-07-02] Michael Granger <ged@FaerieMUD.org>
|
296
305
|
|
297
306
|
- Adds support for websocket handshake in 'develop' branch.
|
298
307
|
- Adds 'bootstrap' and 'quickstart' commands to m2sh.rb.
|
299
308
|
|
300
309
|
|
301
|
-
|
310
|
+
## v0.26.0 [2012-06-26] Michael Granger <ged@FaerieMUD.org>
|
302
311
|
|
303
312
|
- Fix the derived path to the async upload body
|
304
313
|
- Add a default async upload handler method that cancels the upload
|
305
314
|
|
306
315
|
|
307
|
-
|
316
|
+
## v0.25.0 [2012-06-20] Michael Granger <ged@FaerieMUD.org>
|
308
317
|
|
309
318
|
NOTE: This revision contains non-backward-compatible changes to
|
310
319
|
Mongrel2::Request, Mongrel2::Response, and all subclasses.
|
@@ -318,14 +327,14 @@ Mongrel2::Request, Mongrel2::Response, and all subclasses.
|
|
318
327
|
- Add support for Content-type charsets.
|
319
328
|
|
320
329
|
|
321
|
-
|
330
|
+
## v0.24.0 [2012-05-31] Michael Granger <ged@FaerieMUD.org>
|
322
331
|
|
323
332
|
- Fix a bug when duping a Mongrel2::Table with immediate objects as values.
|
324
333
|
- Change Config.settings to a Table.
|
325
334
|
- Add support for Mongrel2 async uploads.
|
326
335
|
|
327
336
|
|
328
|
-
|
337
|
+
## v0.23.0 [2012-05-17] Michael Granger <ged@FaerieMUD.org>
|
329
338
|
|
330
339
|
- Add a convenience method to Mongrel2::Handler for fetching its
|
331
340
|
associated config object.
|
@@ -333,19 +342,19 @@ Mongrel2::Request, Mongrel2::Response, and all subclasses.
|
|
333
342
|
- Bumping dependency on Loggability to 0.2.
|
334
343
|
|
335
344
|
|
336
|
-
|
345
|
+
## v0.22.1 [2012-05-07] Michael Granger <ged@FaerieMUD.org>
|
337
346
|
|
338
347
|
Fix loggability dependency version.
|
339
348
|
|
340
349
|
|
341
|
-
|
350
|
+
## v0.22.0 [2012-05-07] Michael Granger <ged@FaerieMUD.org>
|
342
351
|
|
343
352
|
- Convert to Loggability for logging.
|
344
353
|
- Add an option to bin/m2sh.rb to rewrite the mongrel2 port of a host
|
345
354
|
on the fly at startup.
|
346
355
|
|
347
356
|
|
348
|
-
|
357
|
+
## v0.21.0 [2012-04-23] Michael Granger <ged@FaerieMUD.org>
|
349
358
|
|
350
359
|
- Rename the defaults for Mongrel2::Config.
|
351
360
|
This was changed to conform with Configurability's defaults API. The
|
@@ -355,7 +364,7 @@ Fix loggability dependency version.
|
|
355
364
|
X-Forwarded-For headers. [mahlon]
|
356
365
|
|
357
366
|
|
358
|
-
|
367
|
+
## v0.20.3 [2012-04-12] Michael Granger <ged@FaerieMUD.org>
|
359
368
|
|
360
369
|
- Fix a require in mongrel2/testing.
|
361
370
|
- Assume paths passed to configure( :configdb ) should use SQLite.
|
@@ -363,18 +372,18 @@ Fix loggability dependency version.
|
|
363
372
|
- Set API docs to use fivefish if available
|
364
373
|
|
365
374
|
|
366
|
-
|
375
|
+
## v0.20.2 [2012-04-10] Michael Granger <ged@FaerieMUD.org>
|
367
376
|
|
368
377
|
- Fix Mongrel2::Config.dbname.
|
369
378
|
|
370
379
|
|
371
|
-
|
380
|
+
## v0.20.1 [2012-03-28] Michael Granger <ged@FaerieMUD.org>
|
372
381
|
|
373
382
|
- Fix dependencies and the spec that fails when you run against the
|
374
383
|
version of Sequel I was trying to fix in the previous release.
|
375
384
|
|
376
385
|
|
377
|
-
|
386
|
+
## v0.20.0 [2012-03-28] Michael Granger <ged@FaerieMUD.org>
|
378
387
|
|
379
388
|
- Fix the config DB for Sequel 3.34.
|
380
389
|
|
@@ -391,12 +400,12 @@ configuration databases, e.g., when I get the PostgreSQL config
|
|
391
400
|
module working, it'll be easier to point the config model at it.
|
392
401
|
|
393
402
|
|
394
|
-
|
403
|
+
## v0.19.0 [2012-03-28] Michael Granger <ged@FaerieMUD.org>
|
395
404
|
|
396
405
|
- Make HTTPResponse default to a 200 status if there's a body.
|
397
406
|
|
398
407
|
|
399
|
-
|
408
|
+
## v0.18.0 [2012-03-28] Michael Granger <ged@FaerieMUD.org>
|
400
409
|
|
401
410
|
- Make the 'handler' DSL directive replace any existing handler with
|
402
411
|
its send_ident.
|
@@ -404,7 +413,7 @@ module working, it'll be easier to point the config model at it.
|
|
404
413
|
specs and IDs.
|
405
414
|
|
406
415
|
|
407
|
-
|
416
|
+
## v0.17.0 [2012-03-18] Michael Granger <ged@FaerieMUD.org>
|
408
417
|
|
409
418
|
- Squelch logging of expected SQL errors.
|
410
419
|
Errors are normal during Mongrel2::Config.db= and
|
@@ -414,12 +423,12 @@ module working, it'll be easier to point the config model at it.
|
|
414
423
|
- Fix documentation for WebSocket#validate_control_frame
|
415
424
|
|
416
425
|
|
417
|
-
|
426
|
+
## v0.16.0 [2012-03-10] Michael Granger <ged@FaerieMUD.org>
|
418
427
|
|
419
428
|
- Add WebSocket (RFC6455) support
|
420
429
|
|
421
430
|
|
422
|
-
|
431
|
+
## v0.15.1 [2012-03-02] Michael Granger <ged@FaerieMUD.org>
|
423
432
|
|
424
433
|
- Make sure Mongrel2::Config::Host deletes cascade to their routes
|
425
434
|
- Init the database outside of the transaction in the "server" DSL
|
@@ -429,20 +438,20 @@ module working, it'll be easier to point the config model at it.
|
|
429
438
|
- Log SQL to the logger at DEBUG level
|
430
439
|
|
431
440
|
|
432
|
-
|
441
|
+
## v0.15.0 [2012-02-27] Michael Granger <ged@FaerieMUD.org>
|
433
442
|
|
434
443
|
- Fix the Mongrel2::Config::Server.by_uuid dataset method to return a
|
435
444
|
dataset instead of the instance.
|
436
445
|
|
437
446
|
|
438
|
-
|
447
|
+
## v0.14.0 [2012-02-27] Michael Granger <ged@FaerieMUD.org>
|
439
448
|
|
440
449
|
- Add an alias for #headers -> #header to Mongrel2::Request and
|
441
450
|
Mongrel2::HTTPResponse.
|
442
451
|
- Add an OPTIONS request factory method to the Mongrel2::RequestFactory
|
443
452
|
|
444
453
|
|
445
|
-
|
454
|
+
## v0.13.0 [2012-02-24] Michael Granger <ged@FaerieMUD.org>
|
446
455
|
|
447
456
|
- Fix the ZMQ socket identifier used by Connection.
|
448
457
|
- Add missing slash in the control socket URI
|
@@ -453,14 +462,14 @@ module working, it'll be easier to point the config model at it.
|
|
453
462
|
* Set the content-length to 0
|
454
463
|
|
455
464
|
|
456
|
-
|
465
|
+
## v0.12.0 [2012-02-17] Michael Granger <ged@FaerieMUD.org>
|
457
466
|
|
458
467
|
- Add bodiless response predicate to Mongrel2::HTTPResponse.
|
459
468
|
- Add #put and #delete factory methods to the Mongrel2::RequestFactory.
|
460
469
|
- Flesh out docs for the Filter config class.
|
461
470
|
|
462
471
|
|
463
|
-
|
472
|
+
## v0.11.0 [2012-02-15] Michael Granger <ged@FaerieMUD.org>
|
464
473
|
|
465
474
|
- Make the DSL declarations replace existing records.
|
466
475
|
- Flesh out the documentation for the DSL
|
@@ -468,7 +477,7 @@ module working, it'll be easier to point the config model at it.
|
|
468
477
|
Content-type and Content-encoding headers.
|
469
478
|
|
470
479
|
|
471
|
-
|
480
|
+
## v0.10.0 [2012-02-06] Michael Granger <ged@FaerieMUD.org>
|
472
481
|
|
473
482
|
This release includes updates for Mongrel 1.8 and finishes up the m2sh.rb tool.
|
474
483
|
|
@@ -489,30 +498,30 @@ This release includes updates for Mongrel 1.8 and finishes up the m2sh.rb tool.
|
|
489
498
|
the negotiation
|
490
499
|
|
491
500
|
|
492
|
-
|
501
|
+
## v0.9.2 [2011-10-12] Michael Granger <ged@FaerieMUD.org>
|
493
502
|
|
494
503
|
Bugfix: dup instead of clone to get rid of frozen status.
|
495
504
|
|
496
505
|
|
497
|
-
|
506
|
+
## v0.9.1 [2011-10-12] Michael Granger <ged@FaerieMUD.org>
|
498
507
|
|
499
508
|
Bugfix: use a dup of the default content-type constant instead
|
500
509
|
of the String itself.
|
501
510
|
|
502
511
|
|
503
|
-
|
512
|
+
## v0.9.0 [2011-10-12] Michael Granger <ged@FaerieMUD.org>
|
504
513
|
|
505
514
|
- Fix Mongrel2::Table not duping/cloning its internal values.
|
506
515
|
- Set a default Content-type header in HTTP responses
|
507
516
|
|
508
517
|
|
509
|
-
|
518
|
+
## v0.8.0 [2011-10-12] Michael Granger <ged@FaerieMUD.org>
|
510
519
|
|
511
520
|
- Split out the normalization of HTTP response headers into two
|
512
521
|
methods for overriding.
|
513
522
|
|
514
523
|
|
515
|
-
|
524
|
+
## v0.7.0 [2011-10-09] Michael Granger <ged@FaerieMUD.org>
|
516
525
|
|
517
526
|
- Add an optional #request attribute to Mongrel2::Response and make
|
518
527
|
Response.from_request set it. This is to make things like content-
|
@@ -520,7 +529,7 @@ of the String itself.
|
|
520
529
|
- Log request and response both at INFO.
|
521
530
|
|
522
531
|
|
523
|
-
|
532
|
+
## v0.6.0 [2011-10-03] Michael Granger <ged@FaerieMUD.org>
|
524
533
|
|
525
534
|
Mongrel2::HTTPRequest enhancements.
|
526
535
|
- Added #body= for rewriting the entity body
|
@@ -530,19 +539,19 @@ Mongrel2::HTTPRequest enhancements.
|
|
530
539
|
request objects
|
531
540
|
|
532
541
|
|
533
|
-
|
542
|
+
## v0.5.0 [2011-09-30] Michael Granger <ged@FaerieMUD.org>
|
534
543
|
|
535
544
|
Enhancements:
|
536
545
|
- Added support for POST and HEAD requests to Mongrel2::RequestFactory.
|
537
546
|
|
538
547
|
|
539
|
-
|
548
|
+
## v0.4.0 [2011-09-27] Michael Granger <ged@FaerieMUD.org>
|
540
549
|
|
541
550
|
Additions:
|
542
551
|
- Added Mongrel2::Config::Server.by_uuid( uuid )
|
543
552
|
|
544
553
|
|
545
|
-
|
554
|
+
## v0.3.1 [2011-09-27] Michael Granger <ged@FaerieMUD.org>
|
546
555
|
|
547
556
|
Bugfix:
|
548
557
|
- Measure the content-length of HTTPResponse in bytes, not characters.
|
@@ -553,7 +562,7 @@ Enhancements:
|
|
553
562
|
output
|
554
563
|
|
555
564
|
|
556
|
-
|
565
|
+
## v0.3.0 [2011-09-23] Michael Granger <ged@FaerieMUD.org>
|
557
566
|
|
558
567
|
- Mongrel2::Client fixes/documentation updates.
|
559
568
|
- Include FileUtils in the 'm2sh.rb load' context so configs
|
@@ -563,29 +572,29 @@ Enhancements:
|
|
563
572
|
- Add missing include to Mongrel2::Handler
|
564
573
|
|
565
574
|
|
566
|
-
|
575
|
+
## v0.2.4 [2011-09-21] Michael Granger <ged@FaerieMUD.org>
|
567
576
|
|
568
577
|
- Added a cleaned-up Mongrel2::Response#inspect like
|
569
578
|
Mongrel2::Request.
|
570
579
|
- Correct body size in inspected request/response output.
|
571
580
|
|
572
581
|
|
573
|
-
|
582
|
+
## v0.2.3 [2011-09-21] Michael Granger <ged@FaerieMUD.org>
|
574
583
|
|
575
584
|
- Change the default response status from '200 OK' to '204 No Content'
|
576
585
|
|
577
586
|
|
578
|
-
|
587
|
+
## v0.2.2 [2011-09-19] Michael Granger <ged@FaerieMUD.org>
|
579
588
|
|
580
589
|
- Packaging fix
|
581
590
|
|
582
591
|
|
583
|
-
|
592
|
+
## v0.2.1 [2011-09-19] Michael Granger <ged@FaerieMUD.org>
|
584
593
|
|
585
594
|
- Add missing HTTP::CONTINUE constant.
|
586
595
|
|
587
596
|
|
588
|
-
|
597
|
+
## v0.2.0 [2011-09-18] Michael Granger <ged@FaerieMUD.org>
|
589
598
|
|
590
599
|
- Factor out the generically-useful RSpec helper functions into
|
591
600
|
mongrel2/testing.rb and add a RequestFactory.
|
@@ -599,7 +608,7 @@ Enhancements:
|
|
599
608
|
- Config DSL: directory: Default the index file to index.html
|
600
609
|
|
601
610
|
|
602
|
-
|
611
|
+
## v0.1.2 [2011-09-16] Michael Granger <ged@FaerieMUD.org>
|
603
612
|
|
604
613
|
Fixed some header problems in Mongrel2::HTTPResponse:
|
605
614
|
|
@@ -607,23 +616,23 @@ Fixed some header problems in Mongrel2::HTTPResponse:
|
|
607
616
|
- Don't clear headers passed to the constructor.
|
608
617
|
|
609
618
|
|
610
|
-
|
619
|
+
## v0.1.1 [2011-11-14] Michael Granger <ged@FaerieMUD.org>
|
611
620
|
|
612
621
|
Update dependency to rbzmq-2.1.4 for ZMQ::Error.
|
613
622
|
|
614
623
|
|
615
|
-
|
624
|
+
## v0.1.0 [2011-11-14] Michael Granger <ged@FaerieMUD.org>
|
616
625
|
|
617
626
|
Memoize Mongrel2::Request#response, and add Mongrel2::Request.response_class to
|
618
627
|
allow for easy overriding of the response type.
|
619
628
|
|
620
629
|
|
621
|
-
|
630
|
+
## v0.0.2 [2011-11-13] Michael Granger <ged@FaerieMUD.org>
|
622
631
|
|
623
632
|
Added a shim to work around lack of ZMQ::Error in zmq-2.1.3.
|
624
633
|
|
625
634
|
|
626
|
-
|
635
|
+
## v0.0.1 [2011-09-12] Michael Granger <ged@FaerieMUD.org>
|
627
636
|
|
628
637
|
Initial release.
|
629
638
|
|