csdl 0.2.6 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/csdl/targets.rb +100 -16
- data/lib/csdl/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0847b90fec645c8e674fc7b006be47691355c276
|
4
|
+
data.tar.gz: 3b255a5833f9a6e98a1ae40468e53c4ad847b20e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c82c7c370f462c2c723490d004cfe4458fc23a3cba908441d9c7bbc673f40be01e6a485fd46acc74cc3b7d023c607c7ea68eda31f389912a76c2d5cc739a028
|
7
|
+
data.tar.gz: 29fc5b1324f2dee44ced84c6ddfa6c909865c530139a0c836bdccb3c3b86480e26ab247da27ecf2a8e8367e70e251eb9ee7347752860cad8a77239539f403a40
|
data/lib/csdl/targets.rb
CHANGED
@@ -78,22 +78,106 @@ module CSDL
|
|
78
78
|
MEDIA_TYPES = %w( link note photo post reshare video).freeze
|
79
79
|
|
80
80
|
REGIONS_BY_COUNTRY = {
|
81
|
-
"Austria"
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
"
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
"
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
"
|
95
|
-
|
96
|
-
|
81
|
+
"Austria" => [
|
82
|
+
"Burgenland" , "Kärnten" , "Niederösterreich" , "Oberösterreich" , "Salzburg" ,
|
83
|
+
"Steiermark" , "Tirol" , "Vorarlberg" , "Wien"
|
84
|
+
].freeze,
|
85
|
+
|
86
|
+
"Belgium" => [
|
87
|
+
"Région De Bruxelles-Capitale"
|
88
|
+
].freeze,
|
89
|
+
|
90
|
+
"Denmark" => [
|
91
|
+
"Arhus", "Nordjylland"
|
92
|
+
].freeze,
|
93
|
+
|
94
|
+
"Finland" => [
|
95
|
+
"Åland", "Lapland"
|
96
|
+
].freeze,
|
97
|
+
|
98
|
+
"France" => [
|
99
|
+
"Alsace" , "Aquitaine" , "Auvergne" , "Basse-Normandie" ,
|
100
|
+
"Bourgogne" , "Bretagne" , "Centre" , "Champagne-Ardenne" ,
|
101
|
+
"Corse" , "Franche-Comté" , "Haute-Normandie" , "Île-de-France" ,
|
102
|
+
"Languedoc-Roussillon" , "Limousin" , "Lorraine" , "Midi-Pyrénées" ,
|
103
|
+
"Nord-Pas-de-Calais" , "Pays de la Loire" , "Picardie" , "Poitou-Charentes" ,
|
104
|
+
"Provence-Alpes-Côte d'Azur" , "Rhône-Alpes"
|
105
|
+
].freeze,
|
106
|
+
|
107
|
+
"Germany" => [
|
108
|
+
"Baden-Württemberg" , "Bayern" , "Berlin" , "Brandenburg" ,
|
109
|
+
"Bremen" , "Hamburg" , "Hessen" , "Mecklenburg-Vorpommern" ,
|
110
|
+
"Niedersachsen" , "Nordrhein-Westfalen" , "Rheinland-Pfalz" , "Saarland" ,
|
111
|
+
"Sachsen" , "Sachsen-Anhalt" , "Schleswig-Holstein" , "Thüringen"
|
112
|
+
].freeze,
|
113
|
+
|
114
|
+
"Iceland" => [].freeze,
|
115
|
+
|
116
|
+
"Ireland" => [
|
117
|
+
"Carlow" , "Cavan" , "Clare" , "Cork" , "Donegal" ,
|
118
|
+
"Dublin" , "Galway" , "Kerry" , "Kildare" , "Kilkenny" ,
|
119
|
+
"Laois" , "Leitrim" , "Limerick" , "Longford" , "Louth" ,
|
120
|
+
"Mayo" , "Meath" , "Monaghan" , "Offaly" , "Roscommon" ,
|
121
|
+
"Sligo" , "Tipperary" , "Waterford" , "Westmeath" , "Wexford" ,
|
122
|
+
"Wicklow"
|
123
|
+
].freeze,
|
124
|
+
|
125
|
+
"Italy" => [
|
126
|
+
"Abruzzo" , "Basilicata" , "Calabria" , "Campania" , "Emilia-Romagna" ,
|
127
|
+
"Friuli-Venezia Giulia" , "Lazio" , "Liguria" , "Lombardia" , "Marche" ,
|
128
|
+
"Molise" , "Piemonte" , "Puglia" , "Sardegna" , "Sicilia" ,
|
129
|
+
"Toscana" , "Trentino-Alto Adige" , "Umbria" , "Valle d'Aosta" , "Veneto"
|
130
|
+
].freeze,
|
131
|
+
|
132
|
+
"Luxembourg" => [
|
133
|
+
"Diekirch", "Grevenmacher", "Luxembourg"
|
134
|
+
].freeze,
|
135
|
+
|
136
|
+
"Netherlands" => [
|
137
|
+
"Drenthe" , "Flevoland" , "Friesland" , "Gelderland" , "Groningen" ,
|
138
|
+
"Limburg" , "Noord-Brabant" , "Noord-Holland" , "Overijssel" , "Utrecht" ,
|
139
|
+
"Zeeland" , "Zuid-Holland"
|
140
|
+
].freeze,
|
141
|
+
|
142
|
+
"Norway" => [
|
143
|
+
"Akershus" , "Aust-Agder" , "Buskerud" , "Finnmark" ,
|
144
|
+
"Hedmark" , "Hordaland" , "Møre og Romsdal" , "Nord-Trøndelag" ,
|
145
|
+
"Nordland" , "Oppland" , "Oslo" , "Østfold" ,
|
146
|
+
"Rogaland" , "Sogn og Fjordane" , "Sør-Trøndelag" , "Telemark" ,
|
147
|
+
"Troms" , "Vest-Agder" , "Vestfold"
|
148
|
+
].freeze,
|
149
|
+
|
150
|
+
"Portugal" => [
|
151
|
+
"Aveiro" , "Azores" , "Beja" , "Braga" , "Braganca" ,
|
152
|
+
"Castelo Branco" , "Coimbra" , "Evora" , "Faro" , "Guarda" ,
|
153
|
+
"Leiria" , "Lisboa" , "Madeira" , "Portalegre" , "Porto" ,
|
154
|
+
"Santarem" , "Setubal" , "Viana do Castelo" , "Vila Real" , "Viseu"
|
155
|
+
].freeze,
|
156
|
+
|
157
|
+
"Spain" => [
|
158
|
+
"Andalucía" , "Aragón" , "Asturias" , "Cantabria" ,
|
159
|
+
"Castilla y Leon" , "Castilla-La Mancha" , "Cataluña" , "Comunidad de Madrid" ,
|
160
|
+
"Comunidad Valenciana" , "Extremadura" , "Galicia" , "Islas Baleares" ,
|
161
|
+
"Islas Canarias" , "La Rioja" , "Murcia" , "Navarra"
|
162
|
+
].freeze,
|
163
|
+
|
164
|
+
"Sweden" => [
|
165
|
+
"Blekinge Län" , "Dalarnas Län" , "Gävleborgs Län" , "Gotlands Län" ,
|
166
|
+
"Hallands Län" , "Jämtlands Län" , "Jönköpings Län" , "Kalmar Län" ,
|
167
|
+
"Kronobergs Län" , "Norrbottens Län" , "Örebro Län" , "Östergötlands Län" ,
|
168
|
+
"Skåne Län" , "Södermanlands Län" , "Stockholms Län" , "Uppsala Län" ,
|
169
|
+
"Värmlands Län" , "Västerbottens Län" , "Västernorrlands Län" , "Västmanlands Län" ,
|
170
|
+
"Västra Götaland"
|
171
|
+
].freeze,
|
172
|
+
|
173
|
+
"Switzerland" => [
|
174
|
+
"Aargau" , "Basel-Landschaft" , "Basel-Stadt" , "Bern" ,
|
175
|
+
"Fribourg" , "Geneve" , "Glarus" , "Graubünden" ,
|
176
|
+
"Jura" , "Luzern" , "Neuchâtel" , "Schaffhausen" ,
|
177
|
+
"Schwyz" , "Solothurn" , "St. Gallen" , "Thurgau" ,
|
178
|
+
"Ticino" , "Valais" , "Vaud" , "Zug" ,
|
179
|
+
"Zürich"
|
180
|
+
].freeze,
|
97
181
|
|
98
182
|
"United Kingdom" => [
|
99
183
|
"England", "Scotland", "Wales", "Northern Ireland"
|
data/lib/csdl/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: csdl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BJ Neilsen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-07-
|
11
|
+
date: 2015-07-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ast
|