countries 5.3.0 → 5.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 252ec109abb3ff1fe5a7fb0b9db7da0643c0de24e4ba703169eee6f506d312af
4
- data.tar.gz: b19a3c4035b5e8c2f684f39c7b8177d3492874e412c85fc05dbee04c3235e4aa
3
+ metadata.gz: bc93451afdab4af4e84a38f9f37ed3175c7eacda4e61cf22cf3a026f861707ee
4
+ data.tar.gz: 2eba6085694a0b344d47701297c3c907a4a539d946b3807eedef4c974f135fa4
5
5
  SHA512:
6
- metadata.gz: 88987a266479ef34df66dc4c59cb2c59424a066891ae2fc1f7a7497085eadac3507ae632adc95e8dabb8eecb27785ce0d46e6e9b53b343823aa18b5c0948954e
7
- data.tar.gz: a4f90a9a510fb7530d73ea3ce767ac209070e0c99a7134981ea96009b61cfcc0ad0163d79a32ffe8bc4f7a04690d9c0fc7f98711a94f8aa21c6222a75714448f
6
+ metadata.gz: 78923a53a74f230417019140eabec95115274a39c6bcedf042e660afa80938908a4e8d3d10df5a6e4f25e6e04759960022ec7058a9ede37d55d12b2461acb829
7
+ data.tar.gz: 8e85eab6ece18c5f0decf040928d8042f684b04f1ccb5ce555eea4352f4a5dd24c8124fcd5fd8cd7670200a17f0323857085cca1e8514db9f4d746873abc4aac
@@ -0,0 +1 @@
1
+ github: pmor
@@ -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
- include:
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-version }}
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). I will add any country based data I can get access to. I hope this to be a repository for all country based information.
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
  [![Gem Version](https://badge.fury.io/rb/countries.svg)](https://badge.fury.io/rb/countries) [![Tests](https://github.com/countries/countries/actions/workflows/tests.yml/badge.svg)](https://github.com/countries/countries/actions/workflows/tests.yml) [![Code Climate](https://codeclimate.com/github/countries/countries.svg)](https://codeclimate.com/github/countries/countries)
6
8
  [![CodeQL](https://github.com/countries/countries/actions/workflows/codeql-analysis.yml/badge.svg)](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 an translation, please edit the `lib/countries/data/translations/countries-<locale>.yaml` file. Changes to the locale YAML files will be injected during the next `rake update_cache`.
339
-
340
- * Fork the project.
341
- * Make your feature addition or bug fix.
342
- * Add tests for it. This is important so I don't break it in a
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