countries 5.2.1 → 5.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/tests.yml +4 -2
- data/CHANGELOG.md +8 -0
- data/lib/countries/cache/countries.json +1 -1
- data/lib/countries/cache/locales/tk.json +1 -1
- data/lib/countries/country.rb +6 -0
- data/lib/countries/data/countries/TM.yaml +1 -1
- data/lib/countries/data/subdivisions/AE.yaml +6 -0
- data/lib/countries/data/subdivisions/AF.yaml +34 -0
- data/lib/countries/data/subdivisions/AG.yaml +8 -0
- data/lib/countries/data/subdivisions/AL.yaml +12 -0
- data/lib/countries/data/subdivisions/AM.yaml +10 -0
- data/lib/countries/data/subdivisions/AO.yaml +18 -0
- data/lib/countries/data/subdivisions/AR.yaml +23 -0
- data/lib/countries/data/subdivisions/AT.yaml +7 -0
- data/lib/countries/data/subdivisions/AU.yaml +8 -0
- data/lib/countries/data/subdivisions/AZ.yaml +77 -2
- data/lib/countries/data/subdivisions/BA.yaml +3 -0
- data/lib/countries/data/subdivisions/BB.yaml +11 -0
- data/lib/countries/data/subdivisions/BD.yaml +72 -0
- data/lib/countries/data/subdivisions/IR.yaml +31 -1
- data/lib/countries/data/subdivisions/KZ.yaml +14 -0
- data/lib/countries/data/subdivisions/PY.yaml +1 -1
- data/lib/countries/data/subdivisions/TJ.yaml +1 -1
- data/lib/countries/data/subdivisions/TM.yaml +1 -1
- data/lib/countries/data/subdivisions/UA.yaml +26 -1
- data/lib/countries/data/subdivisions/US.yaml +48 -3
- data/lib/countries/data/subdivisions/UZ.yaml +13 -1
- data/lib/countries/data/translations/countries-tk.yaml +88 -88
- data/lib/countries/iso3166.rb +0 -1
- data/lib/countries/version.rb +1 -1
- data/spec/country_spec.rb +33 -0
- metadata +3 -4
- data/lib/countries/kwarg_struct.rb +0 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 252ec109abb3ff1fe5a7fb0b9db7da0643c0de24e4ba703169eee6f506d312af
|
4
|
+
data.tar.gz: b19a3c4035b5e8c2f684f39c7b8177d3492874e412c85fc05dbee04c3235e4aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88987a266479ef34df66dc4c59cb2c59424a066891ae2fc1f7a7497085eadac3507ae632adc95e8dabb8eecb27785ce0d46e6e9b53b343823aa18b5c0948954e
|
7
|
+
data.tar.gz: a4f90a9a510fb7530d73ea3ce767ac209070e0c99a7134981ea96009b61cfcc0ad0163d79a32ffe8bc4f7a04690d9c0fc7f98711a94f8aa21c6222a75714448f
|
data/.github/workflows/tests.yml
CHANGED
@@ -15,12 +15,14 @@ jobs:
|
|
15
15
|
strategy:
|
16
16
|
matrix:
|
17
17
|
include:
|
18
|
-
- ruby-version: 2.7.
|
18
|
+
- ruby-version: 2.7.7
|
19
19
|
bundler-version: default
|
20
|
-
- ruby-version: 3.0.
|
20
|
+
- ruby-version: 3.0.5
|
21
21
|
bundler-version: default
|
22
22
|
- ruby-version: 3.1.3
|
23
23
|
bundler-version: default
|
24
|
+
- ruby-version: 3.2.0
|
25
|
+
bundler-version: default
|
24
26
|
steps:
|
25
27
|
- uses: actions/checkout@v3
|
26
28
|
- name: Set up Ruby ${{ matrix.ruby-version }}
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,14 @@
|
|
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
|
+
## [5.3.0](https://github.com/countries/countries/releases/tag/v5.3.0') (2023/01/03 17:02 +00:00)
|
7
|
+
|
8
|
+
**Merged pull requests:**
|
9
|
+
|
10
|
+
* Remove dead code: KwargStruct [\#787](https://github.com/countries/countries/pull/787) ([pmor](https://github.com/pmor))
|
11
|
+
* Update data for Turkmenistan and add Turkmen translation [\#789](https://github.com/countries/countries/pull/789) ([msuliq](https://github.com/msuliq))
|
12
|
+
* Add Country#subdivision_names method [\#788](https://github.com/countries/countries/pull/788) ([pmor](https://github.com/pmor))
|
13
|
+
|
6
14
|
## [5.2.1](https://github.com/countries/countries/releases/tag/v5.2.1') (2022/12/22 15:29 +00:00)
|
7
15
|
|
8
16
|
**Important changes**
|