airports 1.7.0 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9e431d90feedc19f7a01893c0a0055bde59d48bbf28f0aeff34e1a4784ace7e7
4
- data.tar.gz: cc1276be11990d26bd73950c4755f978af0f166ffc8e2314c4e416ca639bc523
3
+ metadata.gz: 0c107f552ae205c0dac335be39ec57dd7e01b8e26d03e90ddf0f8d4c40ada0df
4
+ data.tar.gz: 848b8803ba565347ad8db01f58543c50ad4309332989b2f8713c9d15bff70555
5
5
  SHA512:
6
- metadata.gz: 995241a3fd6a4debfa8fb3ee1fcea034de948159fcd8404c2777106064c142779a05bad4c14e77793c7ded0a3e4870fd5620086bb21e2c64e0253d22e99a323e
7
- data.tar.gz: 89e847d2e64b54032930da5b3351e12653e1734c81fc0b1fbb995092f6f8e156d2e72999e7debfa2e2ce334bab0b47038dca18b0ffabf666a7cfbaddb1e38544
6
+ metadata.gz: 7cf239ebb74648fa12e19292babd9e920f7155889151216db5af9e47a802f58a8cd6a16b8751c06e2d0f4a2f303611c853692e0128371b63acccc5f0927fdc0f
7
+ data.tar.gz: '01639a5eee7240e16775769c2c77d18298fc5c0bc266f739b90d671f9d79cfe39af59b31a0cf1f33a69ce85f221cd7ac913d167805c4801cc766618a87bd8508'
data/.circleci/config.yml CHANGED
@@ -40,6 +40,10 @@ jobs:
40
40
  docker:
41
41
  - image: ruby:3.0
42
42
  steps: *steps
43
+ build-ruby31:
44
+ docker:
45
+ - image: ruby:3.1
46
+ steps: *steps
43
47
  workflows:
44
48
  version: 2
45
49
  tests:
@@ -47,3 +51,4 @@ workflows:
47
51
  - build-ruby26
48
52
  - build-ruby27
49
53
  - build-ruby30
54
+ - build-ruby31
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 3.1.0
data/.tool-versions ADDED
@@ -0,0 +1 @@
1
+ ruby 3.1.0
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## v1.8.0 (13 March 2022)
2
+
3
+ * Add support for Ruby 3.1 (@timrogers)
4
+ * Fix the names of Ningbo (NGB) and Changsha (CSX) airports in China (@ratazzi)
5
+
1
6
  # v1.7.0 (25 August 2021)
2
7
 
3
8
  * Add support for Ruby 3.0 (@timrogers, with thanks to @kleinjm)
data/Gemfile CHANGED
@@ -4,11 +4,11 @@ source 'https://rubygems.org'
4
4
 
5
5
  gemspec
6
6
 
7
- gem "gc_ruboconfig", "~> 2.28.0"
7
+ gem "gc_ruboconfig", "~> 2.31.0"
8
8
  gem "pry", "~> 0.14.1"
9
9
  gem "rake", "~> 13.0"
10
- gem "rspec", "~> 3.10.0"
10
+ gem "rspec", "~> 3.11.0"
11
11
  gem "rspec-its", "~> 1.3.0"
12
- gem "rspec_junit_formatter", "~> 0.4.0"
13
- gem "rubocop", "~> 1.19.1"
12
+ gem "rspec_junit_formatter", "~> 0.5.1"
13
+ gem "rubocop", "~> 1.26.0"
14
14
  gem "rubocop-rake", "~> 0.6.0", require: false
data/README.md CHANGED
@@ -11,7 +11,7 @@ It's based on data from [OpenFlights](http://openflights.org), with a bit of mas
11
11
  Install the gem by adding it to your Gemfile:
12
12
 
13
13
  ```ruby
14
- gem "airports", "~> 1.7.0"
14
+ gem "airports", "~> 1.8.0"
15
15
  ```
16
16
 
17
17
  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`:
data/airports.gemspec CHANGED
@@ -23,4 +23,5 @@ Gem::Specification.new do |spec|
23
23
  spec.require_paths = ["lib"]
24
24
 
25
25
  spec.required_ruby_version = ">= 2.6"
26
+ spec.metadata["rubygems_mfa_required"] = "true"
26
27
  end