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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f9e3c8bdf0c575796dfd1611b6f083631c29cd2e
4
- data.tar.gz: 7d590dcadf22c284d8a88728db8e335cd90cd746
3
+ metadata.gz: a1caf9da5eee76e5e8376530e1963069c368b6f1
4
+ data.tar.gz: 602d82af2365c7fdac04c0a1070a450efb0c1e63
5
5
  SHA512:
6
- metadata.gz: 3eb1df46a7eb3b2bdfa62eee2cc0089b82fffe426c4c7450c945a8217485ef9cd04ea8ea9ad06da6802cf097f8281449720305ed2ec7dbe36e1ba97d297c0ea4
7
- data.tar.gz: 4633cd3bb8652a2a165d98b76c32916c7d3dd9514bc7ec044c1da1c1f0138236cda5da78f9efec589a3e258a0cb87f403c47a15d5ab7ac365f73bc2d6b30cbd1
6
+ metadata.gz: 19503b8192c0eda9f6ad63df814f293af0425adf83b8602d1913f41f42776f522298ab6173af4ad46b5888ead5d1dc4736b47d688b503b1d7236d452f1068924
7
+ data.tar.gz: 0785518d91f5c651b5b55011fa6e1d17e3fa736f86f7d477e225a80a683eaa9351ae86fb4e5ffcadf4cac08c39da45fa0c37c07e327896c22e9a76caa9112ff0
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Pincers
2
- VERSION = "0.7.3"
2
+ VERSION = "0.7.4"
3
3
  end
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.3
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-10-30 00:00:00.000000000 Z
11
+ date: 2015-11-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri