countries 5.1.2 → 5.2.0

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.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/tests.yml +1 -1
  3. data/CHANGELOG.md +22 -1
  4. data/README.markdown +1 -1
  5. data/countries.gemspec +1 -1
  6. data/lib/countries/cache/countries.json +1 -1
  7. data/lib/countries/cache/locales/ab.json +1 -1
  8. data/lib/countries/cache/locales/ak.json +1 -1
  9. data/lib/countries/cache/locales/an.json +1 -1
  10. data/lib/countries/cache/locales/ay.json +1 -1
  11. data/lib/countries/cache/locales/ba.json +1 -1
  12. data/lib/countries/cache/locales/bi.json +1 -1
  13. data/lib/countries/cache/locales/ch.json +1 -1
  14. data/lib/countries/cache/locales/de.json +1 -1
  15. data/lib/countries/cache/locales/ee.json +1 -1
  16. data/lib/countries/cache/locales/en.json +1 -1
  17. data/lib/countries/cache/locales/fr.json +1 -1
  18. data/lib/countries/cache/locales/gn.json +1 -1
  19. data/lib/countries/cache/locales/ki.json +1 -1
  20. data/lib/countries/cache/locales/kl.json +1 -1
  21. data/lib/countries/cache/locales/lt.json +1 -1
  22. data/lib/countries/cache/locales/sd.json +1 -1
  23. data/lib/countries/cache/locales/sw.json +1 -1
  24. data/lib/countries/cache/locales/tl.json +1 -1
  25. data/lib/countries/cache/locales/ve.json +1 -1
  26. data/lib/countries/cache/locales/xh.json +1 -1
  27. data/lib/countries/country/class_methods.rb +3 -3
  28. data/lib/countries/country.rb +1 -1
  29. data/lib/countries/data/countries/TR.yaml +2 -2
  30. data/lib/countries/data/countries/TW.yaml +14 -12
  31. data/lib/countries/data/translations/countries-ab.yaml +1 -1
  32. data/lib/countries/data/translations/countries-ak.yaml +1 -1
  33. data/lib/countries/data/translations/countries-an.yaml +1 -1
  34. data/lib/countries/data/translations/countries-ay.yaml +1 -1
  35. data/lib/countries/data/translations/countries-ba.yaml +1 -1
  36. data/lib/countries/data/translations/countries-bi.yaml +1 -1
  37. data/lib/countries/data/translations/countries-ch.yaml +1 -1
  38. data/lib/countries/data/translations/countries-de.yaml +2 -2
  39. data/lib/countries/data/translations/countries-ee.yaml +1 -1
  40. data/lib/countries/data/translations/countries-en.yaml +1 -1
  41. data/lib/countries/data/translations/countries-fr.yaml +7 -7
  42. data/lib/countries/data/translations/countries-gn.yaml +1 -1
  43. data/lib/countries/data/translations/countries-ki.yaml +1 -1
  44. data/lib/countries/data/translations/countries-kl.yaml +1 -1
  45. data/lib/countries/data/translations/countries-lt.yaml +1 -1
  46. data/lib/countries/data/translations/countries-sd.yaml +1 -1
  47. data/lib/countries/data/translations/countries-sw.yaml +1 -1
  48. data/lib/countries/data/translations/countries-tl.yaml +1 -1
  49. data/lib/countries/data/translations/countries-ve.yaml +1 -1
  50. data/lib/countries/data/translations/countries-xh.yaml +1 -1
  51. data/lib/countries/version.rb +1 -1
  52. data/lib/countries.rb +0 -2
  53. data/spec/country_spec.rb +46 -6
  54. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b239f5f25018bc1ba87fd49d3b1b8adfad49b7e24e4e17a2793aa886d1cd4c59
4
- data.tar.gz: a6fc5738ec1c281a68efd1109d6763ad08a6082e63c2d400b7216d862b7e823a
3
+ metadata.gz: 390a35b1edb74f8d9405c605f761b4fa46785b11b5ea3a710a361189a45571f3
4
+ data.tar.gz: 4d0cd084e793cfbe16ef4a6cfc76f231fe4906c64a9369643fee7814a1ebc491
5
5
  SHA512:
6
- metadata.gz: da2b9eeb20881a037dffc3c0280405deac1d1be3c9ed01be1fe5bbb9ff1f8ace189ee97803371080e07df93118b3dd982bb67349f745252d2e7e411c14a90517
7
- data.tar.gz: 1044da2ddbf3ec28d3676d480185f7ad6d370ac81dd9d2e07e77f637110db3a9d0689128072a273785aedf7b6b33b2aa9550d6417cd567cf371d375b40bdcaf8
6
+ metadata.gz: c945ccce663ff2e03a638e85b25e0ddc93c2bd4f28098778ef94f6ead943f1c6dc87ee55205253146b90e6944f6a98b2ae26073540e9bf76e1cbb7f7154a8cc0
7
+ data.tar.gz: 835e6e61e2bcd649194e71f739e0bf453ecf60de0a6ef254319d8774212dd9b1f8ef01390e428279860cb1d2849d4373c8fb7d9ea6f5538e3a793c40c939fb85
@@ -22,7 +22,7 @@ jobs:
22
22
  - ruby-version: 3.1.2
