rack-client 0.3.1.pre.b → 0.3.1.pre.c
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rack/client/adapter/base.rb +2 -2
- data/lib/rack/client/version.rb +1 -1
- metadata +4 -4
@@ -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
|
data/lib/rack/client/version.rb
CHANGED
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:
|
4
|
+
hash: 1923832054
|
5
5
|
prerelease: true
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
9
|
- 1
|
10
10
|
- pre
|
11
|
-
-
|
12
|
-
version: 0.3.1.pre.
|
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-
|
20
|
+
date: 2010-10-23 00:00:00 -07:00
|
21
21
|
default_executable:
|
22
22
|
dependencies: []
|
23
23
|
|