rack-mongrel2 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -4,4 +4,3 @@ gemspec
4
4
 
5
5
  # For development
6
6
  gem 'yajl-ruby', '~> 0.7.8', :require => 'yajl'
7
- gem 'zmq', '~> 2.0.9'
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2009, 2010 Daniel Huckstep
1
+ Copyright (c) 2010, 2011 Daniel Huckstep
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -38,4 +38,4 @@ Check out the blog post too: http://blog.darkhax.com/2010/10/26/deploying-your-r
38
38
 
39
39
  ## Copyright
40
40
 
41
- Copyright (c) 2010 Daniel Huckstep. See LICENSE for details.
41
+ Copyright (c) 2010, 2011 Daniel Huckstep. See LICENSE for details.
data/lib/mongrel2.rb CHANGED
@@ -10,5 +10,5 @@ end
10
10
 
11
11
  module Mongrel2
12
12
  JSON = Object.const_defined?('Yajl') ? ::Yajl::Parser : ::JSON
13
- VERSION = '0.2.2'
13
+ VERSION = '0.2.3'
14
14
  end
@@ -27,7 +27,7 @@ module Mongrel2
27
27
  def reply(req, body, status = 200, headers = {})
28
28
  resp = Response.new(@resp)
29
29
  resp.send_http(req, body, status, headers)
30
- resp.close if req.close?
30
+ resp.close(req) if req.close?
31
31
  end
32
32
 
33
33
  def close
@@ -13,8 +13,8 @@ Gem::Specification.new do |s|
13
13
  ## If your rubyforge_project name is different, then edit it and comment out
14
14
  ## the sub! line in the Rakefile
15
15
  s.name = 'rack-mongrel2'
16
- s.version = '0.2.2'
17
- s.date = '2010-12-31'
16
+ s.version = '0.2.3'
17
+ s.date = '2011-04-09'
18
18
  s.rubyforge_project = 'rack-mongrel2'
19
19
 
20
20
  ## Make sure your summary is short. The description may be as long
@@ -71,6 +71,7 @@ Gem::Specification.new do |s|
71
71
  rack-mongrel2.gemspec
72
72
  spec/request_spec.rb
73
73
  spec/response_spec.rb
74
+ spec/spec.opts
74
75
  spec/spec_helper.rb
75
76
  ]
76
77
  # = MANIFEST =
data/spec/spec.opts ADDED
@@ -0,0 +1 @@
1
+ --color
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-mongrel2
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 2
10
- version: 0.2.2
9
+ - 3
10
+ version: 0.2.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Daniel Huckstep
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-12-31 00:00:00 -07:00
18
+ date: 2011-04-09 00:00:00 -06:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -125,6 +125,7 @@ files:
125
125
  - rack-mongrel2.gemspec
126
126
  - spec/request_spec.rb
127
127
  - spec/response_spec.rb
128
+ - spec/spec.opts
128
129
  - spec/spec_helper.rb
129
130
  has_rdoc: true
130
131
  homepage: http://github.com/darkhelmet/rack-mongrel2
@@ -156,7 +157,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
156
157
  requirements: []
157
158
 
158
159
  rubyforge_project: rack-mongrel2
159
- rubygems_version: 1.4.1
160
+ rubygems_version: 1.6.0
160
161
  signing_key:
161
162
  specification_version: 2
162
163
  summary: The only Mongrel2 Rack handler you'll ever need.