countries 5.2.1 → 5.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/tests.yml +4 -2
  3. data/CHANGELOG.md +8 -0
  4. data/lib/countries/cache/countries.json +1 -1
  5. data/lib/countries/cache/locales/tk.json +1 -1
  6. data/lib/countries/country.rb +6 -0
  7. data/lib/countries/data/countries/TM.yaml +1 -1
  8. data/lib/countries/data/subdivisions/AE.yaml +6 -0
  9. data/lib/countries/data/subdivisions/AF.yaml +34 -0
  10. data/lib/countries/data/subdivisions/AG.yaml +8 -0
  11. data/lib/countries/data/subdivisions/AL.yaml +12 -0
  12. data/lib/countries/data/subdivisions/AM.yaml +10 -0
  13. data/lib/countries/data/subdivisions/AO.yaml +18 -0
  14. data/lib/countries/data/subdivisions/AR.yaml +23 -0
  15. data/lib/countries/data/subdivisions/AT.yaml +7 -0
  16. data/lib/countries/data/subdivisions/AU.yaml +8 -0
  17. data/lib/countries/data/subdivisions/AZ.yaml +77 -2
  18. data/lib/countries/data/subdivisions/BA.yaml +3 -0
  19. data/lib/countries/data/subdivisions/BB.yaml +11 -0
  20. data/lib/countries/data/subdivisions/BD.yaml +72 -0
  21. data/lib/countries/data/subdivisions/IR.yaml +31 -1
  22. data/lib/countries/data/subdivisions/KZ.yaml +14 -0
  23. data/lib/countries/data/subdivisions/PY.yaml +1 -1
  24. data/lib/countries/data/subdivisions/TJ.yaml +1 -1
  25. data/lib/countries/data/subdivisions/TM.yaml +1 -1
  26. data/lib/countries/data/subdivisions/UA.yaml +26 -1
  27. data/lib/countries/data/subdivisions/US.yaml +48 -3
  28. data/lib/countries/data/subdivisions/UZ.yaml +13 -1
  29. data/lib/countries/data/translations/countries-tk.yaml +88 -88
  30. data/lib/countries/iso3166.rb +0 -1
  31. data/lib/countries/version.rb +1 -1
  32. data/spec/country_spec.rb +33 -0
  33. metadata +3 -4
  34. data/lib/countries/kwarg_struct.rb +0 -14
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 29decb615bd839a613742131109d3bdc48c14222435991e61e065ab7753c69a9
4
- data.tar.gz: 58f962d821d13637e32c8dcfc25a348a28b12fdebf097ed6646326e9760a6e14
3
+ metadata.gz: 252ec109abb3ff1fe5a7fb0b9db7da0643c0de24e4ba703169eee6f506d312af
4
+ data.tar.gz: b19a3c4035b5e8c2f684f39c7b8177d3492874e412c85fc05dbee04c3235e4aa
5
5
  SHA512:
6
- metadata.gz: '0952b16b26c6ee09a166813bd2b44270e6c1bfec42b519f421aecb3baad10d9530dd2142c759cf2b9c01c6bfb21e7822eac9a4f5d0a6e8f0b4bc029cdfe87448'
7
- data.tar.gz: 4548ae892a3c711901b244ae1be32e3156bac81eb46e4a921a5ce3f2ebba16a430f1bf981c3255551b17191e469bdfd8916d6d87ec3d4307ada2a9c07cc58456
6
+ metadata.gz: 88987a266479ef34df66dc4c59cb2c59424a066891ae2fc1f7a7497085eadac3507ae632adc95e8dabb8eecb27785ce0d46e6e9b53b343823aa18b5c0948954e
7
+ data.tar.gz: a4f90a9a510fb7530d73ea3ce767ac209070e0c99a7134981ea96009b61cfcc0ad0163d79a32ffe8bc4f7a04690d9c0fc7f98711a94f8aa21c6222a75714448f
@@ -15,12 +15,14 @@ jobs:
15
15
  strategy:
16
16
  matrix:
17
17
  include:
18
- - ruby-version: 2.7.6
18
+ - ruby-version: 2.7.7
19
19
  bundler-version: default
20
- - ruby-version: 3.0.4
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**