airports 1.8.0 → 1.8.1

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: 0c107f552ae205c0dac335be39ec57dd7e01b8e26d03e90ddf0f8d4c40ada0df
4
- data.tar.gz: 848b8803ba565347ad8db01f58543c50ad4309332989b2f8713c9d15bff70555
3
+ metadata.gz: c2e5d0988c1ef3435d46deab245baddf896c546659a3a16648bc57a66f95aaf3
4
+ data.tar.gz: fcbc01043e808ccc7ae6a5a364ca10a20f531c547b3d2d0f751c2528ef57523d
5
5
  SHA512:
6
- metadata.gz: 7cf239ebb74648fa12e19292babd9e920f7155889151216db5af9e47a802f58a8cd6a16b8751c06e2d0f4a2f303611c853692e0128371b63acccc5f0927fdc0f
7
- data.tar.gz: '01639a5eee7240e16775769c2c77d18298fc5c0bc266f739b90d671f9d79cfe39af59b31a0cf1f33a69ce85f221cd7ac913d167805c4801cc766618a87bd8508'
6
+ metadata.gz: 763d32d7a1b9a0f3d5c164591eb0ecc417f40f62703e1ecfc76e1d61de8c4a46a515d06e7728a6ed5e469dcc2e756c2931f3cb9dd4455b152546dea648e885d2
7
+ data.tar.gz: 349023d8dff676608f1c88f064c99845a422442ec4118b2f8d309cd16604b63d04ad2a9c8695cd82d08b9b45e3b01dd151dc8390ec407728f44ca4525cf0ed91
@@ -4,11 +4,7 @@ updates:
4
4
  directory: "/"
5
5
  schedule:
6
6
  interval: daily
7
- open-pull-requests-limit: 10
8
- ignore:
9
- - dependency-name: pry
10
- versions:
11
- - 0.14.0
12
- - dependency-name: gc_ruboconfig
13
- versions:
14
- - 2.24.0
7
+ - package-ecosystem: 'github-actions'
8
+ directory: '/'
9
+ schedule:
10
+ interval: 'weekly'
@@ -0,0 +1,72 @@
1
+ # For most projects, this workflow file will not need changing; you simply need
2
+ # to commit it to your repository.
3
+ #
4
+ # You may wish to alter this file to override the set of languages analyzed,
5
+ # or to provide custom queries or build logic.
6
+ #
7
+ # ******** NOTE ********
8
+ # We have attempted to detect the languages in your repository. Please check
9
+ # the `language` matrix defined below to confirm you have the correct set of
10
+ # supported CodeQL languages.
11
+ #
12
+ name: "CodeQL"
13
+
14
+ on:
15
+ push:
16
+ branches: [ main ]
17
+ pull_request:
18
+ # The branches below must be a subset of the branches above
19
+ branches: [ main ]
20
+ schedule:
21
+ - cron: '19 18 * * 3'
22
+
23
+ jobs:
24
+ analyze:
25
+ name: Analyze
26
+ runs-on: ubuntu-latest
27
+ permissions:
28
+ actions: read
29
+ contents: read
30
+ security-events: write
31
+
32
+ strategy:
33
+ fail-fast: false
34
+ matrix:
35
+ language: [ 'ruby' ]
36
+ # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
37
+ # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
38
+
39
+ steps:
40
+ - name: Checkout repository
41
+ uses: actions/checkout@v3
42
+
43
+ # Initializes the CodeQL tools for scanning.
44
+ - name: Initialize CodeQL
45
+ uses: github/codeql-action/init@v2
46
+ with:
47
+ languages: ${{ matrix.language }}
48
+ # If you wish to specify custom queries, you can do so here or in a config file.
49
+ # By default, queries listed here will override any specified in a config file.
50
+ # Prefix the list here with "+" to use these queries and those in the config file.
51
+
52
+ # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
53
+ # queries: security-extended,security-and-quality
54
+
55
+
56
+ # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
57
+ # If this step fails, then you should remove it and run the build manually (see below)
58
+ - name: Autobuild
59
+ uses: github/codeql-action/autobuild@v2
60
+
61
+ # ℹ️ Command-line programs to run using the OS shell.
62
+ # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
63
+
64
+ # If the Autobuild fails above, remove it and uncomment the following three lines.
65
+ # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
66
+
67
+ # - run: |
68
+ # echo "Run, Build Application using script"
69
+ # ./location_of_script_within_repo/buildscript.sh
70
+
71
+ - name: Perform CodeQL Analysis
72
+ uses: github/codeql-action/analyze@v2
@@ -0,0 +1,26 @@
1
+ name: 'Test and lint'
2
+ on:
3
+ push:
4
+ branches: [main]
5
+ pull_request:
6
+ branches: [main]
7
+ jobs:
8
+ lint-and-test:
9
+ runs-on: ubuntu-latest
10
+ strategy:
11
+ matrix:
12
+ ruby-version: ['2.6', '2.7', '3.0', '3.1', '3.2.0-preview1']
13
+ steps:
14
+ - name: Checkout code
15
+ uses: actions/checkout@v3
16
+ - name: Setup Ruby ${{ matrix.ruby_version }}
17
+ uses: ruby/setup-ruby@v1
18
+ with:
19
+ bundler-cache: true
20
+ ruby-version: ${{ matrix.ruby_version }}
21
+ - name: Install dependencies
22
+ run: bundle install
23
+ - name: Lint Ruby files
24
+ run: bundle exec rubocop
25
+ - name: Run RSpec tests
26
+ run: bundle exec rspec
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.1.0
1
+ 3.1.2
data/.tool-versions CHANGED
@@ -1 +1 @@
1
- ruby 3.1.0
1
+ ruby 3.1.2
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## v1.8.1 (17 February 2023)
2
+
3
+ * Fix the name of Tromsø Airport (TOS) (@pcothenet)
4
+
1
5
  ## v1.8.0 (13 March 2022)
2
6
 
3
7
  * Add support for Ruby 3.1 (@timrogers)
data/Gemfile CHANGED
@@ -4,11 +4,11 @@ source 'https://rubygems.org'
4
4
 
5
5
  gemspec
6
6
 
7
- gem "gc_ruboconfig", "~> 2.31.0"
7
+ gem "gc_ruboconfig", "~> 3.6.0"
8
8
  gem "pry", "~> 0.14.1"
9
9
  gem "rake", "~> 13.0"
10
- gem "rspec", "~> 3.11.0"
10
+ gem "rspec", "~> 3.12.0"
11
11
  gem "rspec-its", "~> 1.3.0"
12
- gem "rspec_junit_formatter", "~> 0.5.1"
13
- gem "rubocop", "~> 1.26.0"
12
+ gem "rspec_junit_formatter", "~> 0.6.0"
13
+ gem "rubocop", "~> 1.45.1"
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.8.0"
14
+ gem "airports", "~> 1.8.1"
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`: