README.md in ziptz-3.0.0 vs README.md in ziptz-3.0.1
- old
+ new
@@ -2,14 +2,20 @@
[![Version](http://img.shields.io/gem/v/ziptz.svg?style=flat)](https://rubygems.org/gems/ziptz)
[![Build Status](http://img.shields.io/travis/infused/ziptz/master.svg?style=flat)](http://travis-ci.com/infused/ziptz)
[![Total Downloads](https://img.shields.io/gem/dt/ziptz.svg)](https://rubygems.org/gems/ziptz/)
[![License](https://img.shields.io/github/license/infused/ziptz.svg)](https://github.com/infused/ziptz)
-Get time zone and daylight saving time for any US ZIP code.
+Get time zone, daylight saving time, and base offset for any US ZIP code.
-<i>ZIP codes are up to date as of <b>February 2021</b>.</i>
+<i>ZIP codes are up to date as of <b>April 2021</b>.</i>
+## Compatibility
+
+Ziptz is tested to work with the following versions of Ruby:
+
+* Ruby 2.3.x, 2.4.x, 2.5.x, 2.6.x, 2.7.x, 3.0.x, and TruffleRuby
+
## Installation
Add the gem to your Gemfile:
gem 'ziptz'
@@ -32,11 +38,11 @@
z.time_zone_uses_dst?('97213') #=> true
Get all the zip codes in a time zone:
- z.zips('Pacific/Pago_Pago') #=> ["96799", "96941", "96942", "96943", "96944"]
+ z.zips('Pacific/Chuuk') #=> ["96942", "96943"]
## Supported Time Zones
* America/Adak
@@ -88,10 +94,10 @@
If you would prefer raw data instead of a gem, see my [ZIP Code Time Zones](https://us-west-2.console.aws.amazon.com/dataexchange/home#/products/prodview-4vcapflqwntdw) product on AWS Data Exchange to subscribe.
## Version 3 breaking changes
* APO, DPO, and FPO zip codes are no longer included, because they are non-geographic.
-* Time zone offset are now specified in seconds instead of hours.
+* Time zone offsets are now specified in seconds instead of hours.
* Time zone are now more granular. The full list of time zones is:
* America/Adak
* America/Anchorage
* America/Boise
* America/Chicago