aranha-parsers 0.2.0 → 0.2.1

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
  SHA256:
3
- metadata.gz: 51a24e93c2727f9cdb6e187eb6f2c15719591c70c0afa5e04be790cc0cdaba7d
4
- data.tar.gz: b56ba940af2dadeacca0ca2dd67fce81d28af267b768d80927d157b5a94d8f88
3
+ metadata.gz: 62bf35534eb1d0e9ddeb0809f0820f8c248598ada6a11e5131de43ba538597b3
4
+ data.tar.gz: cd7d67bced9eb8e5cfc7c585b7f97944066ae569b4919818494e4752ded2a100
5
5
  SHA512:
6
- metadata.gz: 6951921ada5daca5e9a0f6fc70726b447da1308d11334fc8e92639953c6a12c617ded89b969e3561e38d3f4f697a25673c981c945ea79f55fc23d06d580f6726
7
- data.tar.gz: 9a201a0e54ae982da2b4f78ba24c2acb188637c370a03e1b9e92cceab27ab0f9991b35ba948de27e6a5564b14a5f6b3ee8591fa4e16691e9c5949677030a84b4
6
+ metadata.gz: dd56e46fb66b38389b1155515dbab8146e4f98dbb04281741e129326f3438b430bf7866c8653c31adee1838400732b7fb6aa27588b688f6f7aaaeead6876f088
7
+ data.tar.gz: a87ecbddeb485e9a7f938d43be4eb5ae349a45c6eed881c27b584183b8ac95e5df06253b22a5e4e3d2a32cc6766f2ce87a49d69c74a535d83158c61300712b9a
@@ -33,6 +33,7 @@ module Aranha
33
33
 
34
34
  def content
35
35
  c = ::Curl::Easy.new(url)
36
+ c.follow_location = true
36
37
  raise "Curl perform failed (URL: #{url})" unless c.perform
37
38
  return c.body_str if c.status.to_i == 200
38
39
  raise "Get #{url} returned #{c.status.to_i}"
@@ -1,5 +1,5 @@
1
1
  module Aranha
2
2
  module Parsers
3
- VERSION = '0.2.0'.freeze
3
+ VERSION = '0.2.1'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aranha-parsers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Esquilo Azul Company
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-20 00:00:00.000000000 Z
11
+ date: 2019-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport