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.
- checksums.yaml +4 -4
- data/README.md +3 -2
- data/lib/gc.rb +3 -0
- data/lib/gc/cities/ahaia.yml +17 -0
- data/lib/gc/cities/aitoloakarnania.yml +24 -0
- data/lib/gc/cities/argolida.yml +14 -0
- data/lib/gc/cities/arkadia.yml +17 -0
- data/lib/gc/cities/arta.yml +14 -0
- data/lib/gc/cities/attiki.yml +200 -0
- data/lib/gc/cities/boiotia.yml +20 -0
- data/lib/gc/cities/dodekanisa.yml +47 -0
- data/lib/gc/cities/drama.yml +17 -0
- data/lib/gc/cities/evros.yml +17 -0
- data/lib/gc/cities/eyrytania.yml +11 -0
- data/lib/gc/cities/eyvoia.yml +26 -0
- data/lib/gc/cities/florina.yml +11 -0
- data/lib/gc/cities/fokida.yml +9 -0
- data/lib/gc/cities/fthiotida.yml +23 -0
- data/lib/gc/cities/grevena.yml +8 -0
- data/lib/gc/cities/halkidiki.yml +17 -0
- data/lib/gc/cities/hania.yml +23 -0
- data/lib/gc/cities/hios.yml +8 -0
- data/lib/gc/cities/ilia.yml +23 -0
- data/lib/gc/cities/imathia.yml +11 -0
- data/lib/gc/cities/ioannina.yml +26 -0
- data/lib/gc/cities/irakleio.yml +23 -0
- data/lib/gc/cities/karditsa.yml +20 -0
- data/lib/gc/cities/kastoria.yml +11 -0
- data/lib/gc/cities/kavala.yml +14 -0
- data/lib/gc/cities/kefallonia.yml +8 -0
- data/lib/gc/cities/kerkira.yml +8 -0
- data/lib/gc/cities/kiklades.yml +60 -0
- data/lib/gc/cities/kilkis.yml +8 -0
- data/lib/gc/cities/korinthos.yml +20 -0
- data/lib/gc/cities/kozani.yml +14 -0
- data/lib/gc/cities/lakonia.yml +17 -0
- data/lib/gc/cities/larisa.yml +23 -0
- data/lib/gc/cities/lasithi.yml +11 -0
- data/lib/gc/cities/lefkada.yml +8 -0
- data/lib/gc/cities/lesvos.yml +11 -0
- data/lib/gc/cities/magnisia.yml +26 -0
- data/lib/gc/cities/messinia.yml +20 -0
- data/lib/gc/cities/pella.yml +14 -0
- data/lib/gc/cities/pieria.yml +11 -0
- data/lib/gc/cities/preveza.yml +11 -0
- data/lib/gc/cities/rethymno.yml +17 -0
- data/lib/gc/cities/rodopi.yml +14 -0
- data/lib/gc/cities/samos.yml +11 -0
- data/lib/gc/cities/serres.yml +23 -0
- data/lib/gc/cities/thesprotia.yml +11 -0
- data/lib/gc/cities/thessaloniki.yml +44 -0
- data/lib/gc/cities/trikala.yml +14 -0
- data/lib/gc/cities/xanthi.yml +14 -0
- data/lib/gc/cities/zakinthos.yml +5 -0
- data/lib/gc/city.rb +59 -57
- data/lib/gc/helpers/load_files.rb +13 -0
- data/lib/gc/states.rb +1 -55
- data/lib/gc/states.yml +155 -0
- data/lib/gc/version.rb +1 -1
- metadata +58 -56
- data/lib/gc/cities/ahaia.rb +0 -13
- data/lib/gc/cities/aitoloakarnania.rb +0 -15
- data/lib/gc/cities/argolida.rb +0 -12
- data/lib/gc/cities/arkadia.rb +0 -13
- data/lib/gc/cities/arta.rb +0 -12
- data/lib/gc/cities/attiki.rb +0 -74
- data/lib/gc/cities/boiotia.rb +0 -14
- data/lib/gc/cities/dodekanisa.rb +0 -23
- data/lib/gc/cities/drama.rb +0 -13
- data/lib/gc/cities/evros.rb +0 -13
- data/lib/gc/cities/eyrytania.rb +0 -11
- data/lib/gc/cities/eyvoia.rb +0 -16
- data/lib/gc/cities/florina.rb +0 -11
- data/lib/gc/cities/fokida.rb +0 -10
- data/lib/gc/cities/fthiotida.rb +0 -15
- data/lib/gc/cities/grevena.rb +0 -10
- data/lib/gc/cities/halkidiki.rb +0 -13
- data/lib/gc/cities/hania.rb +0 -15
- data/lib/gc/cities/hios.rb +0 -10
- data/lib/gc/cities/ilia.rb +0 -15
- data/lib/gc/cities/imathia.rb +0 -11
- data/lib/gc/cities/ioannina.rb +0 -16
- data/lib/gc/cities/irakleio.rb +0 -15
- data/lib/gc/cities/karditsa.rb +0 -14
- data/lib/gc/cities/kastoria.rb +0 -11
- data/lib/gc/cities/kavala.rb +0 -12
- data/lib/gc/cities/kefallonia.rb +0 -10
- data/lib/gc/cities/kerkira.rb +0 -10
- data/lib/gc/cities/kiklades.rb +0 -27
- data/lib/gc/cities/kilkis.rb +0 -10
- data/lib/gc/cities/korinthos.rb +0 -14
- data/lib/gc/cities/kozani.rb +0 -12
- data/lib/gc/cities/lakonia.rb +0 -13
- data/lib/gc/cities/larisa.rb +0 -15
- data/lib/gc/cities/lasithi.rb +0 -11
- data/lib/gc/cities/lefkada.rb +0 -10
- data/lib/gc/cities/lesvos.rb +0 -11
- data/lib/gc/cities/magnisia.rb +0 -16
- data/lib/gc/cities/messinia.rb +0 -14
- data/lib/gc/cities/pella.rb +0 -12
- data/lib/gc/cities/pieria.rb +0 -11
- data/lib/gc/cities/preveza.rb +0 -11
- data/lib/gc/cities/rethymno.rb +0 -13
- data/lib/gc/cities/rodopi.rb +0 -12
- data/lib/gc/cities/samos.rb +0 -11
- data/lib/gc/cities/serres.rb +0 -15
- data/lib/gc/cities/thesprotia.rb +0 -11
- data/lib/gc/cities/thessaloniki.rb +0 -22
- data/lib/gc/cities/trikala.rb +0 -12
- data/lib/gc/cities/xanthi.rb +0 -12
- data/lib/gc/cities/zakinthos.rb +0 -9
data/lib/gc/cities/boiotia.rb
DELETED
@@ -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
|
data/lib/gc/cities/dodekanisa.rb
DELETED
@@ -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
|
data/lib/gc/cities/drama.rb
DELETED
@@ -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
|
data/lib/gc/cities/evros.rb
DELETED
@@ -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
|
data/lib/gc/cities/eyrytania.rb
DELETED
data/lib/gc/cities/eyvoia.rb
DELETED
@@ -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
|
data/lib/gc/cities/florina.rb
DELETED
data/lib/gc/cities/fokida.rb
DELETED
data/lib/gc/cities/fthiotida.rb
DELETED
@@ -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
|
data/lib/gc/cities/grevena.rb
DELETED
data/lib/gc/cities/halkidiki.rb
DELETED
@@ -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
|
data/lib/gc/cities/hania.rb
DELETED
@@ -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
|
data/lib/gc/cities/hios.rb
DELETED
data/lib/gc/cities/ilia.rb
DELETED
@@ -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
|
data/lib/gc/cities/imathia.rb
DELETED
data/lib/gc/cities/ioannina.rb
DELETED
@@ -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
|
data/lib/gc/cities/irakleio.rb
DELETED
@@ -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
|
data/lib/gc/cities/karditsa.rb
DELETED
@@ -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
|
data/lib/gc/cities/kastoria.rb
DELETED
data/lib/gc/cities/kavala.rb
DELETED
data/lib/gc/cities/kefallonia.rb
DELETED
data/lib/gc/cities/kerkira.rb
DELETED
data/lib/gc/cities/kiklades.rb
DELETED
@@ -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
|
data/lib/gc/cities/kilkis.rb
DELETED
data/lib/gc/cities/korinthos.rb
DELETED
@@ -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
|
data/lib/gc/cities/kozani.rb
DELETED
data/lib/gc/cities/lakonia.rb
DELETED
data/lib/gc/cities/larisa.rb
DELETED
@@ -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
|
data/lib/gc/cities/lasithi.rb
DELETED