aranha 0.18.0 → 0.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aranha/temporary_errors.rb +1 -8
- data/lib/aranha/version.rb +1 -1
- metadata +6 -38
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cf8331e8cbae8db88c762687752ba56406c3d532ee13ed5d5f945e5dddd03949
|
4
|
+
data.tar.gz: 41e61bebf9fe22ac5ba864cc157a60e5778abd273666bee9afc4c0de36b1d2d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fddcd00139b6945a7bb9171a91fca2e48aaa66922cdb48d950d68f877523dd5080d314f2a98fb4a52b55eecb2d949daa7f6a30f71dd745dd0721d06b5febd2bf
|
7
|
+
data.tar.gz: 3dfafd6d2471d9f9472995be2c5708273935d75ae0dc777c6ebd3068f3b01da9f2f700756824eb9f9cdff3db966f37f32e2d3d7c0b665290746242ef4b28a78e
|
@@ -2,7 +2,6 @@
|
|
2
2
|
|
3
3
|
require 'aranha/parsers/invalid_state_exception'
|
4
4
|
require 'aranha/parsers/source_address/fetch_content_error'
|
5
|
-
require 'httpclient'
|
6
5
|
require 'eac_ruby_utils/core_ext'
|
7
6
|
require 'selenium-webdriver'
|
8
7
|
|
@@ -12,16 +11,10 @@ module Aranha
|
|
12
11
|
::Aranha::Parsers::SourceAddress::FetchContentError].freeze
|
13
12
|
CORE_ERRORS = [::SocketError].freeze
|
14
13
|
ERRNO_ERRORS = [Errno::ECONNREFUSED, ::Errno::ECONNRESET].freeze
|
15
|
-
HTTPCLIENT_ERRORS = [
|
16
|
-
::HTTPClient::BadResponseError,
|
17
|
-
::HTTPClient::ConnectTimeoutError,
|
18
|
-
::HTTPClient::ReceiveTimeoutError
|
19
|
-
].freeze
|
20
14
|
NET_ERRORS = [::Net::HTTPFatalError, ::Net::HTTPServerException, ::Net::OpenTimeout].freeze
|
21
15
|
SELENIUM_ERRORS = [::Selenium::WebDriver::Error::TimeoutError].freeze
|
22
16
|
|
23
|
-
ALL_ERRORS = ARANHA_ERRORS + CORE_ERRORS + ERRNO_ERRORS +
|
24
|
-
HTTPCLIENT_ERRORS + NET_ERRORS + SELENIUM_ERRORS
|
17
|
+
ALL_ERRORS = ARANHA_ERRORS + CORE_ERRORS + ERRNO_ERRORS + NET_ERRORS + SELENIUM_ERRORS
|
25
18
|
|
26
19
|
class << self
|
27
20
|
def errors
|
data/lib/aranha/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aranha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.19.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eduardo H. Bogoni
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aranha-parsers
|
@@ -16,20 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
20
|
-
- - ">="
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: 0.14.3
|
19
|
+
version: '0.15'
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
24
|
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
30
|
-
- - ">="
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: 0.14.3
|
26
|
+
version: '0.15'
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
28
|
name: aranha-selenium
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -50,40 +44,14 @@ dependencies:
|
|
50
44
|
requirements:
|
51
45
|
- - "~>"
|
52
46
|
- !ruby/object:Gem::Version
|
53
|
-
version: '0.
|
54
|
-
- - ">="
|
55
|
-
- !ruby/object:Gem::Version
|
56
|
-
version: 0.106.1
|
47
|
+
version: '0.112'
|
57
48
|
type: :runtime
|
58
49
|
prerelease: false
|
59
50
|
version_requirements: !ruby/object:Gem::Requirement
|
60
51
|
requirements:
|
61
52
|
- - "~>"
|
62
53
|
- !ruby/object:Gem::Version
|
63
|
-
version: '0.
|
64
|
-
- - ">="
|
65
|
-
- !ruby/object:Gem::Version
|
66
|
-
version: 0.106.1
|
67
|
-
- !ruby/object:Gem::Dependency
|
68
|
-
name: httpclient
|
69
|
-
requirement: !ruby/object:Gem::Requirement
|
70
|
-
requirements:
|
71
|
-
- - "~>"
|
72
|
-
- !ruby/object:Gem::Version
|
73
|
-
version: '2.8'
|
74
|
-
- - ">="
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
version: 2.8.3
|
77
|
-
type: :runtime
|
78
|
-
prerelease: false
|
79
|
-
version_requirements: !ruby/object:Gem::Requirement
|
80
|
-
requirements:
|
81
|
-
- - "~>"
|
82
|
-
- !ruby/object:Gem::Version
|
83
|
-
version: '2.8'
|
84
|
-
- - ">="
|
85
|
-
- !ruby/object:Gem::Version
|
86
|
-
version: 2.8.3
|
54
|
+
version: '0.112'
|
87
55
|
- !ruby/object:Gem::Dependency
|
88
56
|
name: eac_ruby_gem_support
|
89
57
|
requirement: !ruby/object:Gem::Requirement
|