countries 5.3.0 → 5.3.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 +4 -4
- data/.github/FUNDING.yml +1 -0
- data/.github/workflows/tests.yml +5 -14
- data/CHANGELOG.md +9 -0
- data/{README.markdown → README.md} +8 -12
- data/countries.gemspec +4 -3
- data/lib/countries/cache/countries.json +1 -1
- data/lib/countries/cache/locales/th.json +1 -1
- data/lib/countries/data/countries/AU.yaml +1 -0
- data/lib/countries/data/translations/countries-th.yaml +2 -2
- data/lib/countries/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bc93451afdab4af4e84a38f9f37ed3175c7eacda4e61cf22cf3a026f861707ee
|
|
4
|
+
data.tar.gz: 2eba6085694a0b344d47701297c3c907a4a539d946b3807eedef4c974f135fa4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 78923a53a74f230417019140eabec95115274a39c6bcedf042e660afa80938908a4e8d3d10df5a6e4f25e6e04759960022ec7058a9ede37d55d12b2461acb829
|
|
7
|
+
data.tar.gz: 8e85eab6ece18c5f0decf040928d8042f684b04f1ccb5ce555eea4352f4a5dd24c8124fcd5fd8cd7670200a17f0323857085cca1e8514db9f4d746873abc4aac
|
data/.github/FUNDING.yml
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
github: pmor
|
data/.github/workflows/tests.yml
CHANGED
|
@@ -4,34 +4,25 @@ on:
|
|
|
4
4
|
pull_request:
|
|
5
5
|
paths-ignore:
|
|
6
6
|
- 'README.md'
|
|
7
|
+
- 'CHANGELOG.md'
|
|
7
8
|
push:
|
|
8
9
|
paths-ignore:
|
|
9
10
|
- 'README.md'
|
|
11
|
+
- 'CHANGELOG.md'
|
|
10
12
|
|
|
11
13
|
jobs:
|
|
12
14
|
test:
|
|
13
15
|
runs-on: ubuntu-latest
|
|
14
|
-
|
|
15
16
|
strategy:
|
|
17
|
+
fail-fast: false
|
|
16
18
|
matrix:
|
|
17
|
-
|
|
18
|
-
- ruby-version: 2.7.7
|
|
19
|
-
bundler-version: default
|
|
20
|
-
- ruby-version: 3.0.5
|
|
21
|
-
bundler-version: default
|
|
22
|
-
- ruby-version: 3.1.3
|
|
23
|
-
bundler-version: default
|
|
24
|
-
- ruby-version: 3.2.0
|
|
25
|
-
bundler-version: default
|
|
19
|
+
ruby: [2.7, '3.0', 3.1, 3.2]
|
|
26
20
|
steps:
|
|
27
21
|
- uses: actions/checkout@v3
|
|
28
22
|
- name: Set up Ruby ${{ matrix.ruby-version }}
|
|
29
23
|
uses: ruby/setup-ruby@v1
|
|
30
24
|
with:
|
|
31
|
-
ruby-version: ${{ matrix.ruby
|
|
32
|
-
bundler: ${{ matrix.bundler-version }}
|
|
25
|
+
ruby-version: ${{ matrix.ruby }}
|
|
33
26
|
bundler-cache: true
|
|
34
|
-
- name: Install dependencies
|
|
35
|
-
run: bundle install
|
|
36
27
|
- name: Run tests
|
|
37
28
|
run: bundle exec rake
|
data/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,15 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
This project adheres to [Semantic Versioning](https://semver.org/).
|
|
5
5
|
|
|
6
|
+
|
|
7
|
+
## [5.3.1](https://github.com/countries/countries/releases/tag/v5.3.1') (2023/01/26 14:05 +00:00)
|
|
8
|
+
|
|
9
|
+
* Update countries-th.yaml [\#792](https://github.com/countries/countries/pull/792) ([worrawutp](https://github.com/worrawutp))
|
|
10
|
+
* Fix [\#765](https://github.com/countries/countries/issues/765) - Restore `Australia` as first unnoficial name for Australia ([pmor](https://github.com/pmor))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
**Full Changelog**: https://github.com/countries/countries/compare/v5.3.0...v5.3.1
|
|
14
|
+
|
|
6
15
|
## [5.3.0](https://github.com/countries/countries/releases/tag/v5.3.0') (2023/01/03 17:02 +00:00)
|
|
7
16
|
|
|
8
17
|
**Merged pull requests:**
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# Countries
|
|
2
2
|
|
|
3
|
-
Countries is a collection of all sorts of useful information for every country in the ISO 3166 standard. It contains info for the following standards ISO3166-1 (countries), ISO3166-2 (states/subdivisions), ISO4217 (currency) and E.164 (phone numbers).
|
|
3
|
+
Countries is a collection of all sorts of useful information for every country in the ISO 3166 standard. It contains info for the following standards ISO3166-1 (countries), ISO3166-2 (states/subdivisions), ISO4217 (currency) and E.164 (phone numbers).
|
|
4
|
+
|
|
5
|
+
The data used in this gem is also available as git submodules in [YAML](https://github.com/countries/countries-data-yaml) and [JSON](https://github.com/countries/countries-data-json) files.
|
|
4
6
|
|
|
5
7
|
[](https://badge.fury.io/rb/countries) [](https://github.com/countries/countries/actions/workflows/tests.yml) [](https://codeclimate.com/github/countries/countries)
|
|
6
8
|
[](https://github.com/countries/countries/actions/workflows/codeql-analysis.yml)
|
|
@@ -335,17 +337,11 @@ end
|
|
|
335
337
|
|
|
336
338
|
**Please do not submit pull requests on `cache/**/*`**. These files generated by a rake task when preparing new releases and are not meant to be manually updated.
|
|
337
339
|
|
|
338
|
-
If you with to submit a PR to correct
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
future version unintentionally.
|
|
344
|
-
* Commit, do not mess with rakefile, version, or history.
|
|
345
|
-
(if you want to have your own version, that is fine but
|
|
346
|
-
bump version in a commit by itself I can ignore when I pull)
|
|
347
|
-
* Make sure your you haven't made changes to `cache/**/*`
|
|
348
|
-
* Submit a pull request. Bonus points for topic branches.
|
|
340
|
+
If you with to submit a PR to update or correct country data, please edit the corresponding YAML file `lib/countries/data/**`. Changes to the YAML files will be injected during the next `rake update_cache`.
|
|
341
|
+
|
|
342
|
+
This project seeks to follow ISO3166, ISO4217 and E.164 standards in its data.
|
|
343
|
+
|
|
344
|
+
This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
|
349
345
|
|
|
350
346
|
## Copyright
|
|
351
347
|
|
data/countries.gemspec
CHANGED
|
@@ -3,11 +3,15 @@
|
|
|
3
3
|
require File.expand_path('lib/countries/version', __dir__)
|
|
4
4
|
|
|
5
5
|
Gem::Specification.new do |gem|
|
|
6
|
+
gem.name = 'countries'
|
|
7
|
+
gem.version = Countries::VERSION.dup
|
|
8
|
+
gem.licenses = ['MIT']
|
|
6
9
|
gem.authors = ['Josh Robinson', 'Joe Corcoran', 'Russell Osborne', 'Pedro Moreira']
|
|
7
10
|
gem.email = ['hexorx@gmail.com', 'russell@burningpony.com', 'pedro@codecreations.tech']
|
|
8
11
|
gem.description = 'All sorts of useful information about every country packaged as pretty little country objects. It includes data from ISO 3166'
|
|
9
12
|
gem.summary = 'Gives you a country object full of all sorts of useful information.'
|
|
10
13
|
gem.homepage = 'https://github.com/countries/countries'
|
|
14
|
+
|
|
11
15
|
gem.metadata = { 'bug_tracker_uri' => 'https://github.com/countries/countries/issues',
|
|
12
16
|
'changelog_uri' => 'https://github.com/countries/countries/blob/master/CHANGELOG.md',
|
|
13
17
|
'source_code_uri' => 'https://github.com/countries/countries',
|
|
@@ -16,10 +20,7 @@ Gem::Specification.new do |gem|
|
|
|
16
20
|
|
|
17
21
|
gem.files = `git ls-files`.split($OUTPUT_RECORD_SEPARATOR)
|
|
18
22
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
|
19
|
-
gem.name = 'countries'
|
|
20
23
|
gem.require_paths = ['lib']
|
|
21
|
-
gem.version = Countries::VERSION.dup
|
|
22
|
-
gem.license = 'MIT'
|
|
23
24
|
|
|
24
25
|
gem.required_ruby_version = '>= 2.7'
|
|
25
26
|
|