google-local-results-ai-parser 0.2.0 → 0.2.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: e1ab4d4df39b5d9e1db9dd66a3b0bb0b8af84cbfd594335f483edbba2666ea41
4
- data.tar.gz: e65ef8e16cea5a4afe63fb8fd9c7a84e9065071789b6ddff8caa69bbe492e29b
3
+ metadata.gz: 32115a821e2e34cb64ab9e0b28e7c5be3a5b0de03006617c429e094bddd3e38d
4
+ data.tar.gz: c298704a904a2867528bf4ff9827bf50fdbde288fcffd5d8076447d1817e400e
5
5
  SHA512:
6
- metadata.gz: d639c5bb2f4b3205d71b75d68e7551a3e890b8b0987fee8610a9500cfdc274b7ca6b2d323c1daaa5f10c115355498df14b89fd698526aee670b415e4756f5e74
7
- data.tar.gz: b5284c3d2598b8ed9ee576a2451e409f0ce0158b4df889b25f2379dae9868c8da6124889d3faf29fb24e2478abd5e45f6cfd9ceee9fa1ed692aa61780205c7fe
6
+ metadata.gz: '0782715755059bf87928160366f3bb6168f1b12fab37f9e66cee5cf46a22406d2a05d6fd19e7e17f3f0f0c8925a5cfcdead320f009ed4b58b7f7aff8829ef896'
7
+ data.tar.gz: c0b8d099c542dcc5e64219594db5f2fa3f9f634835e0f6c2b18818b067d341bee8666045afc9f4c2da889ee86637949d7572f3bd03493395f47d1f5e2de1d023
@@ -63,7 +63,7 @@ module GoogleLocalResultsAiParser
63
63
 
64
64
  if final_results[label]
65
65
  # Combine the text for same elements
66
- final_results[label] = unsplit_text[/#{final_results[label]}.+#{value}/]
66
+ final_results[label] = unsplit_text[/#{final_results[label]}[.|\n]+#{value}/]
67
67
  else
68
68
  # Directly assign values
69
69
  final_results[label] = value
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-local-results-ai-parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emirhan Akdeniz