countries 0.11.3 → 0.11.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (299) hide show
  1. checksums.yaml +4 -4
  2. data/README.markdown +0 -11
  3. data/countries.gemspec +1 -1
  4. data/lib/cache/translations.yaml +17080 -17080
  5. data/lib/countries/version.rb +1 -1
  6. data/lib/data/countries/AD.yaml +1 -1
  7. data/lib/data/countries/AE.yaml +3 -3
  8. data/lib/data/countries/AF.yaml +1 -1
  9. data/lib/data/countries/AG.yaml +1 -1
  10. data/lib/data/countries/AI.yaml +1 -1
  11. data/lib/data/countries/AL.yaml +1 -1
  12. data/lib/data/countries/AM.yaml +1 -1
  13. data/lib/data/countries/AN.yaml +1 -1
  14. data/lib/data/countries/AO.yaml +1 -1
  15. data/lib/data/countries/AQ.yaml +7 -7
  16. data/lib/data/countries/AR.yaml +1 -1
  17. data/lib/data/countries/AS.yaml +1 -1
  18. data/lib/data/countries/AT.yaml +2 -2
  19. data/lib/data/countries/AU.yaml +1 -1
  20. data/lib/data/countries/AW.yaml +1 -1
  21. data/lib/data/countries/AX.yaml +9 -9
  22. data/lib/data/countries/AZ.yaml +1 -1
  23. data/lib/data/countries/BA.yaml +1 -1
  24. data/lib/data/countries/BB.yaml +1 -1
  25. data/lib/data/countries/BD.yaml +1 -1
  26. data/lib/data/countries/BE.yaml +1 -1
  27. data/lib/data/countries/BF.yaml +1 -1
  28. data/lib/data/countries/BG.yaml +1 -1
  29. data/lib/data/countries/BH.yaml +2 -2
  30. data/lib/data/countries/BI.yaml +1 -1
  31. data/lib/data/countries/BJ.yaml +1 -1
  32. data/lib/data/countries/BL.yaml +5 -5
  33. data/lib/data/countries/BM.yaml +1 -1
  34. data/lib/data/countries/BN.yaml +1 -1
  35. data/lib/data/countries/BO.yaml +1 -1
  36. data/lib/data/countries/BQ.yaml +7 -7
  37. data/lib/data/countries/BR.yaml +1 -1
  38. data/lib/data/countries/BS.yaml +1 -1
  39. data/lib/data/countries/BT.yaml +1 -1
  40. data/lib/data/countries/BV.yaml +1 -1
  41. data/lib/data/countries/BW.yaml +1 -1
  42. data/lib/data/countries/BY.yaml +2 -2
  43. data/lib/data/countries/BZ.yaml +1 -1
  44. data/lib/data/countries/CA.yaml +1 -1
  45. data/lib/data/countries/CC.yaml +1 -1
  46. data/lib/data/countries/CD.yaml +1 -1
  47. data/lib/data/countries/CF.yaml +1 -1
  48. data/lib/data/countries/CG.yaml +1 -1
  49. data/lib/data/countries/CH.yaml +2 -2
  50. data/lib/data/countries/CI.yaml +1 -1
  51. data/lib/data/countries/CK.yaml +2 -2
  52. data/lib/data/countries/CL.yaml +1 -1
  53. data/lib/data/countries/CM.yaml +1 -1
  54. data/lib/data/countries/CN.yaml +1 -1
  55. data/lib/data/countries/CO.yaml +1 -1
  56. data/lib/data/countries/CR.yaml +1 -1
  57. data/lib/data/countries/CU.yaml +1 -1
  58. data/lib/data/countries/CV.yaml +1 -1
  59. data/lib/data/countries/CW.yaml +1 -1
  60. data/lib/data/countries/CX.yaml +1 -1
  61. data/lib/data/countries/CY.yaml +1 -1
  62. data/lib/data/countries/CZ.yaml +1 -1
  63. data/lib/data/countries/DE.yaml +1 -1
  64. data/lib/data/countries/DJ.yaml +2 -2
  65. data/lib/data/countries/DK.yaml +1 -1
  66. data/lib/data/countries/DM.yaml +1 -1
  67. data/lib/data/countries/DO.yaml +1 -1
  68. data/lib/data/countries/DZ.yaml +2 -2
  69. data/lib/data/countries/EC.yaml +2 -2
  70. data/lib/data/countries/EE.yaml +1 -1
  71. data/lib/data/countries/EG.yaml +4 -4
  72. data/lib/data/countries/EH.yaml +2 -2
  73. data/lib/data/countries/ER.yaml +3 -3
  74. data/lib/data/countries/ES.yaml +1 -1
  75. data/lib/data/countries/ET.yaml +3 -3
  76. data/lib/data/countries/FI.yaml +1 -1
  77. data/lib/data/countries/FJ.yaml +1 -1
  78. data/lib/data/countries/FK.yaml +2 -2
  79. data/lib/data/countries/FM.yaml +1 -1
  80. data/lib/data/countries/FO.yaml +2 -2
  81. data/lib/data/countries/FR.yaml +5 -5
  82. data/lib/data/countries/GA.yaml +1 -1
  83. data/lib/data/countries/GB.yaml +1 -1
  84. data/lib/data/countries/GD.yaml +1 -1
  85. data/lib/data/countries/GE.yaml +3 -3
  86. data/lib/data/countries/GF.yaml +1 -1
  87. data/lib/data/countries/GG.yaml +1 -1
  88. data/lib/data/countries/GH.yaml +1 -1
  89. data/lib/data/countries/GI.yaml +1 -1
  90. data/lib/data/countries/GL.yaml +1 -1
  91. data/lib/data/countries/GM.yaml +1 -1
  92. data/lib/data/countries/GN.yaml +1 -1
  93. data/lib/data/countries/GP.yaml +1 -1
  94. data/lib/data/countries/GQ.yaml +2 -2
  95. data/lib/data/countries/GR.yaml +1 -1
  96. data/lib/data/countries/GS.yaml +1 -1
  97. data/lib/data/countries/GT.yaml +1 -1
  98. data/lib/data/countries/GU.yaml +1 -1
  99. data/lib/data/countries/GW.yaml +1 -1
  100. data/lib/data/countries/GY.yaml +1 -1
  101. data/lib/data/countries/HK.yaml +1 -1
  102. data/lib/data/countries/HM.yaml +1 -1
  103. data/lib/data/countries/HN.yaml +1 -1
  104. data/lib/data/countries/HR.yaml +1 -1
  105. data/lib/data/countries/HT.yaml +1 -1
  106. data/lib/data/countries/HU.yaml +1 -1
  107. data/lib/data/countries/ID.yaml +1 -1
  108. data/lib/data/countries/IE.yaml +1 -1
  109. data/lib/data/countries/IL.yaml +1 -1
  110. data/lib/data/countries/IM.yaml +2 -2
  111. data/lib/data/countries/IN.yaml +1 -1
  112. data/lib/data/countries/IO.yaml +1 -1
  113. data/lib/data/countries/IQ.yaml +2 -2
  114. data/lib/data/countries/IR.yaml +1 -1
  115. data/lib/data/countries/IS.yaml +1 -1
  116. data/lib/data/countries/IT.yaml +1 -1
  117. data/lib/data/countries/JE.yaml +1 -1
  118. data/lib/data/countries/JM.yaml +1 -1
  119. data/lib/data/countries/JO.yaml +2 -2
  120. data/lib/data/countries/JP.yaml +1 -1
  121. data/lib/data/countries/KE.yaml +1 -1
  122. data/lib/data/countries/KG.yaml +1 -1
  123. data/lib/data/countries/KH.yaml +1 -1
  124. data/lib/data/countries/KI.yaml +1 -1
  125. data/lib/data/countries/KM.yaml +1 -1
  126. data/lib/data/countries/KN.yaml +1 -1
  127. data/lib/data/countries/KP.yaml +1 -1
  128. data/lib/data/countries/KR.yaml +2 -1
  129. data/lib/data/countries/KW.yaml +2 -2
  130. data/lib/data/countries/KY.yaml +2 -2
  131. data/lib/data/countries/KZ.yaml +1 -1
  132. data/lib/data/countries/LA.yaml +1 -1
  133. data/lib/data/countries/LB.yaml +2 -2
  134. data/lib/data/countries/LC.yaml +1 -1
  135. data/lib/data/countries/LI.yaml +1 -1
  136. data/lib/data/countries/LK.yaml +1 -1
  137. data/lib/data/countries/LR.yaml +1 -1
  138. data/lib/data/countries/LS.yaml +1 -1
  139. data/lib/data/countries/LT.yaml +2 -2
  140. data/lib/data/countries/LU.yaml +1 -1
  141. data/lib/data/countries/LV.yaml +1 -1
  142. data/lib/data/countries/LY.yaml +2 -2
  143. data/lib/data/countries/MA.yaml +2 -2
  144. data/lib/data/countries/MC.yaml +1 -1
  145. data/lib/data/countries/MD.yaml +1 -1
  146. data/lib/data/countries/ME.yaml +1 -1
  147. data/lib/data/countries/MF.yaml +5 -5
  148. data/lib/data/countries/MG.yaml +1 -1
  149. data/lib/data/countries/MH.yaml +2 -2
  150. data/lib/data/countries/MK.yaml +1 -1
  151. data/lib/data/countries/ML.yaml +1 -1
  152. data/lib/data/countries/MM.yaml +1 -1
  153. data/lib/data/countries/MN.yaml +1 -1
  154. data/lib/data/countries/MO.yaml +1 -1
  155. data/lib/data/countries/MP.yaml +5 -5
  156. data/lib/data/countries/MQ.yaml +1 -1
  157. data/lib/data/countries/MR.yaml +2 -2
  158. data/lib/data/countries/MS.yaml +1 -1
  159. data/lib/data/countries/MT.yaml +1 -1
  160. data/lib/data/countries/MU.yaml +2 -2
  161. data/lib/data/countries/MV.yaml +1 -1
  162. data/lib/data/countries/MW.yaml +1 -1
  163. data/lib/data/countries/MX.yaml +1 -1
  164. data/lib/data/countries/MY.yaml +1 -1
  165. data/lib/data/countries/MZ.yaml +1 -1
  166. data/lib/data/countries/NA.yaml +1 -1
  167. data/lib/data/countries/NC.yaml +1 -1
  168. data/lib/data/countries/NE.yaml +1 -1
  169. data/lib/data/countries/NF.yaml +6 -6
  170. data/lib/data/countries/NG.yaml +1 -1
  171. data/lib/data/countries/NI.yaml +1 -1
  172. data/lib/data/countries/NL.yaml +1 -1
  173. data/lib/data/countries/NO.yaml +1 -1
  174. data/lib/data/countries/NP.yaml +1 -1
  175. data/lib/data/countries/NR.yaml +1 -1
  176. data/lib/data/countries/NU.yaml +1 -1
  177. data/lib/data/countries/NZ.yaml +1 -1
  178. data/lib/data/countries/OM.yaml +2 -2
  179. data/lib/data/countries/PA.yaml +1 -1
  180. data/lib/data/countries/PE.yaml +1 -1
  181. data/lib/data/countries/PF.yaml +1 -1
  182. data/lib/data/countries/PG.yaml +1 -1
  183. data/lib/data/countries/PH.yaml +1 -1
  184. data/lib/data/countries/PK.yaml +1 -1
  185. data/lib/data/countries/PL.yaml +1 -1
  186. data/lib/data/countries/PM.yaml +1 -1
  187. data/lib/data/countries/PN.yaml +1 -1
  188. data/lib/data/countries/PR.yaml +1 -1
  189. data/lib/data/countries/PS.yaml +6 -6
  190. data/lib/data/countries/PT.yaml +1 -1
  191. data/lib/data/countries/PW.yaml +1 -1
  192. data/lib/data/countries/PY.yaml +1 -1
  193. data/lib/data/countries/QA.yaml +2 -2
  194. data/lib/data/countries/RE.yaml +1 -1
  195. data/lib/data/countries/RO.yaml +1 -1
  196. data/lib/data/countries/RS.yaml +1 -1
  197. data/lib/data/countries/RU.yaml +3 -3
  198. data/lib/data/countries/RW.yaml +1 -1
  199. data/lib/data/countries/SA.yaml +2 -2
  200. data/lib/data/countries/SB.yaml +2 -2
  201. data/lib/data/countries/SC.yaml +1 -1
  202. data/lib/data/countries/SD.yaml +2 -2
  203. data/lib/data/countries/SE.yaml +1 -1
  204. data/lib/data/countries/SG.yaml +1 -1
  205. data/lib/data/countries/SH.yaml +1 -1
  206. data/lib/data/countries/SI.yaml +1 -1
  207. data/lib/data/countries/SJ.yaml +2 -2
  208. data/lib/data/countries/SK.yaml +1 -1
  209. data/lib/data/countries/SL.yaml +1 -1
  210. data/lib/data/countries/SM.yaml +1 -1
  211. data/lib/data/countries/SN.yaml +1 -1
  212. data/lib/data/countries/SO.yaml +2 -2
  213. data/lib/data/countries/SR.yaml +1 -1
  214. data/lib/data/countries/SS.yaml +5 -5
  215. data/lib/data/countries/ST.yaml +1 -1
  216. data/lib/data/countries/SV.yaml +1 -1
  217. data/lib/data/countries/SX.yaml +5 -5
  218. data/lib/data/countries/SY.yaml +3 -3
  219. data/lib/data/countries/SZ.yaml +1 -1
  220. data/lib/data/countries/TC.yaml +2 -2
  221. data/lib/data/countries/TD.yaml +2 -2
  222. data/lib/data/countries/TF.yaml +1 -1
  223. data/lib/data/countries/TG.yaml +1 -1
  224. data/lib/data/countries/TH.yaml +1 -1
  225. data/lib/data/countries/TJ.yaml +1 -1
  226. data/lib/data/countries/TK.yaml +2 -2
  227. data/lib/data/countries/TL.yaml +1 -1
  228. data/lib/data/countries/TM.yaml +1 -1
  229. data/lib/data/countries/TN.yaml +2 -2
  230. data/lib/data/countries/TO.yaml +1 -1
  231. data/lib/data/countries/TR.yaml +1 -1
  232. data/lib/data/countries/TT.yaml +1 -1
  233. data/lib/data/countries/TV.yaml +1 -1
  234. data/lib/data/countries/TW.yaml +1 -1
  235. data/lib/data/countries/TZ.yaml +1 -1
  236. data/lib/data/countries/UA.yaml +4 -4
  237. data/lib/data/countries/UG.yaml +1 -1
  238. data/lib/data/countries/UM.yaml +7 -7
  239. data/lib/data/countries/US.yaml +2 -2
  240. data/lib/data/countries/UY.yaml +1 -1
  241. data/lib/data/countries/UZ.yaml +1 -1
  242. data/lib/data/countries/VA.yaml +1 -1
  243. data/lib/data/countries/VC.yaml +1 -1
  244. data/lib/data/countries/VE.yaml +1 -1
  245. data/lib/data/countries/VG.yaml +2 -2
  246. data/lib/data/countries/VI.yaml +2 -2
  247. data/lib/data/countries/VN.yaml +1 -1
  248. data/lib/data/countries/VU.yaml +1 -1
  249. data/lib/data/countries/WF.yaml +1 -1
  250. data/lib/data/countries/WS.yaml +1 -1
  251. data/lib/data/countries/YE.yaml +2 -2
  252. data/lib/data/countries/YT.yaml +1 -1
  253. data/lib/data/countries/ZA.yaml +1 -1
  254. data/lib/data/countries/ZM.yaml +1 -1
  255. data/lib/data/countries/ZW.yaml +1 -1
  256. data/lib/data/subdivisions/AE.yaml +6 -6
  257. data/lib/data/subdivisions/AM.yaml +2 -2
  258. data/lib/data/subdivisions/AZ.yaml +2 -2
  259. data/lib/data/subdivisions/BG.yaml +2 -2
  260. data/lib/data/subdivisions/CA.yaml +1 -1
  261. data/lib/data/subdivisions/CD.yaml +2 -2
  262. data/lib/data/subdivisions/CZ.yaml +3 -3
  263. data/lib/data/subdivisions/DK.yaml +2 -2
  264. data/lib/data/subdivisions/EE.yaml +1 -1
  265. data/lib/data/subdivisions/EG.yaml +1 -1
  266. data/lib/data/subdivisions/ES.yaml +3 -3
  267. data/lib/data/subdivisions/FI.yaml +2 -2
  268. data/lib/data/subdivisions/GE.yaml +1 -1
  269. data/lib/data/subdivisions/GR.yaml +1 -1
  270. data/lib/data/subdivisions/HR.yaml +2 -2
  271. data/lib/data/subdivisions/HU.yaml +2 -2
  272. data/lib/data/subdivisions/IE.yaml +1 -1
  273. data/lib/data/subdivisions/KG.yaml +1 -1
  274. data/lib/data/subdivisions/KZ.yaml +3 -3
  275. data/lib/data/subdivisions/LT.yaml +1 -1
  276. data/lib/data/subdivisions/LY.yaml +1 -1
  277. data/lib/data/subdivisions/ME.yaml +4 -4
  278. data/lib/data/subdivisions/MK.yaml +6 -6
  279. data/lib/data/subdivisions/MN.yaml +2 -2
  280. data/lib/data/subdivisions/MR.yaml +1 -1
  281. data/lib/data/subdivisions/MT.yaml +13 -13
  282. data/lib/data/subdivisions/NO.yaml +2 -2
  283. data/lib/data/subdivisions/PL.yaml +9 -9
  284. data/lib/data/subdivisions/PT.yaml +2 -2
  285. data/lib/data/subdivisions/PY.yaml +1 -1
  286. data/lib/data/subdivisions/RS.yaml +2 -2
  287. data/lib/data/subdivisions/RU.yaml +91 -91
  288. data/lib/data/subdivisions/SD.yaml +2 -2
  289. data/lib/data/subdivisions/SE.yaml +4 -4
  290. data/lib/data/subdivisions/SI.yaml +40 -40
  291. data/lib/data/subdivisions/SK.yaml +2 -2
  292. data/lib/data/subdivisions/TO.yaml +1 -1
  293. data/lib/data/subdivisions/TR.yaml +6 -6
  294. data/lib/data/subdivisions/UA.yaml +2 -2
  295. data/lib/data/subdivisions/UZ.yaml +1 -1
  296. data/lib/data/subdivisions/VU.yaml +1 -1
  297. data/lib/data/subdivisions/YE.yaml +3 -3
  298. data/spec/country_spec.rb +21 -2
  299. metadata +5 -4
@@ -90,7 +90,7 @@
90
90
  names:
91
91
  - East Equatoria
92
92
  - Sharq al Istiwaiyya
93
- - "Šarq-al-Istiwaiyyah"
93
+ - Šarq-al-Istiwaiyyah
94
94
  '20':
95
95
  name: Junqali
96
96
  names:
@@ -109,7 +109,7 @@
109
109
  name: A?ali an Nil
110
110
  names:
111
111
  - Upper Nile
112
- - "ʿAli an Nil"
112
+ - ʿAli an Nil
113
113
  '24':
114
114
  name: An Nil al Azraq
115
115
  names:
@@ -15,8 +15,8 @@ D:
15
15
  name: Södermanlands län
16
16
  names: Södermanlands län
17
17
  E:
18
- name: "Östergötlands län"
19
- names: "Östergötlands län"
18
+ name: Östergötlands län
19
+ names: Östergötlands län
20
20
  F:
21
21
  name: Jönköpings län
22
22
  names: Jönköpings län
@@ -47,8 +47,8 @@ S:
47
47
  name: Värmlands län
48
48
  names: Värmlands län
49
49
  T:
50
- name: "Örebro län"
51
- names: "Örebro län"
50
+ name: Örebro län
51
+ names: Örebro län
52
52
  U:
