smartystreets_ruby_sdk 5.14.6 → 5.14.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: 873e951c272fbdf965b4b20c4148b8412c20a212bd543d76deb3cabac1afe592
4
- data.tar.gz: 3173a1541ab695d9e879f5243f1965da4fbab48390c2e7a301deb2e58a7a1ab7
3
+ metadata.gz: 2a2233d175a8883620b5b47d89b01bdd94421e715575d3c24c9f8609c8c0655d
4
+ data.tar.gz: 21553a76e7432999f6e3acdb2c2ab18af972206a9efda2645a210f4dbb6721c4
5
5
  SHA512:
6
- metadata.gz: 3171793a696794132d862db26c41371746d6993d7642afde67bd2abedecfa179fd06f8b1641c629b69ddaa1fa2cc797df4615c7164c0e7bdcf68af1292d7ff81
7
- data.tar.gz: d7532f754ef0efd9aebf64a541ae8f77ea2962682dbca0221a0d9021fc398a54f01406e921fc4a8ac32e5a9e2f2a5d1eaff062207ebb4e7c5e5553cfd230f2f4
6
+ metadata.gz: fc46e6fdf3c8b3460bb5ef96d117f436bb1a9f14c5a95fcacde330c68cc938e55799e640b093476912793457ba302ab7a380fcbba99c748521686aaa1758dd45
7
+ data.tar.gz: '0349cd5baf5fab5b50468f42d2600dc282787c583b1a9151325ac3388bddbc68bbf7c2bc68a9524f787293f0751234975719ae6e0013cfc4777ba0fc114a70d7'
@@ -47,7 +47,7 @@ module SmartyStreets
47
47
  converted_obj = []
48
48
  obj.each do |lookup|
49
49
  converted_lookup = {}
50
- lookup.candidates = 5 if lookup.match == "enhanced" && lookup.candidates == 1
50
+ lookup.candidates = 5 if lookup.match == "enhanced" && lookup.candidates == 0
51
51
 
52
52
  converted_lookup['input_id'] = lookup.input_id
53
53
  converted_lookup['street'] = lookup.street
@@ -12,7 +12,7 @@ module SmartyStreets
12
12
  :match, :candidates, :result
13
13
 
14
14
  def initialize(street=nil, street2=nil, secondary=nil, city=nil, state=nil, zipcode=nil, lastline=nil,
15
- addressee=nil, urbanization=nil, match=nil, candidates=1, input_id=nil)
15
+ addressee=nil, urbanization=nil, match=nil, candidates=0, input_id=nil)
16
16
  @input_id = input_id
17
17
  @street = street
18
18
  @street2 = street2
@@ -1,3 +1,3 @@
1
1
  module SmartyStreets
2
- VERSION = '5.14.6' # DO NOT EDIT (this is updated by a build job when a new release is published)
2
+ VERSION = '5.14.7' # 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.6
4
+ version: 5.14.7
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: 2022-03-02 00:00:00.000000000 Z
11
+ date: 2022-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler