rack-client 0.3.1.pre.b → 0.3.1.pre.c

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.
@@ -39,7 +39,7 @@ module Rack
39
39
 
40
40
  env.update 'PATH_INFO' => path_info
41
41
  env.update 'REQUEST_URI' => uri.to_s
42
- env.update 'SERVER_NAME' => uri.host
42
+ env.update 'SERVER_NAME' => uri.host.to_s
43
43
  env.update 'SERVER_PORT' => uri.port.to_s
44
44
  env.update 'SCRIPT_NAME' => ''
45
45
  env.update 'QUERY_STRING' => uri.query.to_s
@@ -51,7 +51,7 @@ module Rack
51
51
 
52
52
  env.update 'rack.input' => input
53
53
  env.update 'rack.errors' => StringIO.new
54
- env.update 'rack.url_scheme' => uri.scheme
54
+ env.update 'rack.url_scheme' => uri.scheme || 'http'
55
55
  env.update 'rack.version' => Rack::VERSION
56
56
  env.update 'rack.multithread' => true
57
57
  env.update 'rack.multiprocess' => true
@@ -1,5 +1,5 @@
1
1
  module Rack
2
2
  module Client
3
- VERSION = "0.3.1.pre.b"
3
+ VERSION = "0.3.1.pre.c"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-client
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1923832053
4
+ hash: 1923832054
5
5
  prerelease: true
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
9
  - 1
10
10
  - pre
11
- - b
12
- version: 0.3.1.pre.b
11
+ - c
12
+ version: 0.3.1.pre.c
13
13
  platform: ruby
14
14
  authors:
15
15
  - Tim Carey-Smith
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2010-10-15 00:00:00 -07:00
20
+ date: 2010-10-23 00:00:00 -07:00
21
21
  default_executable:
22
22
  dependencies: []
23
23