xml_data_extractor 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/lib/src/extractor.rb +1 -1
- data/xml_data_extractor.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa8684820cc0394f1d83bc06c5eaa3378e6a7cc12e33c31b166018edea86d714
|
4
|
+
data.tar.gz: 57ef32a54ff735afd93e25836b44773a8d79ad922fc3837437cb10beead43e1f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 043ab0237d908959e98ebf371d36fc643c85d3df4fc46c213b2f8ff6e8ed1118b373c27b80685e4f4c486667d27b73476d44368aacec9e2a186ae24e0e9d8dcc
|
7
|
+
data.tar.gz: 52baa3e42b3d65999024f89949152f2f98cf6049635aa37afc204ace50e8dbe75b7e40bcbf467c87309c487d50f1b1bf6e9e4849caa611fe290c218adee66685
|
data/Gemfile.lock
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
xml_data_extractor (0.
|
4
|
+
xml_data_extractor (0.3.0)
|
5
5
|
activesupport (~> 6.0)
|
6
6
|
nokogiri (~> 1.0)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
activesupport (6.0.3.
|
11
|
+
activesupport (6.0.3.4)
|
12
12
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
13
13
|
i18n (>= 0.7, < 2)
|
14
14
|
minitest (~> 5.1)
|
@@ -39,7 +39,7 @@ GEM
|
|
39
39
|
thread_safe (0.3.6)
|
40
40
|
tzinfo (1.2.7)
|
41
41
|
thread_safe (~> 0.1)
|
42
|
-
zeitwerk (2.4.
|
42
|
+
zeitwerk (2.4.1)
|
43
43
|
|
44
44
|
PLATFORMS
|
45
45
|
ruby
|
data/lib/src/extractor.rb
CHANGED
@@ -62,7 +62,7 @@ class NodeExtractor
|
|
62
62
|
private
|
63
63
|
|
64
64
|
def remove_special_elements(xml)
|
65
|
-
CGI.unescapeHTML(xml).gsub(/<br>| /, { "<br>" => "", "
|
65
|
+
CGI.unescapeHTML(xml).gsub(/<br>|<\/br>| /, { " " => " ", "<br>" => "", "</br>" => "" })
|
66
66
|
end
|
67
67
|
|
68
68
|
attr_reader :xml
|
data/xml_data_extractor.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xml_data_extractor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fernando Almeida
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-10-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|