53
53
  name: Västmanlands län
54
54
  names: Västmanlands län
@@ -96,8 +96,8 @@
96
96
  name: Grosuplje
97
97
  names: Grosuplje
98
98
  '033':
99
- name: "Šalovci"
100
- names: "Šalovci"
99
+ name: Šalovci
100
+ names: Šalovci
101
101
  '034':
102
102
  name: Hrastnik
103
103
  names: Hrastnik
@@ -348,38 +348,38 @@
348
348
  name: Sveti Jurij
349
349
  names: Sveti Jurij
350
350
  '117':
351
- name: "Šencur"
352
- names: "Šencur"
351
+ name: Šencur
352
+ names: Šencur
353
353
  '118':
354
- name: "Šentilj"
355
- names: "Šentilj"
354
+ name: Šentilj
355
+ names: Šentilj
356
356
  '119':
357
- name: "Šentjernej"
358
- names: "Šentjernej"
357
+ name: Šentjernej
358
+ names: Šentjernej
359
359
  '120':
360
- name: "Šentjur pri Celju"
361
- names: "Šentjur pri Celju"
360
+ name: Šentjur pri Celju
361
+ names: Šentjur pri Celju
362
362
  '121':
363
- name: "Škocjan"
364
- names: "Škocjan"
363
+ name: Škocjan
364
+ names: Škocjan
365
365
  '122':
