airports 1.7.0 → 1.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +5 -0
- data/.ruby-version +1 -0
- data/.tool-versions +1 -0
- data/CHANGELOG.md +5 -0
- data/Gemfile +4 -4
- data/README.md +1 -1
- data/airports.gemspec +1 -0
- data/data/airports.json +1 -1
- data/data/patches.dat +2 -0
- data/lib/airports/airport.rb +0 -2
- data/lib/airports/version.rb +1 -1
- metadata +7 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c107f552ae205c0dac335be39ec57dd7e01b8e26d03e90ddf0f8d4c40ada0df
|
4
|
+
data.tar.gz: 848b8803ba565347ad8db01f58543c50ad4309332989b2f8713c9d15bff70555
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
data/Gemfile
CHANGED
@@ -4,11 +4,11 @@ source 'https://rubygems.org'
|
|
4
4
|
|
5
5
|
gemspec
|
6
6
|
|
7
|
-
gem "gc_ruboconfig", "~> 2.
|
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
|
+
gem "rspec", "~> 3.11.0"
|
11
11
|
gem "rspec-its", "~> 1.3.0"
|
12
|
-
gem "rspec_junit_formatter", "~> 0.
|
13
|
-
gem "rubocop", "~> 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.
|
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`:
|