Skip to content

Commit

Permalink
Merge pull request #139 from timrogers/timrogers/v1.10.0
Browse files Browse the repository at this point in the history
v1.10.0
  • Loading branch information
timrogers authored Nov 29, 2024
2 parents b098370 + 65fe761 commit 537c328
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 30 deletions.
58 changes: 31 additions & 27 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,68 +1,72 @@
## v1.10.0 (29 November, 2024)

- Add new `.icao_codes` method (@FinnLawrence)

## v1.9.0 (4 May, 2024)

* Add new `.find_all_by_country_name` method (@wilburhimself)
- Add new `.find_all_by_country_name` method (@wilburhimself)

## v1.8.3 (31 March, 2024)

* Add Kertajati International Airport (KJT) (@chakraskun)
- Add Kertajati International Airport (KJT) (@chakraskun)

## v1.8.2 (22 March, 2024)

* Add the new Tulum Airport (TQO) (@rmm5t)
- Add the new Tulum Airport (TQO) (@rmm5t)

## v1.8.1 (17 February 2023)

* Fix the name of Tromsø Airport (TOS) (@pcothenet)
- Fix the name of Tromsø Airport (TOS) (@pcothenet)

## v1.8.0 (13 March 2022)

* Add support for Ruby 3.1 (@timrogers)
* Fix the names of Ningbo (NGB) and Changsha (CSX) airports in China (@ratazzi)
- Add support for Ruby 3.1 (@timrogers)
- Fix the names of Ningbo (NGB) and Changsha (CSX) airports in China (@ratazzi)

# v1.7.0 (25 August 2021)

* Add support for Ruby 3.0 (@timrogers, with thanks to @kleinjm)
* Add Misrata Airport (`MRA`) in Libya (@timrogers, with thanks to @a21-kevin)
* Drop support for Ruby 2.4 and 2.5, which are no longer officially supported (@timrogers)
* Remove unnecessary dependencies from the gemspec, moving them to the `Gemfile` (@timrogers)
- Add support for Ruby 3.0 (@timrogers, with thanks to @kleinjm)
- Add Misrata Airport (`MRA`) in Libya (@timrogers, with thanks to @a21-kevin)
- Drop support for Ruby 2.4 and 2.5, which are no longer officially supported (@timrogers)
- Remove unnecessary dependencies from the gemspec, moving them to the `Gemfile` (@timrogers)

# 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)
- 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)
* Refactor how incorrect or missing data from OpenFlights is patched (@MatjazKavcic)
- Update airport data with the latest from [OpenFlights](http://openflights.org)
- Refactor how incorrect or missing data from OpenFlights is patched (@MatjazKavcic)

# v1.5.0 (5 December 2019)

* Support looking up airports by the name of the city they
are located in with `Airports.find_all_by_city_name` (@viral810, @timrogers)
* Refactor `Airports` so `Airport` objects are only generated once
and the code is cleaner (@timrogers)
- Support looking up airports by the name of the city they
are located in with `Airports.find_all_by_city_name` (@viral810, @timrogers)
- Refactor `Airports` so `Airport` objects are only generated once
and the code is cleaner (@timrogers)

# v1.4.1 (14 November 2019)

* Correct the time zone of Istanbul Airport (`IST`) (@aliismayilov)
* Correct the name of Aviador Carlos Campos Airport (`CPC`) (@jpgarritano)
- Correct the time zone of Istanbul Airport (`IST`) (@aliismayilov)
- Correct the name of Aviador Carlos Campos Airport (`CPC`) (@jpgarritano)

# v1.4.0 (30 June 2019)

* Drop support for Ruby 2.2 and 2.3, which are no longer officially supported (@timrogers)
* Test against Ruby 2.6 (@timrogers)
* Convert "nulls" in the source data, expressed as "\\N", to Ruby `nil`s (@gabebw)
- Drop support for Ruby 2.2 and 2.3, which are no longer officially supported (@timrogers)
- Test against Ruby 2.6 (@timrogers)
- Convert "nulls" in the source data, expressed as "\\N", to Ruby `nil`s (@gabebw)

# v1.3.0 (26 June 2019)

* Expose the time zone that an airport is located in with `#tz_name` (@gabebw)
- 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)
* Enforce code style using Rubocop (@timrogers)
- Drop support for Ruby 2.2, which has reached end-of-life and no longer receives security updates (@timrogers)
- Enforce code style using Rubocop (@timrogers)

# v1.1.0 (11 March 2018)

* Add new `.find_by_icao_code` for finding airports by their ICAO code (@ryanburnette)
- Add new `.find_by_icao_code` for finding airports by their ICAO code (@ryanburnette)
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ 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.9.0"
gem "airports", "~> 1.10.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`:
Expand Down Expand Up @@ -57,4 +57,3 @@ Big thanks to [OpenFlights](http://openflights.org) for collecting and making th
## License

The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).

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.9.0"
VERSION = "1.10.0"
end

0 comments on commit 537c328

Please sign in to comment.