countries 4.2.1 → 4.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (139) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +21 -4
  3. data/README.markdown +3 -3
  4. data/countries.gemspec +4 -4
  5. data/lib/countries/cache/countries.json +1 -1
  6. data/lib/countries/data/countries/AE.yaml +1 -1
  7. data/lib/countries/data/subdivisions/AD.yaml +21 -21
  8. data/lib/countries/data/subdivisions/AF.yaml +2 -2
  9. data/lib/countries/data/subdivisions/AG.yaml +1 -1
  10. data/lib/countries/data/subdivisions/AI.yaml +98 -98
  11. data/lib/countries/data/subdivisions/AL.yaml +82 -626
  12. data/lib/countries/data/subdivisions/AZ.yaml +5 -5
  13. data/lib/countries/data/subdivisions/BA.yaml +11 -11
  14. data/lib/countries/data/subdivisions/BD.yaml +8 -8
  15. data/lib/countries/data/subdivisions/BE.yaml +2 -2
  16. data/lib/countries/data/subdivisions/BF.yaml +13 -13
  17. data/lib/countries/data/subdivisions/BI.yaml +3 -3
  18. data/lib/countries/data/subdivisions/BM.yaml +77 -77
  19. data/lib/countries/data/subdivisions/BS.yaml +22 -22
  20. data/lib/countries/data/subdivisions/BW.yaml +7 -7
  21. data/lib/countries/data/subdivisions/BY.yaml +1 -1
  22. data/lib/countries/data/subdivisions/CD.yaml +19 -19
  23. data/lib/countries/data/subdivisions/CG.yaml +1 -1
  24. data/lib/countries/data/subdivisions/CI.yaml +14 -14
  25. data/lib/countries/data/subdivisions/CK.yaml +77 -77
  26. data/lib/countries/data/subdivisions/CN.yaml +0 -107
  27. data/lib/countries/data/subdivisions/CV.yaml +9 -9
  28. data/lib/countries/data/subdivisions/DK.yaml +1 -0
  29. data/lib/countries/data/subdivisions/DO.yaml +11 -11
  30. data/lib/countries/data/subdivisions/EE.yaml +78 -2
  31. data/lib/countries/data/subdivisions/EH.yaml +12 -12
  32. data/lib/countries/data/subdivisions/ES.yaml +17 -17
  33. data/lib/countries/data/subdivisions/FI.yaml +16 -16
  34. data/lib/countries/data/subdivisions/FJ.yaml +14 -14
  35. data/lib/countries/data/subdivisions/GB.yaml +21 -20
  36. data/lib/countries/data/subdivisions/GH.yaml +7 -7
  37. data/lib/countries/data/subdivisions/GL.yaml +6 -6
  38. data/lib/countries/data/subdivisions/GN.yaml +7 -7
  39. data/lib/countries/data/subdivisions/GQ.yaml +1 -0
  40. data/lib/countries/data/subdivisions/GR.yaml +1 -1
  41. data/lib/countries/data/subdivisions/GW.yaml +3 -3
  42. data/lib/countries/data/subdivisions/HT.yaml +1 -1
  43. data/lib/countries/data/subdivisions/ID.yaml +41 -41
  44. data/lib/countries/data/subdivisions/IE.yaml +1 -2
  45. data/lib/countries/data/subdivisions/IN.yaml +4 -3
  46. data/lib/countries/data/subdivisions/IQ.yaml +1 -1
  47. data/lib/countries/data/subdivisions/IR.yaml +2 -1
  48. data/lib/countries/data/subdivisions/IS.yaml +72 -0
  49. data/lib/countries/data/subdivisions/IT.yaml +7 -8
  50. data/lib/countries/data/subdivisions/KG.yaml +1 -1
  51. data/lib/countries/data/subdivisions/KH.yaml +1 -1
  52. data/lib/countries/data/subdivisions/KN.yaml +2 -2
  53. data/lib/countries/data/subdivisions/KP.yaml +12 -12
  54. data/lib/countries/data/subdivisions/KR.yaml +1 -1
  55. data/lib/countries/data/subdivisions/KZ.yaml +1 -1
  56. data/lib/countries/data/subdivisions/LA.yaml +1 -1
  57. data/lib/countries/data/subdivisions/LB.yaml +2 -2
  58. data/lib/countries/data/subdivisions/LC.yaml +10 -10
  59. data/lib/countries/data/subdivisions/LK.yaml +9 -9
  60. data/lib/countries/data/subdivisions/LR.yaml +2 -2
  61. data/lib/countries/data/subdivisions/LT.yaml +60 -60
  62. data/lib/countries/data/subdivisions/LU.yaml +1 -1
  63. data/lib/countries/data/subdivisions/LV.yaml +1 -1
  64. data/lib/countries/data/subdivisions/MA.yaml +35 -35
  65. data/lib/countries/data/subdivisions/MC.yaml +17 -17
  66. data/lib/countries/data/subdivisions/MD.yaml +740 -740
  67. data/lib/countries/data/subdivisions/ME.yaml +3 -3
  68. data/lib/countries/data/subdivisions/MH.yaml +2 -2
  69. data/lib/countries/data/subdivisions/ML.yaml +2 -2
  70. data/lib/countries/data/subdivisions/MM.yaml +1 -1
  71. data/lib/countries/data/subdivisions/MR.yaml +3 -3
  72. data/lib/countries/data/subdivisions/MV.yaml +8 -8
  73. data/lib/countries/data/subdivisions/MW.yaml +4 -4
  74. data/lib/countries/data/subdivisions/MX.yaml +1 -1
  75. data/lib/countries/data/subdivisions/NL.yaml +6 -6
  76. data/lib/countries/data/subdivisions/NO.yaml +1 -0
  77. data/lib/countries/data/subdivisions/NP.yaml +12 -12
  78. data/lib/countries/data/subdivisions/NZ.yaml +1 -1
  79. data/lib/countries/data/subdivisions/OM.yaml +6 -6
  80. data/lib/countries/data/subdivisions/PG.yaml +3 -3
  81. data/lib/countries/data/subdivisions/PH.yaml +16 -16
  82. data/lib/countries/data/subdivisions/PK.yaml +2 -2
  83. data/lib/countries/data/subdivisions/PS.yaml +16 -16
  84. data/lib/countries/data/subdivisions/QA.yaml +2 -2
  85. data/lib/countries/data/subdivisions/RS.yaml +2 -2
  86. data/lib/countries/data/subdivisions/SC.yaml +4 -2
  87. data/lib/countries/data/subdivisions/SH.yaml +1 -1
  88. data/lib/countries/data/subdivisions/SI.yaml +19 -19
  89. data/lib/countries/data/subdivisions/SJ.yaml +14 -14
  90. data/lib/countries/data/subdivisions/SL.yaml +1 -1
  91. data/lib/countries/data/subdivisions/SN.yaml +3 -3
  92. data/lib/countries/data/subdivisions/SS.yaml +10 -10
  93. data/lib/countries/data/subdivisions/ST.yaml +6 -0
  94. data/lib/countries/data/subdivisions/TD.yaml +6 -6
  95. data/lib/countries/data/subdivisions/TH.yaml +1 -1
  96. data/lib/countries/data/subdivisions/TJ.yaml +2 -2
  97. data/lib/countries/data/subdivisions/TK.yaml +21 -21
  98. data/lib/countries/data/subdivisions/TM.yaml +1 -1
  99. data/lib/countries/data/subdivisions/TT.yaml +2 -2
  100. data/lib/countries/data/subdivisions/TV.yaml +1 -1
  101. data/lib/countries/data/subdivisions/TW.yaml +3 -17
  102. data/lib/countries/data/subdivisions/TZ.yaml +5 -5
  103. data/lib/countries/data/subdivisions/UG.yaml +59 -52
  104. data/lib/countries/data/subdivisions/UM.yaml +0 -10
  105. data/lib/countries/data/subdivisions/WF.yaml +3 -13
  106. data/lib/countries/data/subdivisions/YE.yaml +3 -3
  107. data/lib/countries/data/subdivisions/ZA.yaml +2 -2
  108. data/lib/countries/data/subdivisions/ZM.yaml +1 -1
  109. data/lib/countries/version.rb +1 -1
  110. metadata +4 -33
  111. data/lib/countries/data/subdivisions/AS.yaml +0 -85
  112. data/lib/countries/data/subdivisions/AW.yaml +0 -9
  113. data/lib/countries/data/subdivisions/AX.yaml +0 -51
  114. data/lib/countries/data/subdivisions/BL.yaml +0 -11
  115. data/lib/countries/data/subdivisions/CP.yaml +0 -4
  116. data/lib/countries/data/subdivisions/CW.yaml +0 -9
  117. data/lib/countries/data/subdivisions/GF.yaml +0 -11
  118. data/lib/countries/data/subdivisions/GG.yaml +0 -155
  119. data/lib/countries/data/subdivisions/GP.yaml +0 -11
  120. data/lib/countries/data/subdivisions/GU.yaml +0 -275
  121. data/lib/countries/data/subdivisions/HK.yaml +0 -267
  122. data/lib/countries/data/subdivisions/IC.yaml +0 -4
  123. data/lib/countries/data/subdivisions/IM.yaml +0 -337
  124. data/lib/countries/data/subdivisions/JE.yaml +0 -169
  125. data/lib/countries/data/subdivisions/MF.yaml +0 -9
  126. data/lib/countries/data/subdivisions/MO.yaml +0 -9
  127. data/lib/countries/data/subdivisions/MP.yaml +0 -71
  128. data/lib/countries/data/subdivisions/MQ.yaml +0 -11
  129. data/lib/countries/data/subdivisions/MS.yaml +0 -43
  130. data/lib/countries/data/subdivisions/NC.yaml +0 -57
  131. data/lib/countries/data/subdivisions/PF.yaml +0 -81
  132. data/lib/countries/data/subdivisions/PM.yaml +0 -39
  133. data/lib/countries/data/subdivisions/PR.yaml +0 -1107
  134. data/lib/countries/data/subdivisions/RE.yaml +0 -11
  135. data/lib/countries/data/subdivisions/SX.yaml +0 -9
  136. data/lib/countries/data/subdivisions/TA.yaml +0 -4
  137. data/lib/countries/data/subdivisions/TF.yaml +0 -67
  138. data/lib/countries/data/subdivisions/VI.yaml +0 -57
  139. data/lib/countries/data/subdivisions/YT.yaml +0 -247
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 678e46df92cdbff4228c25619b4a2314ce1d6226fff8a482ec0f9ed9a6bac464
4
- data.tar.gz: fb5e189397d9af4855751ddcb0168156c84a9409c79bbd707b36cc91155051ba
3
+ metadata.gz: d5f2fb748d2a4450607d449b042b5e4b7ed07a53424a624ddd48a44a73aff087
4
+ data.tar.gz: 6d95e456629c9116e35fb9fce029503f24bd199883c10eb77f5dc775702dac6c
5
5
  SHA512:
