mongrel2 0.36.0 → 0.37.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: cf3cb27f3588dc682297c9455e76829fed679844
4
+ data.tar.gz: 1084020e70eeef4256b48081e6e084ef5d7686f7
5
+ SHA512:
6
+ metadata.gz: 87a4b4eea76ea916e2483c376366be3199f9a211f1f2603e084cfc0ae0f2061bf673374f54deef90a731e1181b62b0ef3af90685936298c9965a986d57ba5f8b
7
+ data.tar.gz: 0ff2f17129108899f374940aef82e9411f743d114c61a43458a53d2f56b3aba4c7bd4f27b63016d158c8835a8b1781f0b020646e86a15c0a28b31bb14cecec4a
Binary file
data.tar.gz.sig CHANGED
Binary file
data/ChangeLog CHANGED
@@ -1,8 +1,78 @@
1
+ 2013-08-09 Michael Granger <ged@FaerieMUD.org>
2
+
3
+ * .rvm.gems:
4
+ Update rvm gemset versions
5
+ [b1ca9f2d0588] [tip]
6
+
7
+ 2013-07-01 Michael Granger <ged@FaerieMUD.org>
8
+
9
+ * spec/mongrel2/config/dsl_spec.rb:
10
+ Fix the specs for Sequel 4
11
+ [70b5368ae3c2]
12
+
13
+ 2013-03-01 Michael Granger <ged@FaerieMUD.org>
14
+
15
+ * .hgtags:
16
+ Added tag v0.36.0 for changeset efad0a884ae4
17
+ [c9d025adcf94]
18
+
19
+ * .hgsigs:
20
+ Added signature for changeset c7c83589ab0f
21
+ [efad0a884ae4] [v0.36.0]
22
+
23
+ * History.rdoc, lib/mongrel2.rb:
24
+ Bump minor version, update history.
25
+ [c7c83589ab0f]
26
+
27
+ 2013-02-28 Michael Granger <ged@FaerieMUD.org>
28
+
29
+ * lib/mongrel2/connection.rb, lib/mongrel2/httpresponse.rb,
30
+ lib/mongrel2/websocket.rb:
31
+ Fixes for Ruby 2.
32
+ [9921720f8b32]
33
+
34
+ * .rvm.gems, Rakefile:
35
+ Update dependencies
36
+ [b1d4c925d3e1]
37
+
38
+ 2013-02-25 Michael Granger <ged@FaerieMUD.org>
39
+
40
+ * .rvmrc:
41
+ Test under Ruby 2.0.0 by default.
42
+ [2740789dcd23]
43
+
44
+ 2013-02-23 Michael Granger <ged@FaerieMUD.org>
45
+
46
+ * lib/mongrel2/httpresponse.rb, spec/mongrel2/httpresponse_spec.rb:
47
+ Fix status line for responses that have an explicit content-length.
48
+
49
+ This is so HEAD responses, for example, don't get reset to '204 No
50
+ Content' just because their body is empty.
51
+ [7ed6ee34fdba]
52
+
53
+ * .tm_properties:
54
+ Try to make tm_properties honor indent settings
55
+ [3e872676b0bb]
56
+
57
+ * lib/mongrel2.rb, lib/mongrel2/config/directory.rb,
58
+ lib/mongrel2/config/filter.rb, lib/mongrel2/config/handler.rb,
59
+ lib/mongrel2/config/host.rb, lib/mongrel2/config/log.rb,
60
+ lib/mongrel2/config/mimetype.rb, lib/mongrel2/config/proxy.rb,
61
+ lib/mongrel2/config/route.rb, lib/mongrel2/config/server.rb,
62
+ lib/mongrel2/config/setting.rb, lib/mongrel2/config/statistic.rb,
63
+ lib/mongrel2/handler.rb, lib/mongrel2/request.rb:
64
+ Documentation/comment fixes for Mongrel2 1.8.0
65
+ [d5eb336974ab]
66
+
67
+ * lib/mongrel2/config/server.rb:
68
+ Convert ::for_uuid to a introspection-friendly dataset method.
69
+ [95efe72cc036]
70
+
1
71
  2013-02-06 Michael Granger <ged@FaerieMUD.org>
