unicorn 0.8.3 → 0.8.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG CHANGED
@@ -1,3 +1,4 @@
1
+ v0.8.4 - pass through unknown HTTP status codes
1
2
  v0.8.3 - Ruby 1.9.2 preview1 compatibility
2
3
  v0.8.2 - socket handling bugfixes and usability tweaks
3
4
  v0.8.1 - safer timeout handling, more consistent reload behavior
data/lib/unicorn/const.rb CHANGED
@@ -5,7 +5,7 @@ module Unicorn
5
5
  # gave about a 3% to 10% performance improvement over using the strings directly.
6
6
  # Symbols did not really improve things much compared to constants.
7
7
  module Const
8
- UNICORN_VERSION="0.8.3".freeze
8
+ UNICORN_VERSION="0.8.4".freeze
9
9
 
10
10
  DEFAULT_HOST = "0.0.0.0".freeze # default TCP listen host address
11
11
  DEFAULT_PORT = "8080".freeze # default TCP listen port
@@ -37,7 +37,7 @@ module Unicorn
37
37
  # writes the rack_response to socket as an HTTP response
38
38
  def self.write(socket, rack_response)
39
39
  status, headers, body = rack_response
40
- status = CODES[status.to_i]
40
+ status = CODES[status.to_i] || status
41
41
  OUT.clear
42
42
 
43
43
  # Don't bother enforcing duplicate supression, it's a Hash most of
data/unicorn.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{unicorn}
5
- s.version = "0.8.3"
5
+ s.version = "0.8.4"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Eric Wong"]
9
- s.date = %q{2009-07-19}
9
+ s.date = %q{2009-08-06}
10
10
  s.description = %q{Rack HTTP server for Unix, fast clients and nothing else}
11
11
  s.email = %q{normalperson@yhbt.net}
12
12
  s.executables = ["unicorn", "unicorn_rails"]
@@ -17,9 +17,9 @@ Gem::Specification.new do |s|
17
17
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Unicorn", "--main", "README"]
18
18
  s.require_paths = ["lib", "ext"]
19
19
  s.rubyforge_project = %q{unicorn}
20
- s.rubygems_version = %q{1.3.4}
20
+ s.rubygems_version = %q{1.3.5}
21
21
  s.summary = %q{Rack HTTP server for Unix, fast clients and nothing else}
22
- s.test_files = ["test/unit/test_request.rb", "test/unit/test_http_parser.rb", "test/unit/test_server.rb", "test/unit/test_response.rb", "test/unit/test_configurator.rb", "test/unit/test_util.rb", "test/unit/test_upload.rb", "test/unit/test_signals.rb", "test/unit/test_socket_helper.rb"]
22
+ s.test_files = ["test/unit/test_configurator.rb", "test/unit/test_response.rb", "test/unit/test_request.rb", "test/unit/test_signals.rb", "test/unit/test_upload.rb", "test/unit/test_http_parser.rb", "test/unit/test_socket_helper.rb", "test/unit/test_util.rb", "test/unit/test_server.rb"]
23
23
 
24
24
  if s.respond_to? :specification_version then
25
25
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unicorn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.3
4
+ version: 0.8.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Wong
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-07-19 00:00:00 -07:00
12
+ date: 2009-08-06 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -217,17 +217,17 @@ required_rubygems_version: !ruby/object:Gem::Requirement
217
217
  requirements: []
218
218
 
219
219
  rubyforge_project: unicorn
220
- rubygems_version: 1.3.4
220
+ rubygems_version: 1.3.5
221
221
  signing_key:
222
222
  specification_version: 3
223
223
  summary: Rack HTTP server for Unix, fast clients and nothing else
224
224
  test_files:
225
- - test/unit/test_request.rb
226
- - test/unit/test_http_parser.rb
227
- - test/unit/test_server.rb
228
- - test/unit/test_response.rb
229
225
  - test/unit/test_configurator.rb
230
- - test/unit/test_util.rb
231
- - test/unit/test_upload.rb
226
+ - test/unit/test_response.rb
227
+ - test/unit/test_request.rb
232
228
  - test/unit/test_signals.rb
229
+ - test/unit/test_upload.rb
230
+ - test/unit/test_http_parser.rb
233
231
  - test/unit/test_socket_helper.rb
232
+ - test/unit/test_util.rb
233
+ - test/unit/test_server.rb