rack_direct 0.1.6 → 0.1.7
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/lib/rack_direct/active_resource.rb +1 -1
- data/lib/rack_direct/service.rb +1 -1
- metadata +3 -3
|
@@ -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}
|
|
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",
|
data/lib/rack_direct/service.rb
CHANGED
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:
|
|
4
|
+
hash: 21
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 0.1.
|
|
9
|
+
- 7
|
|
10
|
+
version: 0.1.7
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Brian Sharon
|