smartystreets_ruby_sdk 5.14.1 → 5.14.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aefe9318703359025edd36047f85f2ca4b4cac6cc351d68d3b772127c3db03fe
4
- data.tar.gz: 6e0597de1693cd0be97f48aada11d80785be33fff98c80058ced49587d507897
3
+ metadata.gz: 9d02af89c4f23a2ee8609900f75bd708036b0a5bccaa34e51d0d3100cc2df8b5
4
+ data.tar.gz: 9fb18a334690fe5fc8420c1a1dcc30374a7162603469201a8c7abae01259b220
5
5
  SHA512:
6
- metadata.gz: 7371b0facaaa599ea1e9e83e508c01cf59fb589a1bf5fcd6065eeb1f1d310a5c695dc781e4240333e793d13846e77a6fff21f9133534561215ea02f678a99f10
7
- data.tar.gz: a799d6de4296866e6c67b6ea03456049e39f487baea137ffd235434590fec7c1a37788535ad5008c73effa7ff888a0bfb5d2d65f4fd5bc653e2a50916b333cf0
6
+ metadata.gz: a424c5a78886aaab175634774bd8abfc33ddd673d909eade4f1159a75ceebaaa3b3001a8dd46ec8fa388736a02891fa4e5e396a3faa1d69e7f8de7941e075bca
7
+ data.tar.gz: 5396e88defd12c5899346cee54de6f663f40575460e51765e0fbda1a05f8a9c6ed8cd5f68c9040b074576bb3b5f550fe2154b8bb3f95c0ff39ba9c51c37357b4
@@ -24,10 +24,11 @@ class USAutocompleteProExample
24
24
  # Documentation for input fields can be found at:
25
25
  # https://smartystreets.com/docs/cloud/us-autocomplete-api
26
26
 
27
- lookup = Lookup.new('4770 Lincoln Ave O')
28
- lookup.max_results = 10
29
- lookup.add_city_filter('Ogden')
30
- lookup.add_state_filter('IL')
27
+ lookup = Lookup.new('1042 W Center')
28
+ lookup.add_state_filter('CO')
29
+ lookup.add_state_filter('UT')
30
+ lookup.add_city_filter('Denver')
31
+ lookup.add_city_filter('Orem')
31
32
  lookup.max_results = 5
32
33
  lookup.prefer_ratio = 3
33
34
  lookup.source = "all"
@@ -55,7 +55,7 @@ module SmartyStreets
55
55
  end
56
56
 
57
57
  def build_filter_string(filter_list)
58
- filter_list ? filter_list.join(',') : nil
58
+ filter_list ? filter_list.join(';') : nil
59
59
  end
60
60
 
61
61
  def convert_suggestions(suggestion_hashes)
@@ -1,3 +1,3 @@
1
1
  module SmartyStreets
2
- VERSION = '5.14.1' # DO NOT EDIT (this is updated by a build job when a new release is published)
2
+ VERSION = '5.14.3' # DO NOT EDIT (this is updated by a build job when a new release is published)
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smartystreets_ruby_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.14.1
4
+ version: 5.14.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - SmartyStreets SDK Team
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-10-28 00:00:00.000000000 Z
11
+ date: 2021-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler