diff --git a/lib/maxmind/geoip2/record/anonymizer.rb b/lib/maxmind/geoip2/record/anonymizer.rb index eb8329d..073b992 100644 --- a/lib/maxmind/geoip2/record/anonymizer.rb +++ b/lib/maxmind/geoip2/record/anonymizer.rb @@ -91,7 +91,7 @@ def network_last_seen @network_last_seen = Date.parse(date_string) end - # The name of the VPN provider (e.g., NordVPN, SurfShark, etc.) + # The name of the VPN provider (e.g., nordvpn, surfshark) # associated with the network. This property is only available from # Insights. # diff --git a/lib/maxmind/geoip2/record/location.rb b/lib/maxmind/geoip2/record/location.rb index bfab5a9..02ebe6e 100644 --- a/lib/maxmind/geoip2/record/location.rb +++ b/lib/maxmind/geoip2/record/location.rb @@ -63,7 +63,7 @@ def population_density get('population_density') end - # The time zone associated with location, as specified by the IANA Time + # The time zone associated with the location, as specified by the IANA Time # Zone Database, e.g., "America/New_York". See # https://www.iana.org/time-zones. # diff --git a/lib/maxmind/geoip2/record/traits.rb b/lib/maxmind/geoip2/record/traits.rb index f37291b..37ca2e6 100644 --- a/lib/maxmind/geoip2/record/traits.rb +++ b/lib/maxmind/geoip2/record/traits.rb @@ -41,9 +41,9 @@ def autonomous_system_organization get('autonomous_system_organization') end - # The connection type may take the following values: "Dialup", - # "Cable/DSL", "Corporate", "Cellular", and "Satellite". Additional - # values may be added in the future. This attribute is only available + # The connection type may take the following values: "Cable/DSL", + # "Corporate", "Cellular", and "Satellite". Additional values may be + # added in the future. This attribute is only available # from the City Plus and Insights web services and the Enterprise # database. # @@ -52,7 +52,7 @@ def connection_type get('connection_type') end - # The second level domain associated with the IP address. This will be + # The second-level domain associated with the IP address. This will be # something like "example.com" or "example.co.uk", not "foo.example.com". # This attribute is only available from the City Plus and Insights web # services and the Enterprise database. @@ -266,7 +266,6 @@ def ip_risk_snapshot # * college # * consumer_privacy_network # * content_delivery_network - # * dialup # * government # * hosting # * library diff --git a/test/test_client.rb b/test/test_client.rb index 323d7f1..c372011 100644 --- a/test/test_client.rb +++ b/test/test_client.rb @@ -37,7 +37,7 @@ class ClientTest < Minitest::Test 'is_residential_proxy' => true, 'is_tor_exit_node' => false, 'network_last_seen' => '2025-10-15', - 'provider_name' => 'NordVPN', + 'provider_name' => 'nordvpn', }, 'continent' => { 'code' => 'NA', @@ -107,7 +107,7 @@ def test_insights assert(record.anonymizer.residential_proxy?) refute(record.anonymizer.tor_exit_node?) assert_equal(Date.parse('2025-10-15'), record.anonymizer.network_last_seen) - assert_equal('NordVPN', record.anonymizer.provider_name) + assert_equal('nordvpn', record.anonymizer.provider_name) # Test traits assert(record.traits.anycast?)