csdl 0.3.0 → 0.3.1

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 +130 -18
  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: 0847b90fec645c8e674fc7b006be47691355c276
4
- data.tar.gz: 3b255a5833f9a6e98a1ae40468e53c4ad847b20e
3
+ metadata.gz: c1d9177911c66e44f7706d4b3d78bc78a0b55af2
4
+ data.tar.gz: 8776b09f79405c8c31e43794719a101957900c30
5
5
  SHA512:
6
- metadata.gz: 4c82c7c370f462c2c723490d004cfe4458fc23a3cba908441d9c7bbc673f40be01e6a485fd46acc74cc3b7d023c607c7ea68eda31f389912a76c2d5cc739a028
7
- data.tar.gz: 29fc5b1324f2dee44ced84c6ddfa6c909865c530139a0c836bdccb3c3b86480e26ab247da27ecf2a8e8367e70e251eb9ee7347752860cad8a77239539f403a40
6
+ metadata.gz: 7fc36b1e9f8624c1a7da3ae8b8c2a5f4336b4ad99cc372cbe17f7f298dd210441b12aa15d2753209fb564de24eb250f16cf4854055f6d307105ea6f38395a328
7
+ data.tar.gz: 5dcfdb1fbc91d9f6221d79bcc21bba71ef82a6ae9e560355036cb94bbe25ef61faee3b1fe6e0c2fd1cc65cdbe76f9843de609a1ff1aa8079904e65cce3858e5e
@@ -7,24 +7,61 @@ module CSDL
7
7
  AUTHOR_TYPES = %w( page user ).freeze
8
8
 
9
9
  COUNTRY_CODES_BY_COUNTRY = {
10
- "Austria" => "AT",
11
- "Belgium" => "BE",
12
- "Denmark" => "DK",
13
- "Finland" => "FI",
14
- "France" => "FR",
15
- "Germany" => "DE",
16
- "Iceland" => "IS",
17
- "Ireland" => "IE",
18
- "Italy" => "IT",
19
- "Luxembourg" => "LU",
20
- "Netherlands" => "NL",
21
- "Norway" => "NO",
22
- "Portugal" => "PT",
23
- "Spain" => "ES",
24
- "Sweden" => "SE",
25
- "Switzerland" => "CH",
10
+ "Austria" => "AT",
11
+ "Bahrain" => "BH",
12
+ "Belgium" => "BE",
13
+ "Bulgaria" => "BG",
14
+ "Croatia" => "HR",
15
+ "Cyprus" => "CY",
16
+ "Czech Republic" => "CZ",
17
+ "Denmark" => "DK",
18
+ "Egypt" => "EG",
19
+ "Estonia" => "EE",
20
+ "Finland" => "FI",
21
+ "France" => "FR",
22
+ "Germany" => "DE",
23
+ "Ghana" => "GH",
24
+ "Greece" => "GR",
25
+ "Hungary" => "HU",
26
+ "Iceland" => "IS",
27
+ "Iraq" => "IQ",
28
+ "Ireland" => "IE",
29
+ "Israel" => "IL",
30
+ "Italy" => "IT",
31
+ "Jordan" => "JO",
32
+ "Kenya" => "KE",
33
+ "Kuwait" => "KW",
34
+ "Latvia" => "LV",
35
+ "Lebanon" => "LB",
36
+ "Lithuania" => "LT",
37
+ "Luxembourg" => "LU",
38
+ "Macedonia, the former Yugoslav Republic of" => "MK",
39
+ "Malta" => "MT",
40
+ "Mauritius" => "MU",
41
+ "Morocco" => "MA",
42
+ "Netherlands" => "NL",
43
+ "Nigeria" => "NG",
44
+ "Norway" => "NO",
45
+ "Oman" => "OM",
46
+ "Palestinian territories" => "PS",
47
+ "Poland" => "PL",
48
+ "Portugal" => "PT",
49
+ "Qatar" => "QA",
50
+ "Romania" => "RO",
51
+ "Saudi Arabia" => "SA",
52
+ "Serbia" => "RS",
53
+ "Slovakia" => "SK",
54
+ "Slovenia" => "SI",
55
+ "South Africa" => "ZA",
56
+ "Spain" => "ES",
57
+ "Sweden" => "SE",
58
+ "Switzerland" => "CH",
59
+ "Tunisia" => "TN",
60
+ "Turkey" => "TR",
61
+ "Ukraine" => "UA",
62
+ "United Arab Emirates" => "AE",
26
63
  "United Kingdom" => "GB",
27
- "United States" => "US"
64
+ "United States" => "US",
28
65
  }.freeze
29
66
 
30
67
  COUNTRIES = COUNTRY_CODES_BY_COUNTRY.keys.freeze
@@ -75,7 +112,7 @@ module CSDL
75
112
 
76
113
  LANGUAGES = LANGUAGES_BY_LANGUAGE_CODE.values.freeze
77
114
 
78
- MEDIA_TYPES = %w( link note photo post reshare video).freeze
115
+ MEDIA_TYPES = %w( link note photo post reshare video ).freeze
79
116
 
