rack_direct 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -21,7 +21,7 @@ module RackDirect
21
21
  # Note: We can't pass through a site.scheme of 'rack-direct'
22
22
  # because the Rack instance on the receiving end will freak
23
23
  # out. So we use http in the URI here.
24
- "uri" => "http://#{site.host}:#{site.port}#{path}",
24
+ "uri" => "http://#{site.host}#{path}",
25
25
  "method" => method.to_s.upcase,
26
26
  "body" => body.to_s,
27
27
  "CONTENT_TYPE" => headers["Content-Type"] || "text/plain;charset=utf-8",
@@ -58,7 +58,7 @@ module RackDirect
58
58
  elsif in_response
59
59
  response += line
60
60
  else
61
- puts "rack-direct://#{name}: #{line.strip}" if self.verbose_logging
61
+ puts "#{name}> #{line.strip}" if self.verbose_logging
62
62
  end
63
63
  end
64
64
  # puts "Final response: #{response}"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack_direct
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 6
10
- version: 0.1.6
9
+ - 7
10
+ version: 0.1.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Brian Sharon