2
72
 
3
73
  * .tm_properties:
4
74
  Set indent settings for RSpec too
5
- [ad33b0c00c21] [tip]
75
+ [ad33b0c00c21]
6
76
 
7
77
  * lib/mongrel2/request.rb:
8
78
  Only log if wrapping a non-String body in a StringIO
@@ -1,3 +1,9 @@
1
+ == v0.37.0 [2013-09-13] Michael Granger <ged@FaerieMUD.org>
2
+
3
+ - Make explicitly-set 'nil' body also a bodiless response.
4
+ - Add support for Sequel 4.x
5
+
6
+
1
7
  == v0.36.0 [2013-02-28] Michael Granger <ged@FaerieMUD.org>
2
8
 
3
9
  - Fixes for Ruby 2.
@@ -21,10 +21,10 @@ module Mongrel2
21
21
  abort "\n\n>>> Mongrel2 requires Ruby 1.9.2 or later. <<<\n\n" if RUBY_VERSION < '1.9.2'
22
22
 
23
23
  # Library version constant
24
- VERSION = '0.36.0'
24
+ VERSION = '0.37.0'
25
25
 
26
26
  # Version-control revision constant
27
- REVISION = %q$Revision: c7c83589ab0f $
27
+ REVISION = %q$Revision: cf053ff6b34f $
28
28
 
29
29
 
30
30
  require 'mongrel2/constants'
@@ -68,7 +68,7 @@ module Mongrel2
68
68
  # The Pathname of the SQL file used to create the config database
69
69
  CONFIG_SQL = DATA_DIR + 'config.sql'
70
70
 
71
- # The Pathname of the SQL file used to add default mimetypes mappings to the config
71
+ # The Pathname of the SQL file used to add default mimetypes mappings to the config
72
72
  # database
73
73
  MIMETYPES_SQL = DATA_DIR + 'mimetypes.sql'
74
74
 
@@ -76,7 +76,7 @@ class Mongrel2::Config::Host < Mongrel2::Config( :host )
76
76
  end
77
77
 
78
78
 
79
- ### Create a new Mongrel2::Config::Handler object with the specified +send_spec+,
79
+ ### Create a new Mongrel2::Config::Handler object with the specified +send_spec+,
80
80
  ### +send_ident+, +recv_spec+, +recv_ident+, and +options+ and return it.
81
81
  def handler( send_spec, send_ident, recv_spec=nil, recv_ident='', options={} )
82
82
  # Shift the opts hash over if the other optional args were omitted
@@ -31,7 +31,7 @@ class Mongrel2::Config::Route < Mongrel2::Config( :route )
31
31
  many_to_one :host
32
32
 
33
33
 
34
- ### Fetch the route's target, which is either a Mongrel2::Config::Directory,
34
+ ### Fetch the route's target, which is either a Mongrel2::Config::Directory,
35
35
  ### Mongrel2::Config::Proxy, or Mongrel2::Config::Handler object.
36
36
  def target
37
37
  case self.target_type
@@ -10,8 +10,8 @@ require 'loggability'
10
10
  require 'mongrel2' unless defined?( Mongrel2 )
11
11
 
12
12
 
13
- # The Mongrel2 connection class. Connection objects serve as a front end for
14
- # the ZMQ sockets which talk to the mongrel2 server/s for your handler. It receives
13
+ # The Mongrel2 connection class. Connection objects serve as a front end for
14
+ # the ZMQ sockets which talk to the mongrel2 server/s for your handler. It receives
15
15
  # TNetString requests and wraps Mongrel2::Request objects around them, and
16
16
  # then encodes and sends Mongrel2::Response objects back to the server.
17
17
  #
@@ -25,7 +25,7 @@ class Mongrel2::Connection
25
25
 
26
26
 
27
27
  ### Create a new Connection identified by +app_id+ (a UUID or other unique string) that
28
- ### will connect to a Mongrel2 server on the +sub_addr+ and +pub_addr+ (e.g.,
28
+ ### will connect to a Mongrel2 server on the +sub_addr+ and +pub_addr+ (e.g.,
29
29
  ### 'tcp://127.0.0.1:9998').
30
30
  def initialize( app_id, sub_addr, pub_addr )
31
31
  @app_id = app_id
@@ -161,7 +161,7 @@ class Mongrel2::Connection
161
161
  end
162
162
 
163
163
 
164
- ### Tell the server associated with +sender_id+ to close the connections associated
164
+ ### Tell the server associated with +sender_id+ to close the connections associated
165
165
  ### with +conn_ids+.
166
166
  def broadcast_close( sender_id, *conn_ids )
167
167
  self.broadcast( sender_id, conn_ids.flatten, '' )
@@ -128,7 +128,7 @@ class Mongrel2::Control
128
128
  ###
129
129
  ### Example:
130
130
  ### [
131
- ### {:id=>9, :fd=>27, :type=>1, :last_ping=>0, :last_read=>0, :last_write=>0,
131
+ ### {:id=>9, :fd=>27, :type=>1, :last_ping=>0, :last_read=>0, :last_write=>0,
132
132
  ### :bytes_read=>319, :bytes_written=>1065}
133
133
  ### ]
134
134
  def conn_status
@@ -150,7 +150,7 @@ class Mongrel2::Control
150
150
  end
151
151
 
152
152
 
153
- ### Shuts down the control port permanently in case you want to keep it from
153
+ ### Shuts down the control port permanently in case you want to keep it from
154
154
  ### being accessed for some reason.
155
155
  def control_stop
156
156
  self.request( :control_stop )
@@ -88,7 +88,8 @@ class Mongrel2::HTTPResponse < Mongrel2::Response
88
88
  ### Returns true if the response status means the response
89
89
  ### shouldn't have a body.
90
90
  def bodiless?
91
- return HTTP::BODILESS_HTTP_RESPONSE_CODES.include?( self.status )
91
+ return self.body.nil? ||
92
+ HTTP::BODILESS_HTTP_RESPONSE_CODES.include?( self.status )
92
93
  end
93
94
 
94
95
 
@@ -182,6 +183,8 @@ class Mongrel2::HTTPResponse < Mongrel2::Response
182
183
  ### Get the length of the body IO. If the IO's offset is somewhere other than
183
184
  ### the beginning or end, the size of the remainder is used.
184
185
  def get_content_length
186
+ return 0 if self.bodiless?
187
+
185
188
  if self.body.pos.nonzero? && !self.body.eof?
186
189
  self.log.info "Calculating content length based on an offset of %d" % [ self.body.pos ]
187
190
  return self.body.size - self.body.pos
@@ -227,7 +230,7 @@ class Mongrel2::HTTPResponse < Mongrel2::Response
227
230
  def derived_status_code
228
231
  # If there's a non-empty entity body, or the content length has been set explicitly
229
232
  # to something non-zero, assume the response is OK
230
- if self.body.size.nonzero? ||
233
+ if self.body.size.nonzero? ||
231
234
  (self.header.content_length && self.header.content_length.nonzero?)
232
235
  return HTTP::OK
233
236
 
@@ -35,7 +35,7 @@ class Mongrel2::JSONRequest < Mongrel2::Request
35
35
  attr_reader :data
36
36
 
37
37
 
38
- ### Returns +true+ if the request is a special Mongrel2 'disconnect'
38
+ ### Returns +true+ if the request is a special Mongrel2 'disconnect'
39
39
  ### notification.
40
40
  def is_disconnect?
41
41
  return true if self.data['type'] == 'disconnect'
@@ -160,7 +160,7 @@ class Mongrel2::Request
160
160
 
161
161
  ### Create a Mongrel2::Response that will respond to the same server/connection as
162
162
  ### the receiver. If you wish your specialized Request class to have a corresponding