23
23
  bundler-version: default
24
24
  steps:
25
- - uses: actions/checkout@v2
25
+ - uses: actions/checkout@v3
26
26
  - name: Set up Ruby ${{ matrix.ruby-version }}
27
27
  uses: ruby/setup-ruby@v1
28
28
  with:
data/CHANGELOG.md CHANGED
@@ -3,7 +3,28 @@
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.1.2](https://github.com/countries/countries/releases/tag/v5.1.1') (2022/08/11 14:35 +00:00)
6
+ ## [5.2.0](https://github.com/countries/countries/releases/tag/v5.1.3') (2022/10/28 14:35 +00:00)
7
+
8
+ **Important changes**
9
+
10
+ * The Republic of Turkey has officially changed its name to `The Republic of Türkiye`, short name `Türkiye`. Official name attributes have been updated, as well as several translations. This could be a breaking change if you rely on the old name.
11
+
12
+ * The `sixarm_ruby_unaccent` gem was replaced with `unaccent`. See [\#767](https://github.com/countries/countries/pull/767)
13
+
14
+ **Merged pull requests:**
15
+
16
+ * Ensure #translated_names is compacted [\#777](https://github.com/countries/countries/pull/777) ([pmor](https://github.com/pmor))
17
+ * Rename turkey to Türkiye [\#771](https://github.com/countries/countries/pull/771) ([larskuhnt](https://github.com/larskuhnt))
18
+ * Fix Upgrade.md route on README.markdown [\#766](https://github.com/countries/countries/pull/766) ([dmartingarcia](https://github.com/dmartingarcia))
19
+ * Update french, missing uppercase letters [\#769](https://github.com/countries/countries/pull/769) ([JulienItard](https://github.com/JulienItard))
20
+ * german translations for CI and CV [\#770](https://github.com/countries/countries/pull/770) ([larskuhnt](https://github.com/larskuhnt))
21
+ * Fix Czechia name in LT translation [\#773](https://github.com/countries/countries/pull/773) ([tomukas](https://github.com/tomukas))
22
+ * Updated Taiwan unofficial names [\#772](https://github.com/countries/countries/pull/772) ([Tzenda](https://github.com/Tzenda))
23
+ * Replace sixarm_ruby_unaccent with unaccent [\#767](https://github.com/countries/countries/pull/767) ([jonian](https://github.com/jonian))
24
+
25
+ ## [5.1.2](https://github.com/countries/countries/releases/tag/v5.1.2') (2022/08/11 14:35 +00:00)
26
+
27
+ **Merged pull requests:**
7
28
 
8
29
  * Missing unofficial translations, addresses the remaining translations in [\#580](https://github.com/countries/countries/issues/580) - [\#764](https://github.com/countries/countries/pull/764) ([pmor](https://github.com/pmor))
9
30
 
data/README.markdown CHANGED
@@ -69,7 +69,7 @@ c = ISO3166::Country.find_country_by_alpha2("FR")
69
69
  For a list of available attributes please see `ISO3166::DEFAULT_COUNTRY_HASH`.
70
70
  Note: searches are *case insensitive and ignore accents*.
71
71
 
72
- _Please note that `find_by_name`, `find_by_names`, `find_*_by_name` and `find_*_by_names` methods were removed in 5.0. See [UPGRADE.md](../blob/master/UPGRADE.md) for more information_
72
+ _Please note that `find_by_name`, `find_by_names`, `find_*_by_name` and `find_*_by_names` methods were removed in 5.0. See [UPGRADE.md](../master/UPGRADE.md) for more information_
73
73
 
74
74
  ## Country Info
75
75
 
data/countries.gemspec CHANGED
@@ -23,7 +23,7 @@ Gem::Specification.new do |gem|
23
23
 
24
24
  gem.required_ruby_version = '>= 2.7'
25
25
 
26
- gem.add_dependency('sixarm_ruby_unaccent', '~> 1.1')
26
+ gem.add_dependency('unaccent', '~> 0.3')
27
27
  gem.add_development_dependency('activesupport', '>= 3')
28
28
  gem.add_development_dependency('nokogiri', '>= 1.8')
29
29
  gem.add_development_dependency('rspec', '>= 3')