aranha-parsers 0.23.0 → 0.23.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6a199311d583a58c2c57bd9440cf4427cacb84b2dea969c576f1be3e0fba1a33
|
4
|
+
data.tar.gz: 6f8ec7116bdeca022910267fcc27ebd64295fd70f93f99ceb0d409859c64601e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75994fd4861bf9dab93c2fa9196ebb022004c9dcdc2d88702385d62d0b55fb81b985df82b42d980decd410e5c8d0dd8664e0e3bfe9b83c27f056f560b61da247
|
7
|
+
data.tar.gz: 5798eebdd9d63c3cd6717bbc33a58feec336e0d033df20181db42a49fb19b70e01b7264d8cdaa303bb1c649ed950d64793b612425ada4d65f29afeb1c84b7f64
|
@@ -38,12 +38,14 @@ module Aranha
|
|
38
38
|
@final_url
|
39
39
|
end
|
40
40
|
|
41
|
+
# @return [String]
|
42
|
+
# @raise [Aranha::Parsers::SourceAddress::FetchContentError]
|
41
43
|
def content
|
42
44
|
request = ::EacEnvs::Http::Request.new.url(url).retry(true).follow_redirect(true)
|
43
45
|
.header('user-agent', self.class.name)
|
44
|
-
request.response.body_str
|
46
|
+
request.response.body_str!
|
45
47
|
rescue ::EacEnvs::Http::Error => e
|
46
|
-
raise ::Aranha::Parsers::SourceAddress::FetchContentError
|
48
|
+
raise ::Aranha::Parsers::SourceAddress::FetchContentError.new(e.message, request)
|
47
49
|
end
|
48
50
|
|
49
51
|
def serialize
|
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.23.
|
4
|
+
version: 0.23.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: 2024-
|
11
|
+
date: 2024-10-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -50,48 +50,28 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '0.
|
54
|
-
- - ">="
|
55
|
-
- !ruby/object:Gem::Version
|
56
|
-
version: 0.5.1
|
57
|
-
type: :runtime
|
58
|
-
prerelease: false
|
59
|
-
version_requirements: !ruby/object:Gem::Requirement
|
60
|
-
requirements:
|
61
|
-
- - "~>"
|
62
|
-
- !ruby/object:Gem::Version
|
63
|
-
version: '0.5'
|
64
|
-
- - ">="
|
65
|
-
- !ruby/object:Gem::Version
|
66
|
-
version: 0.5.1
|
67
|
-
- !ruby/object:Gem::Dependency
|
68
|
-
name: eac_ruby_gem_support
|
69
|
-
requirement: !ruby/object:Gem::Requirement
|
70
|
-
requirements:
|
71
|
-
- - "~>"
|
72
|
-
- !ruby/object:Gem::Version
|
73
|
-
version: '0.10'
|
53
|
+
version: '0.6'
|
74
54
|
type: :runtime
|
75
55
|
prerelease: false
|
76
56
|
version_requirements: !ruby/object:Gem::Requirement
|
77
57
|
requirements:
|
78
58
|
- - "~>"
|
79
59
|
- !ruby/object:Gem::Version
|
80
|
-
version: '0.
|
60
|
+
version: '0.6'
|
81
61
|
- !ruby/object:Gem::Dependency
|
82
62
|
name: eac_ruby_utils
|
83
63
|
requirement: !ruby/object:Gem::Requirement
|
84
64
|
requirements:
|
85
65
|
- - "~>"
|
86
66
|
- !ruby/object:Gem::Version
|
87
|
-
version: '0.
|
67
|
+
version: '0.123'
|
88
68
|
type: :runtime
|
89
69
|
prerelease: false
|
90
70
|
version_requirements: !ruby/object:Gem::Requirement
|
91
71
|
requirements:
|
92
72
|
- - "~>"
|
93
73
|
- !ruby/object:Gem::Version
|
94
|
-
version: '0.
|
74
|
+
version: '0.123'
|
95
75
|
- !ruby/object:Gem::Dependency
|
96
76
|
name: nokogiri
|
97
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -132,14 +112,14 @@ dependencies:
|
|
132
112
|
requirements:
|
133
113
|
- - "~>"
|
134
114
|
- !ruby/object:Gem::Version
|
135
|
-
version: '0.
|
115
|
+
version: '0.10'
|
136
116
|
type: :development
|
137
117
|
prerelease: false
|
138
118
|
version_requirements: !ruby/object:Gem::Requirement
|
139
119
|
requirements:
|
140
120
|
- - "~>"
|
141
121
|
- !ruby/object:Gem::Version
|
142
|
-
version: '0.
|
122
|
+
version: '0.10'
|
143
123
|
description:
|
144
124
|
email:
|
145
125
|
executables: []
|