163
- ### response type, you can override the Mongrel2::Request.response_class method
163
+ ### response type, you can override the Mongrel2::Request.response_class method
164
164
  ### to achieve that.
165
165
  def response
166
166
  return @response ||= self.class.response_class.from_request( self )
@@ -258,7 +258,7 @@ module Mongrel2::TestConstants # :nodoc:all
258
258
  # month = "Jan" | "Feb" | "Mar" | "Apr"
259
259
  # | "May" | "Jun" | "Jul" | "Aug"
260
260
  # | "Sep" | "Oct" | "Nov" | "Dec"
261
- MONTH = Regexp.union( %w[Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec] )
261
+ MONTH = Regexp.union( %w[Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec] )
262
262
 
263
263
  # Match an RFC1123 "HTTP date"
264
264
  # rfc1123-date = wkday "," SP date1 SP time SP "GMT"
@@ -103,7 +103,7 @@ module Mongrel2::SpecHelpers
103
103
  end
104
104
 
105
105
 
106
- ### Make a new-style (TNetstring headers) raw Mongrel2 request from the specified +opts+
106
+ ### Make a new-style (TNetstring headers) raw Mongrel2 request from the specified +opts+
107
107
  ### and return it as a String.
108
108
  def make_tn_request( opts={} )
109
109
  opts = TEST_REQUEST_OPTS.merge( opts )
@@ -173,14 +173,14 @@ describe Mongrel2::Config::DSL do
173
173
  end
174
174
 
175
175
  after( :each ) do
176
- Mongrel2::Config::Setting.dataset.filter( ~:id => @ids ).delete
176
+ Mongrel2::Config::Setting.dataset.exclude( :id => @ids ).delete
177
177
  end
178
178
 
179
179
  it "can set the expert tweakable settings en masse" do
180
180
  result = settings(
181
181
  "zeromq.threads" => 8,
182
- "upload.temp_store" => "/home/zedshaw/projects/mongrel2/tmp/upload.XXXXXX",
183
- "upload.temp_store_mode" => "0666"
182
+ "upload.temp_store" => "/home/zedshaw/projects/mongrel2/tmp/upload.XXXXXX",
183
+ "upload.temp_store_mode" => "0666"
184
184
  )
185
185
 
186
186
  result.should be_an( Array )
@@ -214,6 +214,13 @@ describe Mongrel2::HTTPResponse do
214
214
  end
215
215
 
216
216
 
217
+ it "knows that a response with a body explicitly set to nil is bodiless" do
218
+ @response.status = HTTP::CREATED
219
+ @response.body = nil
220
+ @response.should be_bodiless()
221
+ end
222
+
223
+
217
224
  it "knows what the response content type is" do
218
225
  @response.headers['Content-Type'] = 'text/erotica'
219
226
  @response.content_type.should == 'text/erotica'
@@ -235,12 +242,20 @@ describe Mongrel2::HTTPResponse do
235
242
  end
236
243
 
237
244
 
238
- it "returns a body length of 0 if it's a bodiless reponse" do
245
+ it "returns a body length of 0 if it's a bodiless status code" do
246
+ @response.puts "Some stuff"
239
247
  @response.status = HTTP::NO_CONTENT
240
248
  @response.get_content_length.should == 0
241
249
  end
242
250
 
243
251
 
252
+ it "returns a body length of 0 if it has a nil body" do
253
+ @response.body = nil
254
+ @response.status = HTTP::CREATED
255
+ @response.get_content_length.should == 0
256
+ end
257
+
258
+
244
259
  it "doesn't reset the status to 204 NO CONTENT if there's an explicit content-length header" do
245
260
 
246
261
  # Simulate a response to a HEAD request
@@ -154,23 +154,23 @@ describe Mongrel2::WebSocket do
154
154
  @factory.continuation( '/websock' ).opcode.should == :continuation
155
155
  end
156
156
 
157
- it "knows that is opcode is 'text' if its opcode is 0x1" do
157
+ it "knows that is opcode is 'text' if its opcode is 0x1" do
158
158
  @factory.text( '/websock', 'Hello!' ).opcode.should == :text
