- Ruby 2.5 and 2.6 are no longer supported. If you're using one of these versions, please use version 1.2.0 of this gem.
- Ruby 2.4 is no longer supported. If you're using Ruby 2.4, please use version 1.1.1 of this gem.
Object#respond_to?
is no longer called on every read. Pull request by Jean byroot Boussier. GitHub #65.- The
get
andget_prefix_length
methods now accept the IP addresses asIPAddr
objects. Strings are still accepted too. Pull request by Eddie Lebow. GitHub #69.
- Fixed the memory reader's inspect method to no longer attempt to modify a frozen string. Pull request by Tietew. GitHub #35.
- The method
get_with_prefix_length
was added. This method returns both the record and the network prefix length associated with the record in the database. - Simplified a check for whether to return early in the decoder. Pull request by Ivan Palamarchuk. GitHub #12.
- Support for Ruby 2.3 was dropped since it is now end of life.
- We no longer include the database's buffer in inspect output. This avoids showing excessive output when creating a memory reader in irb. Reported by Wojciech Wnętrzak. GitHub #6.
- Initial implementation.