80
117
  REGIONS_BY_COUNTRY = {
81
118
  "Austria" => [
@@ -83,14 +120,28 @@ module CSDL
83
120
  "Steiermark" , "Tirol" , "Vorarlberg" , "Wien"
84
121
  ].freeze,
85
122
 
123
+ "Bahrain" => [],
124
+
86
125
  "Belgium" => [
87
126
  "Région De Bruxelles-Capitale"
88
127
  ].freeze,
89
128
 
129
+ "Bulgaria" => [],
130
+
131
+ "Croatia" => [],
132
+
133
+ "Cyprus" => [],
134
+
135
+ "Czech Republic" => [],
136
+
90
137
  "Denmark" => [
91
138
  "Arhus", "Nordjylland"
92
139
  ].freeze,
93
140
 
141
+ "Egypt" => [],
142
+
143
+ "Estonia" => [],
144
+
94
145
  "Finland" => [
95
146
  "Åland", "Lapland"
96
147
  ].freeze,
@@ -111,8 +162,16 @@ module CSDL
111
162
  "Sachsen" , "Sachsen-Anhalt" , "Schleswig-Holstein" , "Thüringen"
112
163
  ].freeze,
113
164
 
165
+ "Ghana" => [],
166
+
167
+ "Greece" => [],
168
+
169
+ "Hungary" => [],
170
+
114
171
  "Iceland" => [].freeze,
115
172
 
173
+ "Iraq" => [],
174
+
116
175
  "Ireland" => [
117
176
  "Carlow" , "Cavan" , "Clare" , "Cork" , "Donegal" ,
118
177
  "Dublin" , "Galway" , "Kerry" , "Kildare" , "Kilkenny" ,
@@ -122,6 +181,8 @@ module CSDL
122
181
  "Wicklow"
123
182
  ].freeze,
124
183
 
184
+ "Israel" => [],
185
+
125
186
  "Italy" => [
126
187
  "Abruzzo" , "Basilicata" , "Calabria" , "Campania" , "Emilia-Romagna" ,
127
188
  "Friuli-Venezia Giulia" , "Lazio" , "Liguria" , "Lombardia" , "Marche" ,
@@ -129,16 +190,38 @@ module CSDL
129
190
  "Toscana" , "Trentino-Alto Adige" , "Umbria" , "Valle d'Aosta" , "Veneto"
130
191
  ].freeze,
131
192
 
193
+ "Jordan" => [],
194
+
195
+ "Kenya" => [],
196
+
197
+ "Kuwait" => [],
198
+
199
+ "Latvia" => [],
200
+
201
+ "Lebanon" => [],
202
+
203
+ "Lithuania" => [],
204
+
132
205
  "Luxembourg" => [
133
206
  "Diekirch", "Grevenmacher", "Luxembourg"
134
207
  ].freeze,
135
208
 
209
+ "Macedonia, the former Yugoslav Republic of" => [],
210
+
211
+ "Malta" => [],
212
+
213
+ "Mauritius" => [],
214
+
215
+ "Morocco" => [],
216
+
136
217
  "Netherlands" => [
137
218
  "Drenthe" , "Flevoland" , "Friesland" , "Gelderland" , "Groningen" ,
138
219
  "Limburg" , "Noord-Brabant" , "Noord-Holland" , "Overijssel" , "Utrecht" ,
139
220
  "Zeeland" , "Zuid-Holland"
140
221
  ].freeze,
141
222
 
223
+ "Nigeria" => [],
224
+
142
225
  "Norway" => [
143
226
  "Akershus" , "Aust-Agder" , "Buskerud" , "Finnmark" ,
144
227
  "Hedmark" , "Hordaland" , "Møre og Romsdal" , "Nord-Trøndelag" ,
@@ -147,6 +230,12 @@ module CSDL
147
230
  "Troms" , "Vest-Agder" , "Vestfold"
148
231
  ].freeze,
149
232
 
233
+ "Oman" => [],
234
+
235
+ "Palestinian territories" => [],
236
+
237
+ "Poland" => [],
238
+
150
239
  "Portugal" => [
151
240
  "Aveiro" , "Azores" , "Beja" , "Braga" , "Braganca" ,
152
241
  "Castelo Branco" , "Coimbra" , "Evora" , "Faro" , "Guarda" ,
@@ -154,6 +243,20 @@ module CSDL
154
243
  "Santarem" , "Setubal" , "Viana do Castelo" , "Vila Real" , "Viseu"
155
244
  ].freeze,
156
245
 
246
+ "Qatar" => [],
247
+
248
+ "Romania" => [],
249
+
250
+ "Saudi Arabia" => [],
251
+
252
+ "Serbia" => [],
253
+
254
+ "Slovakia" => [],
255
+
256
+ "Slovenia" => [],
257
+
258
+ "South Africa" => [],
259
+
157
260
  "Spain" => [
158
261
  "Andalucía" , "Aragón" , "Asturias" , "Cantabria" ,
159
262
  "Castilla y Leon" , "Castilla-La Mancha" , "Cataluña" , "Comunidad de Madrid" ,
@@ -179,6 +282,14 @@ module CSDL
179
282
  "Zürich"
180
283
  ].freeze,
181
284
 
285
+ "Tunisia" => [],
286
+
287
+ "Turkey" => [],
288
+
289
+ "Ukraine" => [],
290
+
291
+ "United Arab Emirates" => [],
292
+
182
293
  "United Kingdom" => [
183
294
  "England", "Scotland", "Wales", "Northern Ireland"
184
295
  ].freeze,
@@ -363,6 +474,7 @@ module CSDL
363
474
  [ "links.domain" , true , true , true , :UNBOUNDED ] ,
364
475
  [ "links.normalized_url" , true , true , true , :UNBOUNDED ] ,
365
476
  [ "links.url" , true , true , true , :UNBOUNDED ]
477
+
366
478
  ]
367
479
 
368
480
  # All possible targets.
@@ -1,3 +1,3 @@
1
1
  module CSDL
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
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.3.0
4
+ version: 0.3.1
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-17 00:00:00.000000000 Z
11
+ date: 2015-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ast