carmen 1.1.2 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (115) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +5 -0
  3. data/iso_data/base/world.yml +9 -9
  4. data/iso_data/base/world/ad.yml +1 -1
  5. data/iso_data/base/world/ag.yml +1 -1
  6. data/iso_data/base/world/al.yml +2 -2
  7. data/iso_data/base/world/ba/bih.yml +2 -2
  8. data/iso_data/base/world/bb.yml +2 -2
  9. data/iso_data/base/world/bd/b.yml +2 -2
  10. data/iso_data/base/world/bf.yml +2 -2
  11. data/iso_data/base/world/bg.yml +2 -2
  12. data/iso_data/base/world/ci.yml +2 -2
  13. data/iso_data/base/world/cn.yml +42 -42
  14. data/iso_data/base/world/cu.yml +2 -2
  15. data/iso_data/base/world/dm.yml +2 -2
  16. data/iso_data/base/world/do.yml +2 -2
  17. data/iso_data/base/world/dz.yml +2 -2
  18. data/iso_data/base/world/fi.yml +2 -2
  19. data/iso_data/base/world/fr/ges.yml +1 -1
  20. data/iso_data/base/world/fr/occ.yml +1 -1
  21. data/iso_data/base/world/hr.yml +2 -2
  22. data/iso_data/base/world/in.yml +2 -0
  23. data/iso_data/base/world/ir.yml +1 -1
  24. data/iso_data/base/world/jm.yml +2 -2
  25. data/iso_data/base/world/jp.yml +2 -2
  26. data/iso_data/base/world/kn/k.yml +2 -2
  27. data/iso_data/base/world/kp.yml +2 -2
  28. data/iso_data/base/world/li.yml +2 -2
  29. data/iso_data/base/world/lv.yml +36 -36
  30. data/iso_data/base/world/ma.yml +2 -2
  31. data/iso_data/base/world/me.yml +2 -2
  32. data/iso_data/base/world/mk.yml +2 -2
  33. data/iso_data/base/world/mn.yml +4 -4
  34. data/iso_data/base/world/mr.yml +2 -2
  35. data/iso_data/base/world/mt.yml +2 -2
  36. data/iso_data/base/world/mv/us.yml +1 -1
  37. data/iso_data/base/world/mx.yml +2 -2
  38. data/iso_data/base/world/my.yml +2 -2
  39. data/iso_data/base/world/no.yml +2 -2
  40. data/iso_data/base/world/nr.yml +2 -2
  41. data/iso_data/base/world/ph.yml +2 -2
  42. data/iso_data/base/world/pt.yml +2 -2
  43. data/iso_data/base/world/rs.yml +2 -2
  44. data/iso_data/base/world/sa.yml +2 -2
  45. data/iso_data/base/world/sc.yml +2 -2
  46. data/iso_data/base/world/si.yml +36 -36
  47. data/iso_data/base/world/sm.yml +2 -2
  48. data/iso_data/base/world/tr.yml +2 -2
  49. data/iso_data/base/world/tz.yml +2 -2
  50. data/iso_data/base/world/ua.yml +1 -1
  51. data/iso_data/base/world/vn.yml +1 -1
  52. data/iso_data/base/world/za.yml +3 -3
  53. data/iso_data/base/world/zm.yml +2 -2
  54. data/lib/carmen/querying.rb +8 -3
  55. data/lib/carmen/version.rb +1 -1
  56. data/locale/base/en/world.yml +5 -5
  57. data/locale/base/en/world/ad.yml +1 -1
  58. data/locale/base/en/world/ag.yml +1 -1
  59. data/locale/base/en/world/al.yml +2 -2
  60. data/locale/base/en/world/al/08.yml +1 -1
  61. data/locale/base/en/world/al/09.yml +1 -1
  62. data/locale/base/en/world/ba/bih.yml +2 -2
  63. data/locale/base/en/world/bb.yml +2 -2
  64. data/locale/base/en/world/bd/b.yml +2 -2
  65. data/locale/base/en/world/bf.yml +2 -2
  66. data/locale/base/en/world/bf/08.yml +1 -1
  67. data/locale/base/en/world/bf/09.yml +1 -1
  68. data/locale/base/en/world/bg.yml +2 -2
  69. data/locale/base/en/world/ci.yml +2 -2
  70. data/locale/base/en/world/cn.yml +68 -68
  71. data/locale/base/en/world/cu.yml +2 -2
  72. data/locale/base/en/world/dm.yml +2 -2
  73. data/locale/base/en/world/do.yml +2 -2
  74. data/locale/base/en/world/dz.yml +2 -2
  75. data/locale/base/en/world/fi.yml +2 -2
  76. data/locale/base/en/world/fr/ges.yml +1 -1
  77. data/locale/base/en/world/fr/occ.yml +1 -1
  78. data/locale/base/en/world/hr.yml +2 -2
  79. data/locale/base/en/world/in.yml +4 -2
  80. data/locale/base/en/world/ir.yml +1 -1
  81. data/locale/base/en/world/jm.yml +2 -2
  82. data/locale/base/en/world/jp.yml +2 -2
  83. data/locale/base/en/world/kn/k.yml +2 -2
  84. data/locale/base/en/world/kp.yml +2 -2
  85. data/locale/base/en/world/li.yml +2 -2
  86. data/locale/base/en/world/lv.yml +36 -36
  87. data/locale/base/en/world/ma.yml +2 -2
  88. data/locale/base/en/world/ma/08.yml +1 -1
  89. data/locale/base/en/world/ma/09.yml +1 -1
  90. data/locale/base/en/world/me.yml +2 -2
  91. data/locale/base/en/world/mk.yml +2 -2
  92. data/locale/base/en/world/mn.yml +4 -4
  93. data/locale/base/en/world/mr.yml +2 -2
  94. data/locale/base/en/world/mt.yml +2 -2
  95. data/locale/base/en/world/mv/us.yml +1 -1
  96. data/locale/base/en/world/mx.yml +5 -5
  97. data/locale/base/en/world/my.yml +2 -2
  98. data/locale/base/en/world/no.yml +2 -2
  99. data/locale/base/en/world/nr.yml +2 -2
  100. data/locale/base/en/world/ph.yml +2 -2
  101. data/locale/base/en/world/ph/08.yml +1 -1
  102. data/locale/base/en/world/ph/09.yml +1 -1
  103. data/locale/base/en/world/pt.yml +2 -2
  104. data/locale/base/en/world/rs.yml +2 -2
  105. data/locale/base/en/world/sa.yml +2 -2
  106. data/locale/base/en/world/sc.yml +2 -2
  107. data/locale/base/en/world/si.yml +36 -36
  108. data/locale/base/en/world/sm.yml +2 -2
  109. data/locale/base/en/world/tr.yml +2 -2
  110. data/locale/base/en/world/tz.yml +2 -2
  111. data/locale/base/en/world/ua.yml +1 -1
  112. data/locale/base/en/world/vn.yml +1 -1
  113. data/locale/base/en/world/za.yml +3 -3
  114. data/locale/base/en/world/zm.yml +2 -2
  115. metadata +3 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 398ba89f3633ec58c07af9e611cb44f246506b52dbf5512f26e6a54752af438d
