smartystreets_ruby_sdk 5.11.2 → 5.12.0

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: 8cab0fb9db3564b7caedea4931eafe8e57a5ada51972384880bc1a4a039a7ab7
4
- data.tar.gz: 41de034cf22edcc134ff1b03bbef740235d78703e873e3c195cdcb4df890b5af
3
+ metadata.gz: da99735aec7ae0ebd2254ce761a20249da0624bf0bf532b4e27e131a52b88096
4
+ data.tar.gz: 04ccfdc4e56bec3816863d02527895410697cbfc0a7828b98ff9bd716dee5ffb
5
5
  SHA512:
6
- metadata.gz: 68c005e8b8998c1fb75360740c749a5b55062aeb6ba7d32820e4da91794b0d2dece81c04f6021e2a9f4802b0f2ed9c9dfdf4111157ed973971352b656da1a261
7
- data.tar.gz: 9d38f269c9203f7d5845ee1c04454ed5cf89ef846b4a07a189fcd74a229b9eb4e7b5df25355dfb4783ee0d09d1701b27ba7b31d864c45a6e5230af7063a12505
6
+ metadata.gz: bf1b020b085b484eb6278e497c20511282edb8c75fc9251e77723256a7920d58b464213f28e40947dcdec6c9599203f37f1d9a3dca9d471e9e3ff993bd8de104
7
+ data.tar.gz: e2cdab76c3838bc7d85c712218e4111c4f528d9133a933a688a2623865be162051f03c23d2f66d9e44ec5e13bdc18fbe64c1d642ca11d15b544389cf6b222ca0
@@ -36,7 +36,7 @@ class USStreetMultipleAddressExample
36
36
  batch[0].lastline = 'Mountain view, California'
37
37
  batch[0].zipcode = '21229'
38
38
  batch[0].candidates = 3
39
- batch[0].match = 'invalid'.freeze # "invalid" is the most permissive match,
39
+ batch[0].match = Lookup.INVALID # "invalid" is the most permissive match,
40
40
  # this will always return at least one result even if the address is invalid.
41
41
  # Refer to the documentation for additional Match Strategy options.
42
42
 
@@ -34,7 +34,7 @@ class USStreetSingleAddressExample
34
34
  lookup.state = 'CA'
35
35
  lookup.zipcode = '21229'
36
36
  lookup.candidates = 3
37
- lookup.match = 'invalid'.freeze # "invalid" is the most permissive match,
37
+ lookup.match = Lookup.INVALID # "invalid" is the most permissive match,
38
38
  # this will always return at least one result even if the address is invalid.
39
39
  # Refer to the documentation for additional Match Strategy options.
40
40
 
@@ -2,8 +2,9 @@ module SmartyStreets
2
2
  module USStreet
3
3
  module MatchType
4
4
  STRICT = 'strict'.freeze
5
- RANGE = 'range'.freeze
5
+ RANGE = 'range'.freeze # Deprecated
6
6
  INVALID = 'invalid'.freeze
7
+ ENHANCED = 'enhanced'.freeze
7
8
  end
8
9
  end
9
10
  end
@@ -1,3 +1,3 @@
1
1
  module SmartyStreets
2
- VERSION = '5.11.2' # DO NOT EDIT (this is updated by a build job when a new release is published)
2
+ VERSION = '5.12.0' # 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.11.2
4
+ version: 5.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - SmartyStreets SDK Team
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-07-06 00:00:00.000000000 Z
11
+ date: 2021-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -72,7 +72,7 @@ dependencies:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
74
  version: 0.12.0
75
- description:
75
+ description:
76
76
  email:
77
77
  - support@smartystreets.com
78
78
  executables: []
@@ -175,7 +175,7 @@ homepage: https://github.com/smartystreets/smartystreets-ruby-sdk
175
175
  licenses:
176
176
  - Apache-2.0
177
177
  metadata: {}
178
- post_install_message:
178
+ post_install_message:
179
179
  rdoc_options: []
180
180
  require_paths:
181
181
  - lib
@@ -190,8 +190,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
190
190
  - !ruby/object:Gem::Version
191
191
  version: '0'
192
192
  requirements: []
193
- rubygems_version: 3.1.2
194
- signing_key:
193
+ rubygems_version: 3.2.22
194
+ signing_key:
195
195
  specification_version: 4
196
196
  summary: An official library for the SmartyStreets APIs
197
197
  test_files: []