From 9d0d1066de5a47452fa04264176320417a101c2f Mon Sep 17 00:00:00 2001 From: Tim Rogers Date: Wed, 26 Jun 2019 11:43:50 +0100 Subject: [PATCH] v1.3.0 --- CHANGELOG.md | 4 ++++ README.md | 11 ++++------- lib/airports/version.rb | 2 +- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 499364d..c3d8df2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.3.0 (26 June 2019) + + * Expose the time zone that an airport is located in with `#tz_name` (@gabebw) + # v1.2.0 (11 March 2018) * Drop support for Ruby 2.2, which has reached end-of-life and no longer receives security updates (@timrogers) diff --git a/README.md b/README.md index 4d7b7d7..b9c7a71 100644 --- a/README.md +++ b/README.md @@ -11,24 +11,21 @@ It's based on data from [OpenFlights](http://openflights.org), with a bit of mas Install the gem by adding it to your Gemfile: ```ruby -gem 'airports', '~> 1.2.0' +gem 'airports', '~> 1.3.0' ``` You can then look up an airport by its IATA code (e.g. `LHR` for London Heathrow) using `Airports.find_by_iata_code`, which returns an object with a bunch of accessors like `name` and `city`: ```ruby Airports.find_by_iata_code("LHR") -=> # +=> # ``` You can also look up an airport by its ICAO code. ```ruby -Airports.find_by_iata_code("KCRG") -=> # +Airports.find_by_icao_code("KCRG") +=> # ``` A couple of other methods provide access to aggregate data. diff --git a/lib/airports/version.rb b/lib/airports/version.rb index a84cc14..331434e 100644 --- a/lib/airports/version.rb +++ b/lib/airports/version.rb @@ -1,3 +1,3 @@ module Airports - VERSION = "1.2.0".freeze + VERSION = "1.3.0".freeze end