google-local-results-ai-parser 0.2.0 → 0.2.2

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: 78ecf24cc717254a2d3b597868e582f715fc86c7ca160aadbdef5183a3cdb9e7
4
+ data.tar.gz: '09818139bdc702f86693ff1b48519b6ecbc1d4a5264d9969faf315a04fa901f2'
5
5
  SHA512:
6
- metadata.gz: d639c5bb2f4b3205d71b75d68e7551a3e890b8b0987fee8610a9500cfdc274b7ca6b2d323c1daaa5f10c115355498df14b89fd698526aee670b415e4756f5e74
7
- data.tar.gz: b5284c3d2598b8ed9ee576a2451e409f0ce0158b4df889b25f2379dae9868c8da6124889d3faf29fb24e2478abd5e45f6cfd9ceee9fa1ed692aa61780205c7fe
6
+ metadata.gz: e69e9916971731c5461b3060c558b84e5373a411197b7cd90252601f9ce35d8b07ab9854a5d8663ea6b9f70c21d94f4aa37e182e0956e320e44c687c36ef06e9
7
+ data.tar.gz: 1e34f84316101ba580189b4b783f42a20c814f3ae1b2e4337a7f46373c842de492bde9f54448e86f02432327309649d0a38d973129ac946bbe3bc39b193f3f4c
@@ -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.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emirhan Akdeniz