4
- data.tar.gz: 84dbd02031b138f41bc9d32c2a59f8796d2065bf568500e4189701a0b83a417a
3
+ metadata.gz: c23705e0d387ec00c15ac483aca003bfe655492d7a34287969b633aaddedbbd1
4
+ data.tar.gz: 39edb4782bea37cb01b84bec3f9a2ae897ea618e99a15d42ddde277c9804c97f
5
5
  SHA512:
6
- metadata.gz: 43245fc61d97b44991d8999f263b6ce118186f87fccd57b0a471d5522d6ed35058d040b0a9abe4a1caf58068404d6b1300496edc8e5340c76a2ae4294e59dd13
7
- data.tar.gz: 27748f9cf7d723590bdba61b063418ec4b5ce5496c463d6f5d059d71fe6bbe3384edaf7597392cc55f22ae00863bfe3aac37c4edb2010568a0009b82c567eb33
6
+ metadata.gz: 1be5ae2eeca3a52605dc85002e29405dc8454b88860b294ce60f255bb2a2783f55dd5397ce636d47495d7cf2f4bdf1c5feee6a2ccd8012a092d304e57bebc939
7
+ data.tar.gz: 250e4726d57d78fa0ba47078098dce6a3f6f67ec4fddd2e9cfb1fece46b43e2af52b216d07c05bdc5b970e7aeefa0e39e152cfcc7255c3f5da9bb58636365508
@@ -1,5 +1,10 @@
1
1
  ### master (unreleased)
