aranha-parsers 0.18.0 → 0.19.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: cb5cd7c64c21a8805a583f01c75efd58268003a8c8cc695ef809f938e79dc3ed
4
- data.tar.gz: '078397e90586fe403b39dc8821e30f36efcf86fa55d31058bd94d18a42cb8eb8'
3
+ metadata.gz: 91372566e26e02c7b89046685db76a3515f8c4c18538d36286487553cd65143b
4
+ data.tar.gz: 9a61d35795038c070daba3121b7c3036bf9bd561599f782c19d45d6147649476
5
5
  SHA512:
6
- metadata.gz: d017b16cb135ad2968fb35e83c086d3e5bdfbc59a8be5281303f26d8fbdbdff6697d9d1f029d949c69bb6341ae7eb25509d924e82a99c26e0391df7322a6a095
7
- data.tar.gz: ada16700b30a9456f1140debf88f17020699d27ecc1dc6bcafbac43a1569d3bfe19415109b6f74688214bb94033dcb14ec2fc251fb3ae8060f5a45e62f8902c0
6
+ metadata.gz: 4a1731885fd90ce6baf5ca267cac8c7e3bc134de828f948a89ff24ba338d275920a65db1727ae9f7e3bfda87a1fcda82ca64c1e2e2ec67fc8c0791268935cb13
7
+ data.tar.gz: 5d2c8bfd3908f7a3d103ec417376db4d85e1e84993130bff11a8d2c46cb13dab205d0020090e132450652d370fb064c770d081c5f4391fed5377297c3a1a43bd
@@ -10,11 +10,6 @@ module Aranha
10
10
  class Default < ::Aranha::Parsers::Html::Node::Base
11
11
  require_sub __FILE__, include_modules: true
12
12
 
13
- def array_value(node, xpath)
14
- r = node_set_value(node, xpath).map { |n| n.text.strip }
15
- r.join('|')
16
- end
17
-
18
13
  def join_value(node, xpath)
19
14
  m = ''
20
15
  node_set_value(node, xpath).each do |n|
@@ -75,7 +75,7 @@ module Aranha
75
75
  def http_request
76
76
  r = ::EacEnvs::Http::Request.new.verb(self.class.http_method).url(url)
77
77
  r = headers.if_present(r) { |v| r.headers(v) }
78
- r = body.if_present(r) { |v| r.body(v) }
78
+ r = body.if_present(r) { |v| r.body_data(v) }
79
79
  r = r.follow_redirect(true) if follow_redirect?
80
80
  r
81
81
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Aranha
4
4
  module Parsers
5
- VERSION = '0.18.0'
5
+ VERSION = '0.19.1'
6
6
  end
7
7
  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.18.0
4
+ version: 0.19.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: 2023-05-13 00:00:00.000000000 Z
11
+ date: 2023-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -53,7 +53,7 @@ dependencies:
53
53
  version: '0.3'
54
54
  - - ">="
55
55
  - !ruby/object:Gem::Version
56
- version: 0.3.1
56
+ version: 0.3.2
57
57
  type: :runtime
58
58
  prerelease: false
59
59
  version_requirements: !ruby/object:Gem::Requirement
@@ -63,41 +63,47 @@ dependencies:
63
63
  version: '0.3'
64
64
  - - ">="
65
65
  - !ruby/object:Gem::Version
66
- version: 0.3.1
66
+ version: 0.3.2
67
67
  - !ruby/object:Gem::Dependency
68
68
  name: eac_ruby_utils
69
69
  requirement: !ruby/object:Gem::Requirement
70
70
  requirements:
71
71
  - - "~>"
72
72
  - !ruby/object:Gem::Version
73
- version: '0.116'
73
+ version: '0.117'
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ version: 0.117.1
74
77
  type: :runtime
75
78
  prerelease: false
76
79
  version_requirements: !ruby/object:Gem::Requirement
77
80
  requirements:
78
81
  - - "~>"
79
82
  - !ruby/object:Gem::Version
80
- version: '0.116'
83
+ version: '0.117'
84
+ - - ">="
85
+ - !ruby/object:Gem::Version
86
+ version: 0.117.1
81
87
  - !ruby/object:Gem::Dependency
82
88
  name: nokogiri
83
89
  requirement: !ruby/object:Gem::Requirement
84
90
  requirements:
85
91
  - - "~>"
86
92
  - !ruby/object:Gem::Version
87
- version: '1.14'
93
+ version: '1.15'
88
94
  - - ">="
89
95
  - !ruby/object:Gem::Version
90
- version: 1.14.4
96
+ version: 1.15.2
91
97
  type: :runtime
92
98
  prerelease: false
93
99
  version_requirements: !ruby/object:Gem::Requirement
94
100
  requirements:
95
101
  - - "~>"
96
102
  - !ruby/object:Gem::Version
97
- version: '1.14'
103
+ version: '1.15'
98
104
  - - ">="
99
105
  - !ruby/object:Gem::Version
100
- version: 1.14.4
106
+ version: 1.15.2
101
107
  - !ruby/object:Gem::Dependency
102
108
  name: ofx-parser
103
109
  requirement: !ruby/object:Gem::Requirement