366
- name: "Škofja Loka"
367
- names: "Škofja Loka"
366
+ name: Škofja Loka
367
+ names: Škofja Loka
368
368
  '123':
369
- name: "Škofljica"
370
- names: "Škofljica"
369
+ name: Škofljica
370
+ names: Škofljica
371
371
  '124':
372
- name: "Šmarje pri Jelšah"
373
- names: "Šmarje pri Jelšah"
372
+ name: Šmarje pri Jelšah
373
+ names: Šmarje pri Jelšah
374
374
  '125':
375
- name: "Šmartno ob Paki"
376
- names: "Šmartno ob Paki"
375
+ name: Šmartno ob Paki
376
+ names: Šmartno ob Paki
377
377
  '126':
378
- name: "Šoštanj"
379
- names: "Šoštanj"
378
+ name: Šoštanj
379
+ names: Šoštanj
380
380
  '127':
381
- name: "Štore"
382
- names: "Štore"
381
+ name: Štore
382
+ names: Štore
383
383
  '128':
384
384
  name: Tolmin
385
385
  names: Tolmin
@@ -432,11 +432,11 @@
432
432
  name: Zrece
433
433
  names: Zrece
434
434
  '146':
435
- name: "Železniki"
436
- names: "Železniki"
435
+ name: Železniki
436
+ names: Železniki
437
437
  '147':