2
2
 
3
+ ##### Geographic Modifications
4
+ * [#274](https://github.com/carmen-ruby/carmen/pull/274) Run update_data script
5
+ to sync with the ISO repository. Includes changes for CN, IN, GM, MK,
6
+ MZ, and ZA ([@swcraig](https://github.com/swcraig))
7
+
3
8
  ### 1.1.2 (May 2, 2019)
4
9
 
5
10
  ##### Geographic Modifications
@@ -13,7 +13,7 @@
13
13
  type: country
14
14
  - alpha_2_code: AG
15
15
  alpha_3_code: ATG
16
- numeric_code: 028
16
+ numeric_code: '028'
17
17
  type: country
18
18
  - alpha_2_code: AI
19
19
  alpha_3_code: AIA
@@ -21,7 +21,7 @@
21
21
  type: country
22
22
  - alpha_2_code: AL
23
23
  alpha_3_code: ALB
24
- numeric_code: 008
24
+ numeric_code: '008'
25
25
  type: country
26
26
  - alpha_2_code: AM
27
27
  alpha_3_code: ARM
@@ -89,7 +89,7 @@
89
89
  type: country
90
90
  - alpha_2_code: BH
91
91
  alpha_3_code: BHR
92
- numeric_code: 048
92
+ numeric_code: '048'
93
93
  type: country
94
94
  - alpha_2_code: BI
95
95
  alpha_3_code: BDI
@@ -109,11 +109,11 @@
109
109
  type: country
110
110
  - alpha_2_code: BN
111
111
  alpha_3_code: BRN
112
- numeric_code: 096
112
+ numeric_code: '096'
113
113
  type: country
114
114
  - alpha_2_code: BO
115
115
  alpha_3_code: BOL
116
- numeric_code: 068
116
+ numeric_code: '068'
117
117
  type: country
118
118
  - alpha_2_code: BQ
119
119
  alpha_3_code: BES
@@ -145,7 +145,7 @@
145
145
  type: country
146
146
  - alpha_2_code: BZ
147
147
  alpha_3_code: BLZ
148
- numeric_code: 084
148
+ numeric_code: '084'
149
149
  type: country
150
150
  - alpha_2_code: CA
151
151
  alpha_3_code: CAN
@@ -421,7 +421,7 @@
421
421
  type: country
422
422
  - alpha_2_code: IO
423
423
  alpha_3_code: IOT
424
- numeric_code: 086
424
+ numeric_code: '086'
425
425
  type: country
426
426
  - alpha_2_code: IQ
427
427
  alpha_3_code: IRQ
@@ -773,7 +773,7 @@
773
773
  type: country
774
774
  - alpha_2_code: SB
775
775
  alpha_3_code: SLB
776
- numeric_code: 090
776
+ numeric_code: '090'
777
777
  type: country
778
778
  - alpha_2_code: SC
779
779
  alpha_3_code: SYC
@@ -953,7 +953,7 @@
953
953
  type: country
954
954
  - alpha_2_code: VG
955
955
  alpha_3_code: VGB
956
- numeric_code: 092
956
+ numeric_code: '092'
957
957
  type: country
958
958
  - alpha_2_code: VI
959
959
  alpha_3_code: VIR
@@ -11,5 +11,5 @@
11
11
  type: parish
12
12
  - code: '07'
13
13
  type: parish
14
- - code: 08
14
+ - code: '08'
15
15
  type: parish
@@ -9,7 +9,7 @@
9
9
  type: parish
10
10
  - code: '07'
11
11
  type: parish
12
- - code: 08
12
+ - code: '08'
13
13
  type: parish
14
14
  - code: '10'
15
15
  type: dependency
@@ -13,9 +13,9 @@
13
13
  type: county
14
14
  - code: '07'
15
15
  type: county
16
- - code: 08
16
+ - code: '08'
17
17
  type: county
18
- - code: 09
18
+ - code: '09'
19
19
  type: county
20
20
  - code: '10'
21
21
  type: county
@@ -13,9 +13,9 @@
13
13
  type: canton
14
14
  - code: '07'
15
15
  type: canton
16
- - code: 08
16
+ - code: '08'
17
17
  type: canton
18
- - code: 09
18
+ - code: '09'
19
19
  type: canton
20
20
  - code: '10'
21
21
  type: canton
@@ -13,9 +13,9 @@
13
13
  type: parish
14
14
  - code: '07'
15
15
  type: parish
16
- - code: 08
16
+ - code: '08'
17
17
  type: parish
18
- - code: 09
18
+ - code: '09'
19
19
  type: parish
20
20
  - code: '10'
21
21
  type: parish
@@ -3,9 +3,9 @@
3
3
  type: district
4
4
  - code: '04'
5
5
  type: district
6
- - code: 08
6
+ - code: '08'
7
7
  type: district
8
- - code: 09
8
+ - code: '09'
9
9
  type: district
10
10
  - code: '10'
11
11
  type: district
@@ -13,9 +13,9 @@
13
13
  type: region
14
14
  - code: '07'
15
15
  type: region
16
- - code: 08
16
+ - code: '08'
17
17
  type: region
18
- - code: 09
18
+ - code: '09'
19
19
  type: region
20
20
  - code: '10'
21
21
  type: region
@@ -13,9 +13,9 @@
13
13
  type: region
14
14
  - code: '07'
15
15
  type: region
16
- - code: 08
16
+ - code: '08'
17
17
  type: region
18
- - code: 09
18
+ - code: '09'
19
19
  type: region
20
20
  - code: '10'
21
21
  type: region
@@ -13,9 +13,9 @@
13
13
  type: region
14
14
  - code: '07'
15
15
  type: region
16
- - code: 08
16
+ - code: '08'
17
17
  type: region
18
- - code: 09
18
+ - code: '09'
19
19
  type: region
20
20
  - code: '10'
21
21
  type: region
@@ -1,69 +1,69 @@
1
1
  ---
2
- - code: '11'
2
+ - code: AH
3
+ type: province
4
+ - code: BJ
3
5
  type: municipality
4
- - code: '12'
6
+ - code: CQ
5
7
  type: municipality
6
- - code: '13'
7
- type: province
8
- - code: '14'
8
+ - code: FJ
9
9
  type: province
10
- - code: '15'
11
- type: autonomous region
12
- - code: '21'
10
+ - code: GD
13
11
  type: province
14
- - code: '22'
12
+ - code: GS
15
13
  type: province
16
- - code: '23'
14
+ - code: GX
15
+ type: autonomous region
16
+ - code: GZ
17
17
  type: province
18
- - code: '31'
19
- type: municipality
20
- - code: '32'
18
+ - code: HA
21
19
  type: province
22
- - code: '33'
20
+ - code: HB
23
21
  type: province
24
- - code: '34'
22
+ - code: HE
25
23
  type: province
26
- - code: '35'
24
+ - code: HI
27
25
  type: province
28
- - code: '36'
26
+ - code: HK
27
+ type: special administrative region
28
+ - code: HL
29
29
  type: province
30
- - code: '37'
30
+ - code: HN
31
31
  type: province
32
- - code: '41'
32
+ - code: JL
33
33
  type: province
34
- - code: '42'
34
+ - code: JS
35
35
  type: province
36
- - code: '43'
36
+ - code: JX
37
37
  type: province
38
- - code: '44'
38
+ - code: LN
39
39
  type: province
40
- - code: '45'
40
+ - code: MO
41
+ type: special administrative region
42
+ - code: NM
41
43
  type: autonomous region
42
- - code: '46'
43
- type: province
44
- - code: '50'
45
- type: municipality
46
- - code: '51'
44
+ - code: NX
45
+ type: autonomous region
46
+ - code: QH
47
47
  type: province
48
- - code: '52'
48
+ - code: SC
49
49
  type: province
50
- - code: '53'
50
+ - code: SD
51
51
  type: province
52
- - code: '54'
53
- type: autonomous region
54
- - code: '61'
52
+ - code: SH
53
+ type: municipality
54
+ - code: SN
55
55
  type: province
56
- - code: '62'
56
+ - code: SX
57
57
  type: province
58
- - code: '63'
58
+ - code: TJ
59
+ type: municipality
60
+ - code: TW
59
61
  type: province
60
- - code: '64'
62
+ - code: XJ
61
63
  type: autonomous region
62
- - code: '65'
64
+ - code: XZ
63
65
  type: autonomous region
64
- - code: '71'
66
+ - code: YN
67
+ type: province
68
+ - code: ZJ
65
69
  type: province
66
- - code: '91'
67
- type: special administrative region
68
- - code: '92'
69
- type: special administrative region
@@ -13,9 +13,9 @@
13
13
  type: province
14
14
  - code: '07'
15
15
  type: province
16
- - code: 08
16
+ - code: '08'
17
17
  type: province
18
- - code: 09
18
+ - code: '09'
19
19
  type: province
20
20
  - code: '10'
21
21
  type: province
@@ -13,9 +13,9 @@
13
13
  type: parish
14
14
  - code: '07'
15
15
  type: parish
16
- - code: 08
16
+ - code: '08'
17
17
  type: parish
18
- - code: 09
18
+ - code: '09'
19
19
  type: parish
20
20
  - code: '10'
21
21
  type: parish
@@ -13,9 +13,9 @@
13
13
  type: province
14
14
  - code: '07'
15
15
  type: province
16
- - code: 08
16
+ - code: '08'
17
17
  type: province
18
- - code: 09
18
+ - code: '09'
19
19
  type: province
20
20
  - code: '10'
21
21
  type: province
@@ -13,9 +13,9 @@
13
13
  type: province
14
14
  - code: '07'
15
15
  type: province
16
- - code: 08
16
+ - code: '08'
17
17
  type: province
18
- - code: 09
18
+ - code: '09'
19
19
  type: province
20
20
  - code: '10'
21
21
  type: province
@@ -13,9 +13,9 @@
13
13
  type: region
14
14
  - code: '07'
15
15
  type: region
16
- - code: 08
16
+ - code: '08'
17
17
  type: region
18
- - code: 09
18
+ - code: '09'
19
19
  type: region
20
20
  - code: '10'
21
21
  type: region
@@ -1,5 +1,5 @@
1
1
  ---
2
- - code: 08
2
+ - code: '08'
3
3
  type: metropolitan department
4
4
  - code: '10'
5
5
  type: metropolitan department
@@ -1,5 +1,5 @@
1
1
  ---
2
- - code: 09
2
+ - code: '09'
3
3
  type: metropolitan department
4
4
  - code: '11'
5
5
  type: metropolitan department
@@ -13,9 +13,9 @@
13
13
  type: county
14
14
  - code: '07'
15
15
  type: county
16
- - code: 08
16
+ - code: '08'
17
17
  type: county
18
- - code: 09
18
+ - code: '09'
19
19
  type: county
20
20
  - code: '10'
21
21
  type: county
@@ -59,6 +59,8 @@
59
59
  type: state
60
60
  - code: SK
61
61
  type: state
62
+ - code: TG
63
+ type: state
62
64
  - code: TN
63
65
  type: state
64
66
  - code: TR
@@ -13,7 +13,7 @@
13
13
  type: province
14
14
  - code: '07'
15
15
  type: province
16
- - code: 08
16
+ - code: '08'
17
17
  type: province
18
18
  - code: '10'
19
19
  type: province
@@ -13,9 +13,9 @@
13
13
  type: parish
14
14
  - code: '07'
15
15
  type: parish
16
- - code: 08
16
+ - code: '08'
17
17
  type: parish
18
- - code: 09
18
+ - code: '09'
19
19
  type: parish
20
20
  - code: '10'
21
21
  type: parish
@@ -13,9 +13,9 @@
13
13
  type: prefecture
14
14
  - code: '07'
15
15
  type: prefecture
16
- - code: 08
16
+ - code: '08'
17
17
  type: prefecture
18
- - code: 09
18
+ - code: '09'
19
19
  type: prefecture
20
20
  - code: '10'
21
21
  type: prefecture