csdl 0.2.6 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/csdl/targets.rb +100 -16
  3. data/lib/csdl/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0d619a1a1247aa90f4208236515b2e9babf7a2fe
4
- data.tar.gz: 23668650182608ad4b8824552164a821ad82d1d8
3
+ metadata.gz: 0847b90fec645c8e674fc7b006be47691355c276
4
+ data.tar.gz: 3b255a5833f9a6e98a1ae40468e53c4ad847b20e
5
5
  SHA512:
6
- metadata.gz: 8024a4518a67bb92ed703301f0cbd97bedc9080cabc106a3ab740fdb7904cd2bbe9c7e257b02587d5ff4da691759aaad3467219b2cd41ec5a140092703e5dc31
7
- data.tar.gz: 9ddee6b21793b7b3df25664ade3ef3f6260a4b055ed708d8ea88187ae08b063685261d954386f0910d6b62fb72f88632efea3134d0832ce53dcecc0744f9ee91
6
+ metadata.gz: 4c82c7c370f462c2c723490d004cfe4458fc23a3cba908441d9c7bbc673f40be01e6a485fd46acc74cc3b7d023c607c7ea68eda31f389912a76c2d5cc739a028
7
+ data.tar.gz: 29fc5b1324f2dee44ced84c6ddfa6c909865c530139a0c836bdccb3c3b86480e26ab247da27ecf2a8e8367e70e251eb9ee7347752860cad8a77239539f403a40
@@ -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
- "Belgium" => [],
83
- "Denmark" => [],
84
- "Finland" => [],
85
- "France" => [],
86
- "Germany" => [],
87
- "Iceland" => [],
88
- "Ireland" => [],
89
- "Italy" => [],
90
- "Luxembourg" => [],
91
- "Netherlands" => [],
92
- "Norway" => [],
93
- "Portugal" => [],
94
- "Spain" => [],
95
- "Sweden" => [],
96
- "Switzerland" => [],
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"
@@ -1,3 +1,3 @@
1
1
  module CSDL
2
- VERSION = "0.2.6"
2
+ VERSION = "0.3.0"
3
3
  end
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.2.6
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-15 00:00:00.000000000 Z
11
+ date: 2015-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ast