159
159
  end
160
160
 
161
- it "knows that is opcode is 'binary' if its opcode is 0x2" do
161
+ it "knows that is opcode is 'binary' if its opcode is 0x2" do
162
162
  @factory.binary( '/websock', 'Hello!' ).opcode.should == :binary
163
163
  end
164
164
 
165
- it "knows that is opcode is 'close' if its opcode is 0x8" do
165
+ it "knows that is opcode is 'close' if its opcode is 0x8" do
166
166
  @factory.close( '/websock' ).opcode.should == :close
167
167
  end
168
168
 
169
- it "knows that is opcode is 'ping' if its opcode is 0x9" do
169
+ it "knows that is opcode is 'ping' if its opcode is 0x9" do
170
170
  @factory.ping( '/websock' ).opcode.should == :ping
171
171
  end
172
172
 
173
- it "knows that is opcode is 'pong' if its opcode is 0xA" do
173
+ it "knows that is opcode is 'pong' if its opcode is 0xA" do
174
174
  @factory.pong( '/websock' ).opcode.should == :pong
175
175
  end
176
176
 
metadata CHANGED
@@ -1,49 +1,40 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongrel2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.36.0
5
- prerelease:
4
+ version: 0.37.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Michael Granger
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain:
12
- - !binary |-
13
- LS0tLS1CRUdJTi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+ ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDb92mkyYwuGBg1oRxt2tkH
18
+ +Uo3LAsaL/APBfSLzy8o3+B3AUHKCjMUaVeBoZdWtMHB75X3VQlvXfZMyBxj59Vo
19
+ cDthr3zdao4HnyrzAIQf7BO5Y8KBwVD+yyXCD/N65TTwqsQnO3ie7U5/9ut1rnNr
20
+ OkOzAscMwkfQxBkXDzjvAWa6UF4c5c9kR/T79iA21kDx9+bUMentU59aCJtUcbxa
21
+ 7kcKJhPEYsk4OdxR9q2dphNMFDQsIdRO8rywX5FRHvcb+qnXC17RvxLHtOjysPtp
22
+ EWsYoZMxyCDJpUqbwoeiM+tAHoz2ABMv3Ahie3Qeb6+MZNAtMmaWfBx3dg2u+/WN
23
+ AgMBAAGjdTBzMAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBSZ0hCV
24
+ qoHr122fGKelqffzEQBhszAcBgNVHREEFTATgRFnZWRARmFlcmllTVVELm9yZzAc
25
+ BgNVHRIEFTATgRFnZWRARmFlcmllTVVELm9yZzANBgkqhkiG9w0BAQUFAAOCAQEA
26
+ Vlcfyq6GwyE8i0QuFPCeVOwJaneSvcwx316DApjy9/tt2YD2HomLbtpXtji5QXor
27
+ ON6oln4tWBIB3Klbr3szq5oR3Rc1D02SaBTalxSndp4M6UkW9hRFu5jn98pDB4fq
28
+ 5l8wMMU0Xdmqx1VYvysVAjVFVC/W4NNvlmg+2mEgSVZP5K6Tc9qDh3eMQInoYw6h
29
+ t1YA6RsUJHp5vGQyhP1x34YpLAaly8icbns/8PqOf7Osn9ztmg8bOMJCeb32eQLj
30
+ 6mKCwjpegytE0oifXfF8k75A9105cBnNiMZOe1tXiqYc/exCgWvbggurzDOcRkZu
31
+ /YSusaiDXHKU2O3Akc3htA==
32
+ -----END CERTIFICATE-----
33
+ date: 2013-09-13 00:00:00.000000000 Z
42
34
  dependencies:
43
35
  - !ruby/object:Gem::Dependency
44
36
  name: nokogiri
45
37
  requirement: !ruby/object:Gem::Requirement
46
- none: false
47
38
  requirements:
48
39
  - - ~>
49
40
  - !ruby/object:Gem::Version
@@ -51,7 +42,6 @@ dependencies:
51
42
  type: :runtime
52
43
  prerelease: false
53
44
  version_requirements: !ruby/object:Gem::Requirement
54
- none: false
55
45
  requirements:
56
46
  - - ~>
57
47
  - !ruby/object:Gem::Version
@@ -59,7 +49,6 @@ dependencies:
59
49
  - !ruby/object:Gem::Dependency
60
50
  name: sequel
61
51
  requirement: !ruby/object:Gem::Requirement
62
- none: false
63
52
  requirements:
64
53
  - - ~>
65
54
  - !ruby/object:Gem::Version
@@ -67,7 +56,6 @@ dependencies:
67
56
  type: :runtime
68
57
  prerelease: false
69
58
  version_requirements: !ruby/object:Gem::Requirement
70
- none: false
71
59
  requirements:
72
60
  - - ~>
73
61
  - !ruby/object:Gem::Version
@@ -75,7 +63,6 @@ dependencies:
75
63
  - !ruby/object:Gem::Dependency
76
64
  name: tnetstring
77
65
  requirement: !ruby/object:Gem::Requirement
78
- none: false
79
66
  requirements:
80
67
  - - ~>
81
68
  - !ruby/object:Gem::Version
@@ -83,7 +70,6 @@ dependencies:
83
70
  type: :runtime
84
71
  prerelease: false
85
72
  version_requirements: !ruby/object:Gem::Requirement
86
- none: false
87
73
  requirements:
88
74
  - - ~>
89
75
  - !ruby/object:Gem::Version
@@ -91,7 +77,6 @@ dependencies:
91
77
  - !ruby/object:Gem::Dependency
92
78
  name: yajl-ruby
93
79
  requirement: !ruby/object:Gem::Requirement
94
- none: false
95
80
  requirements:
96
81
  - - ~>
97
82
  - !ruby/object:Gem::Version
@@ -99,7 +84,6 @@ dependencies:
99
84
  type: :runtime
100
85
  prerelease: false
101
86
  version_requirements: !ruby/object:Gem::Requirement
102
- none: false
103
87
  requirements:
104
88
  - - ~>
105
89
  - !ruby/object:Gem::Version
@@ -107,7 +91,6 @@ dependencies:
107
91
  - !ruby/object:Gem::Dependency
108
92
  name: trollop
109
93
  requirement: !ruby/object:Gem::Requirement
110
- none: false
111
94
  requirements:
112
95
  - - ~>
113
96
  - !ruby/object:Gem::Version
@@ -115,7 +98,6 @@ dependencies:
115
98
  type: :runtime
116
99
  prerelease: false
117
100
  version_requirements: !ruby/object:Gem::Requirement
118
- none: false
119
101
  requirements:
120
102
  - - ~>
121
103
  - !ruby/object:Gem::Version
@@ -123,7 +105,6 @@ dependencies:
123
105
  - !ruby/object:Gem::Dependency
124
106
  name: sysexits
125
107
  requirement: !ruby/object:Gem::Requirement
126
- none: false
127
108
  requirements:
128
109
  - - ~>
129
110
  - !ruby/object:Gem::Version
@@ -131,7 +112,6 @@ dependencies:
131
112
  type: :runtime
132
113
  prerelease: false
133
114
  version_requirements: !ruby/object:Gem::Requirement
134
- none: false
135
115
  requirements:
136
116
  - - ~>
137
117
  - !ruby/object:Gem::Version
@@ -139,7 +119,6 @@ dependencies:
139
119
  - !ruby/object:Gem::Dependency
140
120
  name: zmq
141
121
  requirement: !ruby/object:Gem::Requirement
142
- none: false
143
122
  requirements:
144
123
  - - ~>
145
124
  - !ruby/object:Gem::Version
@@ -147,7 +126,6 @@ dependencies:
147
126
  type: :runtime
148
127
  prerelease: false
149
128
  version_requirements: !ruby/object:Gem::Requirement
150
- none: false
151
129
  requirements:
