pincers 0.7.3 → 0.7.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pincers/http/session.rb +1 -0
- data/lib/pincers/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a1caf9da5eee76e5e8376530e1963069c368b6f1
|
4
|
+
data.tar.gz: 602d82af2365c7fdac04c0a1070a450efb0c1e63
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19503b8192c0eda9f6ad63df814f293af0425adf83b8602d1913f41f42776f522298ab6173af4ad46b5888ead5d1dc4736b47d688b503b1d7236d452f1068924
|
7
|
+
data.tar.gz: 0785518d91f5c651b5b55011fa6e1d17e3fa736f86f7d477e225a80a683eaa9351ae86fb4e5ffcadf4cac08c39da45fa0c37c07e327896c22e9a76caa9112ff0
|
data/lib/pincers/http/session.rb
CHANGED
@@ -71,6 +71,7 @@ module Pincers::Http
|
|
71
71
|
http_response
|
72
72
|
when Net::HTTPRedirection then
|
73
73
|
location = Utils.parse_uri(http_response['location'])
|
74
|
+
location = URI.join(uri, location) if location.relative?
|
74
75
|
perform_recursive(_request, _limit - 1, location)
|
75
76
|
else
|
76
77
|
handle_error_response http_response
|
data/lib/pincers/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pincers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ignacio Baixas
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-11-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|