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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1beec587b0996a5f1c100566822380581442c78ec78caa49aaf5e30342a904b6
|
4
|
+
data.tar.gz: f16677c0c46d278ae2ad997b343cfcb9b41c5634b8fc92d832d6e91c294e64bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce5ecd1157538a335abc75de8a1e5183ec8220eb43ffe55558bf5f254a20a29f411e22c708433efc03b9e5108f157b23e6beaf40c7da5492403a716ccdf67d15
|
7
|
+
data.tar.gz: 38ace64410f3e02b859a9ebbd960c1eacaf507fac49943b295df1dd9d12123d3438baaf9dd5f5d7b7d363776628e7c6aeda77de71bd93d7f059937ba90f966a9
|
data/README.md
CHANGED
@@ -1,7 +1,8 @@
|
|
1
|
-
[![Build Status](https://travis-ci.org/AlexAvlonitis/
|
1
|
+
[![Build Status](https://travis-ci.org/AlexAvlonitis/greek-cities.svg?branch=master)](https://travis-ci.org/AlexAvlonitis/greek-cities)
|
2
2
|
|
3
3
|
# greek-cities ruby gem
|
4
|
-
|
4
|
+
Includes all the states (nomous) of Greece and their biggest cities, displayed in greek.
|
5
|
+
Easy way to populate Rails forms with greek cities.
|
5
6
|
|
6
7
|
## Install the gem
|
7
8
|
```ruby
|
data/lib/gc.rb
CHANGED
@@ -0,0 +1,24 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
-
|
4
|
+
- Αγρίνιο'
|
5
|
+
- 'agrinio-AIT'
|
6
|
+
-
|
7
|
+
- 'Άκτιο - Βόνιτσα'
|
8
|
+
- 'aktio-vonitsa-AIT'
|
9
|
+
-
|
10
|
+
- 'Αμφιλοχία'
|
11
|
+
- 'amfilohia-AIT'
|
12
|
+
-
|
13
|
+
- 'Θέρμο'
|
14
|
+
- 'thermo-AIT'
|
15
|
+
-
|
16
|
+
- 'Μεσολόγγι'
|
17
|
+
- 'mesologgi-AIT'
|
18
|
+
-
|
19
|
+
- 'Ναύπακτος'
|
20
|
+
- 'naupaktos-AIT'
|
21
|
+
-
|
22
|
+
- 'Αστακός'
|
23
|
+
- 'astakos-AIT'
|
24
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
-
|
4
|
+
- 'Τρίπολη'
|
5
|
+
- 'tripoli-ARK'
|
6
|
+
-
|
7
|
+
- 'Λεωνίδιο'
|
8
|
+
- 'leonidio-ARK'
|
9
|
+
-
|
10
|
+
- 'Δημητσάνα'
|
11
|
+
- 'dimitsana-ARK'
|
12
|
+
-
|
13
|
+
- 'Μεγαλόπολη'
|
14
|
+
- 'megalopoli-ARK'
|
15
|
+
-
|
16
|
+
- 'Βόρεια Κυνουρία'
|
17
|
+
- 'voreia-kinouria-ARK'
|
@@ -0,0 +1,200 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
-
|
4
|
+
- 'Νέα Φιλαδέλφεια'
|
5
|
+
- 'nea-filadelpheia-ATT'
|
6
|
+
-
|
7
|
+
- 'Χολαργός'
|
8
|
+
- 'holargos-ATT'
|
9
|
+
-
|
10
|
+
- 'Δάφνη'
|
11
|
+
- 'dafni-ATT'
|
12
|
+
-
|
13
|
+
- 'Κηφισιά'
|
14
|
+
- 'kifisia-ATT'
|
15
|
+
-
|
16
|
+
- 'Μελίσσια'
|
17
|
+
- 'melissia-ATT'
|
18
|
+
-
|
19
|
+
- 'Μοσχάτο'
|
20
|
+
- 'moshato-ATT'
|
21
|
+
-
|
22
|
+
- 'Ψυχικό'
|
23
|
+
- 'psihiko-ATT'
|
24
|
+
-
|
25
|
+
- 'Πεύκη'
|
26
|
+
- 'peuki-ATT'
|
27
|
+
-
|
28
|
+
- 'Αργυρούπολη'
|
29
|
+
- 'argiroupoli-ATT'
|
30
|
+
-
|
31
|
+
- 'Αγιοι Ανάργυροι'
|
32
|
+
- 'ag-anargiroi-ATT'
|
33
|
+
-
|
34
|
+
- 'Αθήνα'
|
35
|
+
- 'athina-ATT'
|
36
|
+
-
|
37
|
+
- 'Βύρωνας'
|
38
|
+
- 'vironas-ATT'
|
39
|
+
-
|
40
|
+
- 'Καλλιθέα'
|
41
|
+
- 'kalithea-ATT'
|
42
|
+
-
|
43
|
+
- 'Καισαριανή'
|
44
|
+
- 'kaisariani-ATT'
|
45
|
+
-
|
46
|
+
- 'Ηράκλειο'
|
47
|
+
- 'irakleio-ATT'
|
48
|
+
-
|
49
|
+
- 'Ηλιούπολη'
|
50
|
+
- 'ilioupoli-ATT'
|
51
|
+
-
|
52
|
+
- 'Ζωγράφου'
|
53
|
+
- 'zografou-ATT'
|
54
|
+
-
|
55
|
+
- 'Γαλάτσι'
|
56
|
+
- 'galatsi-ATT'
|
57
|
+
-
|
58
|
+
- 'Βριλήσσια'
|
59
|
+
- 'vrilissia-ATT'
|
60
|
+
-
|
61
|
+
- 'Μαρούσι'
|
62
|
+
- 'marousi-ATT'
|
63
|
+
-
|
64
|
+
- 'Άλιμος'
|
65
|
+
- 'alimos-ATT'
|
66
|
+
-
|
67
|
+
- 'Αιγάλεω'
|
68
|
+
- 'aigaleo-ATT'
|
69
|
+
-
|
70
|
+
- 'Ίλιο'
|
71
|
+
- 'ilio-ATT'
|
72
|
+
-
|
73
|
+
- 'Άγιος Δημήτριος'
|
74
|
+
- 'ag-dimitrios-ATT'
|
75
|
+
-
|
76
|
+
- 'Αγία Παρασκευή'
|
77
|
+
- 'ag-paraskevi-ATT'
|
78
|
+
-
|
79
|
+
- 'Αγία Βαρβάρα'
|
80
|
+
- 'ag-varvara-ATT'
|
81
|
+
-
|
82
|
+
- 'Γλυφάδα'
|
83
|
+
- 'glifada-ATT'
|
84
|
+
-
|
85
|
+
- 'Πετρούπολη'
|
86
|
+
- 'petroupoli-ATT'
|
87
|
+
-
|
88
|
+
- 'Χαλάνδρι'
|
89
|
+
- 'halandri-ATT'
|
90
|
+
-
|
91
|
+
- 'Χαϊδάρι'
|
92
|
+
- 'haidari-ATT'
|
93
|
+
-
|
94
|
+
- 'Περιστέρι'
|
95
|
+
- 'peristeri-ATT'
|
96
|
+
-
|
97
|
+
- 'Παλαιό Φάληρο'
|
98
|
+
- 'palaio-faliro-ATT'
|
99
|
+
-
|
100
|
+
- 'Νέα Ιωνία'
|
101
|
+
- 'nea-ionia-ATT'
|
102
|
+
-
|
103
|
+
- 'Μεταμόρφωση'
|
104
|
+
- 'metamorfosi-ATT'
|
105
|
+
-
|
106
|
+
- 'Νέα Σμύρνη'
|
107
|
+
- 'nea-smirni-ATT'
|
108
|
+
-
|
109
|
+
- 'Κερατσίνι'
|
110
|
+
- 'keratsini-ATT'
|
111
|
+
-
|
112
|
+
- 'Νίκαια'
|
113
|
+
- 'nikaia-ATT'
|
114
|
+
-
|
115
|
+
- 'Γαλατάς'
|
116
|
+
- 'galatas-ATT'
|
117
|
+
-
|
118
|
+
- 'Κύθηρα'
|
119
|
+
- 'kithira-ATT'
|
120
|
+
-
|
121
|
+
- 'Σαλαμίνα'
|
122
|
+
- 'salamina-ATT'
|
123
|
+
-
|
124
|
+
- 'Αγκίστρι'
|
125
|
+
- 'agkistri-ATT'
|
126
|
+
-
|
127
|
+
- 'Πειραιάς'
|
128
|
+
- 'peiraias-ATT'
|
129
|
+
-
|
130
|
+
- 'Πέραμα'
|
131
|
+
- 'perama-ATT'
|
132
|
+
-
|
133
|
+
- 'Κορυδαλλός'
|
134
|
+
- 'koridallos-ATT'
|
135
|
+
-
|
136
|
+
- 'Αίγινα'
|
137
|
+
- 'aigina-ATT'
|
138
|
+
-
|
139
|
+
- 'Σπέτσες'
|
140
|
+
- 'spetses-ATT'
|
141
|
+
-
|
142
|
+
- 'Πόρος'
|
143
|
+
- 'poros-ATT'
|
144
|
+
-
|
145
|
+
- 'Υδρα'
|
146
|
+
- 'udra-ATT'
|
147
|
+
-
|
148
|
+
- 'Ωρωπός'
|
149
|
+
- 'oropos-ATT'
|
150
|
+
-
|
151
|
+
- 'Μαραθώνας'
|
152
|
+
- 'marathonas-ATT'
|
153
|
+
-
|
154
|
+
- 'Ραφήνα'
|
155
|
+
- 'rafina-ATT'
|
156
|
+
-
|
157
|
+
- 'Αγιος Στέφανος'
|
158
|
+
- 'ag-stefanos-ATT'
|
159
|
+
-
|
160
|
+
- 'Αχαρνές'
|
161
|
+
- 'aharnes-ATT'
|
162
|
+
-
|
163
|
+
- 'Γέρακας'
|
164
|
+
- 'gerakas-ATT'
|
165
|
+
-
|
166
|
+
- 'Παιανία'
|
167
|
+
- 'paiania-ATT'
|
168
|
+
-
|
169
|
+
- 'Σπάτα'
|
170
|
+
- 'spata-ATT'
|
171
|
+
-
|
172
|
+
- 'Λαύριο'
|
173
|
+
- 'lavrio-ATT'
|
174
|
+
-
|
175
|
+
- 'Καλύβια'
|
176
|
+
- 'kalivia-ATT'
|
177
|
+
-
|
178
|
+
- 'Βούλα'
|
179
|
+
- 'voula-ATT'
|
180
|
+
-
|
181
|
+
- 'Μαρκόπουλο'
|
182
|
+
- 'markopoulo-ATT'
|
183
|
+
-
|
184
|
+
- 'Κορωπί'
|
185
|
+
- 'koropi-ATT'
|
186
|
+
-
|
187
|
+
- 'Κεραταία'
|
188
|
+
- 'kerataia-ATT'
|
189
|
+
-
|
190
|
+
- 'Ελευσίνα'
|
191
|
+
- 'eleusina-ATT'
|
192
|
+
-
|
193
|
+
- 'Μάνδρα'
|
194
|
+
- 'mandra-ATT'
|
195
|
+
-
|
196
|
+
- 'Μέγαρα'
|
197
|
+
- 'megara-ATT'
|
198
|
+
-
|
199
|
+
- 'Ασπρόπυργος'
|
200
|
+
- 'aspropirgos-ATT'
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
-
|
4
|
+
- 'Σχηματάρι'
|
5
|
+
- 'shimatari-BOI'
|
6
|
+
-
|
7
|
+
- 'Θήβα'
|
8
|
+
- 'thiva-BOI'
|
9
|
+
-
|
10
|
+
- 'Αλίαρτος'
|
11
|
+
- 'aliartos-BOI'
|
12
|
+
-
|
13
|
+
- 'Ορχομενός'
|
14
|
+
- 'orhomenos-BOI'
|
15
|
+
-
|
16
|
+
- 'Λιβαδειά'
|
17
|
+
- 'livadeia-BOI'
|
18
|
+
-
|
19
|
+
- 'Διστόμο - Αράχοβα - Αντίκυρα'
|
20
|
+
- 'distomo-arahova-antikira-BOI'
|
@@ -0,0 +1,47 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
-
|
4
|
+
- 'Ρόδος'
|
5
|
+
- 'rodos-DOD'
|
6
|
+
-
|
7
|
+
- 'Κως'
|
8
|
+
- 'kos-DOD'
|
9
|
+
-
|
10
|
+
- 'Κάρπαθος'
|
11
|
+
- 'karpathos-DOD'
|
12
|
+
-
|
13
|
+
- 'Αγαθονήσι'
|
14
|
+
- 'agathonisi-DOD'
|
15
|
+
-
|
16
|
+
- 'Νίσυρος'
|
17
|
+
- 'nisiros-DOD'
|
18
|
+
-
|
19
|
+
- 'Πάτμος'
|
20
|
+
- 'patmos-DOD'
|
21
|
+
-
|
22
|
+
- 'Κάλυμνος'
|
23
|
+
- 'kalimnos-DOD'
|
24
|
+
-
|
25
|
+
- 'Λειψοί'
|
26
|
+
- 'leipsoi-DOD'
|
27
|
+
-
|
28
|
+
- 'Λέρος'
|
29
|
+
- 'leros-DOD'
|
30
|
+
-
|
31
|
+
- 'Κάσος'
|
32
|
+
- 'kasos-DOD'
|
33
|
+
-
|
34
|
+
- 'Τήλος'
|
35
|
+
- 'tilos-DOD'
|
36
|
+
-
|
37
|
+
- 'Σύμη'
|
38
|
+
- 'simi-DOD'
|
39
|
+
-
|
40
|
+
- 'Καστελλόριζο'
|
41
|
+
- 'kastellorizo-DOD'
|
42
|
+
-
|
43
|
+
- 'Χάλκη'
|
44
|
+
- 'halki-DOD'
|
45
|
+
-
|
46
|
+
- 'Αστυπάλαια'
|
47
|
+
- 'astipalaia-DOD'
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
-
|
4
|
+
- 'Αλεξανδρούπολη'
|
5
|
+
- 'alexandroupoli-EVR'
|
6
|
+
-
|
7
|
+
- 'Σουφλί'
|
8
|
+
- 'soufli-EVR'
|
9
|
+
-
|
10
|
+
- 'Διδυμότειχο'
|
11
|
+
- 'didimoteiho-EVR'
|
12
|
+
-
|
13
|
+
- 'Ορεστιάδα'
|
14
|
+
- 'orestiada-EVR'
|
15
|
+
-
|
16
|
+
- 'Σαμοθράκη'
|
17
|
+
- 'samothraki-EVR'
|