greek-cities 1.1.3 → 1.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -2
  3. data/lib/gc.rb +3 -0
  4. data/lib/gc/cities/ahaia.yml +17 -0
  5. data/lib/gc/cities/aitoloakarnania.yml +24 -0
  6. data/lib/gc/cities/argolida.yml +14 -0
  7. data/lib/gc/cities/arkadia.yml +17 -0
  8. data/lib/gc/cities/arta.yml +14 -0
  9. data/lib/gc/cities/attiki.yml +200 -0
  10. data/lib/gc/cities/boiotia.yml +20 -0
  11. data/lib/gc/cities/dodekanisa.yml +47 -0
  12. data/lib/gc/cities/drama.yml +17 -0
  13. data/lib/gc/cities/evros.yml +17 -0
  14. data/lib/gc/cities/eyrytania.yml +11 -0
  15. data/lib/gc/cities/eyvoia.yml +26 -0
  16. data/lib/gc/cities/florina.yml +11 -0
  17. data/lib/gc/cities/fokida.yml +9 -0
  18. data/lib/gc/cities/fthiotida.yml +23 -0
  19. data/lib/gc/cities/grevena.yml +8 -0
  20. data/lib/gc/cities/halkidiki.yml +17 -0
  21. data/lib/gc/cities/hania.yml +23 -0
  22. data/lib/gc/cities/hios.yml +8 -0
  23. data/lib/gc/cities/ilia.yml +23 -0
  24. data/lib/gc/cities/imathia.yml +11 -0
  25. data/lib/gc/cities/ioannina.yml +26 -0
  26. data/lib/gc/cities/irakleio.yml +23 -0
  27. data/lib/gc/cities/karditsa.yml +20 -0
  28. data/lib/gc/cities/kastoria.yml +11 -0
  29. data/lib/gc/cities/kavala.yml +14 -0
  30. data/lib/gc/cities/kefallonia.yml +8 -0
  31. data/lib/gc/cities/kerkira.yml +8 -0
  32. data/lib/gc/cities/kiklades.yml +60 -0
  33. data/lib/gc/cities/kilkis.yml +8 -0
  34. data/lib/gc/cities/korinthos.yml +20 -0
  35. data/lib/gc/cities/kozani.yml +14 -0
  36. data/lib/gc/cities/lakonia.yml +17 -0
  37. data/lib/gc/cities/larisa.yml +23 -0
  38. data/lib/gc/cities/lasithi.yml +11 -0
  39. data/lib/gc/cities/lefkada.yml +8 -0
  40. data/lib/gc/cities/lesvos.yml +11 -0
  41. data/lib/gc/cities/magnisia.yml +26 -0
  42. data/lib/gc/cities/messinia.yml +20 -0
  43. data/lib/gc/cities/pella.yml +14 -0
  44. data/lib/gc/cities/pieria.yml +11 -0
  45. data/lib/gc/cities/preveza.yml +11 -0
  46. data/lib/gc/cities/rethymno.yml +17 -0
  47. data/lib/gc/cities/rodopi.yml +14 -0
  48. data/lib/gc/cities/samos.yml +11 -0
  49. data/lib/gc/cities/serres.yml +23 -0
  50. data/lib/gc/cities/thesprotia.yml +11 -0
  51. data/lib/gc/cities/thessaloniki.yml +44 -0
  52. data/lib/gc/cities/trikala.yml +14 -0
  53. data/lib/gc/cities/xanthi.yml +14 -0
  54. data/lib/gc/cities/zakinthos.yml +5 -0
  55. data/lib/gc/city.rb +59 -57
  56. data/lib/gc/helpers/load_files.rb +13 -0
  57. data/lib/gc/states.rb +1 -55
  58. data/lib/gc/states.yml +155 -0
  59. data/lib/gc/version.rb +1 -1
  60. metadata +58 -56
  61. data/lib/gc/cities/ahaia.rb +0 -13
  62. data/lib/gc/cities/aitoloakarnania.rb +0 -15
  63. data/lib/gc/cities/argolida.rb +0 -12
  64. data/lib/gc/cities/arkadia.rb +0 -13
  65. data/lib/gc/cities/arta.rb +0 -12
  66. data/lib/gc/cities/attiki.rb +0 -74
  67. data/lib/gc/cities/boiotia.rb +0 -14
  68. data/lib/gc/cities/dodekanisa.rb +0 -23
  69. data/lib/gc/cities/drama.rb +0 -13
  70. data/lib/gc/cities/evros.rb +0 -13
  71. data/lib/gc/cities/eyrytania.rb +0 -11
  72. data/lib/gc/cities/eyvoia.rb +0 -16
  73. data/lib/gc/cities/florina.rb +0 -11
  74. data/lib/gc/cities/fokida.rb +0 -10
  75. data/lib/gc/cities/fthiotida.rb +0 -15
  76. data/lib/gc/cities/grevena.rb +0 -10
  77. data/lib/gc/cities/halkidiki.rb +0 -13
  78. data/lib/gc/cities/hania.rb +0 -15
  79. data/lib/gc/cities/hios.rb +0 -10
  80. data/lib/gc/cities/ilia.rb +0 -15
  81. data/lib/gc/cities/imathia.rb +0 -11
  82. data/lib/gc/cities/ioannina.rb +0 -16
  83. data/lib/gc/cities/irakleio.rb +0 -15
  84. data/lib/gc/cities/karditsa.rb +0 -14
  85. data/lib/gc/cities/kastoria.rb +0 -11
  86. data/lib/gc/cities/kavala.rb +0 -12
  87. data/lib/gc/cities/kefallonia.rb +0 -10
  88. data/lib/gc/cities/kerkira.rb +0 -10
  89. data/lib/gc/cities/kiklades.rb +0 -27
  90. data/lib/gc/cities/kilkis.rb +0 -10
  91. data/lib/gc/cities/korinthos.rb +0 -14
  92. data/lib/gc/cities/kozani.rb +0 -12
  93. data/lib/gc/cities/lakonia.rb +0 -13
  94. data/lib/gc/cities/larisa.rb +0 -15
  95. data/lib/gc/cities/lasithi.rb +0 -11
  96. data/lib/gc/cities/lefkada.rb +0 -10
  97. data/lib/gc/cities/lesvos.rb +0 -11
  98. data/lib/gc/cities/magnisia.rb +0 -16
  99. data/lib/gc/cities/messinia.rb +0 -14
  100. data/lib/gc/cities/pella.rb +0 -12
  101. data/lib/gc/cities/pieria.rb +0 -11
  102. data/lib/gc/cities/preveza.rb +0 -11
  103. data/lib/gc/cities/rethymno.rb +0 -13
  104. data/lib/gc/cities/rodopi.rb +0 -12
  105. data/lib/gc/cities/samos.rb +0 -11
  106. data/lib/gc/cities/serres.rb +0 -15
  107. data/lib/gc/cities/thesprotia.rb +0 -11
  108. data/lib/gc/cities/thessaloniki.rb +0 -22
  109. data/lib/gc/cities/trikala.rb +0 -12
  110. data/lib/gc/cities/xanthi.rb +0 -12
  111. data/lib/gc/cities/zakinthos.rb +0 -9