6
- metadata.gz: 161184e5015c11d10070be7d17bfe02c7292e5c1ff1fb68e9344f8fad39e23ed1fde5f7bef46f256999ef80a5503cdecb290e411343ce328bf085517e1a1a205
7
- data.tar.gz: cb629c1eaf3626afe096159e170d5bf02c678db4ea4046623ed719cc5eea76983500ae38b8c7cb22146b32e7ddc91a006377bcace5e94d590ed85a70850ed67e
6
+ metadata.gz: 50fd92660600b1a2592457702e9e0068cc6a1268ab4d89f73a256b7acf23ef1e92c6f726986cb20c71d203dbc9c91d2fdc7dc80b2b193aa9728af3e90dd005e1
7
+ data.tar.gz: 70ec6a17d80e78e6b5b7ee9bc45b8286218e0974bae3d0c01247e00ed3ba719cdc03c0d498ec77fb799d8e828b804febc722af56568a2146f5221fd9905b9e2b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # Change Log
2
+
2
3
  All notable changes to this project will be documented in this file.
3
- This project adheres to [Semantic Versioning](http://semver.org/).
4
+ This project adheres to [Semantic Versioning](https://semver.org/).
4
5
 
5
6
  ## [Future 5.0 release]
6
7
 
@@ -8,11 +9,27 @@ This project adheres to [Semantic Versioning](http://semver.org/).
8
9
 
9
10
  - Drop support for Ruby 2.5 and 2.6 [\#708](https://github.com/countries/countries/pull/708) ([pmor](https://github.com/pmor))
10
11
 
11
- ## [4.2.1](https://github.com/countries/countries/releases/tag/v4.2.0) (2022/01/11 12:39 +00:00)
12
+ ## [4.2.2](https://github.com/countries/countries/releases/tag/v4.2.2) (2022/02/17 13:52 +00:00)
13
+
14
+ **IMPORTANT NOTE: This should be be the last release of the 4.x series, and the last one to support Ruby 2.5 and 2.6**
15
+
16
+ **Merged pull requests:**
17
+
18
+ * http:// -> https:// by [\#737](https://github.com/countries/countries/pull/737) ([biow0lf](https://github.com/biow0lf))
19
+ * Update AE start_of_week to monday. [\#739](https://github.com/countries/countries/pull/739) ([pmor](https://github.com/pmor))
20
+ * Fix Subdivision data by [\#740](https://github.com/countries/countries/pull/740) ([pmor](https://github.com/pmor))
21
+
22
+ **Closed issues:**
23
+
24
+ * Change on UAE Value.start_of_week [\#738](https://github.com/countries/countries/issues/738)
12
25
 
13
- - Missing update to cache files on release 4.2.0
14
- - Update postal code regexes from rake task [\#734 ](https://github.com/countries/countries/pull/734 ) ([cover](https://github.com/cover))
15
26
 
27
+ **Full Changelog**: https://github.com/countries/countries/compare/v4.2.1...v4.2.2
28
+
29
+ ## [4.2.1](https://github.com/countries/countries/releases/tag/v4.2.1) (2022/01/11 12:39 +00:00)
30
+
31
+ - Missing update to cache files on release 4.2.0
32
+ - Update postal code regexes from rake task [\#734](https://github.com/countries/countries/pull/734 ) ([cover](https://github.com/cover))
16
33
 
17
34
  ## [4.2.0](https://github.com/countries/countries/releases/tag/v4.2.0) (2022/01/11 11:04 +00:00)
18
35
 
data/README.markdown CHANGED
@@ -165,8 +165,8 @@ gem 'tzinfo', '~> 1.2', '>= 1.2.2'
165
165
 
166
166
  ```ruby
167
167
  c.timezones.zone_identifiers # => ["America/New_York", "America/Detroit", "America/Kentucky/Louisville", ...]
168
- c.timezones.zone_info # see [tzinfo docs]( http://www.rubydoc.info/gems/tzinfo/TZInfo/CountryInfo)
169
- c.timezones # see [tzinfo docs]( http://www.rubydoc.info/gems/tzinfo/TZInfo/Country)
168
+ c.timezones.zone_info # see [tzinfo docs](https://www.rubydoc.info/gems/tzinfo/TZInfo/CountryTimezone)
169
+ c.timezones # see [tzinfo docs](https://www.rubydoc.info/gems/tzinfo/TZInfo/Country)
170
170
  ```
171
171
 
172
172
  ### Telephone Routing (E164)
@@ -240,7 +240,7 @@ c.currency.symbol # => '$'
240
240
 
241
241
  ## Address Formatting
242
242
 
243
- A template for formatting addresses is available through the address_format method. These templates are compatible with the [Liquid](http://www.liquidmarkup.org/) template system.
243
+ A template for formatting addresses is available through the address_format method. These templates are compatible with the [Liquid](https://shopify.github.io/liquid/) template system.
244
244
 
245
245
  ```ruby
246
246
  c.address_format # => "{{recipient}}\n{{street}}\n{{city}} {{region}} {{postalcode}}\n{{country}}"
data/countries.gemspec CHANGED
@@ -6,10 +6,10 @@ Gem::Specification.new do |gem|
6
6
  gem.email = ['hexorx@gmail.com', 'russell@burningpony.com', 'pedro@codecreations.tech']
7
7
  gem.description = 'All sorts of useful information about every country packaged as pretty little country objects. It includes data from ISO 3166'
8
8
  gem.summary = 'Gives you a country object full of all sorts of useful information.'
9
- gem.homepage = 'http://github.com/countries/countries'
10
- gem.metadata = { 'bug_tracker_uri' => 'http://github.com/countries/countries/issues',
11
- 'changelog_uri' => 'https://github.com/countries/countries/blob/master/CHANGELOG.md',
12
- 'source_code_uri' => 'https://github.com/countries/countries',
9
+ gem.homepage = 'https://github.com/countries/countries'
10
+ gem.metadata = { 'bug_tracker_uri' => 'https://github.com/countries/countries/issues',
11
+ 'changelog_uri' => 'https://github.com/countries/countries/blob/master/CHANGELOG.md',
12
+ 'source_code_uri' => 'https://github.com/countries/countries',
13
13
  'wiki_uri' => 'https://github.com/countries/countries/wiki'}
14
14
 
15
15
  gem.files = `git ls-files`.split($OUTPUT_RECORD_SEPARATOR)