airports 1.12.0 → 1.13.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: cd852ce792878e88331c8bd694c848667e0c01c32d545da1fe16028b18f3eebf
4
- data.tar.gz: 3b06aa2e566ed9c4a4b59cc2dcf25d66ef98279a0545eed189bbbf7dcfdf6347
3
+ metadata.gz: 6ead13a6011ca1ffece1d3a1db537ccad6513ee2ec8c84447a9d299fc325f2a3
4
+ data.tar.gz: bd09d34f8c19155701838473c4778019cdbaccbf9e7aa31cfdc1dd79f0334bf8
5
5
  SHA512:
6
- metadata.gz: b7fef8d951b0908f4bfdb1863d198ec8e7313aec13387626aed09c19d834ac19a427570b8707b4edb8cb0af5999bf3bba61c6b66cb7f5d73f7e938358c2489d5
7
- data.tar.gz: f0dbc1988e98434321965fd4731cfc74507e1add804274cc10ca9906345d54db08b1cbabf96c2bcb1d6dbec963a99faab526a6af80160045b20df3245fbb5bae
6
+ metadata.gz: a241b3ef68e785df2b230df03b34cc6a051e06fd5f7e6c9a1b6eccf95ea5975e746109deab6b24d18d63b72c5eb98dbd1589c76e856815d8e8a4241e375b3f2b
7
+ data.tar.gz: c72db4366a6de4971bc3e3486f1b17573a2669e9edbc86c60d5d60d6b2439aa8e100f620fd52dc8d2556b9b3264b942cdaab1a8352aa93c6cb6279d9a9f011cb
@@ -38,11 +38,11 @@ jobs:
38
38
 
39
39
  steps:
40
40
  - name: Checkout repository
41
- uses: actions/checkout@v4
41
+ uses: actions/checkout@v6
42
42
 
43
43
  # Initializes the CodeQL tools for scanning.
44
44
  - name: Initialize CodeQL
45
- uses: github/codeql-action/init@v3
45
+ uses: github/codeql-action/init@v4
46
46
  with:
47
47
  languages: ${{ matrix.language }}
48
48
  # If you wish to specify custom queries, you can do so here or in a config file.
@@ -56,7 +56,7 @@ jobs:
56
56
  # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
57
57
  # If this step fails, then you should remove it and run the build manually (see below)
58
58
  - name: Autobuild
59
- uses: github/codeql-action/autobuild@v3
59
+ uses: github/codeql-action/autobuild@v4
60
60
 
61
61
  # ℹ️ Command-line programs to run using the OS shell.
62
62
  # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -69,4 +69,4 @@ jobs:
69
69
  # ./location_of_script_within_repo/buildscript.sh
70
70
 
71
71
  - name: Perform CodeQL Analysis
72
- uses: github/codeql-action/analyze@v3
72
+ uses: github/codeql-action/analyze@v4
@@ -12,7 +12,7 @@ jobs:
12
12
  ruby-version: ["2.6", "2.7", "3.0", "3.1", "3.2", "3.3", "3.4"]
13
13
  steps:
14
14
  - name: Checkout code
15
- uses: actions/checkout@v4
15
+ uses: actions/checkout@v6
16
16
  - name: Setup Ruby ${{ matrix.ruby_version }}
17
17
  uses: ruby/setup-ruby@v1
18
18
  with:
data/.gitignore CHANGED
@@ -7,3 +7,4 @@
7
7
  /pkg/
8
8
  /spec/reports/
9
9
  /tmp/
10
+ /vendor/
data/Gemfile CHANGED
@@ -5,10 +5,10 @@ source 'https://rubygems.org'
5
5
  gemspec
6
6
 
7
7
  gem "gc_ruboconfig", "~> 5.0.2"
8
- gem "pry", "~> 0.15.0"
8
+ gem "pry", "~> 0.16.0"
9
9
  gem "rake", "~> 13.0"
10
10
  gem "rspec", "~> 3.13.0"
11
11
  gem "rspec-its", "~> 2.0.0"
12
12
  gem "rspec_junit_formatter", "~> 0.6.0"
13
- gem "rubocop", "~> 1.78.0"
13
+ gem "rubocop", "~> 1.84.2"
14
14
  gem "rubocop-rake", "~> 0.7.1", 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.12.0"
14
+ gem "airports", "~> 1.13.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`: