mongrel2 0.50.0 → 0.50.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/ChangeLog +33 -17
- data/History.rdoc +8 -0
- data/Rakefile +1 -1
- data/lib/mongrel2.rb +2 -2
- data/lib/mongrel2/handler.rb +3 -2
- data/spec/mongrel2/handler_spec.rb +2 -2
- metadata +28 -23
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 6071b1726945f18797218f69ab048db0e4cbb88de43a09f00c38c461608a4b2f
|
4
|
+
data.tar.gz: c6a9fc214e766fa997d69bf1f3faa488d06bb810bd4428c91da5e9192b16d871
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 971c653a1dd6ab401fea6edd2f3f137dd63894318a1bf0856189759d6909d7a178fdc16e96dd5faa96b2e89d3d9bfe32fa1c7e4d6a4faa4d6a9124ceed45a246
|
7
|
+
data.tar.gz: 5ddcbdb9d2ca8bcc6fb311cac9abacc959e05c3092bf85473ce110a9456705b0a7d5db792a53b5d12bc19ea400677b11a26f27ef0f027885bdb0ad2625bbb9bf
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/ChangeLog
CHANGED
@@ -1,3 +1,19 @@
|
|
1
|
+
2017-05-31 Mahlon E. Smith <mahlon@martini.nu>
|
2
|
+
|
3
|
+
* lib/mongrel2/handler.rb, spec/mongrel2/handler_spec.rb:
|
4
|
+
Randomize the inproc selfpipe socket name.
|
5
|
+
[6beef2396fd4] [github/master, tip]
|
6
|
+
|
7
|
+
2017-05-31 Mahlon E. Smith <mahlon@laika.com>
|
8
|
+
|
9
|
+
* .hgtags:
|
10
|
+
Added tag v0.50.0 for changeset 2c9ad9220038
|
11
|
+
[eb616ad5c4f7]
|
12
|
+
|
13
|
+
* .hgsigs:
|
14
|
+
Added signature for changeset 80a7c403b50b
|
15
|
+
[2c9ad9220038] [v0.50.0]
|
16
|
+
|
1
17
|
2017-05-03 Michael Granger <ged@FaerieMUD.org>
|
2
18
|
|
3
19
|
* lib/mongrel2/handler.rb, spec/mongrel2/handler_spec.rb:
|
@@ -5,7 +21,7 @@
|
|
5
21
|
|
6
22
|
This makes it easier to test instances of handlers, as it eliminates
|
7
23
|
the socket binding/connection.
|
8
|
-
[80a7c403b50b]
|
24
|
+
[80a7c403b50b]
|
9
25
|
|
10
26
|
2017-04-24 Michael Granger <ged@FaerieMUD.org>
|
11
27
|
|
@@ -39,6 +55,22 @@
|
|
39
55
|
Merged with d51c321fbd83
|
40
56
|
[4cc7ff9f8f34]
|
41
57
|
|
58
|
+
2017-01-16 Mahlon E. Smith <mahlon@laika.com>
|
59
|
+
|
60
|
+
* .hgtags:
|
61
|
+
Added tag v0.48.0 for changeset cd462070f981
|
62
|
+
[d51c321fbd83]
|
63
|
+
|
64
|
+
* .hgsigs:
|
65
|
+
Added signature for changeset 50bb8c488bc4
|
66
|
+
[cd462070f981] [v0.48.0]
|
67
|
+
|
68
|
+
2017-01-16 Mahlon E. Smith <mahlon@martini.nu>
|
69
|
+
|
70
|
+
* .gems, History.rdoc, Rakefile, lib/mongrel2.rb:
|
71
|
+
Bump Configurability dependency.
|
72
|
+
[50bb8c488bc4]
|
73
|
+
|
42
74
|
2017-02-08 Michael Granger <ged@FaerieMUD.org>
|
43
75
|
|
44
76
|
* .gems, .hoerc, Manifest.txt, README.rdoc, Rakefile,
|
@@ -57,22 +89,6 @@
|
|
57
89
|
Convert to CZTop for zmq
|
58
90
|
[87368e83086b]
|
59
91
|
|
60
|
-
2017-01-16 Mahlon E. Smith <mahlon@laika.com>
|
61
|
-
|
62
|
-
* .hgtags:
|
63
|
-
Added tag v0.48.0 for changeset cd462070f981
|
64
|
-
[d51c321fbd83]
|
65
|
-
|
66
|
-
* .hgsigs:
|
67
|
-
Added signature for changeset 50bb8c488bc4
|
68
|
-
[cd462070f981] [v0.48.0]
|
69
|
-
|
70
|
-
2017-01-16 Mahlon E. Smith <mahlon@martini.nu>
|
71
|
-
|
72
|
-
* .gems, History.rdoc, Rakefile, lib/mongrel2.rb:
|
73
|
-
Bump Configurability dependency.
|
74
|
-
[50bb8c488bc4]
|
75
|
-
|
76
92
|
2016-11-23 Mahlon E. Smith <mahlon@martini.nu>
|
77
93
|
|
78
94
|
* .hgtags:
|
data/History.rdoc
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
== v0.50.1 [2017-05-31] Michael Granger <ged@FaerieMUD.org>
|
2
|
+
|
3
|
+
Bugfixes:
|
4
|
+
|
5
|
+
- Pin Sequel to 4.45 to avoid breaking changes.
|
6
|
+
- Randomize the inproc selfpipe socket name (mainly useful for testing).
|
7
|
+
|
8
|
+
|
1
9
|
== v0.50.0 [2017-04-24] Michael Granger <ged@FaerieMUD.org>
|
2
10
|
|
3
11
|
Bugfixes:
|
data/Rakefile
CHANGED
@@ -28,7 +28,7 @@ hoespec = Hoe.spec 'mongrel2' do
|
|
28
28
|
self.dependency 'cztop', '~> 0.11'
|
29
29
|
self.dependency 'libxml-ruby', '~> 2.7'
|
30
30
|
self.dependency 'loggability', '~> 0.12'
|
31
|
-
self.dependency 'sequel', '
|
31
|
+
self.dependency 'sequel', '= 4.45'
|
32
32
|
self.dependency 'sqlite3', '~> 1.3'
|
33
33
|
self.dependency 'sysexits', '~> 1.1'
|
34
34
|
self.dependency 'tnetstring', '~> 0.3'
|
data/lib/mongrel2.rb
CHANGED
@@ -22,10 +22,10 @@ module Mongrel2
|
|
22
22
|
abort "\n\n>>> Mongrel2 requires Ruby 2.2 or later. <<<\n\n" if RUBY_VERSION < '2.2.0'
|
23
23
|
|
24
24
|
# Library version constant
|
25
|
-
VERSION = '0.50.
|
25
|
+
VERSION = '0.50.1'
|
26
26
|
|
27
27
|
# Version-control revision constant
|
28
|
-
REVISION = %q$Revision:
|
28
|
+
REVISION = %q$Revision: d7b71efe6141 $
|
29
29
|
|
30
30
|
|
31
31
|
require 'mongrel2/constants'
|
data/lib/mongrel2/handler.rb
CHANGED
@@ -161,9 +161,10 @@ class Mongrel2::Handler
|
|
161
161
|
def run
|
162
162
|
self.log.info "Starting up %p" % [ self ]
|
163
163
|
|
164
|
+
rand_id = "%d-%s" % [ Process.pid, SecureRandom.hex(8) ]
|
164
165
|
@self_pipe = {
|
165
|
-
reader: CZTop::Socket::PAIR.new(
|
166
|
-
writer: CZTop::Socket::PAIR.new(
|
166
|
+
reader: CZTop::Socket::PAIR.new( "@inproc://signal-handler-#{rand_id}" ),
|
167
|
+
writer: CZTop::Socket::PAIR.new( ">inproc://signal-handler-#{rand_id}" )
|
167
168
|
}
|
168
169
|
|
169
170
|
@poller = CZTop::Poller.new( @conn.request_sock, @self_pipe[:reader] )
|
@@ -48,9 +48,9 @@ describe Mongrel2::Handler, :db do
|
|
48
48
|
|
49
49
|
allow( CZTop::Socket::PULL ).to receive( :new ).and_return( @request_sock )
|
50
50
|
allow( CZTop::Socket::PUB ).to receive( :new ).and_return( @response_sock )
|
51
|
-
allow( CZTop::Socket::PAIR ).to receive( :new ).with(
|
51
|
+
allow( CZTop::Socket::PAIR ).to receive( :new ).with( %r|@inproc://signal-handler-\d+-\w{8}| ).
|
52
52
|
and_return( @selfpipe_reader )
|
53
|
-
allow( CZTop::Socket::PAIR ).to receive( :new ).with(
|
53
|
+
allow( CZTop::Socket::PAIR ).to receive( :new ).with( %r|>inproc://signal-handler-\d+-\w{8}| ).
|
54
54
|
and_return( @selfpipe_writer )
|
55
55
|
allow( CZTop::Poller ).to receive( :new ).and_return( @poller )
|
56
56
|
|
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.50.
|
4
|
+
version: 0.50.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Granger
|
@@ -10,25 +10,30 @@ 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
|
-
|
13
|
+
MIIEbDCCAtSgAwIBAgIBATANBgkqhkiG9w0BAQsFADA+MQwwCgYDVQQDDANnZWQx
|
14
|
+
GTAXBgoJkiaJk/IsZAEZFglGYWVyaWVNVUQxEzARBgoJkiaJk/IsZAEZFgNvcmcw
|
15
|
+
HhcNMTYwODIwMTgxNzQyWhcNMTcwODIwMTgxNzQyWjA+MQwwCgYDVQQDDANnZWQx
|
16
|
+
GTAXBgoJkiaJk/IsZAEZFglGYWVyaWVNVUQxEzARBgoJkiaJk/IsZAEZFgNvcmcw
|
17
|
+
ggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQC/JWGRHO+USzR97vXjkFgt
|
18
|
+
83qeNf2KHkcvrRTSnR64i6um/ziin0I0oX23H7VYrDJC9A/uoUa5nGRJS5Zw/+wW
|
19
|
+
ENcvWVZS4iUzi4dsYJGY6yEOsXh2CcF46+QevV8iE+UmbkU75V7Dy1JCaUOyizEt
|
20
|
+
TH5UHsOtUU7k9TYARt/TgYZKuaoAMZZd5qyVqhF1vV+7/Qzmp89NGflXf2xYP26a
|
21
|
+
4MAX2qqKX/FKXqmFO+AGsbwYTEds1mksBF3fGsFgsQWxftG8GfZQ9+Cyu2+l1eOw
|
22
|
+
cZ+lPcg834G9DrqW2zhqUoLr1MTly4pqxYGb7XoDhoR7dd1kFE2a067+DzWC/ADt
|
23
|
+
+QkcqWUm5oh1fN0eqr7NsZlVJDul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dependencies:
|
|
78
83
|
name: sequel
|
79
84
|
requirement: !ruby/object:Gem::Requirement
|
80
85
|
requirements:
|
81
|
-
- -
|
86
|
+
- - '='
|
82
87
|
- !ruby/object:Gem::Version
|
83
88
|
version: '4.45'
|
84
89
|
type: :runtime
|
85
90
|
prerelease: false
|
86
91
|
version_requirements: !ruby/object:Gem::Requirement
|
87
92
|
requirements:
|
88
|
-
- -
|
93
|
+
- - '='
|
89
94
|
- !ruby/object:Gem::Version
|
90
95
|
version: '4.45'
|
91
96
|
- !ruby/object:Gem::Dependency
|
@@ -393,7 +398,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
393
398
|
version: '0'
|
394
399
|
requirements: []
|
395
400
|
rubyforge_project:
|
396
|
-
rubygems_version: 2.
|
401
|
+
rubygems_version: 2.6.12
|
397
402
|
signing_key:
|
398
403
|
specification_version: 4
|
399
404
|
summary: Ruby-Mongrel2 is a complete Ruby connector for Mongrel2[http://mongrel2.org/]
|
metadata.gz.sig
CHANGED
Binary file
|