Skip to content

Commit c371158

Browse files
authored
Merge pull request #188 from maxmind/greg/stf-555
Use 'GeoIP'/'GeoLite' branding in documentation
2 parents f9d7601 + b48d1f0 commit c371158

21 files changed

Lines changed: 87 additions & 38 deletions

CLAUDE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
55
## Project Overview
66

77
**GeoIP2-ruby** is MaxMind's official Ruby client library for:
8-
- **GeoIP2/GeoLite2 Web Services**: Country, City, and Insights endpoints
9-
- **GeoIP2/GeoLite2 Databases**: Local MMDB file reading for various database types (City, Country, ASN, Anonymous IP, Anonymous Plus, ISP, etc.)
8+
- **GeoIP/GeoLite Web Services**: Country, City Plus, and Insights endpoints
9+
- **GeoIP/GeoLite Databases**: Local MMDB file reading for various database types (City, Country, ASN, Anonymous IP, Anonymous Plus, ISP, etc.)
1010

1111
The library provides both web service clients and database readers that return strongly-typed model objects containing geographic, ISP, anonymizer, and other IP-related data.
1212

@@ -385,6 +385,6 @@ ruby -Ilib:test test/test_reader.rb
385385
## Additional Resources
386386

387387
- [API Documentation](https://www.rubydoc.info/gems/maxmind-geoip2)
388-
- [GeoIP2 Web Services Docs](https://dev.maxmind.com/geoip/docs/web-services)
388+
- [GeoIP Web Services Docs](https://dev.maxmind.com/geoip/docs/web-services)
389389
- [MaxMind DB Format](https://maxmind.github.io/MaxMind-DB/)
390390
- GitHub Issues: https://github.com/maxmind/GeoIP2-ruby/issues

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# GeoIP2 Ruby API
1+
# GeoIP Ruby API
22

33
## Description
44

5-
This is the Ruby API for the GeoIP2 and GeoLite2
5+
This is the Ruby API for the GeoIP and GeoLite
66
[webservices](https://dev.maxmind.com/geoip/docs/web-services?lang=en)
77
and [databases](https://dev.maxmind.com/geoip/docs/databases?lang=en).
88

@@ -15,7 +15,7 @@ gem install maxmind-geoip2
1515
## IP Geolocation Usage
1616

1717
IP geolocation is inherently imprecise. Locations are often near the center
18-
of the population. Any location provided by a GeoIP2 database or web
18+
of the population. Any location provided by a GeoIP database or web
1919
service should not be used to identify a particular address or household.
2020

2121
## Database Reader
@@ -217,7 +217,7 @@ puts record.organization # University of Minnesota
217217
### Usage
218218

219219
To use this API, you must create a new `MaxMind::GeoIP2::Client` object
220-
with your account ID and license key. To use the GeoLite2 web service, you
220+
with your account ID and license key. To use the GeoLite web service, you
221221
may also set the `host` parameter to `geolite.info`. You may then you call
222222
the method corresponding to a specific end point, passing it the IP address
223223
you want to look up.
@@ -243,18 +243,18 @@ client = MaxMind::GeoIP2::Client.new(
243243
account_id: 42,
244244
license_key: 'license_key',
245245

246-
# To use the GeoLite2 web service instead of the GeoIP2 web service, set
246+
# To use the GeoLite web service instead of the GeoIP web service, set
247247
# the host parameter to "geolite.info":
248248
# host: 'geolite.info',
249249

250-
# To use the Sandbox GeoIP2 web service instead of the production GeoIP2
250+
# To use the Sandbox GeoIP web service instead of the production GeoIP
251251
# web service, set the host parameter to "sandbox.maxmind.com":
252252
# host: 'sandbox.maxmind.com',
253253
)
254254

255255
# Replace "city" with the method corresponding to the web service that
256256
# you are using, e.g., "country", "insights". Please note that Insights
257-
# is only supported by the GeoIP2 web service and not the GeoLite2 web
257+
# is only supported by the GeoIP web service and not the GeoLite web
258258
# service.
259259
record = client.city('128.101.101.101')
260260

@@ -299,7 +299,7 @@ which can be populated vary between end points. In addition, while an end
299299
point may offer a particular piece of data, MaxMind does not always have
300300
every piece of data for any given IP address.
301301

302-
See the [GeoIP2 web service
302+
See the [GeoIP web service
303303
documentation](https://dev.maxmind.com/geoip/docs/web-services?lang=en) for details on
304304
what data each end point may return.
305305

@@ -313,7 +313,7 @@ databases with data on geographical features around the world, including
313313
populated places. They offer both free and paid premium data. Each feature
314314
is unique identified by a `geoname_id`, which is an integer.
315315

316-
Many of the records returned by the GeoIP2 web services and databases
316+
Many of the records returned by the GeoIP web services and databases
317317
include a `geoname_id` property. This is the ID of a geographical feature
318318
(city, region, country, etc.) in the GeoNames database.
319319

lib/maxmind/geoip2/client.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
module MaxMind
1414
module GeoIP2
1515
# This class provides a client API for all the
16-
# {https://dev.maxmind.com/geoip/docs/web-services?lang=en GeoIP2 web
16+
# {https://dev.maxmind.com/geoip/docs/web-services?lang=en GeoIP web
1717
# services}. The services are Country, City Plus, and Insights. Each service
1818
# returns a different set of data about an IP address, with Country returning
1919
# the least data and Insights the most.
@@ -60,7 +60,7 @@ class Client
6060
# rubocop:disable Metrics/CyclomaticComplexity
6161
# rubocop:disable Metrics/PerceivedComplexity
6262

63-
# Create a Client that may be used to query a GeoIP2 web service.
63+
# Create a Client that may be used to query a GeoIP web service.
6464
#
6565
# Once created, the Client is safe to use for lookups from multiple
6666
# threads.
@@ -73,8 +73,8 @@ class Client
7373
# property from most preferred to least preferred.
7474
#
7575
# @param host [String] the host to use when querying the web service. Set
76-
# this to "geolite.info" to use the GeoLite2 web service instead of the
77-
# GeoIP2 web service. Set this to "sandbox.maxmind.com" to use the
76+
# this to "geolite.info" to use the GeoLite web service instead of the
77+
# GeoIP web service. Set this to "sandbox.maxmind.com" to use the
7878
# Sandbox environment. The sandbox allows you to experiment with the
7979
# API without affecting your production data.
8080
#
@@ -205,7 +205,7 @@ def country(ip_address = 'me')
205205

206206
# This method calls the Insights web service.
207207
#
208-
# Insights is only supported by the GeoIP2 web service. The GeoLite2 web
208+
# Insights is only supported by the GeoIP web service. The GeoLite web
209209
# service does not support it.
210210
#
211211
# @param ip_address [String] IPv4 or IPv6 address as a string. If no

lib/maxmind/geoip2/model/asn.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
module MaxMind
66
module GeoIP2
77
module Model
8-
# Model class for the GeoLite2 ASN database.
8+
# Model class for the GeoLite ASN database.
99
class ASN < Abstract
1010
# The autonomous system number associated with the IP address.
1111
#

lib/maxmind/geoip2/model/city.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
module MaxMind
1010
module GeoIP2
1111
module Model
12-
# Model class for the data returned by the GeoIP2 City Plus web service
13-
# and the City database. It is also used for GeoLite2 City lookups.
12+
# Model class for the data returned by the GeoIP City Plus web service
13+
# and the City database. It is also used for GeoLite City lookups.
1414
#
1515
# See https://dev.maxmind.com/geoip/docs/web-services?lang=en for more
1616
# details.

lib/maxmind/geoip2/model/connection_type.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
module MaxMind
66
module GeoIP2
77
module Model
8-
# Model class for the GeoIP2 Connection Type database.
8+
# Model class for the GeoIP Connection Type database.
99
class ConnectionType < Abstract
1010
# The connection type may take the following values: "Dialup",
1111
# "Cable/DSL", "Corporate", "Cellular", and "Satellite". Additional

lib/maxmind/geoip2/model/country.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
module MaxMind
1010
module GeoIP2
1111
module Model
12-
# Model class for the data returned by the GeoIP2 Country web service and
13-
# database. It is also used for GeoLite2 Country lookups.
12+
# Model class for the data returned by the GeoIP Country web service and
13+
# database. It is also used for GeoLite Country lookups.
1414
class Country
1515
# Continent data for the IP address.
1616
#

lib/maxmind/geoip2/model/domain.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
module MaxMind
66
module GeoIP2
77
module Model
8-
# Model class for the GeoIP2 Domain database.
8+
# Model class for the GeoIP Domain database.
99
class Domain < Abstract
1010
# The second level domain associated with the IP address. This will be
1111
# something like "example.com" or "example.co.uk", not "foo.example.com".

lib/maxmind/geoip2/model/enterprise.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
module MaxMind
66
module GeoIP2
77
module Model
8-
# Model class for the data returned by GeoIP2 Enterprise database lookups.
8+
# Model class for the data returned by GeoIP Enterprise database lookups.
99
#
1010
# See https://dev.maxmind.com/geoip/docs/web-services?lang=en for more
1111
# details.

lib/maxmind/geoip2/model/insights.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
module MaxMind
77
module GeoIP2
88
module Model
9-
# Model class for the data returned by the GeoIP2 Insights web service.
9+
# Model class for the data returned by the GeoIP Insights web service.
1010
#
1111
# See https://dev.maxmind.com/geoip/docs/web-services?lang=en for more
1212
# details.

0 commit comments

Comments
 (0)