mongrel2 0.54.0 → 0.55.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/{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
data/Manifest.txt
CHANGED
data/{README.rdoc → README.md}
RENAMED
@@ -1,11 +1,20 @@
|
|
1
|
-
|
1
|
+
# Ruby-Mongrel2
|
2
2
|
|
3
|
-
home
|
4
|
-
|
5
|
-
docs :: http://deveiate.org/code/mongrel2
|
3
|
+
home
|
4
|
+
: https://hg.sr.ht/~ged/ruby-mongrel2
|
6
5
|
|
6
|
+
code
|
7
|
+
: https://hg.sr.ht/~ged/ruby-mongrel2
|
7
8
|
|
8
|
-
|
9
|
+
github
|
10
|
+
: https://github.com/ged/ruby-mongrel2
|
11
|
+
|
12
|
+
docs
|
13
|
+
: https://deveiate.org/code/mongrel2
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
## Description
|
9
18
|
|
10
19
|
Ruby-Mongrel2 is a complete Ruby connector for Mongrel2[http://mongrel2.org/].
|
11
20
|
|
@@ -15,44 +24,44 @@ databases in pure Ruby, a Control port interface object, and handler classes
|
|
15
24
|
for creating applications or higher-level frameworks.
|
16
25
|
|
17
26
|
|
18
|
-
|
27
|
+
## Installation and Setup
|
19
28
|
|
20
29
|
Install mongrel2:
|
21
30
|
|
22
|
-
|
31
|
+
$ {brew,port,portmaster,apt-get install,etc} mongrel2
|
23
32
|
|
24
33
|
Install the mongrel2 gem:
|
25
34
|
|
26
|
-
|
35
|
+
$ gem install mongrel2
|
27
36
|
|
28
37
|
Dump a config database generation script into the current working directory:
|
29
38
|
|
30
|
-
|
39
|
+
$ m2sh.rb bootstrap
|
31
40
|
|
32
41
|
Edit the generated file:
|
33
42
|
|
34
|
-
|
43
|
+
$ $EDITOR config.rb
|
35
44
|
|
36
45
|
Create a config database from the Ruby config:
|
37
46
|
|
38
|
-
|
47
|
+
$ m2sh.rb load config.rb
|
39
48
|
|
40
49
|
Start the server:
|
41
50
|
|
42
|
-
|
51
|
+
$ m2sh.rb start
|
43
52
|
|
44
53
|
Or combine <tt>bootstrap</tt>, <tt>load</tt>, and <tt>start</tt> all into one
|
45
54
|
command:
|
46
55
|
|
47
|
-
|
56
|
+
$ m2sh.rb quickstart
|
48
57
|
|
49
58
|
|
50
|
-
|
59
|
+
## Usage
|
51
60
|
|
52
61
|
The library consists of three major parts: the Config ORM classes, the
|
53
62
|
Handler classes, and the Control class.
|
54
63
|
|
55
|
-
|
64
|
+
### Config ORM Classes
|
56
65
|
|
57
66
|
There's one class per table like with most ORMs, a Mongrel2::Config::DSL mixin
|
58
67
|
for adding the Ruby configuration DSL to your namespace, and the top-level
|
@@ -78,28 +87,29 @@ also fall back to using the sqlite3 library instead:
|
|
78
87
|
Finished in 3.67 seconds
|
79
88
|
102 examples, 0 failures
|
80
89
|
|
90
|
+
For more detailed documentation, see:
|
81
91
|
|
82
92
|
* Mongrel2::Config
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
93
|
+
* Mongrel2::Config::DSL
|
94
|
+
* Mongrel2::Config::Server
|
95
|
+
* Mongrel2::Config::Host
|
96
|
+
* Mongrel2::Config::Route
|
97
|
+
* Mongrel2::Config::Directory
|
98
|
+
* Mongrel2::Config::Proxy
|
99
|
+
* Mongrel2::Config::Handler
|
100
|
+
* Mongrel2::Config::Setting
|
101
|
+
* Mongrel2::Config::Mimetype
|
102
|
+
* Mongrel2::Config::Statistic
|
103
|
+
* Mongrel2::Config::Filter
|
104
|
+
* Mongrel2::Config::Log
|
105
|
+
|
106
|
+
|
107
|
+
### Handler Classes
|
98
108
|
|
99
109
|
The main handler class is, unsurprisingly, Mongrel2::Handler. It uses a
|
100
110
|
Mongrel2::Connection object to talk to the server, wrapping the request data
|
101
|
-
up in a Mongrel2::Request object, and expecting a Mongrel2::Response
|
102
|
-
response.
|
111
|
+
up in a Mongrel2::Request object, and expecting a Mongrel2::Response to be
|
112
|
+
returned in response.
|
103
113
|
|
104
114
|
There are specialized Request classes for each of the kinds of requests
|
105
115
|
Mongrel2 sends:
|
@@ -117,14 +127,14 @@ The Mongrel2::Handler class itself has documentation on how to write your own
|
|
117
127
|
handlers.
|
118
128
|
|
119
129
|
|
120
|
-
|
130
|
+
### The Control Class
|
121
131
|
|
122
132
|
The Mongrel2::Control class is an object interface to {the Mongrel2 control
|
123
133
|
port}[http://mongrel2.org/static/book-finalch4.html#x6-390003.8]. It can be
|
124
134
|
used to stop and restart the server, check its status, etc.
|
125
135
|
|
126
136
|
|
127
|
-
|
137
|
+
### Other Classes
|
128
138
|
|
129
139
|
There are a few other classes and modules worth checking out, too:
|
130
140
|
|
@@ -136,21 +146,21 @@ Mongrel2::RequestFactory::
|
|
136
146
|
A factory for generating fixtured requests of various types for testing.
|
137
147
|
|
138
148
|
|
139
|
-
|
149
|
+
## Contributing
|
140
150
|
|
141
151
|
You can check out the current development source with Mercurial via its
|
142
|
-
{
|
152
|
+
{project page}[https://hg.sr.ht/~ged/ruby-mongrel2]. Or if you
|
143
153
|
prefer Git, via {its Github mirror}[https://github.com/ged/ruby-mongrel2].
|
144
154
|
|
145
155
|
After checking out the source, run:
|
146
156
|
|
147
|
-
$ rake
|
157
|
+
$ rake setup
|
148
158
|
|
149
|
-
This task will install any missing dependencies
|
150
|
-
|
159
|
+
This task will install any missing dependencies and do any other setup
|
160
|
+
necessary to start development.
|
151
161
|
|
152
162
|
|
153
|
-
|
163
|
+
## Other Implementations
|
154
164
|
|
155
165
|
There are two other Mongrel2 Ruby libraries, +m2r+ +rack-mongrel2+.
|
156
166
|
This implementation differs from them in several ways:
|
@@ -167,9 +177,14 @@ This implementation differs from them in several ways:
|
|
167
177
|
looks.
|
168
178
|
|
169
179
|
|
170
|
-
|
180
|
+
## Authors
|
181
|
+
|
182
|
+
* Michael Granger <ged@faeriemud.org>
|
183
|
+
|
184
|
+
|
185
|
+
## License
|
171
186
|
|
172
|
-
Copyright (c) 2011-
|
187
|
+
Copyright (c) 2011-2020, Michael Granger
|
173
188
|
All rights reserved.
|
174
189
|
|
175
190
|
Redistribution and use in source and binary forms, with or without
|
data/Rakefile
CHANGED
@@ -1,96 +1,10 @@
|
|
1
|
-
#!/usr/bin/env rake
|
1
|
+
#!/usr/bin/env ruby -S rake
|
2
2
|
|
3
|
-
|
4
|
-
require 'rdoc/task'
|
3
|
+
$LOAD_PATH.unshift( '../rake-deveiate/lib', '../hglib/lib' )
|
5
4
|
|
6
|
-
|
7
|
-
require 'hoe'
|
8
|
-
rescue LoadError
|
9
|
-
abort "This Rakefile requires 'hoe' (gem install hoe)"
|
10
|
-
end
|
11
|
-
|
12
|
-
GEMSPEC = 'mongrel2.gemspec'
|
13
|
-
|
14
|
-
Hoe.plugin :mercurial
|
15
|
-
Hoe.plugin :signing
|
16
|
-
Hoe.plugin :deveiate
|
17
|
-
|
18
|
-
Hoe.plugins.delete :rubyforge
|
19
|
-
|
20
|
-
hoespec = Hoe.spec 'mongrel2' do
|
21
|
-
self.readme_file = 'README.rdoc'
|
22
|
-
self.history_file = 'History.rdoc'
|
23
|
-
self.extra_rdoc_files = Rake::FileList[ '*.rdoc' ]
|
24
|
-
self.license 'BSD-3-Clause'
|
25
|
-
|
26
|
-
self.developer 'Michael Granger', 'ged@FaerieMUD.org'
|
27
|
-
|
28
|
-
self.dependency 'cztop', '~> 0.11'
|
29
|
-
self.dependency 'cztop-reactor', '~> 0.6'
|
30
|
-
self.dependency 'gli', '~> 2.19'
|
31
|
-
self.dependency 'libxml-ruby', '~> 3.1'
|
32
|
-
self.dependency 'loggability', '~> 0.14'
|
33
|
-
self.dependency 'pastel', '~> 0.7'
|
34
|
-
self.dependency 'sequel', '~> 5.2'
|
35
|
-
self.dependency 'sqlite3', '~> 1.3'
|
36
|
-
self.dependency 'sysexits', '~> 1.1'
|
37
|
-
self.dependency 'tnetstring', '~> 0.3'
|
38
|
-
self.dependency 'tty-prompt', '~> 0.19'
|
39
|
-
self.dependency 'tty-table', '~> 0.11'
|
40
|
-
self.dependency 'yajl-ruby', '~> 1.4'
|
41
|
-
|
42
|
-
self.dependency 'amalgalite', '~> 1.5', :developer
|
43
|
-
self.dependency 'configurability', '~> 3.4', :developer
|
44
|
-
self.dependency 'hoe-deveiate', '~> 0.10', :developer
|
45
|
-
self.dependency 'simplecov', '~> 0.12', :developer
|
46
|
-
self.dependency 'rdoc-generator-fivefish', '~> 0', :developer
|
47
|
-
|
48
|
-
self.require_ruby_version( '>=2.5.0' )
|
49
|
-
self.hg_sign_tags = true if self.respond_to?( :hg_sign_tags= )
|
50
|
-
self.check_history_on_release = true if self.respond_to?( :check_history_on_release= )
|
51
|
-
self.rdoc_locations << "deveiate:/usr/local/www/public/code/#{remote_rdoc_dir}"
|
52
|
-
end
|
5
|
+
require 'rake/deveiate'
|
53
6
|
|
54
|
-
|
55
|
-
|
56
|
-
# Ensure the specs pass before checking in
|
57
|
-
task 'hg:precheckin' => [ :check_history, :check_manifest, :gemspec, :spec ]
|
58
|
-
|
59
|
-
|
60
|
-
desc "Build a coverage report"
|
61
|
-
task :coverage do
|
62
|
-
ENV["COVERAGE"] = 'yes'
|
63
|
-
Rake::Task[:spec].invoke
|
64
|
-
end
|
65
|
-
CLOBBER.include( 'coverage' )
|
66
|
-
|
67
|
-
|
68
|
-
# Use the fivefish formatter for docs generated from development checkout
|
69
|
-
if File.directory?( '.hg' )
|
70
|
-
require 'rdoc/task'
|
71
|
-
|
72
|
-
Rake::Task[ 'docs' ].clear
|
73
|
-
RDoc::Task.new( 'docs' ) do |rdoc|
|
74
|
-
rdoc.main = "README.rdoc"
|
75
|
-
rdoc.rdoc_files.include( "*.rdoc", "ChangeLog", "lib/**/*.rb" )
|
76
|
-
rdoc.generator = :fivefish
|
77
|
-
rdoc.title = 'Ruby-Mongrel2'
|
78
|
-
rdoc.rdoc_dir = 'doc'
|
79
|
-
end
|
7
|
+
Rake::DevEiate.setup( 'mongrel2' ) do |project|
|
8
|
+
project.publish_to = 'deveiate:/usr/local/www/public/code'
|
80
9
|
end
|
81
10
|
|
82
|
-
task :gemspec => GEMSPEC
|
83
|
-
file GEMSPEC => [ __FILE__, 'Manifest.txt' ]
|
84
|
-
task GEMSPEC do |task|
|
85
|
-
spec = $hoespec.spec
|
86
|
-
spec.files.delete( '.gemtest' )
|
87
|
-
spec.signing_key = nil
|
88
|
-
spec.cert_chain = ['certs/ged.pem']
|
89
|
-
spec.version = "#{spec.version.bump}.0.pre#{Time.now.strftime("%Y%m%d%H%M%S")}"
|
90
|
-
File.open( task.name, 'w' ) do |fh|
|
91
|
-
fh.write( spec.to_ruby )
|
92
|
-
end
|
93
|
-
end
|
94
|
-
|
95
|
-
CLOBBER.include( GEMSPEC.to_s )
|
96
|
-
|
data/gem.deps.rb
CHANGED
@@ -1,2 +1,23 @@
|
|
1
|
-
source
|
2
|
-
|
1
|
+
source 'https://rubygems.org/'
|
2
|
+
|
3
|
+
gem 'cztop', '~> 0.14'
|
4
|
+
gem 'cztop-reactor', '~> 0.9'
|
5
|
+
gem 'gli', '~> 2.19'
|
6
|
+
gem 'libxml-ruby', '~> 3.1'
|
7
|
+
gem 'loggability', '~> 0.17'
|
8
|
+
gem 'pastel', '~> 0.7'
|
9
|
+
gem 'sequel', '~> 5.30'
|
10
|
+
gem 'sqlite3', '~> 1.4'
|
11
|
+
gem 'sysexits', '~> 1.2'
|
12
|
+
gem 'tnetstring', '~> 0.3'
|
13
|
+
gem 'tty-prompt', '~> 0.20'
|
14
|
+
gem 'tty-table', '~> 0.11'
|
15
|
+
gem 'yajl-ruby', '~> 1.4'
|
16
|
+
|
17
|
+
group :development do
|
18
|
+
gem 'amalgalite', '~> 1.6'
|
19
|
+
gem 'configurability', '~> 4.1'
|
20
|
+
gem 'rake-deveiate', '~> 0.12'
|
21
|
+
gem 'rdoc-generator-fivefish', '~> 0.4'
|
22
|
+
gem 'simplecov', '~> 0.18'
|
23
|
+
end
|
data/lib/mongrel2.rb
CHANGED
data/lib/mongrel2/config/dsl.rb
CHANGED
@@ -6,7 +6,7 @@ require 'loggability'
|
|
6
6
|
require 'mongrel2' unless defined?( Mongrel2 )
|
7
7
|
require 'mongrel2/config' unless defined?( Mongrel2::Config )
|
8
8
|
|
9
|
-
# See DSL.
|
9
|
+
# See DSL.md for details on how to use this mixin.
|
10
10
|
module Mongrel2::Config::DSL
|
11
11
|
|
12
12
|
# A decorator object that provides the DSL-ish interface to the various Config
|
data/lib/mongrel2/request.rb
CHANGED
@@ -44,7 +44,7 @@ class Mongrel2::Request
|
|
44
44
|
# This isn't supposed to happen, but guard against it anyway
|
45
45
|
headers['METHOD'] =~ /^(\w+)$/ or
|
46
46
|
raise Mongrel2::UnhandledMethodError, headers['METHOD']
|
47
|
-
req_method = $1.
|
47
|
+
req_method = $1.to_sym
|
48
48
|
self.log.debug "Request method is: %p" % [ req_method ]
|
49
49
|
concrete_class = self.subclass_for_method( req_method )
|
50
50
|
|
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.55.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Granger
|
@@ -10,31 +10,31 @@ 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
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
13
|
+
MIIENDCCApygAwIBAgIBATANBgkqhkiG9w0BAQsFADAiMSAwHgYDVQQDDBdtYWhs
|
14
|
+
b24vREM9bWFydGluaS9EQz1udTAeFw0yMDAyMTkyMTU4NDBaFw0yMTAyMTgyMTU4
|
15
|
+
NDBaMCIxIDAeBgNVBAMMF21haGxvbi9EQz1tYXJ0aW5pL0RDPW51MIIBojANBgkq
|
16
|
+
hkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA3cz7ILM8n+Y5nvz7mVRVqE8LusWdT8NX
|
17
|
+
nlnETynDndenI+a2S3j22DR+U4ooGUjuCHE3iR1CVmTDGbxFfNRfmnC1AN9Hybat
|
18
|
+
ewW+onvMBye7yfO0bJB5vkqaW5vd35rzquOffgBtJMo7rPRu6pX8RkL34Wnew4J7
|
19
|
+
POooUcYbWSAO934HSCUC8wVm6b4v/ejVF1Lk44Dz45jtMqtR7KTAtpipdbTXAarO
|
20
|
+
HQy3eVes/0oTqhk4CP50r1KP09nUHTn2lzVaCN9vmNE/Jwe0AuQ9ImvZXPpCsMMl
|
21
|
+
V03/tuJ++48sVmOIusJkASPupXcdI6zqsjYw2vLMFtuYNskRSvwbn6Wm6x9hLWWj
|
22
|
+
IRp5FvHPORLRCHFizXRmXZ3PyFHqbv6m4yG0SyfMzOXPk3Hn5dqqmK+BFCihTZIN
|
23
|
+
fqpBmuxyNEE21fSO9ALLlWeW9ffg9Ye5Sc1n3yEyv8rPb9VDvi1B5N6xIcDFMNVs
|
24
|
+
RiCamNbET4Sq9VIYwYtcB1f6EataqFEhAgMBAAGjdTBzMAkGA1UdEwQCMAAwCwYD
|
25
|
+
VR0PBAQDAgSwMB0GA1UdDgQWBBR8KtAhZIhe2uPQHCgU5HurIG7crTAcBgNVHREE
|
26
|
+
FTATgRFtYWhsb25AbWFydGluaS5udTAcBgNVHRIEFTATgRFtYWhsb25AbWFydGlu
|
27
|
+
aS5udTANBgkqhkiG9w0BAQsFAAOCAYEAHXlLXIKQUjd0VYj2mPgMheMjLEtmhHu+
|
28
|
+
7NdIv8Bz4rpKAdhypy30xjukGLTOKBp1C0TjfHXowW/icK0bv9CO9Chbc09/+Ed2
|
29
|
+
K5IsyENen+YLeLfE8dguq5tHlfocbFilRGHt8BHHO9BpPpAYoPt/76SCC2NaU5vN
|
30
|
+
33YTCpaVP0raS6E4i+xtx5PNdKoeTdrgwCQtUBhGf3L9YbZy1UaSeAyng5keuOzV
|
31
|
+
Mu2osihEB0GE0pOZJNpI6ow+0emwN/XvBKHpN9D2bjbvKetyQSrm0OniaZBXIGzW
|
32
|
+
Bg0JmajxUaGYWnz+QFADT+HLPmekxF3mB4+0ymZCHKPC+04h6RDjvkEOji6Jm+VB
|
33
|
+
JHjnceUEejSXTkZAKAmiOAtnX4j1MM1DLiFMlZ5Wbt7hbiOiO5HoN9p9snZhYqSU
|
34
|
+
JyAQQloqY/KyzQqxPlKdMNmBxRU+Cdarp05lEI6Sfj9MdrndoIL6MT/f6PgoCWZQ
|
35
|
+
xEarK1Fn47yS4UZqRi6VgKc3JHscX9x4
|
36
36
|
-----END CERTIFICATE-----
|
37
|
-
date:
|
37
|
+
date: 2020-04-08 00:00:00.000000000 Z
|
38
38
|
dependencies:
|
39
39
|
- !ruby/object:Gem::Dependency
|
40
40
|
name: cztop
|
@@ -42,28 +42,28 @@ dependencies:
|
|
42
42
|
requirements:
|
43
43
|
- - "~>"
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
version: '0.
|
45
|
+
version: '0.14'
|
46
46
|
type: :runtime
|
47
47
|
prerelease: false
|
48
48
|
version_requirements: !ruby/object:Gem::Requirement
|
49
49
|
requirements:
|
50
50
|
- - "~>"
|
51
51
|
- !ruby/object:Gem::Version
|
52
|
-
version: '0.
|
52
|
+
version: '0.14'
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: cztop-reactor
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
56
56
|
requirements:
|
57
57
|
- - "~>"
|
58
58
|
- !ruby/object:Gem::Version
|
59
|
-
version: '0.
|
59
|
+
version: '0.9'
|
60
60
|
type: :runtime
|
61
61
|
prerelease: false
|
62
62
|
version_requirements: !ruby/object:Gem::Requirement
|
63
63
|
requirements:
|
64
64
|
- - "~>"
|
65
65
|
- !ruby/object:Gem::Version
|
66
|
-
version: '0.
|
66
|
+
version: '0.9'
|
67
67
|
- !ruby/object:Gem::Dependency
|
68
68
|
name: gli
|
69
69
|
requirement: !ruby/object:Gem::Requirement
|
@@ -98,14 +98,14 @@ dependencies:
|
|
98
98
|
requirements:
|
99
99
|
- - "~>"
|
100
100
|
- !ruby/object:Gem::Version
|
101
|
-
version: '0.
|
101
|
+
version: '0.17'
|
102
102
|
type: :runtime
|
103
103
|
prerelease: false
|
104
104
|
version_requirements: !ruby/object:Gem::Requirement
|
105
105
|
requirements:
|
106
106
|
- - "~>"
|
107
107
|
- !ruby/object:Gem::Version
|
108
|
-
version: '0.
|
108
|
+
version: '0.17'
|
109
109
|
- !ruby/object:Gem::Dependency
|
110
110
|
name: pastel
|
111
111
|
requirement: !ruby/object:Gem::Requirement
|
@@ -126,42 +126,42 @@ dependencies:
|
|
126
126
|
requirements:
|
127
127
|
- - "~>"
|
128
128
|
- !ruby/object:Gem::Version
|
129
|
-
version: '5.
|
129
|
+
version: '5.30'
|
130
130
|
type: :runtime
|
131
131
|
prerelease: false
|
132
132
|
version_requirements: !ruby/object:Gem::Requirement
|
133
133
|
requirements:
|
134
134
|
- - "~>"
|
135
135
|
- !ruby/object:Gem::Version
|
136
|
-
version: '5.
|
136
|
+
version: '5.30'
|
137
137
|
- !ruby/object:Gem::Dependency
|
138
138
|
name: sqlite3
|
139
139
|
requirement: !ruby/object:Gem::Requirement
|
140
140
|
requirements:
|
141
141
|
- - "~>"
|
142
142
|
- !ruby/object:Gem::Version
|
143
|
-
version: '1.
|
143
|
+
version: '1.4'
|
144
144
|
type: :runtime
|
145
145
|
prerelease: false
|
146
146
|
version_requirements: !ruby/object:Gem::Requirement
|
147
147
|
requirements:
|
148
148
|
- - "~>"
|
149
149
|
- !ruby/object:Gem::Version
|
150
|
-
version: '1.
|
150
|
+
version: '1.4'
|
151
151
|
- !ruby/object:Gem::Dependency
|
152
152
|
name: sysexits
|
153
153
|
requirement: !ruby/object:Gem::Requirement
|
154
154
|
requirements:
|
155
155
|
- - "~>"
|
156
156
|
- !ruby/object:Gem::Version
|
157
|
-
version: '1.
|
157
|
+
version: '1.2'
|
158
158
|
type: :runtime
|
159
159
|
prerelease: false
|
160
160
|
version_requirements: !ruby/object:Gem::Requirement
|
161
161
|
requirements:
|
162
162
|
- - "~>"
|
163
163
|
- !ruby/object:Gem::Version
|
164
|
-
version: '1.
|
164
|
+
version: '1.2'
|
165
165
|
- !ruby/object:Gem::Dependency
|
166
166
|
name: tnetstring
|
167
167
|
requirement: !ruby/object:Gem::Requirement
|
@@ -182,14 +182,14 @@ dependencies:
|
|
182
182
|
requirements:
|
183
183
|
- - "~>"
|
184
184
|
- !ruby/object:Gem::Version
|
185
|
-
version: '0.
|
185
|
+
version: '0.20'
|
186
186
|
type: :runtime
|
187
187
|
prerelease: false
|
188
188
|
version_requirements: !ruby/object:Gem::Requirement
|
189
189
|
requirements:
|
190
190
|
- - "~>"
|
191
191
|
- !ruby/object:Gem::Version
|
192
|
-
version: '0.
|
192
|
+
version: '0.20'
|
193
193
|
- !ruby/object:Gem::Dependency
|
194
194
|
name: tty-table
|
195
195
|
requirement: !ruby/object:Gem::Requirement
|
@@ -218,78 +218,36 @@ dependencies:
|
|
218
218
|
- - "~>"
|
219
219
|
- !ruby/object:Gem::Version
|
220
220
|
version: '1.4'
|
221
|
-
- !ruby/object:Gem::Dependency
|
222
|
-
name: hoe-mercurial
|
223
|
-
requirement: !ruby/object:Gem::Requirement
|
224
|
-
requirements:
|
225
|
-
- - "~>"
|
226
|
-
- !ruby/object:Gem::Version
|
227
|
-
version: '1.4'
|
228
|
-
type: :development
|
229
|
-
prerelease: false
|
230
|
-
version_requirements: !ruby/object:Gem::Requirement
|
231
|
-
requirements:
|
232
|
-
- - "~>"
|
233
|
-
- !ruby/object:Gem::Version
|
234
|
-
version: '1.4'
|
235
|
-
- !ruby/object:Gem::Dependency
|
236
|
-
name: hoe-deveiate
|
237
|
-
requirement: !ruby/object:Gem::Requirement
|
238
|
-
requirements:
|
239
|
-
- - "~>"
|
240
|
-
- !ruby/object:Gem::Version
|
241
|
-
version: '0.10'
|
242
|
-
type: :development
|
243
|
-
prerelease: false
|
244
|
-
version_requirements: !ruby/object:Gem::Requirement
|
245
|
-
requirements:
|
246
|
-
- - "~>"
|
247
|
-
- !ruby/object:Gem::Version
|
248
|
-
version: '0.10'
|
249
|
-
- !ruby/object:Gem::Dependency
|
250
|
-
name: hoe-highline
|
251
|
-
requirement: !ruby/object:Gem::Requirement
|
252
|
-
requirements:
|
253
|
-
- - "~>"
|
254
|
-
- !ruby/object:Gem::Version
|
255
|
-
version: '0.2'
|
256
|
-
type: :development
|
257
|
-
prerelease: false
|
258
|
-
version_requirements: !ruby/object:Gem::Requirement
|
259
|
-
requirements:
|
260
|
-
- - "~>"
|
261
|
-
- !ruby/object:Gem::Version
|
262
|
-
version: '0.2'
|
263
221
|
- !ruby/object:Gem::Dependency
|
264
222
|
name: amalgalite
|
265
223
|
requirement: !ruby/object:Gem::Requirement
|
266
224
|
requirements:
|
267
225
|
- - "~>"
|
268
226
|
- !ruby/object:Gem::Version
|
269
|
-
version: '1.
|
227
|
+
version: '1.6'
|
270
228
|
type: :development
|
271
229
|
prerelease: false
|
272
230
|
version_requirements: !ruby/object:Gem::Requirement
|
273
231
|
requirements:
|
274
232
|
- - "~>"
|
275
233
|
- !ruby/object:Gem::Version
|
276
|
-
version: '1.
|
234
|
+
version: '1.6'
|
277
235
|
- !ruby/object:Gem::Dependency
|
278
236
|
name: configurability
|
279
237
|
requirement: !ruby/object:Gem::Requirement
|
280
238
|
requirements:
|
281
239
|
- - "~>"
|
282
240
|
- !ruby/object:Gem::Version
|
283
|
-
version: '
|
241
|
+
version: '4.1'
|
284
242
|
type: :development
|
285
243
|
prerelease: false
|
286
244
|
version_requirements: !ruby/object:Gem::Requirement
|
287
245
|
requirements:
|
288
246
|
- - "~>"
|
289
247
|
- !ruby/object:Gem::Version
|
290
|
-
version: '
|
248
|
+
version: '4.1'
|
291
249
|
- !ruby/object:Gem::Dependency
|
292
|
-
name:
|
250
|
+
name: rake-deveiate
|
293
251
|
requirement: !ruby/object:Gem::Requirement
|
294
252
|
requirements:
|
295
253
|
- - "~>"
|
@@ -308,74 +266,41 @@ dependencies:
|
|
308
266
|
requirements:
|
309
267
|
- - "~>"
|
310
268
|
- !ruby/object:Gem::Version
|
311
|
-
version: '0'
|
269
|
+
version: '0.4'
|
312
270
|
type: :development
|
313
271
|
prerelease: false
|
314
272
|
version_requirements: !ruby/object:Gem::Requirement
|
315
273
|
requirements:
|
316
274
|
- - "~>"
|
317
275
|
- !ruby/object:Gem::Version
|
318
|
-
version: '0'
|
276
|
+
version: '0.4'
|
319
277
|
- !ruby/object:Gem::Dependency
|
320
|
-
name:
|
321
|
-
requirement: !ruby/object:Gem::Requirement
|
322
|
-
requirements:
|
323
|
-
- - ">="
|
324
|
-
- !ruby/object:Gem::Version
|
325
|
-
version: '4.0'
|
326
|
-
- - "<"
|
327
|
-
- !ruby/object:Gem::Version
|
328
|
-
version: '7'
|
329
|
-
type: :development
|
330
|
-
prerelease: false
|
331
|
-
version_requirements: !ruby/object:Gem::Requirement
|
332
|
-
requirements:
|
333
|
-
- - ">="
|
334
|
-
- !ruby/object:Gem::Version
|
335
|
-
version: '4.0'
|
336
|
-
- - "<"
|
337
|
-
- !ruby/object:Gem::Version
|
338
|
-
version: '7'
|
339
|
-
- !ruby/object:Gem::Dependency
|
340
|
-
name: hoe
|
278
|
+
name: simplecov
|
341
279
|
requirement: !ruby/object:Gem::Requirement
|
342
280
|
requirements:
|
343
281
|
- - "~>"
|
344
282
|
- !ruby/object:Gem::Version
|
345
|
-
version: '
|
283
|
+
version: '0.18'
|
346
284
|
type: :development
|
347
285
|
prerelease: false
|
348
286
|
version_requirements: !ruby/object:Gem::Requirement
|
349
287
|
requirements:
|
350
288
|
- - "~>"
|
351
289
|
- !ruby/object:Gem::Version
|
352
|
-
version: '
|
353
|
-
description:
|
354
|
-
Ruby-Mongrel2 is a complete Ruby connector for Mongrel2[http://mongrel2.org/].
|
355
|
-
|
356
|
-
This library includes configuration-database ORM classes, a Ruby
|
357
|
-
implementation of the 'm2sh' tool, a configuration DSL for generating config
|
358
|
-
databases in pure Ruby, a Control port interface object, and handler classes
|
359
|
-
for creating applications or higher-level frameworks.
|
290
|
+
version: '0.18'
|
291
|
+
description: Ruby-Mongrel2 is a complete Ruby connector for Mongrel2.
|
360
292
|
email:
|
361
|
-
- ged@
|
293
|
+
- ged@faeriemud.org
|
362
294
|
executables:
|
363
295
|
- m2sh.rb
|
364
296
|
extensions: []
|
365
|
-
extra_rdoc_files:
|
366
|
-
- DSL.rdoc
|
367
|
-
- History.rdoc
|
368
|
-
- Manifest.txt
|
369
|
-
- README.rdoc
|
297
|
+
extra_rdoc_files: []
|
370
298
|
files:
|
371
|
-
- ".autotest"
|
372
|
-
- ".gemtest"
|
373
299
|
- ".simplecov"
|
374
|
-
-
|
375
|
-
-
|
376
|
-
- History.rdoc
|
300
|
+
- DSL.md
|
301
|
+
- History.md
|
377
302
|
- Manifest.txt
|
378
|
-
- README.
|
303
|
+
- README.md
|
379
304
|
- Rakefile
|
380
305
|
- bin/m2sh.rb
|
381
306
|
- data/mongrel2/config.rb.in
|
@@ -456,29 +381,32 @@ files:
|
|
456
381
|
- spec/mongrel2/websocket_spec.rb
|
457
382
|
- spec/mongrel2/xmlrequest_spec.rb
|
458
383
|
- spec/mongrel2_spec.rb
|
459
|
-
homepage: https://
|
384
|
+
homepage: https://hg.sr.ht/~ged/ruby-mongrel2
|
460
385
|
licenses:
|
461
386
|
- BSD-3-Clause
|
462
|
-
metadata:
|
387
|
+
metadata:
|
388
|
+
homepage_uri: https://hg.sr.ht/~ged/ruby-mongrel2
|
389
|
+
documentation_uri: https://deveiate.org/code/mongrel2
|
390
|
+
changelog_uri: https://deveiate.org/code/mongrel2/History_md.html
|
391
|
+
source_uri: https://hg.sr.ht/~ged/ruby-mongrel2
|
392
|
+
bug_tracker_uri: https://todo.sr.ht/~ged/ruby-mongrel2
|
463
393
|
post_install_message:
|
464
|
-
rdoc_options:
|
465
|
-
- "--main"
|
466
|
-
- README.rdoc
|
394
|
+
rdoc_options: []
|
467
395
|
require_paths:
|
468
396
|
- lib
|
469
397
|
required_ruby_version: !ruby/object:Gem::Requirement
|
470
398
|
requirements:
|
471
399
|
- - ">="
|
472
400
|
- !ruby/object:Gem::Version
|
473
|
-
version:
|
401
|
+
version: '0'
|
474
402
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
475
403
|
requirements:
|
476
404
|
- - ">="
|
477
405
|
- !ruby/object:Gem::Version
|
478
406
|
version: '0'
|
479
407
|
requirements: []
|
480
|
-
rubygems_version: 3.
|
408
|
+
rubygems_version: 3.1.2
|
481
409
|
signing_key:
|
482
410
|
specification_version: 4
|
483
|
-
summary: Ruby-Mongrel2 is a complete Ruby connector for Mongrel2
|
411
|
+
summary: Ruby-Mongrel2 is a complete Ruby connector for Mongrel2.
|
484
412
|
test_files: []
|