Skip to content

Commit

Permalink
v1.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Rogers committed May 9, 2020
1 parent d094110 commit adad7e2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# v1.6.1 (9 May 2020)

* Add an entry for Berlin Brandenburg Airport (`BER`), which is missing from [OpenFlights](http://openflights.org) (@PavelWeSki)
* Update airport data with the latest from [OpenFlights](http://openflights.org)

# v1.6.0 (25 January 2020)

* Update airport data with the latest from [OpenFlights](http://openflights.org)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@

Airports gives you access to data on airports around the world.

It's based on data from [OpenFlights](http://openflights.org), with a bit of massaging on the way (dropping airports without an IATA code, giving Doha its IATA code and adding Hyderabad which is missing entirely).
It's based on data from [OpenFlights](http://openflights.org), with a bit of massaging on the way (dropping airports without an IATA code, giving Doha its IATA code and adding `HYD` and `BER` which are missing entirely).

## Usage

Install the gem by adding it to your Gemfile:

```ruby
gem 'airports', '~> 1.3.0'
gem 'airports', '~> 1.6.1'
```

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`:
Expand Down
2 changes: 1 addition & 1 deletion lib/airports/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Airports
VERSION = "1.6.0"
VERSION = "1.6.1"
end

0 comments on commit adad7e2

Please sign in to comment.