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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8b71c411cba337dac4e3ad7e0f16199ee99bc3ce6dc47858ee4b396a6e75b303
4
- data.tar.gz: 68abfb412d0db671e1a98542f6179537745fbd395ec4b21b605b109133c91a42
3
+ metadata.gz: bce61afa0db25cd4c0e38bdc2a6fda87e6465b932dfd268240a8fa81da56b7f7
4
+ data.tar.gz: de3df449038775fa70eb1cb2ca2a6d1bb0cf8ea91e149fab493b20295f3272dc
5
5
  SHA512:
6
- metadata.gz: 2aa64e0525e09a97cca4dab86a0e2156822766884b0dda0905cc98806bc9ab3cfd761c612ecdd681cda460ced463f46694befe18b3fff49d12fc31062b2e3ade
7
- data.tar.gz: f36e80da9184b5d65f72a2d2e0446fe3d383e6f90f791db041dc6ea56d6c81edcc4fd8009f5f82cd7c8084d1acb3531008cb8b97670448b83a1e6a294be161ae
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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- incognia_api (3.1.0)
4
+ incognia_api (3.2.0)
5
5
  faraday (~> 2.13)
6
6
  faraday-net_http_persistent (~> 2.3)
7
7
 
@@ -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, :borough,
29
- :neighborhood, :state, :city, :borough, :neighborhood, :postal_code,
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, borough: nil, neighborhood: nil, \
34
- postal_code: nil, street: nil, number: nil, complements: nil)
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,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Incognia
4
- VERSION = "3.1.0"
4
+ VERSION = "3.2.0"
5
5
  end
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.1.0
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-04-17 00:00:00.000000000 Z
11
+ date: 2026-05-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday