ipregistry 1.0.0 → 1.1.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 +7 -0
- data/lib/ipregistry/models/ip_info.rb +8 -2
- data/lib/ipregistry/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: af591bf7464353c1905ce0417eec277138cd3a43ba5bc3524d3f11e6a23de6f7
|
|
4
|
+
data.tar.gz: 69d7f24a015b6514990c54bca7dc315985418dfa2b086ab36b7f1599653e687f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 581260634609c423000cbe479f6b2f0be4633f5ae7631e516277c2040ba4a3e6d7ec70e8bcf9a294afeb15e9851a14a7863361a3012af121e38337259790e679
|
|
7
|
+
data.tar.gz: 3a4e44297b588fbbaea4195b7a58a0e6510127e6c5426eb17f9a73e70129b595c09ebbde6b6adf7b6a5669246aa5713a9bfdff5f3582e09b7cd6c715dd0e9d61
|
data/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.1.0] - 2026-11-08
|
|
11
|
+
### Added
|
|
12
|
+
- New predicate `Connection#anycast?` (JSON `connection.is_anycast`): whether the IP address is announced via
|
|
13
|
+
anycast, i.e. simultaneously from multiple locations.
|
|
14
|
+
- New predicate `Security#residential_proxy?` (JSON `security.is_residential_proxy`): whether the IP address is a
|
|
15
|
+
node of a residential proxy network.
|
|
16
|
+
|
|
10
17
|
## [1.0.0] - 2026-07-04
|
|
11
18
|
### Added
|
|
12
19
|
- Initial release of the official Ruby client library for the Ipregistry API.
|
|
@@ -17,9 +17,12 @@ module Ipregistry
|
|
|
17
17
|
# Network connection information for the IP address. The ASN is the
|
|
18
18
|
# Autonomous System Number (nil when unknown), and the type classifies
|
|
19
19
|
# the network ("business", "education", "government", "hosting",
|
|
20
|
-
# "inactive", or "isp").
|
|
20
|
+
# "inactive", or "isp"). The +anycast?+ predicate reports whether the IP
|
|
21
|
+
# address is announced via anycast, i.e. simultaneously from multiple
|
|
22
|
+
# locations.
|
|
21
23
|
class Connection < Base
|
|
22
24
|
field :asn, :domain, :organization, :route, :type
|
|
25
|
+
flag :anycast, key: "is_anycast"
|
|
23
26
|
end
|
|
24
27
|
|
|
25
28
|
# Prefix and suffix applied around a formatted monetary value (for example
|
|
@@ -44,13 +47,16 @@ module Ipregistry
|
|
|
44
47
|
embeds :format, :CurrencyFormat
|
|
45
48
|
end
|
|
46
49
|
|
|
47
|
-
# Threat-intelligence flags for the IP address.
|
|
50
|
+
# Threat-intelligence flags for the IP address. The +residential_proxy?+
|
|
51
|
+
# predicate reports whether the IP address is a node of a residential
|
|
52
|
+
# proxy network.
|
|
48
53
|
class Security < Base
|
|
49
54
|
flag :abuser, key: "is_abuser"
|
|
50
55
|
flag :attacker, key: "is_attacker"
|
|
51
56
|
flag :bogon, key: "is_bogon"
|
|
52
57
|
flag :cloud_provider, key: "is_cloud_provider"
|
|
53
58
|
flag :proxy, key: "is_proxy"
|
|
59
|
+
flag :residential_proxy, key: "is_residential_proxy"
|
|
54
60
|
flag :relay, key: "is_relay"
|
|
55
61
|
flag :tor, key: "is_tor"
|
|
56
62
|
flag :tor_exit, key: "is_tor_exit"
|
data/lib/ipregistry/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ipregistry
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ipregistry
|
|
@@ -56,7 +56,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
56
56
|
- !ruby/object:Gem::Version
|
|
57
57
|
version: '0'
|
|
58
58
|
requirements: []
|
|
59
|
-
rubygems_version:
|
|
59
|
+
rubygems_version: 4.0.20
|
|
60
60
|
specification_version: 4
|
|
61
61
|
summary: Official Ruby client for the Ipregistry IP geolocation and threat data API
|
|
62
62
|
test_files: []
|