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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 21ef4204276c596f08edff5fb07c1d0051689b53ea3bf4fcf41de37f628cb252
4
- data.tar.gz: a87768a08c45efc330ce3bc923362dca785dbdafed724901dff93dfdfa5e6a53
3
+ metadata.gz: aa8684820cc0394f1d83bc06c5eaa3378e6a7cc12e33c31b166018edea86d714
4
+ data.tar.gz: 57ef32a54ff735afd93e25836b44773a8d79ad922fc3837437cb10beead43e1f
5
5
  SHA512:
6
- metadata.gz: 289c619761c851ed228bbefb81613a14d42e789d725bf4d95cb0f1c71ad621e09b36457ced6f85ec4296c84798da3e9f23ea066a64bc7bb4ebc32fe32fcb26dc
7
- data.tar.gz: b2993f4ddc34601ab776d37223c2047870167bae34a5621ef6c06255a21019a5a9a4c0a5c376b32ff28480eddb1412bd5d8e4c761c43bfd2ddca74a2e54bf0c4
6
+ metadata.gz: 043ab0237d908959e98ebf371d36fc643c85d3df4fc46c213b2f8ff6e8ed1118b373c27b80685e4f4c486667d27b73476d44368aacec9e2a186ae24e0e9d8dcc
7
+ data.tar.gz: 52baa3e42b3d65999024f89949152f2f98cf6049635aa37afc204ace50e8dbe75b7e40bcbf467c87309c487d50f1b1bf6e9e4849caa611fe290c218adee66685
@@ -1,14 +1,14 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- xml_data_extractor (0.2.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.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.0)
42
+ zeitwerk (2.4.1)
43
43
 
44
44
  PLATFORMS
45
45
  ruby
@@ -62,7 +62,7 @@ class NodeExtractor
62
62
  private
63
63
 
64
64
  def remove_special_elements(xml)
65
- CGI.unescapeHTML(xml).gsub(/<br>|&nbsp;/, { "<br>" => "", "&nbsp;" => " " })
65
+ CGI.unescapeHTML(xml).gsub(/<br>|<\/br>|&nbsp;/, { "&nbsp;" => " ", "<br>" => "", "</br>" => "" })
66
66
  end
67
67
 
68
68
  attr_reader :xml
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "xml_data_extractor"
3
- spec.version = "0.2.0"
3
+ spec.version = "0.3.0"
4
4
  spec.authors = ["Fernando Almeida"]
5
5
  spec.email = ["fernandoprsbr@gmail.com"]
6
6
 
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.2.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-09-24 00:00:00.000000000 Z
11
+ date: 2020-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri