crabfarm 0.0.17 → 0.0.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/crabfarm/http_client.rb +1 -1
- data/lib/crabfarm/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 260afa911e5e4ee32a3dd272c40bcb7c73631186
|
4
|
+
data.tar.gz: 3c21d8e2bed35f307d68e1137707b6a81e47c18f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a24932e50415c6471af551a500b31dcfe2c36aead2f44083dc4b26c52b6d9259d568226dbc50f91f8f890b044ea5998f5eb8bdb498d418564a69eb73b2cea8f
|
7
|
+
data.tar.gz: 73c33c07595c1a900a53ee8c76d30240a27714a99565e1b588fa744e8467f8e2a0dc9cda85d652b9b47dad2cd179a896a4399e45412f38203113c1d425b41f08
|
data/lib/crabfarm/http_client.rb
CHANGED
@@ -60,7 +60,7 @@ module Crabfarm
|
|
60
60
|
|
61
61
|
raise MaximumRedirectsError.new if _limit == 0
|
62
62
|
|
63
|
-
request = _req_type.new(_uri.
|
63
|
+
request = _req_type.new(_uri.request_uri.empty? ? '/' : _uri.request_uri)
|
64
64
|
_headers.keys.each { |k| request[k] = _headers[k] }
|
65
65
|
yield request if block_given?
|
66
66
|
|
data/lib/crabfarm/version.rb
CHANGED