438
- name: "Žiri"
439
- names: "Žiri"
438
+ name: Žiri
439
+ names: Žiri
440
440
  '148':
441
441
  name: Benedikt
442
442
  names: Benedikt
@@ -543,8 +543,8 @@
543
543
  name: Sveti Andraž v Slovenskih goricah
544
544
  names: Sveti Andraž v Slovenskih goricah
545
545
  '183':
546
- name: "Šempeter-Vrtojba"
547
- names: "Šempeter-Vrtojba"
546
+ name: Šempeter-Vrtojba
547
+ names: Šempeter-Vrtojba
548
548
  '184':
549
549
  name: Tabor
550
550
  names: Tabor
@@ -564,17 +564,17 @@
564
564
  name: Vransko
565
565
  names: Vransko
566
566
  '190':
567
- name: "Žalec"
568
- names: "Žalec"
567
+ name: Žalec
568
+ names: Žalec
569
569
  '191':
570
- name: "Žetale"
571
- names: "Žetale"
570
+ name: Žetale
571
+ names: Žetale
572
572
  '192':
573
- name: "Žirovnica"
574
- names: "Žirovnica"
573
+ name: Žirovnica
574
+ names: Žirovnica
575
575
  '193':
576
- name: "Žužemberk"
577
- names: "Žužemberk"
576
+ name: Žužemberk
577
+ names: Žužemberk
578
578
  '194':
