google-local-results-ai-parser 0.1.6 → 0.1.7

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: b1d9420283a21ee83c026e452292a42ded13528261d395e8cadc4d8aa2cc1e6f
4
- data.tar.gz: b1a7ed2399121ab91dfb219af73b245ebc0a0a0ca6e6e3b75de27541c4224572
3
+ metadata.gz: a0046662dab725d061630a6391db2450e0306e0bccdf44a8a28681014dd0739b
4
+ data.tar.gz: 24b20b65d3eeef9f4d40fd227306a48428312e7e4af8fc9e366cab584e828bc9
5
5
  SHA512:
6
- metadata.gz: 1b7dbed7555e7a80c9191b404766a2b5ed758b49a0cb3f867eab3f608b611155c3f6203c483428e2d616adf76b634446393d248fe2b78970ae1d3196751f9f55
7
- data.tar.gz: 9f5528a15881f0798de4d62084ec263debed89d6a42b8b95481e371daba9fc82171af5c2c4bfa15aa0abacaec953d25b1db1251e4bcc2386df6992f5da1a3309
6
+ metadata.gz: 2ad1fc7d80ddc04a8a46337ba3ca681a2cf4630b743807b78774be7f0d83266018fd1cd283123cc3ef52e5b7fb92722db0881f6fbf89fe1ee060964d3b74a827
7
+ data.tar.gz: cba8c079367c3a5d52c1b27c26ca524774ef04aa5643a08876b26b5cd05d01b8e4fede63a32b4ededc26e317235335827d1421a68f6a57dece45d4d8bc0a859c
@@ -441,7 +441,7 @@ module GoogleLocalResultsAiParser
441
441
  # On-site services, Online appointments
442
442
  # Fixes `On-site services`, `Online appointments`
443
443
  def service_options_as_description_or_type_confusion(results, label_order, duplicates)
444
- known_errors = ["On-site services", "On-site services not available", "Online appointments", "Online appointments not available"]
444
+ known_errors = ["On-site services", "On-site services not available", "Onsite services", "Onsite services not available", "Online appointments", "Online appointments not available"]
445
445
  caught_results_indices = results.map.with_index {|result, index| index if known_errors.include?(result[:input])}.compact
446
446
  return results, label_order, duplicates if caught_results_indices == []
447
447
 
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.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emirhan Akdeniz