152
130
  - - ~>
153
131
  - !ruby/object:Gem::Version
@@ -155,7 +133,6 @@ dependencies:
155
133
  - !ruby/object:Gem::Dependency
156
134
  name: loggability
157
135
  requirement: !ruby/object:Gem::Requirement
158
- none: false
159
136
  requirements:
160
137
  - - ~>
161
138
  - !ruby/object:Gem::Version
@@ -163,7 +140,6 @@ dependencies:
163
140
  type: :runtime
164
141
  prerelease: false
165
142
  version_requirements: !ruby/object:Gem::Requirement
166
- none: false
167
143
  requirements:
168
144
  - - ~>
169
145
  - !ruby/object:Gem::Version
@@ -171,7 +147,6 @@ dependencies:
171
147
  - !ruby/object:Gem::Dependency
172
148
  name: sqlite3
173
149
  requirement: !ruby/object:Gem::Requirement
174
- none: false
175
150
  requirements:
176
151
  - - ~>
177
152
  - !ruby/object:Gem::Version
@@ -179,7 +154,6 @@ dependencies:
179
154
  type: :runtime
180
155
  prerelease: false
181
156
  version_requirements: !ruby/object:Gem::Requirement
182
- none: false
183
157
  requirements:
184
158
  - - ~>
185
159
  - !ruby/object:Gem::Version
@@ -187,7 +161,6 @@ dependencies:
187
161
  - !ruby/object:Gem::Dependency
188
162
  name: hoe-mercurial
189
163
  requirement: !ruby/object:Gem::Requirement
190
- none: false
191
164
  requirements:
192
165
  - - ~>
193
166
  - !ruby/object:Gem::Version
@@ -195,7 +168,6 @@ dependencies:
195
168
  type: :development
196
169
  prerelease: false
197
170
  version_requirements: !ruby/object:Gem::Requirement
198
- none: false
199
171
  requirements:
200
172
  - - ~>
201
173
  - !ruby/object:Gem::Version
@@ -203,7 +175,6 @@ dependencies:
203
175
  - !ruby/object:Gem::Dependency
204
176
  name: hoe-highline
205
177
  requirement: !ruby/object:Gem::Requirement
206
- none: false
207
178
  requirements:
208
179
  - - ~>
209
180
  - !ruby/object:Gem::Version
@@ -211,7 +182,6 @@ dependencies:
211
182
  type: :development
212
183
  prerelease: false
213
184
  version_requirements: !ruby/object:Gem::Requirement
214
- none: false
215
185
  requirements:
216
186
  - - ~>
217
187
  - !ruby/object:Gem::Version
@@ -219,23 +189,20 @@ dependencies:
219
189
  - !ruby/object:Gem::Dependency
220
190
  name: rdoc
221
191
  requirement: !ruby/object:Gem::Requirement
222
- none: false
223
192
  requirements:
224
193
  - - ~>
225
194
  - !ruby/object:Gem::Version
226
- version: '3.10'
195
+ version: '4.0'
227
196
  type: :development
228
197
  prerelease: false
229
198
  version_requirements: !ruby/object:Gem::Requirement
230
- none: false
231
199
  requirements:
232
200
  - - ~>
233
201
  - !ruby/object:Gem::Version
234
- version: '3.10'
202
+ version: '4.0'
235
203
  - !ruby/object:Gem::Dependency
236
204
  name: configurability
237
205
  requirement: !ruby/object:Gem::Requirement
238
- none: false
239
206
  requirements:
240
207
  - - ~>
241
208
  - !ruby/object:Gem::Version
@@ -243,7 +210,6 @@ dependencies:
243
210
  type: :development
244
211
  prerelease: false
245
212
  version_requirements: !ruby/object:Gem::Requirement
246
- none: false
247
213
  requirements:
248
214
  - - ~>
249
215
  - !ruby/object:Gem::Version
@@ -251,7 +217,6 @@ dependencies:
251
217
  - !ruby/object:Gem::Dependency
252
218
  name: simplecov
