incognia_api 3.1.0 → 3.2.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 +4 -4
- data/CHANGELOG.md +3 -0
- data/Gemfile.lock +1 -1
- data/lib/incognia_api/address.rb +7 -5
- data/lib/incognia_api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bce61afa0db25cd4c0e38bdc2a6fda87e6465b932dfd268240a8fa81da56b7f7
|
|
4
|
+
data.tar.gz: de3df449038775fa70eb1cb2ca2a6d1bb0cf8ea91e149fab493b20295f3272dc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: da2dc99070e25df33b7d204fecd1dbb788b60900082e784ac243549f41efa4204875b053f33752eacf254a94d8a31c491ca0e344408e386a47e33bb3eb6dfad3
|
|
7
|
+
data.tar.gz: c0c79fc3da02882f950f3de3a694bbc34a66bdacc836a4138be0847ae6706a0364385e156e7fe300a41ca999108c4f233c50f57bde15ba7ebb051ff6ee73801d
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
## [Unreleased]
|
|
2
2
|
|
|
3
|
+
## [3.2.0] - 2026-05-04
|
|
4
|
+
- Add `county` support to structured addresses.
|
|
5
|
+
|
|
3
6
|
## [3.1.0] - 2026-04-17
|
|
4
7
|
- Add optional `keep_alive` support with configurable `max_connections` for persistent HTTP connections.
|
|
5
8
|
- Add `X-Incognia-Latency` support by sending the previous successful request latency on subsequent API calls.
|
data/Gemfile.lock
CHANGED
data/lib/incognia_api/address.rb
CHANGED
|
@@ -25,19 +25,20 @@ module Incognia
|
|
|
25
25
|
end
|
|
26
26
|
|
|
27
27
|
class Structured
|
|
28
|
-
attr_reader :locale, :country_name, :country_code, :state, :city, :
|
|
29
|
-
:
|
|
30
|
-
:street, :number, :complements
|
|
28
|
+
attr_reader :locale, :country_name, :country_code, :state, :city, :county,
|
|
29
|
+
:borough, :neighborhood, :postal_code, :street, :number, :complements
|
|
31
30
|
|
|
32
31
|
def initialize(locale: nil, country_name: nil, country_code: nil, \
|
|
33
|
-
state: nil, city: nil,
|
|
34
|
-
|
|
32
|
+
state: nil, city: nil, county: nil, borough: nil, \
|
|
33
|
+
neighborhood: nil, postal_code: nil, street: nil, \
|
|
34
|
+
number: nil, complements: nil)
|
|
35
35
|
|
|
36
36
|
@locale = locale
|
|
37
37
|
@country_name = country_name
|
|
38
38
|
@country_code = country_code
|
|
39
39
|
@state = state
|
|
40
40
|
@city = city
|
|
41
|
+
@county = county
|
|
41
42
|
@borough = borough
|
|
42
43
|
@neighborhood = neighborhood
|
|
43
44
|
@postal_code = postal_code
|
|
@@ -54,6 +55,7 @@ module Incognia
|
|
|
54
55
|
country_code: country_code,
|
|
55
56
|
state: state,
|
|
56
57
|
city: city,
|
|
58
|
+
county: county,
|
|
57
59
|
borough: borough,
|
|
58
60
|
neighborhood: neighborhood,
|
|
59
61
|
street: street,
|
data/lib/incognia_api/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: incognia_api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Guilherme Cavalcanti
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-05-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|