mongrel2 0.46.0 → 0.47.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/ChangeLog +57 -2
- data/History.rdoc +7 -0
- data/data/mongrel2/js/websock-test.js +1 -1
- data/examples/request-dumper.tmpl +1 -1
- data/lib/mongrel2.rb +2 -2
- data/lib/mongrel2/handler.rb +1 -0
- data/spec/mongrel2/handler_spec.rb +2 -0
- metadata +21 -26
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b9d1390dca7899d59ef2a7da223f34a5a6799dd
|
4
|
+
data.tar.gz: 4b1e0ab98efe6e897e6be64d31fb6a442c66802d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9734f2c23ec8f7d1dc288ff3e742a846ca10d028920f39924c793b2712f5bfa85082d2e42ce1dc0575c67b8ac9417aecbda8679fc9019a75d2afc526ae72e900
|
7
|
+
data.tar.gz: 1b509e6db95ad4698ba53c1148797c477930968f5a2af1bfd4c3aaf13541065087368d7d52592d3ef3459264415805683b5ffe42d8bd3a1109be77fbf50c73ea
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/ChangeLog
CHANGED
@@ -1,8 +1,63 @@
|
|
1
|
+
2016-11-23 Mahlon E. Smith <mahlon@martini.nu>
|
2
|
+
|
3
|
+
* History.rdoc, lib/mongrel2.rb:
|
4
|
+
Bump version, update History.
|
5
|
+
[c4ae80fe8067] [tip]
|
6
|
+
|
7
|
+
* lib/mongrel2/handler.rb, spec/mongrel2/handler_spec.rb:
|
8
|
+
Rather than waiting for GC to free up a descriptor, close spooled
|
9
|
+
request bodies outright at the end of the request lifecycle.
|
10
|
+
[d1160e5fdd52]
|
11
|
+
|
12
|
+
2016-11-13 Michael Granger <ged@FaerieMUD.org>
|
13
|
+
|
14
|
+
* .hgtags:
|
15
|
+
Added tag v0.46.0 for changeset e7c165fb6bb2
|
16
|
+
[7f3c8162e5ef]
|
17
|
+
|
18
|
+
* .hgsigs:
|
19
|
+
Added signature for changeset a28294965462
|
20
|
+
[e7c165fb6bb2] [v0.46.0]
|
21
|
+
|
22
|
+
* History.rdoc, lib/mongrel2.rb:
|
23
|
+
Bump minor version, update history.
|
24
|
+
[a28294965462]
|
25
|
+
|
26
|
+
2016-11-05 Michael Granger <ged@FaerieMUD.org>
|
27
|
+
|
28
|
+
* lib/mongrel2/constants.rb, lib/mongrel2/httprequest.rb,
|
29
|
+
lib/mongrel2/request.rb, lib/mongrel2/testing.rb, spec/helpers.rb,
|
30
|
+
spec/mongrel2/config/directory_spec.rb,
|
31
|
+
spec/mongrel2/config/dsl_spec.rb,
|
32
|
+
spec/mongrel2/config/handler_spec.rb,
|
33
|
+
spec/mongrel2/config/log_spec.rb,
|
34
|
+
spec/mongrel2/config/route_spec.rb,
|
35
|
+
spec/mongrel2/config/server_spec.rb, spec/mongrel2/handler_spec.rb,
|
36
|
+
spec/mongrel2/request_spec.rb:
|
37
|
+
Pull up config setup/teardown into the spec helper
|
38
|
+
[2990ebe57fc8]
|
39
|
+
|
40
|
+
* lib/mongrel2/config.rb:
|
41
|
+
Cache config mimetype table
|
42
|
+
[fc0ee5d5ceef]
|
43
|
+
|
1
44
|
2016-11-03 Michael Granger <ged@FaerieMUD.org>
|
2
45
|
|
46
|
+
* .hgtags:
|
47
|
+
Added tag v0.45.1 for changeset a5d755b0cb1f
|
48
|
+
[5ab93929b6d8]
|
49
|
+
|
50
|
+
* .hgsigs:
|
51
|
+
Added signature for changeset 3bf29899020f
|
52
|
+
[a5d755b0cb1f] [v0.45.1]
|
53
|
+
|
54
|
+
* History.rdoc, lib/mongrel2.rb:
|
55
|
+
Bump the minor version, update history
|
56
|
+
[3bf29899020f]
|
57
|
+
|
3
58
|
* lib/mongrel2/config.rb, spec/mongrel2/config_spec.rb:
|
4
59
|
Fix an order-dependency in the specs
|
5
|
-
[01254dbe61b2]
|
60
|
+
[01254dbe61b2]
|
6
61
|
|
7
62
|
* Rakefile, mongrel2.gemspec:
|
8
63
|
Fix the license name in the gemspec.
|
@@ -18,7 +73,7 @@
|
|
18
73
|
|
19
74
|
* History.rdoc, lib/mongrel2.rb:
|
20
75
|
Bump minor version, update history
|
21
|
-
[0ef122fb3bb8]
|
76
|
+
[0ef122fb3bb8]
|
22
77
|
|
23
78
|
* lib/mongrel2/httprequest.rb, mongrel2.gemspec,
|
24
79
|
spec/mongrel2/httprequest_spec.rb:
|
data/History.rdoc
CHANGED
data/lib/mongrel2.rb
CHANGED
@@ -25,10 +25,10 @@ module Mongrel2
|
|
25
25
|
abort "\n\n>>> Mongrel2 requires Ruby 2.2 or later. <<<\n\n" if RUBY_VERSION < '2.2.0'
|
26
26
|
|
27
27
|
# Library version constant
|
28
|
-
VERSION = '0.
|
28
|
+
VERSION = '0.47.0'
|
29
29
|
|
30
30
|
# Version-control revision constant
|
31
|
-
REVISION = %q$Revision:
|
31
|
+
REVISION = %q$Revision: c4ae80fe8067 $
|
32
32
|
|
33
33
|
|
34
34
|
require 'mongrel2/constants'
|
data/lib/mongrel2/handler.rb
CHANGED
@@ -260,6 +260,7 @@ class Mongrel2::Handler
|
|
260
260
|
# Remove any temporarily spooled Mongrel2 files.
|
261
261
|
begin
|
262
262
|
if req && req.body && req.body.respond_to?( :path ) && req.body.path
|
263
|
+
req.body.close unless req.body.closed?
|
263
264
|
File.unlink( req.body.path )
|
264
265
|
end
|
265
266
|
rescue Errno::ENOENT => err
|
@@ -306,6 +306,8 @@ describe Mongrel2::Handler, :db do
|
|
306
306
|
expect( @request_sock ).to receive( :recv ).and_return( req )
|
307
307
|
|
308
308
|
res = OneShotHandler.new( TEST_UUID, TEST_SEND_SPEC, TEST_RECV_SPEC ).run
|
309
|
+
request, response = res.transactions.first
|
310
|
+
expect( request.body ).to be_closed
|
309
311
|
expect( spoolfile ).to_not exist
|
310
312
|
end
|
311
313
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mongrel2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.47.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Granger
|
@@ -10,32 +10,27 @@ bindir: bin
|
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
DMOr26DBv+qLJRRC/2h34uX71q5QgeOyxvMg+7V3u/Q06DXyQ2VgeeqiwDFFpEH0
|
33
|
-
PFkdPO6ZqbTRcLfNH7mFgCBJjsfSjJrn0sPBlYyOXgCoByfZnZyrIMH/UY+lgQqS
|
34
|
-
6Von1VDsfQm0eJh5zYZD64ZF86phSR7mUX3mXItwH04HrZwkWpvgd871DZVR3i1n
|
35
|
-
w8aNA5re5+Rt/Vvjxj5AcEnZnZiz5x959NaddQocX32Z1unHw44pzRNUur1GInfW
|
36
|
-
p4vpx2kUSFSAGjtCbDGTNV2AH8w9OU4xEmNz8c5lyoA=
|
13
|
+
MIIDbDCCAlSgAwIBAgIBATANBgkqhkiG9w0BAQUFADA+MQ8wDQYDVQQDDAZtYWhs
|
14
|
+
b24xFzAVBgoJkiaJk/IsZAEZFgdtYXJ0aW5pMRIwEAYKCZImiZPyLGQBGRYCbnUw
|
15
|
+
HhcNMTYxMTE2MTkxMTMwWhcNMTcxMTE2MTkxMTMwWjA+MQ8wDQYDVQQDDAZtYWhs
|
16
|
+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wTJNpm+6iYszl7A
|
31
|
+
SixmX0X3SOeYg4FRkblUIA==
|
37
32
|
-----END CERTIFICATE-----
|
38
|
-
date: 2016-11-
|
33
|
+
date: 2016-11-24 00:00:00.000000000 Z
|
39
34
|
dependencies:
|
40
35
|
- !ruby/object:Gem::Dependency
|
41
36
|
name: sequel
|
metadata.gz.sig
CHANGED
Binary file
|