253
219
  requirement: !ruby/object:Gem::Requirement
254
- none: false
255
220
  requirements:
256
221
  - - ~>
257
222
  - !ruby/object:Gem::Version
@@ -259,7 +224,6 @@ dependencies:
259
224
  type: :development
260
225
  prerelease: false
261
226
  version_requirements: !ruby/object:Gem::Requirement
262
- none: false
263
227
  requirements:
264
228
  - - ~>
265
229
  - !ruby/object:Gem::Version
@@ -267,7 +231,6 @@ dependencies:
267
231
  - !ruby/object:Gem::Dependency
268
232
  name: hoe-deveiate
269
233
  requirement: !ruby/object:Gem::Requirement
270
- none: false
271
234
  requirements:
272
235
  - - ~>
273
236
  - !ruby/object:Gem::Version
@@ -275,7 +238,6 @@ dependencies:
275
238
  type: :development
276
239
  prerelease: false
277
240
  version_requirements: !ruby/object:Gem::Requirement
278
- none: false
279
241
  requirements:
280
242
  - - ~>
281
243
  - !ruby/object:Gem::Version
@@ -283,31 +245,25 @@ dependencies:
283
245
  - !ruby/object:Gem::Dependency
284
246
  name: hoe
285
247
  requirement: !ruby/object:Gem::Requirement
286
- none: false
287
248
  requirements:
288
249
  - - ~>
289
250
  - !ruby/object:Gem::Version
290
- version: '3.4'
251
+ version: '3.7'
291
252
  type: :development
292
253
  prerelease: false
293
254
  version_requirements: !ruby/object:Gem::Requirement
294
- none: false
295
255
  requirements:
296
256
  - - ~>
297
257
  - !ruby/object:Gem::Version
298
- version: '3.4'
299
- description: ! 'Ruby-Mongrel2 is a complete Ruby (1.9-only) connector for
300
-
258
+ version: '3.7'
259
+ description: |-
260
+ Ruby-Mongrel2 is a complete Ruby (1.9-only) connector for
301
261
  Mongrel2[http://mongrel2.org/].
302
262
 
303
-
304
263
  This library includes configuration-database ORM classes, a Ruby
305
-
306
- implementation of the ''m2sh'' tool, a configuration DSL for generating config
307
-
264
+ implementation of the 'm2sh' tool, a configuration DSL for generating config
308
265
  databases in pure Ruby, a Control port interface object, and handler classes
309
-
310
- for creating applications or higher-level frameworks.'
266
+ for creating applications or higher-level frameworks.
311
267
  email:
312
268
  - ged@FaerieMUD.org
313
269
  executables:
@@ -403,6 +359,7 @@ files:
403
359
  homepage: https://bitbucket.org/ged/ruby-mongrel2
404
360
  licenses:
405
361
  - BSD
362
+ metadata: {}
406
363
  post_install_message:
407
364
  rdoc_options:
408
365
  - -f
@@ -412,21 +369,19 @@ rdoc_options:
412
369
  require_paths:
413
370
  - lib
414
371
  required_ruby_version: !ruby/object:Gem::Requirement
415
- none: false
416
372
  requirements:
417
- - - ! '>='
373
+ - - '>='
418
374
  - !ruby/object:Gem::Version
419
375
  version: 1.9.2
420
376
  required_rubygems_version: !ruby/object:Gem::Requirement
421
- none: false
422
377
  requirements:
423
- - - ! '>='
378
+ - - '>='
424
379
  - !ruby/object:Gem::Version
425
380
  version: '0'
426
381
  requirements: []
427
382
  rubyforge_project: mongrel2
428
- rubygems_version: 1.8.25
383
+ rubygems_version: 2.0.5
429
384
  signing_key:
430
- specification_version: 3
385
+ specification_version: 4
431
386
  summary: Ruby-Mongrel2 is a complete Ruby (1.9-only) connector for Mongrel2[http://mongrel2.org/]
432
387
  test_files: []
metadata.gz.sig CHANGED
Binary file