maxmind-geoip2 1.6.0 → 1.7.1

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: e92b6c665a97ca75e8f8a8481758d9969b09bca5f186d6b54891ffdecd840fcd
4
- data.tar.gz: c05a9af0e3d2d2520b55da9ac2b3dace158407c810ed6a26db457c2f72d0ad06
3
+ metadata.gz: b7d0eafc66a865d1f93c4724f98308daa346ceba5425d5b435cf24caae41ed1c
4
+ data.tar.gz: 743e07d6554b4a0349b19c4cf772f6cfc31508e5a695826244b95db3141b57ed
5
5
  SHA512:
6
- metadata.gz: a38c006f285a1f5029c9385f4d44fd2e2a15366964eb601ddeff07779598b9ee5b9375e3684c9d66c816591515a8a0baed5bfec47263348c23c94ac0618b8193
7
- data.tar.gz: a217f1653b3c0acd622d1236b95f221afac74d9b73a65e30c7bff824a4e2cd57b54f99d6669d62f94d7db6c733d0b1f5d4e0b20a25380ef8a74b92097e74a9b7
6
+ metadata.gz: ee958890c58de2718f4af0d6d90391f8b2b200aa3132b440883013a448c46922b057039606fb1d9efb95dea5387206f9ea4e33fdab9a060ddd9b33310d68c48c
7
+ data.tar.gz: 6a846879d6b4163215bd692d8906d6d659113f7597e76c61921692e92d8c64d4b7b47e2b0b93d977597a198d5ca6daf9494f45288f8b1d0d7bdd808c475de36c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.7.1 (2026-11-17)
4
+
5
+ * No code changes. This release republishes 1.7.0 with a Sigstore
6
+ attestation. The release workflow failed to sign 1.7.0 and pushed it
7
+ without one.
8
+
9
+ ## 1.7.0 (2026-11-17)
10
+
11
+ * The minimum version of the `maxmind-db` gem is now 1.5.0. This version
12
+ limits the work and memory of each record decode and of the metadata decode
13
+ when a database is opened: 65,536 decoded values, 512 levels of nesting, and
14
+ 2 MiB of string, bytes, and integer payload. Opening a database or looking up
15
+ an IP address raises `MaxMind::DB::InvalidDatabaseError` if a decode exceeds
16
+ a limit. It also rejects pointers that target pointers, and it makes lookups
17
+ faster. MaxMind databases are well within the limits, but a custom database
18
+ that worked before may now fail. See the
19
+ [maxmind-db 1.5.0 changelog](https://github.com/maxmind/MaxMind-DB-Reader-ruby/blob/v1.5.0/CHANGELOG.md).
20
+
3
21
  ## 1.6.0 (2026-07-16)
4
22
 
5
23
  * A new `residential` object has been added to the `anonymizer` object on
@@ -309,7 +309,7 @@ module MaxMind
309
309
  handle_success(endpoint, body, is_json)
310
310
  end
311
311
 
312
- # rubocop:disable Metrics/CyclomaticComplexity
312
+ # rubocop:disable-next Metrics/CyclomaticComplexity
313
313
  def handle_client_error(endpoint, status, body, is_json)
314
314
  if !is_json
315
315
  raise HTTPError,
@@ -343,7 +343,6 @@ module MaxMind
343
343
  raise InvalidRequestError, error['error']
344
344
  end
345
345
  end
346
- # rubocop:enable Metrics/CyclomaticComplexity
347
346
 
348
347
  def handle_success(endpoint, body, is_json)
349
348
  if !is_json
@@ -3,6 +3,6 @@
3
3
  module MaxMind
4
4
  module GeoIP2
5
5
  # The Gem version.
6
- VERSION = '1.6.0'
6
+ VERSION = '1.7.1'
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: maxmind-geoip2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Storey
@@ -55,14 +55,14 @@ dependencies:
55
55
  requirements:
56
56
  - - "~>"
57
57
  - !ruby/object:Gem::Version
58
- version: '1.4'
58
+ version: '1.5'
59
59
  type: :runtime
60
60
  prerelease: false
61
61
  version_requirements: !ruby/object:Gem::Requirement
62
62
  requirements:
63
63
  - - "~>"
64
64
  - !ruby/object:Gem::Version
65
- version: '1.4'
65
+ version: '1.5'
66
66
  - !ruby/object:Gem::Dependency
67
67
  name: minitest
68
68
  requirement: !ruby/object:Gem::Requirement
@@ -240,7 +240,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
240
240
  - !ruby/object:Gem::Version
241
241
  version: '0'
242
242
  requirements: []
243
- rubygems_version: 4.0.10
243
+ rubygems_version: 4.0.20
244
244
  specification_version: 4
245
245
  summary: A gem for interacting with the GeoIP webservices and databases.
246
246
  test_files: []