579
- name: "Šmartno pri Litiji"
580
- names: "Šmartno pri Litiji"
579
+ name: Šmartno pri Litiji
580
+ names: Šmartno pri Litiji
@@ -21,5 +21,5 @@ TC:
21
21
  name: Trenciansky kraj
22
22
  names: Trenciansky kraj
23
23
  ZI:
24
- name: "Žilinský kraj"
25
- names: "Žilinský kraj"
24
+ name: Žilinský kraj
25
+ names: Žilinský kraj
@@ -3,7 +3,7 @@
3
3
  name: "'Eua"
4
4
  names:
5
5
  - Middleburg Island
6
- - "ʿEua"
6
+ - ʿEua
7
7
  '02':
8
8
  name: Ha'apai
9
9
  names: Ha'apai
@@ -54,15 +54,15 @@
54
54
  name: Bursa
55
55
  names: Bursa
56
56
  '17':
57
- name: "Çanakkale"
58
- names: "Çanakkale"
57
+ name: Çanakkale
58
+ names: Çanakkale
59
59
  '18':
60
- name: "Çankiri"
60
+ name: Çankiri
61
61
  names:
62
- - "Çankiri"
62
+ - Çankiri
63
63
  '19':
64
- name: "Çorum"
65
- names: "Çorum"
64
+ name: Çorum
65
+ names: Çorum
66
66
  '20':
67
67
  name: Denizli
68
68
  names: Denizli
@@ -155,7 +155,7 @@
155
155
  names:
156
156
  - Chernigov
157
157
  - Chernihiv
158
- - "Černigov"
158
+ - Černigov
159
159
  '77':
160
160
  name: Chernivets'ka Oblast'
161
161
  names:
@@ -165,4 +165,4 @@
165
165
  - Chernovtsy
166
166
  - Czernowitz
167
167
  - Tschernowitz
168
- - "Černovcy"
168
+ - Černovcy
@@ -51,7 +51,7 @@ QA:
51
51
  - Qashqadar
52
52
  - Qasqadar
53
53
  - Qaşqadar
54
- - "Ķaşķadar"
54
+ - Ķaşķadar
55
55
  QR:
56
56
  name: Qoraqalpog‘iston Respublikasi
57
57
  names:
@@ -25,7 +25,7 @@ SEE:
25
25
  names:
26
26
  - Sandwich Island
27
27
  - Vaté
28
- - "Éfaté"
28
+ - Éfaté
29
29
  TAE:
30
30
  name: Taféa
31
31
  names: Taféa
@@ -3,10 +3,10 @@ AB:
3
3
  name: Abyan
4
4
  names: Abyan
5
5
  AD:
6
- name: "ʿAdan"
6
+ name: ʿAdan
7
7
  names:
8
8
  - Adan
9
- - "ʿAdan"
9
+ - ʿAdan
10
10
  - Aden
11
11
  - Aden
12
12
  - Adén
@@ -25,7 +25,7 @@ DH:
25
25
  names:
26
26
  - Dhamar
27
27
  - Dhomar
28
- - "Đomar"
28
+ - Đomar
29
29
  HD:
30
30
  name: Hadramawt
31
31
  names:
data/spec/country_spec.rb CHANGED
@@ -465,10 +465,29 @@ describe ISO3166::Country do
465
465
 
466
466
  # Spot checks #241
467
467
  context 'when search name not found' do
468
- let(:iraq) { ISO3166::Country.find_country_by_name('Israel') }
468
+ let(:israel) { ISO3166::Country.find_country_by_name('Israel') }
469
469
 
470
470
  it 'should be a country instance' do
471
- expect(iraq.alpha2).to eq('IL')
471
+ expect(israel.alpha2).to eq('IL')
472
+ end
473
+ end
474
+
475
+ # Spot checks #241
476
+ context 'when search name not found' do
477
+ let(:israel) { ISO3166::Country.find_by_name('Israel') }
478
+
479
+ it 'should be a country instance' do
480
+ expect(israel[0]).to eq('IL')
481
+ end
482
+ end
483
+
484
+ # Spot checks #241
485
+ context 'when search name not found' do
486
+ let(:israel) { ISO3166::Country.find_all_by(:name, 'Israel') }
487
+
488
+ it 'should be a country instance' do
489
+ expect(israel.size).to eq(1)
490
+ expect(israel.first[0]).to eq('IL')
472
491
  end
473
492
  end
474
493
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: countries
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.3
4
+ version: 0.11.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Robinson
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-03-25 00:00:00.000000000 Z
12
+ date: 2015-05-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: i18n_data
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: 0.6.0
20
+ version: 0.7.0
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: 0.6.0
27
+ version: 0.7.0
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: currencies
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -568,3 +568,4 @@ test_files:
568
568
  - spec/country_spec.rb
569
569
  - spec/mongoid_spec.rb
570
570
  - spec/spec_helper.rb
571
+ has_rdoc: