ftw 0.0.14 → 0.0.15
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/ftw/request.rb +3 -0
- data/lib/ftw/version.rb +1 -1
- metadata +2 -2
data/lib/ftw/request.rb
CHANGED
@@ -107,6 +107,9 @@ class FTW::Request
|
|
107
107
|
# uri.password
|
108
108
|
# uri.user
|
109
109
|
@request_uri = uri.path
|
110
|
+
# Include the query string, too.
|
111
|
+
@request_uri += "?#{uri.query}" if !uri.query.nil?
|
112
|
+
|
110
113
|
@headers.set("Host", uri.host)
|
111
114
|
@protocol = uri.scheme
|
112
115
|
if uri.port.nil?
|
data/lib/ftw/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ftw
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.15
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-04-
|
12
|
+
date: 2012-04-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json
|