@@ -1,14 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module GC
4
- module Cities
5
- BOIOTIA = [
6
- ['Σχηματάρι', 'shimatari-BOI'],
7
- ['Θήβα', 'thiva-BOI'],
8
- ['Αλίαρτος', 'aliartos-BOI'],
9
- ['Ορχομενός', 'orhomenos-BOI'],
10
- ['Λιβαδειά', 'livadeia-BOI'],
11
- ['Διστόμο - Αράχοβα - Αντίκυρα', 'distomo-arahova-antikira-BOI']
12
- ].freeze
13
- end
14
- end
@@ -1,23 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module GC
4
- module Cities
5
- DODEKANISA = [
6
- ['Ρόδος', 'rodos-DOD'],
7
- ['Κως', 'kos-DOD'],
8
- ['Κάρπαθος', 'karpathos-DOD'],
9
- ['Αγαθονήσι', 'agathonisi-DOD'],
10
- ['Νίσυρος', 'nisiros-DOD'],
11
- ['Πάτμος', 'patmos-DOD'],
12
- ['Κάλυμνος', 'kalimnos-DOD'],
13
- ['Λειψοί', 'leipsoi-DOD'],
14
- ['Λέρος', 'leros-DOD'],
15
- ['Κάσος', 'kasos-DOD'],
16
- ['Τήλος', 'tilos-DOD'],
17
- ['Σύμη', 'simi-DOD'],
18
- ['Καστελλόριζο', 'kastellorizo-DOD'],
19
- ['Χάλκη', 'halki-DOD'],
20
- ['Αστυπάλαια', 'astipalaia-DOD']
21
- ].freeze
22
- end
23
- end
@@ -1,13 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module GC
4
- module Cities
5
- DRAMA = [
6
- ['Δράμα', 'drama-DRA'],
7
- ['Προσοτσάνη', 'porotsani-DRA'],
8
- ['Παρανέστι', 'paranesti-DRA'],
9
- ['Καλαμπάκι', 'kalampaki-DRA'],
10
- ['Κάτω Νευροκόπι', 'kato-nevrokopi-DRA']
11
- ].freeze
12
- end
13
- end
@@ -1,13 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module GC
4
- module Cities
5
- EVROS = [
6
- ['Αλεξανδρούπολη', 'alexandroupoli-EVR'],
7
- ['Σουφλί', 'soufli-EVR'],
8
- ['Διδυμότειχο', 'didimoteiho-EVR'],
9
- ['Ορεστιάδα', 'orestiada-EVR'],
10
- ['Σαμοθράκη', 'samothraki-EVR']
11
- ].freeze
12
- end
13
- end
@@ -1,11 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module GC
4
- module Cities
5
- EYRYTANIA = [
6
- ['Καρπενήσι', 'karpenisi-EYR'],
7
- ['Κερασοχώρι', 'kerasohori-EYR'],
8
- ['Άγραφα', 'agrafa-EYR']
9
- ].freeze
10
- end
11
- end
@@ -1,16 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module GC
4
- module Cities
5
- EYVOIA = [
6
- ['Χαλκίδα', 'halkida-EYV'],
7
- ['Ψαχνά', 'psahna-EYV'],
8
- ['Ερέτρια', 'eretria-EYV'],
9
- ['Κάρυστος', 'karistos-EYV'],
10
- ['Ιστιαία', 'istiaia-EYV'],
11
- ['Λίμνη', 'limni-EYV'],
12
- ['Αλιβέρι', 'aliveri-EYV'],
13
- ['Σκύρος', 'skiros-EYV']
14
- ].freeze
15
- end
16
- end
@@ -1,11 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module GC
4
- module Cities
5
- FLORINA = [
6
- ['Φλώρινα', 'florina-FLO'],
7
- ['Αμύνταιο', 'amintaio-FLO'],
8
- ['Λαιμός', 'laimos-FLO']
9
- ].freeze
10
- end
11
- end
@@ -1,10 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module GC
4
- module Cities
5
- FOKIDA = [
6
- ['Αμφισσα', 'amfissa-FOK'],
7
- ['Λιδωρίκι', 'lidoriki-FOK']
8
- ].freeze
9
- end
10
- end
@@ -1,15 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module GC
4
- module Cities
5
- FTHIOTIDA = [
6
- ['Κάτω Τιθορέα', 'kato-tithorea-FTH'],
7
- ['Αταλάντη', 'atalanti-FTH'],
8
- ['Δομοκό', 'domoko-FTH'],
9
- ['Καμένα Βούρλα', 'kamena-vourla-FTH'],
10
- ['Στυλίδα', 'stilida-FTH'],
11
- ['Λαμία', 'lamia-FTH'],
12
- ['Σπερχειάδα', 'sperheiada-FTH']
13
- ].freeze
14
- end
15
- end
@@ -1,10 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module GC
4
- module Cities
5
- GREVENA = [
6
- ['Δεσκάτη', 'deskati-GRE'],
7
- ['Γρεβενά', 'grevena-GRE']
8
- ].freeze
9
- end
10
- end
@@ -1,13 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module GC
4
- module Cities
5
- HALKIDIKI = [
6
- ['Πολύγυρος', 'poligiros-HAL'],
7
- ['Νίκητη', 'nikiti-HAL'],
8
- ['Κασσάνδρεια', 'kassandreia-HAL'],
9
- ['Μουδανιά', 'moudania-HAL'],
10
- ['Ιερισσός', 'ierissos-HAL']
11
- ].freeze
12
- end
13
- end
@@ -1,15 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module GC
4
- module Cities
5
- HANIA = [
6
- ['Χανιά', 'hania-HAN'],
7
- ['Βρύσες Αποκορώνου', 'vrises-apokoronou-HAN'],
8
- ['Γεράνι', 'gerani-HAN'],
9
- ['Κίσσαμος', 'kissamos-HAN'],
10
- ['Παλαιόχωρα', 'palaiohora-HAN'],
11
- ['Γαύδος', 'gaudos-HAN'],
12
- ['Σφακιά', 'sfakia-HAN']
13
- ].freeze
14
- end
15
- end
@@ -1,10 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module GC
4
- module Cities
5
- HIOS = [
6
- ['Χίος', 'hios-HIO'],
7
- ['Οινούσσες και Ψαρά', 'oinousses-psara-HIO']
8
- ].freeze
9
- end
10
- end
@@ -1,15 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module GC
4
- module Cities
5
- ILIA = [
6
- ['Ζαχάρω', 'zaharo-ILI'],
7
- ['Κρέστενα', 'krestena-ILI'],
8
- ['Πύργος', 'pirgos-ILI'],
9
- ['Αμαλιάδα', 'amaliada-ILI'],
10
- ['Αρχαία Ολυμπία', 'arhaia-olimpia-ILI'],
11
- ['Λεχαινά', 'lehaina-ILI'],
12
- ['Γαστούνη', 'gastouni-ILI']
13
- ].freeze
14
- end
15
- end
@@ -1,11 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module GC
4
- module Cities
5
- IMATHIA = [
6
- ['Βέροια', 'veroia-IMA'],
7
- ['Αλεξάνδρεια', 'alexandreia-IMA'],
8
- ['Νάουσα', 'naousa-IMA']
9
- ].freeze
10
- end
11
- end
@@ -1,16 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module GC
4
- module Cities
5
- IOANNINA = [
6
- ['Ιωάννινα', 'ioannina-IOA'],
7
- ['Ασπραγγέλοι', 'aspraggeloi-IOA'],
8
- ['Κόνιτσα', 'konitsa-IOA'],
9
- ['Καλπάκι', 'kalpaki-IOA'],
10
- ['Πράμαντα', 'pramanta-IOA'],
11
- ['Μέτσοβο', 'metsovo-IOA'],
12
- ['Αγία Κυριακή', 'ag-kiriaki-IOA'],
13
- ['Ελεούσα', 'eleousa-IOA']
14
- ].freeze
15
- end
16
- end
@@ -1,15 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module GC
4
- module Cities
5
- IRAKLEIO = [
6
- ['Ηράκλειο', 'irakleio-IRA'],
7
- ['Γάζι', 'gazi-IRA'],
8
- ['Πεζά', 'peza-IRA'],
9
- ['Αγιοι Δέκα', 'ag-deka-IRA'],
10
- ['Γούρνες', 'gournes-IRA'],
11
- ['Ευαγγελισμός Καστελλίου', 'evaggelismos-kastelliou-IRA'],
12
- ['Βιάννος', 'viannos-IRA']
13
- ].freeze
14
- end
15
- end
@@ -1,14 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module GC
4
- module Cities
5
- KARDITSA = [
6
- ['Ανθηρό', 'anthiro-KAR'],
7
- ['Μορφοβούνι', 'morfovouni-KAR'],
8
- ['Παλαμάς', 'palamas-KAR'],
9
- ['Σοφάδες', 'sofades-KAR'],
10
- ['Καρδίτσα', 'karditsa-KAR'],
11
- ['Μουζάκι', 'mouzaki-KAR']
12
- ].freeze
13
- end
14
- end
@@ -1,11 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module GC
4
- module Cities
5
- KASTORIA = [
6
- ['Καστοριά', 'kastoria-KAS'],
7
- ['Αργός Ορεστικό', 'argos-orestiko-KAS'],
8
- ['Νεστόριο', 'nestorio-KAS']
9
- ].freeze
10
- end
11
- end
@@ -1,12 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module GC
4
- module Cities
5
- KAVALA = [
6
- ['Καβάλα', 'kavala-KAV'],
7
- ['Χρυσούπολη', 'hrisoupoli-KAV'],
8
- ['Ελευθερούπολη', 'eleutheroupoli-KAV'],
9
- ['Θάσος', 'thasos-KAV']
10
- ].freeze
11
- end
12
- end
@@ -1,10 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module GC
4
- module Cities
5
- KEFALLONIA = [
6
- ['Αργοστόλι', 'argostoli-KEF'],
7
- ['Ιθάκη', 'ithaki-KEF']
8
- ].freeze
9
- end
10
- end
@@ -1,10 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module GC
4
- module Cities
5
- KERKIRA = [
6
- ['Κέρκυρα', 'kerkira-KER'],
7
- ['Παξοί', 'paxoi-KER']
8
- ].freeze
9
- end
10
- end
@@ -1,27 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module GC
4
- module Cities
5
- KIKLADES = [
6
- ['Σύρος - Ερμούπολη', 'siros-ermoupoli-KIK'],
7
- ['Άνδρος', 'andros-KIK'],
8
- ['Νάξος', 'naxos-KIK'],
9
- ['Σαντορίνη', 'santorini-KIK'],
10
- ['Τήνος', 'tinos-KIK'],
11
- ['Κίμωλος', 'kimolos-KIK'],
12
- ['Φολέγανδρος', 'folegandros-KIK'],
13
- ['Ανάφη', 'anafi-KIK'],
14
- ['Σίκινος', 'sikinos-KIK'],
15
- ['Αντίπαρος', 'antiparos-KIK'],
16
- ['Μύκονος', 'mikonos-KIK'],
17
- ['Αμοργός', 'amorgos-KIK'],
18
- ['Κέα', 'kea-KIK'],
19
- ['Σέριφος', 'serifos-KIK'],
20
- ['Σίφνος', 'sifnos-KIK'],
21
- ['Κύθνος', 'kithnos-KIK'],
22
- ['Ίος', 'ios-KIK'],
23
- ['Μήλος', 'milos-KIK'],
24
- ['Πάρος', 'paros-KIK']
25
- ].freeze
26
- end
27
- end
@@ -1,10 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module GC
4
- module Cities
5
- KILKIS = [
6
- ['Κιλκίς', 'kilkis-KIL'],
7
- ['Πολύκαστρο', 'polikastro-KIL']
8
- ].freeze
9
- end
10
- end
@@ -1,14 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module GC
4
- module Cities
5
- KORINTHOS = [
6
- ['Κόρινθος', 'korinthos-KOR'],
7
- ['Κιάτο', 'kiato-KOR'],
8
- ['Ξυλόκαστρο', 'xilokastro-KOR'],
9
- ['Ζευγολατιό', 'zeugolatio-KOR'],
10
- ['Λουτράκι', 'loutraki-KOR'],
11
- ['Νεμέα', 'nemea-KOR']
12
- ].freeze
13
- end
14
- end
@@ -1,12 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module GC
4
- module Cities
5
- KOZANI = [
6
- ['Κοζάνη', 'kozani-KOZ'],
7
- ['Σιάτιστα', 'siatista-KOZ'],
8
- ['Πτολεμαΐδα', 'ptolemaida-KOZ'],
9
- ['Σέρβια', 'servia-KOZ']
10
- ].freeze
11
- end
12
- end
@@ -1,13 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module GC
4
- module Cities
5
- LAKONIA = [
6
- ['Σπάρτη', 'sparti-LAK'],
7
- ['Γύθειο', 'githeio-LAK'],
8
- ['Σκάλα', 'skala-LAK'],
9
- ['Μολάοι', 'molaoi-LAK'],
10
- ['Ελαφόνησος', 'elafonisos-LAK']
11
- ].freeze
12
- end
13
- end
@@ -1,15 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module GC
4
- module Cities
5
- LARISA = [
6
- ['Ελασσόνα', 'elassona-LAR'],
7
- ['Φάρσαλα', 'farsala-LAR'],
8
- ['Αγια', 'agia-LAR'],
9
- ['Μακρυχώρι', 'makrihori-LAR'],
10
- ['Τύρναβος', 'tirnavos-LAR'],
11
- ['Λάρισα', 'larisa-LAR'],
12
- ['Νίκαια', 'nikaia-LAR']
13
- ].freeze
14
- end
15
- end
@@ -1,11 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module GC
4
- module Cities
5
- LASITHI = [
6
- ['Αγιος Νικόλαος', 'ag-nikolaos-LAS'],
7
- ['Σητεία', 'siteia-LAS'],
8
- ['Ιεράπετρα', 'ierapetra-LAS']
9
- ].freeze
10
- end
11
- end
@@ -1,10 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module GC
4
- module Cities
5
- LEFKADA = [
6
- ['Λευκάδα', 'lefkada-LEF'],
7
- ['Μεγανήσι', 'meganisi-LEF']
8
- ].freeze
9
- end
10
- end