smartystreets_ruby_sdk 0.0.0
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 +7 -0
- data/.github/workflows/gem-publish.yml +58 -0
- data/.gitignore +4 -0
- data/CHANGELOG.md +5 -0
- data/Dockerfile +10 -0
- data/Gemfile +4 -0
- data/LICENSE.md +202 -0
- data/Makefile +33 -0
- data/README.md +31 -0
- data/Rakefile +5 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/docker-compose.yml +12 -0
- data/examples/international_autocomplete_example.rb +47 -0
- data/examples/international_example.rb +53 -0
- data/examples/us_autocomplete_pro_example.rb +56 -0
- data/examples/us_extract_example.rb +63 -0
- data/examples/us_reverse_geo_example.rb +47 -0
- data/examples/us_street_multiple_address_example.rb +87 -0
- data/examples/us_street_single_address_example.rb +67 -0
- data/examples/us_zipcode_multiple_lookup_example.rb +80 -0
- data/examples/us_zipcode_single_lookup_example.rb +55 -0
- data/lib/smartystreets_ruby_sdk/batch.rb +59 -0
- data/lib/smartystreets_ruby_sdk/client_builder.rb +188 -0
- data/lib/smartystreets_ruby_sdk/custom_header_sender.rb +13 -0
- data/lib/smartystreets_ruby_sdk/errors.rb +27 -0
- data/lib/smartystreets_ruby_sdk/exceptions.rb +39 -0
- data/lib/smartystreets_ruby_sdk/international_autocomplete/client.rb +61 -0
- data/lib/smartystreets_ruby_sdk/international_autocomplete/lookup.rb +21 -0
- data/lib/smartystreets_ruby_sdk/international_autocomplete/suggestion.rb +16 -0
- data/lib/smartystreets_ruby_sdk/international_street/analysis.rb +17 -0
- data/lib/smartystreets_ruby_sdk/international_street/candidate.rb +23 -0
- data/lib/smartystreets_ruby_sdk/international_street/changes.rb +15 -0
- data/lib/smartystreets_ruby_sdk/international_street/client.rb +63 -0
- data/lib/smartystreets_ruby_sdk/international_street/components.rb +58 -0
- data/lib/smartystreets_ruby_sdk/international_street/language_mode.rb +9 -0
- data/lib/smartystreets_ruby_sdk/international_street/lookup.rb +82 -0
- data/lib/smartystreets_ruby_sdk/international_street/metadata.rb +17 -0
- data/lib/smartystreets_ruby_sdk/international_street/rootlevel.rb +25 -0
- data/lib/smartystreets_ruby_sdk/international_street.rb +12 -0
- data/lib/smartystreets_ruby_sdk/json_able.rb +19 -0
- data/lib/smartystreets_ruby_sdk/license_sender.rb +15 -0
- data/lib/smartystreets_ruby_sdk/logger.rb +7 -0
- data/lib/smartystreets_ruby_sdk/native_sender.rb +85 -0
- data/lib/smartystreets_ruby_sdk/native_serializer.rb +13 -0
- data/lib/smartystreets_ruby_sdk/proxy.rb +16 -0
- data/lib/smartystreets_ruby_sdk/request.rb +14 -0
- data/lib/smartystreets_ruby_sdk/response.rb +11 -0
- data/lib/smartystreets_ruby_sdk/retry_sender.rb +39 -0
- data/lib/smartystreets_ruby_sdk/shared_credentials.rb +13 -0
- data/lib/smartystreets_ruby_sdk/signing_sender.rb +13 -0
- data/lib/smartystreets_ruby_sdk/sleeper.rb +7 -0
- data/lib/smartystreets_ruby_sdk/static_credentials.rb +13 -0
- data/lib/smartystreets_ruby_sdk/status_code_sender.rb +41 -0
- data/lib/smartystreets_ruby_sdk/url_prefix_sender.rb +14 -0
- data/lib/smartystreets_ruby_sdk/us_autocomplete/client.rb +72 -0
- data/lib/smartystreets_ruby_sdk/us_autocomplete/geolocation_type.rb +9 -0
- data/lib/smartystreets_ruby_sdk/us_autocomplete/lookup.rb +38 -0
- data/lib/smartystreets_ruby_sdk/us_autocomplete/suggestion.rb +16 -0
- data/lib/smartystreets_ruby_sdk/us_autocomplete.rb +9 -0
- data/lib/smartystreets_ruby_sdk/us_autocomplete_pro/client.rb +78 -0
- data/lib/smartystreets_ruby_sdk/us_autocomplete_pro/geolocation_type.rb +8 -0
- data/lib/smartystreets_ruby_sdk/us_autocomplete_pro/lookup.rb +63 -0
- data/lib/smartystreets_ruby_sdk/us_autocomplete_pro/suggestion.rb +18 -0
- data/lib/smartystreets_ruby_sdk/us_autocomplete_pro.rb +10 -0
- data/lib/smartystreets_ruby_sdk/us_extract/address.rb +24 -0
- data/lib/smartystreets_ruby_sdk/us_extract/client.rb +49 -0
- data/lib/smartystreets_ruby_sdk/us_extract/lookup.rb +22 -0
- data/lib/smartystreets_ruby_sdk/us_extract/metadata.rb +17 -0
- data/lib/smartystreets_ruby_sdk/us_extract/result.rb +21 -0
- data/lib/smartystreets_ruby_sdk/us_extract.rb +10 -0
- data/lib/smartystreets_ruby_sdk/us_reverse_geo/address.rb +16 -0
- data/lib/smartystreets_ruby_sdk/us_reverse_geo/client.rb +38 -0
- data/lib/smartystreets_ruby_sdk/us_reverse_geo/coordinate.rb +25 -0
- data/lib/smartystreets_ruby_sdk/us_reverse_geo/lookup.rb +21 -0
- data/lib/smartystreets_ruby_sdk/us_reverse_geo/result.rb +20 -0
- data/lib/smartystreets_ruby_sdk/us_reverse_geo/us_reverse_geo_response.rb +17 -0
- data/lib/smartystreets_ruby_sdk/us_reverse_geo.rb +12 -0
- data/lib/smartystreets_ruby_sdk/us_street/analysis.rb +24 -0
- data/lib/smartystreets_ruby_sdk/us_street/candidate.rb +27 -0
- data/lib/smartystreets_ruby_sdk/us_street/client.rb +78 -0
- data/lib/smartystreets_ruby_sdk/us_street/components.rb +35 -0
- data/lib/smartystreets_ruby_sdk/us_street/lookup.rb +32 -0
- data/lib/smartystreets_ruby_sdk/us_street/match_type.rb +10 -0
- data/lib/smartystreets_ruby_sdk/us_street/metadata.rb +30 -0
- data/lib/smartystreets_ruby_sdk/us_street.rb +12 -0
- data/lib/smartystreets_ruby_sdk/us_zipcode/alternate_county.rb +15 -0
- data/lib/smartystreets_ruby_sdk/us_zipcode/city.rb +16 -0
- data/lib/smartystreets_ruby_sdk/us_zipcode/client.rb +72 -0
- data/lib/smartystreets_ruby_sdk/us_zipcode/lookup.rb +21 -0
- data/lib/smartystreets_ruby_sdk/us_zipcode/result.rb +47 -0
- data/lib/smartystreets_ruby_sdk/us_zipcode/zip_code.rb +33 -0
- data/lib/smartystreets_ruby_sdk/us_zipcode.rb +11 -0
- data/lib/smartystreets_ruby_sdk/version.rb +3 -0
- data/lib/smartystreets_ruby_sdk.rb +33 -0
- data/ruby-sdk-demo.json +354 -0
- data/smartystreets_ruby_sdk.gemspec +26 -0
- metadata +201 -0
data/ruby-sdk-demo.json
ADDED
@@ -0,0 +1,354 @@
|
|
1
|
+
{
|
2
|
+
"version": 1,
|
3
|
+
"width": 100,
|
4
|
+
"height": 45,
|
5
|
+
"duration": 21.834346,
|
6
|
+
"command": null,
|
7
|
+
"title": null,
|
8
|
+
"env": {
|
9
|
+
"TERM": "xterm-256color",
|
10
|
+
"SHELL": "/bin/bash"
|
11
|
+
},
|
12
|
+
"stdout": [
|
13
|
+
[
|
14
|
+
0.00095,
|
15
|
+
"\u001b[?1034hbash-3.2$ "
|
16
|
+
],
|
17
|
+
[
|
18
|
+
1.0,
|
19
|
+
"g"
|
20
|
+
],
|
21
|
+
[
|
22
|
+
0.14488,
|
23
|
+
"e"
|
24
|
+
],
|
25
|
+
[
|
26
|
+
0.175927,
|
27
|
+
"m"
|
28
|
+
],
|
29
|
+
[
|
30
|
+
0.128232,
|
31
|
+
" "
|
32
|
+
],
|
33
|
+
[
|
34
|
+
0.135528,
|
35
|
+
"i"
|
36
|
+
],
|
37
|
+
[
|
38
|
+
0.11217,
|
39
|
+
"n"
|
40
|
+
],
|
41
|
+
[
|
42
|
+
0.375507,
|
43
|
+
"s"
|
44
|
+
],
|
45
|
+
[
|
46
|
+
0.135337,
|
47
|
+
"t"
|
48
|
+
],
|
49
|
+
[
|
50
|
+
0.121159,
|
51
|
+
"a"
|
52
|
+
],
|
53
|
+
[
|
54
|
+
0.183897,
|
55
|
+
"l"
|
56
|
+
],
|
57
|
+
[
|
58
|
+
0.14409,
|
59
|
+
"l"
|
60
|
+
],
|
61
|
+
[
|
62
|
+
0.393336,
|
63
|
+
" "
|
64
|
+
],
|
65
|
+
[
|
66
|
+
0.50259,
|
67
|
+
"s"
|
68
|
+
],
|
69
|
+
[
|
70
|
+
0.128145,
|
71
|
+
"m"
|
72
|
+
],
|
73
|
+
[
|
74
|
+
0.135902,
|
75
|
+
"a"
|
76
|
+
],
|
77
|
+
[
|
78
|
+
0.159904,
|
79
|
+
"r"
|
80
|
+
],
|
81
|
+
[
|
82
|
+
0.207946,
|
83
|
+
"t"
|
84
|
+
],
|
85
|
+
[
|
86
|
+
0.199214,
|
87
|
+
"y"
|
88
|
+
],
|
89
|
+
[
|
90
|
+
0.160182,
|
91
|
+
"s"
|
92
|
+
],
|
93
|
+
[
|
94
|
+
0.184664,
|
95
|
+
"t"
|
96
|
+
],
|
97
|
+
[
|
98
|
+
0.071914,
|
99
|
+
"r"
|
100
|
+
],
|
101
|
+
[
|
102
|
+
0.24962,
|
103
|
+
"e"
|
104
|
+
],
|
105
|
+
[
|
106
|
+
0.150388,
|
107
|
+
"e"
|
108
|
+
],
|
109
|
+
[
|
110
|
+
0.103991,
|
111
|
+
"t"
|
112
|
+
],
|
113
|
+
[
|
114
|
+
0.367511,
|
115
|
+
"s"
|
116
|
+
],
|
117
|
+
[
|
118
|
+
0.608296,
|
119
|
+
"_"
|
120
|
+
],
|
121
|
+
[
|
122
|
+
0.31945,
|
123
|
+
"r"
|
124
|
+
],
|
125
|
+
[
|
126
|
+
0.2168,
|
127
|
+
"u"
|
128
|
+
],
|
129
|
+
[
|
130
|
+
0.367931,
|
131
|
+
"b"
|
132
|
+
],
|
133
|
+
[
|
134
|
+
0.303857,
|
135
|
+
"y"
|
136
|
+
],
|
137
|
+
[
|
138
|
+
0.720391,
|
139
|
+
"_"
|
140
|
+
],
|
141
|
+
[
|
142
|
+
0.575703,
|
143
|
+
"s"
|
144
|
+
],
|
145
|
+
[
|
146
|
+
0.111963,
|
147
|
+
"d"
|
148
|
+
],
|
149
|
+
[
|
150
|
+
0.799985,
|
151
|
+
"k"
|
152
|
+
],
|
153
|
+
[
|
154
|
+
0.935086,
|
155
|
+
"\r\n"
|
156
|
+
],
|
157
|
+
[
|
158
|
+
0.497465,
|
159
|
+
"Fetching: smartystreets_ruby_sdk-4.0.0.gem"
|
160
|
+
],
|
161
|
+
[
|
162
|
+
4.7e-05,
|
163
|
+
"\rFetching: smartystreets_ruby_sdk-4.0.0.gem ( 8%)"
|
164
|
+
],
|
165
|
+
[
|
166
|
+
0.000132,
|
167
|
+
"\rFetching: smartystreets_ruby_sdk-4.0.0.gem ( 19%)"
|
168
|
+
],
|
169
|
+
[
|
170
|
+
0.000123,
|
171
|
+
"\rFetching: smartystreets_ruby_sdk-4.0.0.gem ( 29%)"
|
172
|
+
],
|
173
|
+
[
|
174
|
+
0.000941,
|
175
|
+
"\rFetching: smartystreets_ruby_sdk-4.0.0.gem ( 40%)"
|
176
|
+
],
|
177
|
+
[
|
178
|
+
0.002169,
|
179
|
+
"\rFetching: smartystreets_ruby_sdk-4.0.0.gem ( 51%)"
|
180
|
+
],
|
181
|
+
[
|
182
|
+
0.014076,
|
183
|
+
"\rFetching: smartystreets_ruby_sdk-4.0.0.gem ( 61%)"
|
184
|
+
],
|
185
|
+
[
|
186
|
+
0.000382,
|
187
|
+
"\rFetching: smartystreets_ruby_sdk-4.0.0.gem ( 72%)"
|
188
|
+
],
|
189
|
+
[
|
190
|
+
0.001468,
|
191
|
+
"\rFetching: smartystreets_ruby_sdk-4.0.0.gem ( 83%)"
|
192
|
+
],
|
193
|
+
[
|
194
|
+
0.001077,
|
195
|
+
"\rFetching: smartystreets_ruby_sdk-4.0.0.gem ( 93%)"
|
196
|
+
],
|
197
|
+
[
|
198
|
+
0.000778,
|
199
|
+
"\rFetching: smartystreets_ruby_sdk-4.0.0.gem (100%)\rFetching: smartystreets_ruby_sdk-4.0.0.gem (100%)\r\n"
|
200
|
+
],
|
201
|
+
[
|
202
|
+
0.03245,
|
203
|
+
"Successfully installed smartystreets_ruby_sdk-4.0.0\r\n"
|
204
|
+
],
|
205
|
+
[
|
206
|
+
0.092602,
|
207
|
+
"Parsing documentation for smartystreets_ruby_sdk-4.0.0\r\n"
|
208
|
+
],
|
209
|
+
[
|
210
|
+
0.233087,
|
211
|
+
"Installing ri documentation for smartystreets_ruby_sdk-4.0.0\r\n"
|
212
|
+
],
|
213
|
+
[
|
214
|
+
0.091585,
|
215
|
+
"Done installing documentation for smartystreets_ruby_sdk after 0 seconds\r\n1 gem installed\r\n"
|
216
|
+
],
|
217
|
+
[
|
218
|
+
0.015211,
|
219
|
+
"bash-3.2$ "
|
220
|
+
],
|
221
|
+
[
|
222
|
+
1.0,
|
223
|
+
"\r\n"
|
224
|
+
],
|
225
|
+
[
|
226
|
+
7e-05,
|
227
|
+
"bash-3.2$ "
|
228
|
+
],
|
229
|
+
[
|
230
|
+
0.15999,
|
231
|
+
"\r\n"
|
232
|
+
],
|
233
|
+
[
|
234
|
+
0.000102,
|
235
|
+
"bash-3.2$ "
|
236
|
+
],
|
237
|
+
[
|
238
|
+
1.0,
|
239
|
+
"c"
|
240
|
+
],
|
241
|
+
[
|
242
|
+
0.08051,
|
243
|
+
"a"
|
244
|
+
],
|
245
|
+
[
|
246
|
+
0.191263,
|
247
|
+
"t"
|
248
|
+
],
|
249
|
+
[
|
250
|
+
0.200297,
|
251
|
+
" "
|
252
|
+
],
|
253
|
+
[
|
254
|
+
0.159047,
|
255
|
+
"e"
|
256
|
+
],
|
257
|
+
[
|
258
|
+
0.744749,
|
259
|
+
"x"
|
260
|
+
],
|
261
|
+
[
|
262
|
+
0.287948,
|
263
|
+
"a"
|
264
|
+
],
|
265
|
+
[
|
266
|
+
0.167355,
|
267
|
+
"m"
|
268
|
+
],
|
269
|
+
[
|
270
|
+
0.247893,
|
271
|
+
"ple.rb "
|
272
|
+
],
|
273
|
+
[
|
274
|
+
0.871485,
|
275
|
+
"\r\n"
|
276
|
+
],
|
277
|
+
[
|
278
|
+
0.002848,
|
279
|
+
"require 'smartystreets_ruby_sdk/client_builder'\r\nrequire 'smartystreets_ruby_sdk/static_credentials'\r\nrequire 'smartystreets_ruby_sdk/us_street'\r\n\r\n\r\nclass Example\r\n def run\r\n # This keypair will have been deleted by the time you are watching this video... \r\n auth_id = 'f2ad739f-1f49-c201-b770-4625c7f84fe4'\r\n auth_token = '4RK9lhEJ66Xt6ucDzbrU'\r\n credentials = SmartyStreets::StaticCredentials.new(auth_id, auth_token)\r\n\r\n puts 'Step 0. Wire up the client with your keypair.'\r\n client = SmartyStreets::ClientBuilder.new(credentials).build_us_street_api_client\r\n\r\n puts 'Step 1. Make a lookup. (BTW, you can also send entire batches of lookups...)'\r\n lookup = SmartyStreets::USStreet::Lookup.new\r\n lookup.street = '1 Rosedale'\r\n lookup.lastline = 'Baltimore MD'\r\n lookup.candidates = 10\r\n\r\n puts 'Step 2. Send the lookup.'\r\n client.send_lookup(lookup)\r\n\r\n puts 'Step 3. Show the resulting candidate addresses:'\r\n lookup.result.each_with_index do |candidate, c|\r\n puts \"- #"
|
280
|
+
],
|
281
|
+
[
|
282
|
+
3.1e-05,
|
283
|
+
"{c}: #{candidate.delivery_line_1}, #{candidate.last_line}\\n\"\r\n end\r\n end\r\nend\r\n\r\nExample.new.run"
|
284
|
+
],
|
285
|
+
[
|
286
|
+
0.000304,
|
287
|
+
"bash-3.2$ "
|
288
|
+
],
|
289
|
+
[
|
290
|
+
1.0,
|
291
|
+
"\r\n"
|
292
|
+
],
|
293
|
+
[
|
294
|
+
0.000115,
|
295
|
+
"bash-3.2$ "
|
296
|
+
],
|
297
|
+
[
|
298
|
+
0.167817,
|
299
|
+
"\r\n"
|
300
|
+
],
|
301
|
+
[
|
302
|
+
0.000102,
|
303
|
+
"bash-3.2$ "
|
304
|
+
],
|
305
|
+
[
|
306
|
+
1.0,
|
307
|
+
"r"
|
308
|
+
],
|
309
|
+
[
|
310
|
+
0.160298,
|
311
|
+
"u"
|
312
|
+
],
|
313
|
+
[
|
314
|
+
0.215638,
|
315
|
+
"b"
|
316
|
+
],
|
317
|
+
[
|
318
|
+
0.152017,
|
319
|
+
"y"
|
320
|
+
],
|
321
|
+
[
|
322
|
+
0.136009,
|
323
|
+
" "
|
324
|
+
],
|
325
|
+
[
|
326
|
+
0.231998,
|
327
|
+
"e"
|
328
|
+
],
|
329
|
+
[
|
330
|
+
0.399875,
|
331
|
+
"x"
|
332
|
+
],
|
333
|
+
[
|
334
|
+
0.279121,
|
335
|
+
"ample.rb "
|
336
|
+
],
|
337
|
+
[
|
338
|
+
1.0,
|
339
|
+
"\r\n"
|
340
|
+
],
|
341
|
+
[
|
342
|
+
0.075529,
|
343
|
+
"Step 0. Wire up the client with your keypair.\r\nStep 1. Make a lookup. (BTW, you can also send entire batches of lookups...)\r\nStep 2. Send the lookup.\r\n"
|
344
|
+
],
|
345
|
+
[
|
346
|
+
0.247698,
|
347
|
+
"Step 3. Show the resulting candidate addresses:\r\n- 0: 1 N Rosedale St, Baltimore MD 21229-3737\r\n- 1: 1 S Rosedale St, Baltimore MD 21229-3739\r\n"
|
348
|
+
],
|
349
|
+
[
|
350
|
+
0.00718,
|
351
|
+
"bash-3.2$ "
|
352
|
+
]
|
353
|
+
]
|
354
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'smartystreets_ruby_sdk/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = 'smartystreets_ruby_sdk'
|
8
|
+
spec.version = SmartyStreets::VERSION
|
9
|
+
spec.authors = ['SmartyStreets SDK Team']
|
10
|
+
spec.license = 'Apache-2.0'
|
11
|
+
spec.email = ['support@smartystreets.com']
|
12
|
+
spec.summary = 'An official library for the SmartyStreets APIs'
|
13
|
+
spec.homepage = 'https://github.com/smartystreets/smartystreets-ruby-sdk'
|
14
|
+
|
15
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
16
|
+
f.match(%r{^(test|spec|features)/})
|
17
|
+
end
|
18
|
+
spec.bindir = 'exe'
|
19
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
20
|
+
spec.require_paths = ['lib']
|
21
|
+
|
22
|
+
spec.add_development_dependency 'bundler', '~> 2.2.27'
|
23
|
+
spec.add_development_dependency 'rake', '~> 12.3.3'
|
24
|
+
spec.add_development_dependency 'minitest', '~> 5.8', '>= 5.8.3'
|
25
|
+
spec.add_development_dependency 'simplecov', '~> 0.12.0'
|
26
|
+
end
|
metadata
ADDED
@@ -0,0 +1,201 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: smartystreets_ruby_sdk
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- SmartyStreets SDK Team
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2022-08-09 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 2.2.27
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 2.2.27
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 12.3.3
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 12.3.3
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: minitest
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '5.8'
|
48
|
+
- - ">="
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: 5.8.3
|
51
|
+
type: :development
|
52
|
+
prerelease: false
|
53
|
+
version_requirements: !ruby/object:Gem::Requirement
|
54
|
+
requirements:
|
55
|
+
- - "~>"
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: '5.8'
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: 5.8.3
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: simplecov
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - "~>"
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: 0.12.0
|
68
|
+
type: :development
|
69
|
+
prerelease: false
|
70
|
+
version_requirements: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - "~>"
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: 0.12.0
|
75
|
+
description:
|
76
|
+
email:
|
77
|
+
- support@smartystreets.com
|
78
|
+
executables: []
|
79
|
+
extensions: []
|
80
|
+
extra_rdoc_files: []
|
81
|
+
files:
|
82
|
+
- ".github/workflows/gem-publish.yml"
|
83
|
+
- ".gitignore"
|
84
|
+
- CHANGELOG.md
|
85
|
+
- Dockerfile
|
86
|
+
- Gemfile
|
87
|
+
- LICENSE.md
|
88
|
+
- Makefile
|
89
|
+
- README.md
|
90
|
+
- Rakefile
|
91
|
+
- bin/console
|
92
|
+
- bin/setup
|
93
|
+
- docker-compose.yml
|
94
|
+
- examples/international_autocomplete_example.rb
|
95
|
+
- examples/international_example.rb
|
96
|
+
- examples/us_autocomplete_pro_example.rb
|
97
|
+
- examples/us_extract_example.rb
|
98
|
+
- examples/us_reverse_geo_example.rb
|
99
|
+
- examples/us_street_multiple_address_example.rb
|
100
|
+
- examples/us_street_single_address_example.rb
|
101
|
+
- examples/us_zipcode_multiple_lookup_example.rb
|
102
|
+
- examples/us_zipcode_single_lookup_example.rb
|
103
|
+
- lib/smartystreets_ruby_sdk.rb
|
104
|
+
- lib/smartystreets_ruby_sdk/batch.rb
|
105
|
+
- lib/smartystreets_ruby_sdk/client_builder.rb
|
106
|
+
- lib/smartystreets_ruby_sdk/custom_header_sender.rb
|
107
|
+
- lib/smartystreets_ruby_sdk/errors.rb
|
108
|
+
- lib/smartystreets_ruby_sdk/exceptions.rb
|
109
|
+
- lib/smartystreets_ruby_sdk/international_autocomplete/client.rb
|
110
|
+
- lib/smartystreets_ruby_sdk/international_autocomplete/lookup.rb
|
111
|
+
- lib/smartystreets_ruby_sdk/international_autocomplete/suggestion.rb
|
112
|
+
- lib/smartystreets_ruby_sdk/international_street.rb
|
113
|
+
- lib/smartystreets_ruby_sdk/international_street/analysis.rb
|
114
|
+
- lib/smartystreets_ruby_sdk/international_street/candidate.rb
|
115
|
+
- lib/smartystreets_ruby_sdk/international_street/changes.rb
|
116
|
+
- lib/smartystreets_ruby_sdk/international_street/client.rb
|
117
|
+
- lib/smartystreets_ruby_sdk/international_street/components.rb
|
118
|
+
- lib/smartystreets_ruby_sdk/international_street/language_mode.rb
|
119
|
+
- lib/smartystreets_ruby_sdk/international_street/lookup.rb
|
120
|
+
- lib/smartystreets_ruby_sdk/international_street/metadata.rb
|
121
|
+
- lib/smartystreets_ruby_sdk/international_street/rootlevel.rb
|
122
|
+
- lib/smartystreets_ruby_sdk/json_able.rb
|
123
|
+
- lib/smartystreets_ruby_sdk/license_sender.rb
|
124
|
+
- lib/smartystreets_ruby_sdk/logger.rb
|
125
|
+
- lib/smartystreets_ruby_sdk/native_sender.rb
|
126
|
+
- lib/smartystreets_ruby_sdk/native_serializer.rb
|
127
|
+
- lib/smartystreets_ruby_sdk/proxy.rb
|
128
|
+
- lib/smartystreets_ruby_sdk/request.rb
|
129
|
+
- lib/smartystreets_ruby_sdk/response.rb
|
130
|
+
- lib/smartystreets_ruby_sdk/retry_sender.rb
|
131
|
+
- lib/smartystreets_ruby_sdk/shared_credentials.rb
|
132
|
+
- lib/smartystreets_ruby_sdk/signing_sender.rb
|
133
|
+
- lib/smartystreets_ruby_sdk/sleeper.rb
|
134
|
+
- lib/smartystreets_ruby_sdk/static_credentials.rb
|
135
|
+
- lib/smartystreets_ruby_sdk/status_code_sender.rb
|
136
|
+
- lib/smartystreets_ruby_sdk/url_prefix_sender.rb
|
137
|
+
- lib/smartystreets_ruby_sdk/us_autocomplete.rb
|
138
|
+
- lib/smartystreets_ruby_sdk/us_autocomplete/client.rb
|
139
|
+
- lib/smartystreets_ruby_sdk/us_autocomplete/geolocation_type.rb
|
140
|
+
- lib/smartystreets_ruby_sdk/us_autocomplete/lookup.rb
|
141
|
+
- lib/smartystreets_ruby_sdk/us_autocomplete/suggestion.rb
|
142
|
+
- lib/smartystreets_ruby_sdk/us_autocomplete_pro.rb
|
143
|
+
- lib/smartystreets_ruby_sdk/us_autocomplete_pro/client.rb
|
144
|
+
- lib/smartystreets_ruby_sdk/us_autocomplete_pro/geolocation_type.rb
|
145
|
+
- lib/smartystreets_ruby_sdk/us_autocomplete_pro/lookup.rb
|
146
|
+
- lib/smartystreets_ruby_sdk/us_autocomplete_pro/suggestion.rb
|
147
|
+
- lib/smartystreets_ruby_sdk/us_extract.rb
|
148
|
+
- lib/smartystreets_ruby_sdk/us_extract/address.rb
|
149
|
+
- lib/smartystreets_ruby_sdk/us_extract/client.rb
|
150
|
+
- lib/smartystreets_ruby_sdk/us_extract/lookup.rb
|
151
|
+
- lib/smartystreets_ruby_sdk/us_extract/metadata.rb
|
152
|
+
- lib/smartystreets_ruby_sdk/us_extract/result.rb
|
153
|
+
- lib/smartystreets_ruby_sdk/us_reverse_geo.rb
|
154
|
+
- lib/smartystreets_ruby_sdk/us_reverse_geo/address.rb
|
155
|
+
- lib/smartystreets_ruby_sdk/us_reverse_geo/client.rb
|
156
|
+
- lib/smartystreets_ruby_sdk/us_reverse_geo/coordinate.rb
|
157
|
+
- lib/smartystreets_ruby_sdk/us_reverse_geo/lookup.rb
|
158
|
+
- lib/smartystreets_ruby_sdk/us_reverse_geo/result.rb
|
159
|
+
- lib/smartystreets_ruby_sdk/us_reverse_geo/us_reverse_geo_response.rb
|
160
|
+
- lib/smartystreets_ruby_sdk/us_street.rb
|
161
|
+
- lib/smartystreets_ruby_sdk/us_street/analysis.rb
|
162
|
+
- lib/smartystreets_ruby_sdk/us_street/candidate.rb
|
163
|
+
- lib/smartystreets_ruby_sdk/us_street/client.rb
|
164
|
+
- lib/smartystreets_ruby_sdk/us_street/components.rb
|
165
|
+
- lib/smartystreets_ruby_sdk/us_street/lookup.rb
|
166
|
+
- lib/smartystreets_ruby_sdk/us_street/match_type.rb
|
167
|
+
- lib/smartystreets_ruby_sdk/us_street/metadata.rb
|
168
|
+
- lib/smartystreets_ruby_sdk/us_zipcode.rb
|
169
|
+
- lib/smartystreets_ruby_sdk/us_zipcode/alternate_county.rb
|
170
|
+
- lib/smartystreets_ruby_sdk/us_zipcode/city.rb
|
171
|
+
- lib/smartystreets_ruby_sdk/us_zipcode/client.rb
|
172
|
+
- lib/smartystreets_ruby_sdk/us_zipcode/lookup.rb
|
173
|
+
- lib/smartystreets_ruby_sdk/us_zipcode/result.rb
|
174
|
+
- lib/smartystreets_ruby_sdk/us_zipcode/zip_code.rb
|
175
|
+
- lib/smartystreets_ruby_sdk/version.rb
|
176
|
+
- ruby-sdk-demo.json
|
177
|
+
- smartystreets_ruby_sdk.gemspec
|
178
|
+
homepage: https://github.com/smartystreets/smartystreets-ruby-sdk
|
179
|
+
licenses:
|
180
|
+
- Apache-2.0
|
181
|
+
metadata: {}
|
182
|
+
post_install_message:
|
183
|
+
rdoc_options: []
|
184
|
+
require_paths:
|
185
|
+
- lib
|
186
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
187
|
+
requirements:
|
188
|
+
- - ">="
|
189
|
+
- !ruby/object:Gem::Version
|
190
|
+
version: '0'
|
191
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
192
|
+
requirements:
|
193
|
+
- - ">="
|
194
|
+
- !ruby/object:Gem::Version
|
195
|
+
version: '0'
|
196
|
+
requirements: []
|
197
|
+
rubygems_version: 3.0.3.1
|
198
|
+
signing_key:
|
199
|
+
specification_version: 4
|
200
|
+
summary: An official library for the SmartyStreets APIs
|
201
|
+
test_files: []
|